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 réponse
1
Réponse acceptée
profile picture
EXPERT
répondu il y a un an
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions