刪除自訂洞見 - AWSSecurity Hub

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

刪除自訂洞見

在 AWSSecurity Hub CSPM 中,自訂洞見可用來收集一組特定的問題清單,並追蹤您環境特有的問題。如需自訂洞見的背景資訊,請參閱 了解 Security Hub CSPM 中的自訂洞見

若要刪除自訂洞見,請選擇您偏好的方法,然後遵循指示。您無法刪除受管洞見。

Security Hub CSPM console
刪除自訂洞見 (主控台)
  1. 開啟位於 https://https://console.aws.amazon.com/securityhub/ 的 AWSSecurity Hub CSPM 主控台。

  2. 在導覽窗格中,選擇 Insights

  3. 找到要刪除的自訂洞見。

  4. 針對該洞見,請選擇更多選項圖示 (卡片右上角的三個點)。

  5. 選擇 刪除

Security Hub CSPM API
刪除自訂洞見 (API)
  1. 使用 Security Hub CSPM API DeleteInsight的操作。如果您使用 AWS CLI執行 delete-insight命令。

  2. 若要識別要刪除的自訂洞見,請提供洞見的 ARN。若要取得自訂洞見的 ARN,請使用 GetInsights操作或 get-insights 命令。

下列範例會刪除指定的洞見。此範例已針對 Linux、macOS 或 Unix 格式化,並使用反斜線 (\) 行接續字元來改善可讀性。

$ aws securityhub delete-insight --insight-arn "arn:aws:securityhub:us-west-1:123456789012:insight/123456789012/custom/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
PowerShell
刪除自訂洞見 (PowerShell)
  1. 使用 Remove-SHUBInsight cmdlet。

  2. 若要識別自訂洞見,請提供洞見的 ARN。若要取得自訂洞見的 ARN,請使用 Get-SHUBInsight cmdlet。

範例

-InsightArn "arn:aws:securityhub:us-west-1:123456789012:insight/123456789012/custom/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"