检查 EKS 运行时监控配置状态 - Amazon GuardDuty
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

检查 EKS 运行时监控配置状态

使用以下 API 或 Amazon CLI 命令检查 EKS 运行时监控的现有配置状态。

检查您账户中现有的 EKS 运行时监控配置状态
  • 运行 GetDetector 来检查您自己账户的配置状态。

  • 您也可以使用 Amazon CLI 来运行以下命令:

    aws guardduty get-detector --detector-id 12abc34d567e8fa901bc2d34e56789f0 --region us-east-1

    务必要替换您的 Amazon Web Services 账户的检测器 ID 和当前区域。要查找您账户和当前区域的 detectorId,请查看 https://console.aws.amazon.com/guardduty/ 控制台中的设置页面,或者运行 ListDetectors API。

检查组织的现有 EKS 运行时监控配置状态(仅限以委派 GuardDuty 管理员账户身份)
  • 运行 DescribeOrganizationConfiguration 来检查组织的配置状态。

    您也可以使用 Amazon CLI 来运行以下命令:

    aws guardduty describe-organization-configuration --detector-id 12abc34d567e8fa901bc2d34e56789f0 --region us-east-1

    请务必将检测器 ID 替换为委派 GuardDuty 管理员账户的检测器 ID,并将区域替换为您当前的区域。要查找您账户和当前区域的 detectorId,请查看 https://console.aws.amazon.com/guardduty/ 控制台中的设置页面,或者运行 ListDetectors API。