Deleting entity list or IP address list - Amazon GuardDuty
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).

Deleting entity list or IP address list

When you no longer want to keep a list entry in your entity set or IP address set, you can delete it. It might take a few minutes for the process to complete. For more information, see Important considerations for GuardDuty lists.

If the status of the list is Activating or Deactivating, you must wait for a few minutes before performing any action. For more information, see Understanding list statuses.

Choose one of the access methods to delete the list.

Console
To delete entity list or IP address list
  1. Open the GuardDuty console at https://console.amazonaws.cn/guardduty/.

  2. In the navigation pane, choose Lists.

  3. On the List page, select the tab in which you want to delete the list - Entity lists or IP address list.

  4. In the selected tab, select the list that you want to delete.

  5. Choose Actions, and then choose Delete.

    The list status will change to Delete Pending. It might take a few minutes for the list to get deleted.

API/CLI

To begin with the following procedures, you need the ID, such as trustedEntitySetId, threatEntitySetId, trustedIpSet, or threatIpSet, that is associated with the list resource you want to delete.

To delete a trusted entity list
  1. Run DeleteTrustedEntitySet. Make sure to provide the detectorId of the member account for which you want to delete this trusted entity list. To find the detectorId for your account and current Region, see the Settings page in the https://console.amazonaws.cn/guardduty/ console, or run the ListDetectors API.

  2. Alternatively, you can do this by running the following Amazon Command Line Interface command:

    aws guardduty delete-trusted-entity-set \ --detector-id 12abc34d567e8fa901bc2d34e56789f0 \ --trusted-entity-set-id d4b94fc952d6912b8f3060768example

    Replace detector-id with the detector ID of the member account for which you will delete the trusted entity list, and other placeholder values that are shown in red.

To deactivate threat entity lists
  1. Run DeleteThreatEntitySet. Make sure to provide the detectorId of the member account for which you want to delete this threat entity list. To find the detectorId for your account and current Region, see the Settings page in the https://console.amazonaws.cn/guardduty/ console, or run the ListDetectors API.

  2. Alternatively, you can do this by running the following Amazon Command Line Interface command:

    aws guardduty delete-threat-entity-set \ --detector-id 12abc34d567e8fa901bc2d34e56789f0 \ --threat-entity-set-id d4b94fc952d6912b8f3060768example

    Replace detector-id with the detector ID of the member account for which you will delete the threat entity list, and other placeholder values that are shown in red.

To delete a trusted IP address list
  1. Run DeleteIPSet. Make sure to provide the detectorId of the member account for which you want to delete this trusted IP address list. To find the detectorId for your account and current Region, see the Settings page in the https://console.amazonaws.cn/guardduty/ console, or run the ListDetectors API.

  2. Alternatively, you can do this by running the following Amazon Command Line Interface command and make sure to replace the detector-id with the detector ID of the member account for which you will delete the trusted IP address list.

    aws guardduty delete-ip-set \ --detector-id 12abc34d567e8fa901bc2d34e56789f0 \ --ip-set-id d4b94fc952d6912b8f3060768example

    Replace detector-id with the detector ID of the member account for which you will delete the threat entity list, and other placeholder values that are shown in red.

To delete threat IP list
  1. Run DeleteThreatIntelSet. Make sure to provide the detectorId of the member account for which you want to delete this threat IP address list. To find the detectorId for your account and current Region, see the Settings page in the https://console.amazonaws.cn/guardduty/ console, or run the ListDetectors API.

  2. Alternatively, you can do this by running the following Amazon Command Line Interface command and make sure to replace the detector-id with the detector ID of the member account for which you will delete the threat IP list.

    aws guardduty delete-threat-intel-set \ --detector-id 12abc34d567e8fa901bc2d34e56789f0 \ --threat-intel-set-id d4b94fc952d6912b8f3060768example

    Replace detector-id with the detector ID of the member account for which you will delete the threat entity list, and other placeholder values that are shown in red.