opendevstack / ods-pipeline

Alternative ODS CI/CD pipeline based on Tekton / OpenShift Pipelines
Apache License 2.0
13 stars 5 forks source link

Aqua scan does not distinguish between error and scan failure #586

Closed michaelsauter closed 2 years ago

michaelsauter commented 2 years ago

Similar to #583, we need to be more careful when we react to a non-zero exit code. The Aqua scanner seems to use a variety of exit codes to communicate various error states. Unfortunately, I did not find documentation on this so far. From experimenting, I know that: