-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux and Kubernetes compliance (#1)
* hipaa * kube scripts * Added Test Category * Compliance Binary Co-authored-by: Saurabh <[email protected]> Co-authored-by: Jatin Baweja <[email protected]>
- Loading branch information
1 parent
f6267e4
commit 543c347
Showing
142 changed files
with
16,200 additions
and
10,188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.idea/ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
all: Compliance | ||
|
||
clean: | ||
-rm ./compliance | ||
|
||
Compliance: | ||
go build -o compliance | ||
|
||
.PHONY: clean |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,67 @@ | ||
{ | ||
"dockerCheckPrerequisites": { | ||
|
||
"hipaa": { | ||
"files": [ | ||
"scripts/host.tmpl" | ||
"/usr/local/bin/compliance_check/scripts/hipaa.sh" | ||
], | ||
"name": "Docker Bench Tests", | ||
"desc": "Docker CIS benchmark tests" | ||
"name": "HIPAA Compliance Checks", | ||
"desc": "HIPAA Compliance Checks", | ||
"variables": ["pathPrefix"] | ||
}, | ||
"kubeBench1.6.0": { | ||
"pci": { | ||
"files": [ | ||
"kube_master_1_6_0.tmpl", | ||
"kube_worker_1_6_0.tmpl" | ||
"/usr/local/bin/compliance_check/scripts/pci.sh" | ||
], | ||
"name": "Kubernetes 1.6.0 Bench Test", | ||
"desc": "Bench Test for Kube 1.6.0", | ||
"conditions": { | ||
"version": "1.6.0" | ||
} | ||
"name": "PCI Compliance Checks", | ||
"desc": "PCI Compliance Checks", | ||
"variables": ["pathPrefix"] | ||
}, | ||
"kubeBench1.5.1": { | ||
"gdpr": { | ||
"files": [ | ||
"kube_master_1_5_1.tmpl", | ||
"kube_worker_1_5_1.tmpl" | ||
"/usr/local/bin/compliance_check/scripts/gdpr.sh" | ||
], | ||
"name": "Kubernetes 1.5.1 Bench Test", | ||
"desc": "Bench Test for Kube 1.5.1", | ||
"conditions": { | ||
"version": "1.5.1", | ||
"isKubeMaster": true | ||
} | ||
"name": "GDPR Compliance Checks", | ||
"desc": "GDPR Compliance Checks", | ||
"variables": ["pathPrefix"] | ||
}, | ||
"nist": { | ||
"files": [ | ||
"/usr/local/bin/compliance_check/scripts/nist.sh" | ||
], | ||
"name": "NIST Compliance Checks", | ||
"desc": "NIST Compliance Checks", | ||
"variables": ["pathPrefix"] | ||
}, | ||
"hipaakube": { | ||
"files": [ | ||
"/usr/local/bin/compliance_check/scripts/hipaakube.sh" | ||
], | ||
"name": "HIPAA Compliance Checks", | ||
"desc": "HIPAA Compliance Checks", | ||
"variables": ["pathPrefix", "NODE_TYPE"] | ||
}, | ||
"pcikube": { | ||
"files": [ | ||
"/usr/local/bin/compliance_check/scripts/pcikube.sh" | ||
], | ||
"name": "PCI Compliance Checks", | ||
"desc": "PCI Compliance Checks", | ||
"variables": ["pathPrefix", "NODE_TYPE"] | ||
}, | ||
"gdprkube": { | ||
"files": [ | ||
"/usr/local/bin/compliance_check/scripts/gdprkube.sh" | ||
], | ||
"name": "GDPR Compliance Checks", | ||
"desc": "GDPR Compliance Checks", | ||
"variables": ["pathPrefix", "NODE_TYPE"] | ||
}, | ||
"nistkube": { | ||
"files": [ | ||
"/usr/local/bin/compliance_check/scripts/nistkube.sh" | ||
], | ||
"name": "NIST Compliance Checks", | ||
"desc": "NIST Compliance Checks", | ||
"variables": ["pathPrefix", "NODE_TYPE"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.