XRAY: Email notifications in Xray and how to debug issues when they happen

XRAY: Email notifications in Xray and how to debug issues when they happen

AuthorFullName__c
Dor Tambour
articleNumber
000005604
FirstPublishedDate
2023-03-09T12:58:53Z
lastModifiedDate
2025-05-14

Xray allows the user to get email notifications for every violation that was triggered, Either by initial scanning or by Impact Analysis which adds vulnerabilities when the vulnerability database is updated (Database Sync).
In order to trigger email notifications you have to set an email server in Artifactory and you have the following options In Xray Policies configurations:

  1. Notify Email policy 
  2. Notify watch recipients policy and add the recipients in the watch
  3. Set notify deployer to set a notification for the developer who deployed the artifact
See more in the following documentation.

Email notifications can sometimes go wrong. Here are common mistakes that might happen:
  1. Email notification is not working
  2. The wrong email is getting the email notification
  3. Notification is working but I’m seeing errors in the logs about email
Here is how you can debug these issues.