Closed gvasquez95 closed 3 hours ago
I've retried the remediation now that I'm subscribed to the SNS topic and I got this message:
{
"severity": "ERROR",
"message": "d17e465c-27c8-4b4b-b75d-acb24355fd1d: Remediation failed for SC control Config.1 in account 984845208087: See Automation Execution output for details (AwsAccount AWS::::Account:XXXXXXXXXXXX)",
"finding": {
"finding_id": "140ea7cc-6941-4ed0-8e48-8d68215741de",
"finding_description": "This control checks whether AWS Config is enabled in your account in the current AWS Region, records all resources that correspond to controls that are enabled in the current Region, and uses the service-linked AWS Config role.",
"standard_name": "security-control",
"standard_version": "2.0.0",
"standard_control": "Config.1",
"title": "AWS Config should be enabled and use the service-linked role for resource recording",
"region": "us-east-1",
"account": "XXXXXXXXXXXX",
"finding_arn": "arn:aws:securityhub:us-east-1:XXXXXXXXXXXX:security-control/Config.1/finding/140ea7cc-6941-4ed0-8e48-8d68215741de"
}
}
Describe the bug
I've found this error in SSM automation log, when trying to remediate the finding AWS Config should be enabled and use the service-linked role for resource recording
BTW: Step functions ends with "Remediation Succeeded" status, it does not report the failed SSM automation
To Reproduce
Select the referenced finding in Security Hub, and from the actions drop down menu select Remediate with ASR
Failure arises from Step 4: EnableConfig of the Workflow.
Trace:
Expected behavior
AWS Config should be enabled and the finding suppressed
Please complete the following information about the solution:
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0111) AWS Security Hub Automated Response & Remediation Administrator Stack, v1.4.0". You can also find the version from releases
Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context Add any other context about the problem here.