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 Answers
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
answered 2 years ago
  • 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

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions