fortify / fcli

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

fcli ssc token list -u user -p pass --url url -> remaining usage -1 // MAC #194

Closed xakrurychle closed 1 year ago

xakrurychle commented 1 year ago

Screenshot 2022-12-14 at 12 38 42

remaining usage appears to be -1 though in SSC its like this Screenshot 2022-12-14 at 12 39 48

rsenden commented 1 year ago

SSC 'Days to Expiration' corresponds to the token terminal date as displayed by SSC. Apparently, the SSC backend additionally allows for having tokens that can be used only a certain number of times (independent of expiration date), with -1 indicating that the token can be used for an unlimited amount of times. Since this information is not displayed in SSC, we should probably remove it from fcli (table) output as well to avoid confusion.

xakrurychle commented 1 year ago

retested on v1.0.1, fixed