This article is describing the use of custom flag  –-checkonly for scan. 

 

Problem / Use case  

  1. When you want to have multiple teams working on the same project with assurance policy that would fail the pipeline and you want that one of the team’s pipeline would not fail (i.e. team 2 ). 

 

Solution  

What we would do is adding the option --checkonlyto the Custom flags configuration of the pipeline which we don't want to fail the due to the Assurance Policy i.e. the team 2 pipeline. 

 

This flag Return’s a zero return code even if the image fails an Image Assurance Policy. 

 

Graphical user interface, text, application, email 
Description automatically generated 

 

Related articles