XRAY: How to manually mark specific Artifacts as vulnerable by Xray

AuthorFullName__c
Omer Borshan
articleNumber
000002789
FirstPublishedDate
2016-11-21T15:15:53Z
lastModifiedDate
2025-05-15

XRAY: How to manually mark specific Artifacts as vulnerable by Xray

Xray gathers its vulnerabilities information from external & internal sources, however, in some cases you may want to manually mark a specific artifact as vulnerable.

The above can be achieved by using the UI / REST API to create a 'Custom Issue Event.'

Once a custom issue is applied to a component, you may apply any policy and automatic action to it, for example: generate violation, block download, etc.

Prerequisites:
  • Activated Xray on the instance 
  • The repository that contains the artifacts you wish to mark as vulnerable has to be watched & indexed by Xray on the system
  • A corresponding Xray policy should be configured to the repository

 

Steps: 

1. Select the artifact you wish to assign with an issue:


User-added image

 


2. Confirm that this artifact is being indexed and watched by Xray:

 

User-added image

 


3. Click ‘Actions’ and then ‘Assign Custom Button’ on the right:
 

User-added image



4. Fill in informative details regarding the issue:
 

User-added image


 

5. After saving the issue, the information should be visible under ‘Xray’ -> ‘Security’ tab:

 

User-added image

  • It is possible to delete issues that were created manually via the UI:

User-added image