To delete an Account scanner stack, you first delete the stack in File Storage
Security and then in AWS.
In File Storage Security
Delete the stack from File Storage Security using the API:
Procedure
- Create an API Key
- Call the ListStacks API to get the stack ID of the account scanner stack.
- Call the DeleteStack API to delete the account scanner stack.
- Call the ListStacks API again to make sure the stack is deleted from File Storage Security.
In AWS
To delete a stack from AWS, you can use the:
-
AWS console:
-
In the AWS console, go to CloudFormation > your account scanner stack.
-
Select Delete.
-
-
AWS CLI:
aws cloudformation delete-stack --stack-name <ACCOUNT_SCANNER_NAME>
![]() |
NoteIf you created resources for cross region or cross account scenarios, please
delete those resources as well. Refer to Set up cross region scans for information about deployed
sources. Please remember to disable Amazon EventBridge for your S3 buckets
because this feature of AWS S3 introduce extra cost.
|