【问题标题】:is there any way to monitor secret rotation failed in aws secret manager?有什么方法可以监控 aws 秘密管理器中的秘密轮换失败吗?
【发布时间】:2021-05-28 01:34:03
【问题描述】:

我想创建一个云监视警报来监控密钥轮换并在 RotationFailed 时触发。

我查看了有关 RotationFailed 的 aws 文档。 This document 说,

RotationFailed event - a mechanism to inform you that secret rotation failed for an application.

但我找不到如何使用 RotationFailed 事件来触发警报。请帮我为秘密轮换失败创建指标过滤器和警报。

【问题讨论】:

  • 我需要使用 terraform 创建一个 cw 警报

标签: amazon-web-services amazon-cloudwatch aws-secrets-manager


【解决方案1】:

试试这个 cloudwatch 活动

{
  "source": [
    "aws.secretsmanager"
  ],
  "detail-type": [
    "AWS API Call via CloudTrail"
  ],
  "detail": {
    "eventSource": [
      "secretsmanager.amazonaws.com"
    ],
    "eventName": [
      "RotationFailed"
    ]
  }
}

【讨论】:

猜你喜欢
  • 1970-01-01
  • 2021-03-15
  • 2023-02-07
  • 2020-08-16
  • 2020-12-04
  • 1970-01-01
  • 2020-10-01
  • 2022-08-16
  • 2021-01-19
相关资源
最近更新 更多