/fortify:fcli-commonfrom fortify
Reference for the Fortify CLI (fcli): install, upgrade, authenticate, output formats, SpEL queries, variable chaining, and custom actions across Fortify products.
Ships in fortify. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
fcli (Fortify CLI) is the unified command-line interface for all Fortify products: Fortify on Demand (FoD), Software Security Center (SSC), ScanCentral SAST, and ScanCentral DAST.
Docs: https://fortify.github.io/fcli/latest/ | Source: https://github.com/fortify/fcli | Skill content reflects fcli v3.23.
This skill covers cross-product fcli functionality: installation, session management, output formatting, SpEL queries, variable chaining, custom action development, and ScanCentral management operations. For product-specific operations (querying issues, managing scans, auditing vulnerabilities), defer to the fortify-fod or fortify-ssc skills — they provide deeper coverage of product-specific commands, API fields, and workflows.
| Module | Purpose |
|---|---|
fcli fod | Fortify on Demand (SaaS) |
fcli ssc | Software Security Center (on-premise) |
fcli sc-sast | ScanCentral SAST scan management |
fcli sc-dast | ScanCentral DAST scan management |
fcli action | Cross-product automation actions |
fcli tool | Install/manage fcli and other Fortify tools |
fcli config | Proxy, trust store, public key settings |
fcli util | Utilities (variables, command listing, etc.) |
Use fcli --help to list all top-level commands, and fcli <module> -h to drill down.
When uncertain whether a flag or subcommand exists, run fcli <command> --help before using it. FCLI is fully self-documenting — every module, subcommand, and flag is discoverable at runtime. This is the authoritative source; do not invent flags or subcommands based on patterns from other CLIs.
fcli fod issue list --help # verify available flags before constructing a command
fcli fod release --help # list all release subcommands
fcli util all-commands list # list every command available in the installed version
Skill content reflects fcli v3.23 (see tested-with in frontmatter). If a command fails with "unknown subcommand", "unrecognized option", or a 404/405 REST error, check versions first: run fcli --version and, for product-specific failures, ask the user for their SSC or FoD version. Older installs may lack a command; newer installs are generally backward compatible — use fcli util all-commands list or --help to discover available commands. Do not silently retry with guessed syntax.
See references/fcli-install.md for full procedures. Do NOT silently download or execute anything without user confirmation. Verify: fcli --version
Most fcli product modules require a login session before use:
fcli fod session login --url "https://api.ams.fortify.com" --user <user> --password <PAT> --tenant <tenantCode>
fcli ssc session login --url "https://my-ssc.com" --user <user> --password <pass>
Always run session logout when finished. Never output passwords or tokens in logs or chat. All Fortify API access must go through fcli — the escape hatch for endpoints not covered by a named command is fcli fod rest call / fcli ssc rest call. For credential best practices, named sessions, CI/CD setup, and the --validate flag, see references/fcli-session.md.
Prefer -o json for programmatic work. Parse JSON and summarize rather than relying on table output, which omits fields and truncates values.
For extended format options and JSON processing patterns, see references/output-formats.md. For --style options and SpEL query syntax, see references/fcli-query-output.md.
-q / --query evaluates a SpEL expression per record:
-q "name=='MyApp'" # equality
-q "{'Critical','High'}.contains(severity)" # multi-value match (preferred over ||)
For full syntax (date functions, null safety, regex, server-side filtering), see references/fcli-query-output.md.
--store)Store output from one command for use in the next, avoiding shell parsing of JSON:
fcli ssc appversion get MyApp:main --store myAV
fcli ssc artifact upload -f scan.fpr --appversion ::myAV::
fcli fod sast-scan start --rel MyApp:main -f pkg.zip --store myScan
fcli fod sast-scan wait-for ::myScan::
Built-in actions automate common workflows (CI/CD pipeline runs, SARIF/GitHub/GitLab vulnerability export, policy checks, PR comments):
fcli fod action list # list available FoD actions
fcli ssc action list # list available SSC actions
fcli fod action help <action> # view action usage/options
fcli fod action run <action> ... # run an action
Documentation: https://fortify.github.io/fcli/latest/fod-actions.html and https://fortify.github.io/fcli/latest/ssc-actions.html
Fcli actions are YAML files that define custom automation workflows. Use them to export vulnerabilities, enforce security policy, generate reports, integrate with external systems, etc.
See references/fcli-custom-actions.md for the full development workflow (scaffold, CLI options, step patterns, SpEL expressions, testing, signing).
| Variable | Purpose |
|---|---|
FCLI_DEFAULT_FOD_URL | Default FoD URL for all fod commands |
FCLI_DEFAULT_SSC_URL | Default SSC URL for all ssc commands |
FCLI_DEFAULT_<CMD>_<OPT> | Default for any option — see docs |
FCLI_STATE_DIR | Override fcli session/variable storage location |
HTTPS_PROXY / HTTP_PROXY | Proxy for fcli network requests |
FCLI_ENCRYPT_KEY | Custom encryption key for session data |
Command-prefixed defaults walk the command tree, e.g. FCLI_DEFAULT_FOD_RELEASE_LIST_APP sets the default --app for fcli fod release list.
Load these only when needed for the specific task at hand:
| File | When to load |
|---|---|
references/fcli-install.md | Installing, upgrading, or troubleshooting fcli setup |
references/fcli-session.md | Session best practices, named sessions, CI/CD token guidance, --validate |
references/fcli-query-output.md | Complex queries, SpEL syntax, null safety, date functions, server-side filtering |
references/output-formats.md | Extended format options (json-properties, --fetch=1) and JSON processing scripting patterns |
references/mutating-operations.md | Full safety rules for delete, create/update, access control, and REST mutations |
references/fcli-custom-actions.md | Creating or editing custom fcli action YAML files |
references/action-yaml-reference.md | Full YAML instruction set or SpEL function reference |
references/action-yaml-reference.md (opens in a new tab)references/fcli-custom-actions.md (opens in a new tab)references/fcli-install.md (opens in a new tab)references/fcli-query-output.md (opens in a new tab)references/fcli-session.md (opens in a new tab)references/mutating-operations.md (opens in a new tab)references/output-formats.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fortify/skills --plugin fortify-skills9 skills in this plugin
/fortify-change-reviewLightweight, AI-powered security review of code CHANGES (a diff, PR, or in-session edits) using the agent's own analysis — no Fortify scan engine or platform needed. Use when the user asks to "run a Fortify security review" / "Fortify change review", or when adding/modifying code touching authentication, authorization, input handling, output encoding, data access, file operations, outbound HTTP, deserialization, cryptography, transport security, XML parsing, logging, LLM/agent logic, or IaC (AWS, Azure, GCP, Terraform, Kubernetes, Helm). NOT for full SAST/DAST/SCA scans or triaging issues already found by FoD/SSC (use fortify-fod / fortify-ssc)./fortify-cicd-integrationIntegrate Fortify application security (SAST, SCA, DAST) with GitHub Actions, GitLab Pipelines, Azure DevOps, Jenkins & other CICD/DevSecOps pipelines./fortify-create-appCreate new Fortify application(s) in Fortify on Demand (FoD) or Application Security Center (SSC)./fortify-dependency-upgradePerform dependency upgrade impact assessment, code fixes, and migration work. Use to remediate Fortify SCA / open source / software composition analysis findings — vulnerable third-party dependencies, CVEs/GHSAs, components flagged by FoD or SSC — by upgrading to a safe version and fixing any resulting breakage. Also use when the user asks what will break after a version change, hits compile/test failures, needs code fixed for compatibility, needs help resolving dependency conflicts, or fixing breaking changes from direct or transitive dependency updates, including framework version changes that affect starters, plugins, annotations, configs, or imports. (For SAST/DAST code findings, use fortify-remediate instead.) Covers npm/yarn, Maven/Gradle, pip/poetry, Go modules, Cargo, Bundler, Composer, NuGet, C++ (CMake/Conan/vcpkg), iOS/macOS (CocoaPods/SPM/Carthage), and Scala (sbt/Mill)./fortify-exploitability-analysisTriage whether a known CVE/GHSA vulnerability is actually exploitable in this project. Use when the user wants a reachability verdict on a specific advisory — is the project really affected, or is the advisory noise? Analysis only; for fixes, hand off to fortify-dependency-upgrade./fortify-fodPerform tasks against Fortify on Demand (FoD): query applications/releases; query & triage existing security issues in FoD; start & monitor full SAST/DAST/SCA/open source scans of the codebase; create releases; import FPR/SARIF/CycloneDX artifacts; policy and portfolio analysis. NOT for lightweight AI review of local code changes/diffs (use fortify-change-review).Other plugins' skills for the same job