feat(securityhub_check): Add check and service for SecurityHub (#1360)

Co-authored-by: Toni de la Fuente <toni@blyx.com>
Co-authored-by: sergargar <sergio@verica.io>
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
This commit is contained in:
Sergio Garcia
2022-10-19 15:21:07 +02:00
committed by GitHub
parent 6e73321a95
commit 5b5b0b0405
10 changed files with 290 additions and 39 deletions

View File

@@ -0,0 +1,35 @@
{
"Provider": "aws",
"CheckID": "securityhub_enabled",
"CheckTitle": "Check if Security Hub is enabled and its standard subscriptions.",
"CheckType": ["Logging and Monitoring"],
"ServiceName": "securityhub",
"SubServiceName": "",
"ResourceIdTemplate": "arn:partition:securityhub:region:account-id:hub/hub-id",
"Severity": "high",
"ResourceType": "AwsSecurityHubHub",
"Description": "Check if Security Hub is enabled and its standard subscriptions.",
"Risk": "AWS Security Hub gives you a comprehensive view of your security alerts and security posture across your AWS accounts.",
"RelatedUrl": "https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-enable-disable.html",
"Remediation": {
"Code": {
"CLI": "aws securityhub enable-security-hub --enable-default-standards",
"NativeIaC": "",
"Other": "",
"Terraform": ""
},
"Recommendation": {
"Text": "Security Hub is Regional. When you enable or disable a security standard, it is enabled or disabled only in the current Region or in the Region that you specify.",
"Url": "https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-enable-disable.html"
}
},
"Categories": [],
"Tags": {
"Tag1Key": "value",
"Tag2Key": "value"
},
"DependsOn": [],
"RelatedTo": [],
"Notes": "",
"Compliance": []
}