How can I enable email notifications for non-compliant resources in AWS Config

0

In AWS Config, I would like to configure email notifications for non-compliant resources. How can I set up AWS Config to send email alerts whenever a resource is found to be non-compliant with the specified rules? Any guidance on configuring email notifications in AWS Config would be greatly appreciated.

1 Risposta
1
Risposta accettata
profile picture
ESPERTO
con risposta un anno fa
  • Hi, I have already gone through this document but im not geeting any mail for non compliant resources.

  • Did you check: If rule is triggered, if so, then Did SNS topic receive message, check the SNS metrics If rule is not triggered, did you check the event pattern, is there any mismatch.

  • OK. If you are still having problems not receiving email after following the instructions, this guidance will help you.

    https://repost.aws/knowledge-center/config-sns-notification-troubleshooting

    Anyway, AWS Config does not have feature to send email, so using AWS Config with Event Bridge+Amazon SNS is bestpractice to send email.

  • Could you help on below points like how i need to check. "If rule is triggered, if so, then Did SNS topic receive message, check the SNS metrics If rule is not triggered, did you check the event pattern, is there any mismatch."

  • For eventbridge rule:

    Go to eventbridge console-> open the rule which is being used -> Monitoring -> Invocations. There you can see if your rule is getting invoked or not.

    For SNS:

    Go to Cloudwatch console ->Metric -> All metrics -> Browse -> SNS -> Topic Metrics -> Select your topic with metric names -> NumberOfNotificationsDelivered, NumberOfNotificationsFailed, NumberOfMessagesPublished.

    This way you'd be able to find where the problem exists, whether it's eventbridge rule or sns.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande