-
Notifications
You must be signed in to change notification settings - Fork 3
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
How to suppress findings whose type is AwsAccount #38
Comments
Hi @kei500 In IAM.6, the arn specified in findings:
IAM.6:
- AWS::::Account:${account_id}:
+ arn:aws:iam::${account_id}:user/xxxxx If you just want to disable IAM.6, you don't need to set |
Thank you for your quick response. IAM.6 is "Hardware MFA should be enabled for the root user", so, this control isn't related to specific IAM user. I want to disable IAM.6 and also make workflow status SUPPRESSED not to notify by EventBridge rule like: {
"detail": {
"findings": {
"Compliance": {
"Status": [{
"anything-but": "PASSED"
}]
},
"RecordState": ["ACTIVE"],
"Severity": {
"Label": ["CRITICAL"]
},
"Workflow": {
"Status": ["NEW"]
}
}
},
"detail-type": ["Security Hub Findings - Imported"],
"source": ["aws.securityhub"]
} |
You are right. I had the wrong reference. We are not able to achieve the specification other than arn in the |
I see, thank you for your confirmation. |
Thank you for a useful tool.
I want to suppress findings (ex:
IAM.6
) whose type is AwsAccount.I tried the following setting but it didn't work with error
Error: arn: invalid prefix
.Does control-contorls support this?
The text was updated successfully, but these errors were encountered: