Description
This article provides step-by-step instructions for retrieving a list of application versions from a Fortify Software Security Center (SSC) hosted environment using the Fortify Command Line Interface (FCLI)
Requirements
- FCLI installed and configured on your local machine.
- Valid Fortify SSC credentials.
-
Access to the Fortify SSC hosted URL.
Procedure:
1). Log in to Fortify Hosted SSC
Use the following command to authenticate with the SSC server:
fcli ssc session login --url https://ssc.your-url.com/ --user --password
Replace:
- <your-username> with your SSC username.
- <your-password> with your SSC password.
Security Tip: Avoid hardcoding passwords in scripts. Use environment variables or secure credential storage when possible.
2). List Application Versions
Once authenticated, run the following command to retrieve the list of application versions:
fcli ssc appversion list
This will return a list of all application versions accessible to your account.
Also, related commands:
Format in CSV or Json and forward the output, e.g:
- fcli ssc appversion list --output csv >> appversionlist.csv.log
- fcli ssc appversion list --output json >> appversionlist.json.log
- fcli ssc application list - Lists all applications.
- fcli ssc appversion get --id <appversion-id> - Retrieves details of a specific app version
Troubleshooting:
| Issue: | Solution: |
| Login fails | Verify URL, username, and password. Check network connectivity. |
| No app versions listed | Ensure your account has access to the relevant applications. |
| Command not recognized | Confirm FCLI is installed and in your system's PATH. |
flci ssc session information: https://fortify.github.io/fcli/v3.14.3/manpage/fcli-ssc-session-login.html#