本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
检查 EKS 运行时监控配置状态
使用以下 APIs 或 Amazon CLI 命令检查 EKS 运行时监控的现有配置状态。
检查您账户中现有的 EKS 运行时监控配置状态
-
运行GetDetector以检查您自己账户的配置状态。
-
您也可以使用 Amazon CLI来运行以下命令:
aws guardduty get-detector --detector-id
12abc34d567e8fa901bc2d34e56789f0
--regionus-east-1
务必要替换您的的检测器 ID Amazon Web Services 账户 和当前区域。要查找您的账户和当前区域的,请参阅https://console.aws.amazon.com/guardduty/
控制台中的设置页面,或运行 ListDetectorsAPI。 detectorId
检查组织的现有 EKS 运行时监控配置状态(仅限以委托 GuardDuty 管理员账户身份)
-
运行DescribeOrganizationConfiguration以检查您的组织的配置状态。
您也可以使用 Amazon CLI来运行以下命令:
aws guardduty describe-organization-configuration --detector-id
12abc34d567e8fa901bc2d34e56789f0
--regionus-east-1
请务必将检测器 ID 替换为委托 GuardDuty 管理员账户的检测器 ID,并将区域替换为您当前的区域。要查找您的账户和当前区域的,请参阅https://console.aws.amazon.com/guardduty/
控制台中的设置页面,或运行 ListDetectorsAPI。 detectorId