Skip to content

Commit

Permalink
Merge pull request #83 from sarika-subram/main
Browse files Browse the repository at this point in the history
NIST Framework
  • Loading branch information
sarika-subram authored Apr 26, 2024
2 parents a09e4bd + 9a09e80 commit 45c4a7a
Show file tree
Hide file tree
Showing 13 changed files with 585 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Custom
test.py
test.md
crossAccounts.json
output.zip
__fork/*.json
Expand Down
2 changes: 1 addition & 1 deletion frameworks/CIS/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"mapping": {
"CloudTrail.": {
"1": ["cloudtrail.HasOneMultiRegionTrail"],
"1": ["cloudtrail.NeedToEnableCloudTrail", "cloudtrail.HasOneMultiRegionTrail"],
"2": ["cloudtrail.RequiresKmsKey"],
"4": ["cloudtrail.LogFileValidationEnabled"],
"5": ["cloudtrail.CloudWatchLogsLogGroupArn"],
Expand Down
1 change: 1 addition & 0 deletions frameworks/FrameworkPageBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from frameworks.WAFS.WAFS import WAFS
from frameworks.MSR.MSR import MSR
from frameworks.CIS.CIS import CIS
from frameworks.CIS.CIS import NIST

class FrameworkPageBuilder(PageBuilder):
COMPLIANCE_STATUS = ["Not available", "Compliant", "Need Attention"]
Expand Down
9 changes: 9 additions & 0 deletions frameworks/NIST/NIST.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import json

import constants as _C
from frameworks.Framework import Framework

class NIST(Framework):
def __init__(self, data):
super().__init__(data)
pass
6 changes: 6 additions & 0 deletions frameworks/NIST/NISTPageBuilder.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from frameworks.FrameworkPageBuilder import FrameworkPageBuilder

class NISTPageBuilder(FrameworkPageBuilder):
def init(self):
super().__init__()
self.template = 'default'
Loading

0 comments on commit 45c4a7a

Please sign in to comment.