Skip to content

firmis list - List Detected Platforms

Terminal window
firmis list [options]

firmis list answers one question fast: what platforms are present in this project?

Before running scan or discover, run list to confirm which platforms Firmis will cover. It auto-detects all platforms in your current environment and prints each one with a component count. The --json flag outputs a structured object suitable for piping into scripts or conditional CI steps.

For the full picture - component names, file paths, AI dependencies, and model references - use firmis discover instead. firmis list is optimized for speed and scripting, not for detailed inspection.

firmis list is read-only. It does not modify any files.

List detected platforms in the current environment

Section titled “List detected platforms in the current environment”
Terminal
npx firmis list
Terminal
npx firmis list --json
Terminal
npx firmis list --json | jq -e '.platforms[] | select(.type == "mcp")' && \
npx firmis-cli scan --platform mcp
FlagTypeDefaultDescription
--jsonbooleanfalseOutput as JSON instead of the human-readable format. The JSON includes a platforms array and a totalComponents count.
CodeMeaning
0Detection completed. Zero or more platforms found.
1Detection failed with an error.
  • Platforms - what each detected platform means for your security posture
  • discover - deeper inventory with component names, file paths, and dependencies
  • scan - scan all detected platforms for security threats