Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试找到一个 cli 命令,它将报告 AWS 报告的最新警报,例如操作问题、安全通知等。此任务是否有 cli 命令(图片)?
仅供参考:目标是获取最新警报并在 NAGIOS 中发布
谢谢约翰。找到命令:
aws health describe-events --filter regions=<region1, region2, region3>,eventStatusCodes=open| jq '.events |= unique_by(.eventTypeCode)''