Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added securityhub scp #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions guardrails/securityhub/SCP-SECHUB-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"Identifier": "SCP-SECHUB-1",
"Guardrail": "Prevent leaving centralization of SecurityHub accounts",
"Rationale": [
"When SecurityHub is enabled and consolidated within for the AWS Organization, the member accounts should not leave the organization"
],
"Test Scenarios": [
{
"Test-Scenario": "Disable Security Hub from member account",
"Steps": [
"Log in to the AWS console with a role that has access to SecurityHub in member account",
"Goto Settings>General , scroll to the bottom of the page and click Disable AWS Security Hub"
],
"Expected-Result": "Access Denied"
},
{
"Test-Scenario": "Dissociate Security Hub from SecurityHub administrator account",
"Steps": [
"Log in to the AWS console with a role that has access to SecurityHub in member account",
"Goto Settings>Accounts , toggle the radio button to dissociate from Security Hub administrator account"
],
"Expected-Result": "Access Denied"
}
],
"References": [
"https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-disable.html",
"https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-data-retention.html",
"https://docs.aws.amazon.com/securityhub/latest/userguide/accounts-orgs-disassociate.html"
],
"Policy-Type": "SCP",
"SCP-Type": "Prevent-All",
"IAM Actions": ["securityhub:DisableSecurityHub",
"securityhub:DissociatefromMasterAccount" ],
"Resource": ["*"]
}