Deleting a custom framework - AWS Audit Manager

Deleting a custom framework

You can use the framework library to find and delete an unwanted custom framework. You can also delete custom frameworks using the Audit Manager API or the AWS Command Line Interface (AWS CLI).

Note

Deleting a custom framework doesn't affect any existing assessments that were created from the framework before it was deleted.

Audit Manager console
To delete a custom framework (console)
  1. Open the AWS Audit Manager console at https://console.aws.amazon.com/auditmanager/home.

  2. In the left navigation pane, choose Framework library and then choose the Custom frameworks tab.

  3. Select the framework that you want to delete, choose Actions, and then choose Delete.

    • Alternatively, you can open a custom framework and choose Actions, Delete at the top right of the framework summary page.

  4. In the pop-up window, choose Delete to confirm deletion.

AWS CLI
To delete a custom framework (AWS CLI)
  1. First, identify the custom framework that you want to delete. To do this, run the list-assessment-frameworks command and specify the --framework-type as Custom.

    aws auditmanager list-assessment-frameworks --framework-type Custom

    The response returns a list of custom frameworks. Find the custom framework that you want to delete, and take note of the framework ID.

  2. Next, run the delete-assessment-framework command and specify the --framework-id of the framework that you want to delete.

    In the following example, replace the placeholder text with your own information.

    aws auditmanager delete-assessment-framework --framework-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
Audit Manager API
To delete a custom framework (API)
  1. Use the ListAssessmentFrameworks operation and specify the frameworkType as Custom. From the response, find the custom framework that you want to delete, and take note of the framework ID.

  2. Use the DeleteAssessmentFramework operation to delete the framework. In the request, use the frameworkId parameter to specify the framework that you want to delete.

For more information about these API operations, choose any of the previous links to read more in the AWS Audit Manager API Reference. This includes information about how to use these operations and parameters in one of the language-specific AWS SDKs.