fortify / fcli

fcli is a command-line utility for interacting with various Fortify products
https://fortify.github.io/fcli/
Other
31 stars 20 forks source link

FoD: Add commands to create/download reports #263

Closed kadraman closed 9 months ago

kadraman commented 1 year ago

Add commands to create (generate) and download reports, for example:

fcli fod report ls fcli fod report create "Report Name" --release app:rell --template TemplateId|Name --format [pdf|html] --notes XXX --store myReport fcli fod report wait-for ::myReport:: fcli fod report get ::myReport:: fcli fod report download ::myReport:: -f ReportName.pdf fcli fod report delete ::myReport:: fcli fod report list-templates

The "template" should be able to be specified as an id or name and the "format" should be case-insestive (although the API requires first letter to be capitalized). The list-templates command will show what standard and custom report templates have been created.