Troubleshooting
Known issue resolution provides instructions to mitigate known errors. If these instructions don’t address your issue, Contact AWS Support provides instructions for opening an AWS Support case for this solution.
PutS3BucketPolicyDeny fails
Associated controls: AWS FSBP v1.0.0 S3.6, NIST.800-53.r5 CA-9(1), NIST.800-53.r5 CM-2
Issue: The PutS3BucketPolicyDeny with the following error:
Unable to create an explicit deny statement for {bucket_name}.
If the principals for all policies on the target bucket are "*", the solution cannot add the deny policy to the target bucket as it would block out all bucket actions for all principals.
Resolution: Modify the bucket policy to allow actions to specific accounts instead of using "*" principals and restrict denied actions.
How to disable the solution
In the event of an incident, you may find that you need to disable the solution without removing any of the infrastructure. These scenarios detail how to disable different components in the solution.
Scenario 1: Disable automatic remediation for a single control
-
In the Admin account, navigate to the AWS CloudFormation console
. -
Locate the Admin stack and view its Outputs tab.
-
Copy the value of the
RemediationConfigurationDynamoDBTableoutput. -
Navigate to the DynamoDB console
and open the Remediation Configuration table. -
Select Explore Table Items.
-
Under Scan or query items, select Query.
-
Enter the control ID (for example,
Lambda.1) in the Partition key: controlId field and click Run. -
Select the returned item, then click Actions > Edit item.
-
Change the
automatedRemediationEnabledattribute value to False. -
Click Save and Close.
Scenario 2: Disable automatic remediation for all controls
-
Follow steps 1-5 from Scenario 1 to access the Remediation Configuration table items.
-
Under Scan or query items, select Scan to view all controls.
-
For each control with
automatedRemediationEnabledset to True, select the item and click Actions > Edit item. -
Change the
automatedRemediationEnabledattribute value to False and click Save and Close. -
Repeat for all controls you wish to disable.
Scenario 3: Disable manual remediation for an account
-
Navigate to the EventBridge console
. -
Select Rules in the sidebar.
-
Select the default event bus and search for
Remediate_with_ASR_CustomAction. -
Select the rule and click the Disable button.