fortify / fcli

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

Updated FoD `wait-for` implementation #527

Closed kadraman closed 2 months ago

kadraman commented 2 months ago

Updated wait-for commands to use internal /polling-summary API. This required changes to support release qualified scanIds, for example:

fcli fod sast-scan wait-for 12345  // still supported
fcli fod sast-scan wait-for 88888:12345 // now supported releaseId:scanId format

Also now storing releaseId:scanId in start scan variables and defaulted to this:

>fcli util var contents curScan -o json
{
  "scanId" : 10697688,
  "scanType" : "Dynamic",
  "releaseAndScanId" : "1173597:10697688",
  "analysisStatusType" : "Pending",
  "applicationName" : "FortifyDemoApp [KAL]",
  "releaseName" : "1.0.1",
  "microserviceName" : "",
  "__action__" : "STARTED"
}