Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
samuelwonge
Explorer

ShiftLeft iac-assessment - possible to output link?

Hi!

 

I am currently using ShiftLeft iac-assessment tool in my GitLab pipeline to scan Terraform code, and would like to include in the log output a redirect link to the assessment in CloudGuard ShiftLeft Assessment History, is that possible?

 

e.g. to output in my gitlab pipeline to direct to https://secure.dome9.com/v2/shiftleft/results/<id>,

So anyone looking accessing the logs from GitLab can click the link to be redirected to the comprehensive dashboard available.

0 Kudos
3 Replies
Art_Zalenekas
Employee
Employee

You can do -o json as output, which will give you the output in JSON and will include the link to the results under the key resultUrl

Good luck!

samuelwonge
Explorer

Hi Art!

 

Thanks a lot this is exactly what I needed. Would the resultUrl be made available through -o human output eventually?

 

0 Kudos
Art_Zalenekas
Employee
Employee

I would not know. You could easily do JQ on the JSON output and format as you see fit. Hopefully that helps!

Good luck!

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events