Manual changes alerts

0

Using IaC in our accounts, we want to set up alerts for manual resource changes. We tried the EventBridge option. It does not suit us because the "anything-but" option only supports one prefix (in our case there are three of them such as "terraform", "aws-sdk-nodejs", "packer") and does not support regex. The CloudWatch option is not suitable because we want to receive detailed information in an alert (resource ID, address in case of changes in security groups). Any other solutions?

2 Antworten
0

For CloudFormation based stacks, you could run a drift-detection and emit a custom metric and alert should drift be found. To automate the process, you could set up a custom AWS Config rule to run the drift detection.

profile pictureAWS
beantwortet vor 2 Jahren
  • This does not work. Solution is not stable and can not see differences.

0

I meant not tracking drift status

terraform was introduced relatively recently in our infrastructure, before that it was deployed through a self-written platform on nodejs

Right now we want to monitor security group and vpc for manual changes (someone went into the console and changed it manually) in the eventbridge solution, we tracked userAgent through exclusions (we excluded terraform, our deployment platform)

as I wrote above, the solutions of eventbridge and cloudwatch alarm are not suitable for us

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen