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

Add SCP for preventing Deletion or Disassociation of Members and Invitations from Security Hub #40

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
28 changes: 28 additions & 0 deletions guardrails/securityhub/SCP-SECURITY-HUB-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"Identifier": "SCP-SECURITYHUB-2",
"Guardrail": "Prevent Deletion of Members and Invitations from AWS Security Hub",
"Rationale": [
"An attacker may attempt to delete or disassociate members of SecurityHub to avoid detection during compromise."
],
"Test Scenarios": [
{
"Test-Scenario": "Disable Security Hub",
"Steps": [
"Log in to the AWS console with a role that is allowed to disable security hub",
"Delete or disassociate a member"
],
"Expected-Result": "Access Denied"
}
],
"References": [
"https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html"
],
"Policy-Type": "SCP",
"SCP-Type": "Prevent-All",
"IAM Actions": [
"securityhub:DeleteInvitations",
"securityhub:DeleteMembers",
"securityhub:DisassociateMembers"
],
"Resource": ["*"]
}