- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-19-2024 08:48 AM
We're currently running scans on our containers in our Jenkins CI/CD pipelines, running twistcli on the command line. When we view the scan results for these images on the Prisma Cloud site (Monitor > Vulnerabilities > Images > CI or Monitor > Compliance > Images > CI.), the "Labels" tab of the scan result shows things like JOB_NAME and NODE_NAME, which it appears to be getting from the Jenkins pipeline that ran twistcli.
Is there any way to add additional labels? For example, we'd like to be able to add some metadata like the git commit hash or the Jenkins job number as well.
I did see there was a "--custom-labels" option for twistcli, but can't see any examples or explanation that would indicate if this is what I'm looking for. Thanks.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!