- CheckMates
- :
- Products
- :
- Developers
- :
- DevSecOps
- :
- Re: ShiftLeft iac-assessment - possible to output ...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Art!
Thanks a lot this is exactly what I needed. Would the resultUrl be made available through -o human output eventually?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would not know. You could easily do JQ on the JSON output and format as you see fit. Hopefully that helps!
Good luck!
