Home > Software engineering >  AWS EventBridge Pattern not capturing all events from SecretManager
AWS EventBridge Pattern not capturing all events from SecretManager

Time:01-07

I have the following pattern in event bridge:

{
  "source": [
    "aws.secretsmanager"
  ],
  "detail-type": [
    "AWS API Call via CloudTrail"
  ],
  "detail": {
    "eventSource": [
      "secretsmanager.amazonaws.com"
    ],
    "eventName": [
      "CreateSecret",
      "UpdateSecret",
      "DeleteSecret",
      "PutSecretValue",
      "GetSecretValue",
      "ListSecrets",
      "RotationFailed",
      "RotationSucceeded",
      "DescribeSecret"
    ]
  }
}

it is pointing to a Lambda that prints the event to Cloudwatch. Works just fine but when i try to capture events like:

      "ListSecrets",
      "RotationFailed",
      "RotationSucceeded",
      "DescribeSecret"

They never get capture by the event system filter i created. Other actions like Update/Create/Delete works just fine. Is there any steps i am missing to get those?

Documentation Reference: AWS API Call Via CloudTrail

  • Related