Add labels to twistcli scan results

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add labels to twistcli scan results

L0 Member

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.

0 REPLIES 0
  • 246 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!