我想创建一个云监视警报来监控机密轮换并在轮换失败时触发。
我已经查看了有关 RotationFailed 的 aws 文档。 This document 说,
RotationFailed event - a mechanism to inform you that secret rotation failed for an application.
但我找不到如何使用 RotationFailed 事件触发警报。请帮助我为秘密轮换失败创建指标过滤器和警报。
答案 0 :(得分:0)
试试这个 cloudwatch 活动
{
"source": [
"aws.secretsmanager"
],
"detail-type": [
"AWS API Call via CloudTrail"
],
"detail": {
"eventSource": [
"secretsmanager.amazonaws.com"
],
"eventName": [
"RotationFailed"
]
}
}