Deactivating Amazon Inspector - Amazon Inspector
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deactivating Amazon Inspector

You can deactivate Amazon Inspector in the Amazon Inspector console or with the Amazon Inspector API. If you deactivate all scan types for an account;, Amazon Inspector is deactivated for that account automatically.

If you deactivate Amazon Inspector for an account, all scan types are deactivated for that account. Additionally, all Amazon Inspector scan settings, inclduing filters, suppression rules, and findings are deleted for the account.

When you deactivate Amazon Inspector Amazon EC2 scanning,Amazon Inspector deletes the following SSM associations:

  • InspectorDistributor-do-not-delete

  • InspectorInventoryCollection-do-not-delete

  • InvokeInspectorSsmPlugin-do-not-delete. Additionally, the Amazon Inspector SSM plugin installed through this association is removed from all of your Windows hosts. For more information, see Scanning Windows EC2 instance.

Note

Once you deactivate Amazon Inspector, you no longer incur service charges. However, you can reactivate Amazon Inspector at any time.

For information about how to deactivate scan types for different resources, see Deactivating a scan type.

Prerequisites

Depending on the account type, consider the following:

  • If your account is a standalone Amazon Inspector account, you can deactivate Amazon Inspector at any time.

  • If your account is a member account in a multi-account environment, you cannot deactivate Amazon Inspector. You must contact the delegated administrator for your organization to deactivate Amazon Inspector.

  • If you're the delegated administrator for an organization, you must disassociate all of your member accounts before you deactivate Amazon Inspector.

  • If your account's Amazon Inspector enablement is managed by Amazon Organizations policies, you cannot deactivate policy-managed scan types through the Amazon Inspector console or API. To deactivate Amazon Inspector scan types, you must modify the organization policy to explicitly disable them through the Amazon Organizations console or API. You can deactivate scan types that are not managed by organization policies through the Amazon Inspector console or API.

Note

When you deactivate Amazon Inspector as the delegated administrator, you deactivate the auto-activate feature for your organization.

Deactivating Amazon Inspector managed by organization policies

If Amazon Inspector is enabled in your accounts through Amazon Organizations policies, you must use the Amazon Organizations console or API to disable Inspector. Member accounts and delegated administrators cannot disable policy-managed scan types through the Amazon Inspector console or API.

To deactivate Amazon Inspector for policy-managed accounts:

To deactivate policy-managed Amazon Inspector enablement
  1. Sign in to the Amazon Organizations management account or policy administrator account.

  2. Modify the organization policy to explicitly set the scan types to disabled in the regions where you want to disable Inspector. You must update the policy content to specify disabled regions for the scan types you want to deactivate.

  3. Amazon Organizations will automatically apply the policy changes, and Amazon Inspector will disable the specified scan types in the affected accounts.

For detailed instructions on modifying or detaching organization policies, see the Amazon Organizations documentation for Amazon Inspector policies.

Note

When you detach an organization policy from accounts, those accounts retain their current Amazon Inspector settings (enabled or disabled based on the last applied policy). The accounts are no longer managed by the policy and can then manage their Amazon Inspector settings independently or through the delegated administrator.

Deactivate Amazon Inspector

Note

Before you deactivate Amazon Inspector, consider exporting your findings.

Console
To deactivate Amazon Inspector
  1. Sign in using your credentials, and then open the Amazon Inspector console at https://console.aws.amazon.com/inspector/v2/home.

  2. By using the Amazon Web Services Region selector in the upper-right corner of the page, choose the Region in which you want to deactivate Amazon Inspector.

  3. In the navigation pane, choose General settings.

  4. Choose Deactivate Inspector.

  5. When prompted for confirmation, enter deactivate in the text box, and then choose Deactivate Inspector.

  6. (Recommended) Repeat these steps in each Region for which you want to deactivate Amazon Inspector.

API

Run the Disable API operation. In the request, provide the account IDs you are deactivating, and EC2, ECR, LAMBDA for resourceTypes to deactivate all scans, which will deactivate the account.