-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [bug] - Image security / Jenkins + Tekton fails, invalid output format pretty #72
Comments
|
The next step is also problematic:
|
Also on Tekton:
I did not complete the rest of this section because I suspect it will have the same issues as the Jenkins bit. |
updates roxctl command now. --pretty has been removed in latest version - its now 'table' format we intentionally download the version of the cli from the matching installed ACS (which get minor updates as operator automatically updates) the flag "--json-fail-on-policy-violations" when checking image scan is no longer supported (it always true now). this is OK for -api image (tested OK against latest ubi 8.5) which i have rebuilt with latest libs for this cve is going to be problematic for UI pet-battle image in Jekins since it is not regularly maintained. the options i see are:
@alexpdp7 - should be good to retest now with these minor fixes now, i.e. won't fail on parsing/args now. |
Option 3/4. we just document the
strategy ... i have a feeling its the season for high vuln. just got caught by this literally this afternoon - broke my build https://access.redhat.com/security/cve/cve-2021-37136 what we could do .. is also change the policy to break the build on critical only (instead on important) |
agree on breaking the build on critical only. But also let's do that little work, update the base image - I can take the ownership of that #75 :) |
OK, i'm going to close this for now as the formatting and CLI has been fixed which was the original issue. |
📝 Description
🚶 Steps to reproduce
https://rht-labs.com/tech-exercise/#/3-revenge-of-the-automated-testing/7a-jenkins
, in the first step 3, the pipeline fails on
set +x curl -k -L -H "Authorization: Bearer ${ROX_CREDS_PSW}" https://${ROX_CREDS_USR}/api/cli/download/roxctl-linux --output roxctl > /dev/null; chmod +x roxctl > /dev/null export ROX_API_TOKEN=${ROX_CREDS_PSW} ./roxctl image scan --insecure-skip-tls-verify -e ${ROX_CREDS_USR}:443 --image image-registry.openshift-image-registry.svc:5000/${DESTINATION_NAMESPACE}/${APP_NAME}:${VERSION} --format pretty
:The text was updated successfully, but these errors were encountered: