Scan CLI Commands Reference
Complete reference for all Maeris MCP CLI commands related to security scanning, API scanning, coverage analysis, and report generation.
Security Scan Commands
maeris scan security
Runs an AI-guided static security analysis of your codebase. Default profile is OWASP Top 10.
# Standard OWASP Top 10 scan maeris scan security # Quick surface-level scan maeris scan security --quick # Deep comprehensive scan maeris scan security --deep # Specific profile maeris scan security --profile api_static maeris scan security --profile sast_static maeris scan security --profile auth_session_static maeris scan security --profile data_exposure_static maeris scan security --profile infra_static maeris scan security --profile gigw_compliance maeris scan security --profile wcag_2_1_aa maeris scan security --profile all_staticAvailable flags
--quick— Fast scan, source files only--deep— Thorough analysis including dependency chains--profile <name>— Use a named scan profile--exclude <paths>— Comma-separated paths to skip--output <file>— Write results directly to a file
API Scan Commands
maeris scan api
Statically analyzes your codebase to extract all HTTP API calls and create a Maeris collection.
# Full API scan maeris scan api # Quick scan (source files only, skips node_modules) maeris scan api --quickmaeris scan push
Pushes the most recent scan results (API collection and/or security findings) to the Maeris Portal.
maeris scan push # Push only API scan results maeris scan push --type api # Push only security scan results maeris scan push --type securityCoverage Commands
maeris coverage ui
Reports UI test coverage by feature and page. Shows which pages and components have test cases and which are untested.
maeris coverage ui maeris coverage ui --format json --output ui-coverage.jsonmaeris coverage api
Reports API test coverage. Compares discovered API endpoints against those with test assertions. Highlights uncovered endpoints.
maeris coverage api maeris coverage api --collection "My API Collection"Report Commands
maeris report tests
Generates a test results report from the most recent test run. Supports HTML, JSON, and CSV output formats.
# Print summary to terminal maeris report tests # Export as HTML maeris report tests --format html --output test-results.html # Export as JSON maeris report tests --format json --output test-results.json # Filter by folder maeris report tests --folder Authentication --format html --output auth-results.htmlmaeris report coverage
Generates a unified coverage report combining UI and API coverage metrics.
maeris report coverage maeris report coverage --format html --output coverage-report.htmlmaeris report security
Generates a security findings report from the most recent security scan.
# Print findings summary to terminal maeris report security # Export as HTML (recommended for sharing) maeris report security --format html --output security-report.html # Export as CSV (for ticket tracking) maeris report security --format csv --output findings.csv # Filter by severity maeris report security --min-severity high --format html --output critical-findings.htmlReport retention
Reports are generated from locally cached scan results. Run the corresponding scan command first if you haven't scanned recently. Results are retained until the next scan of the same type overwrites them.
Next Steps
For environment, flow, and assertion commands, see the Environment & Flow CLI Commands Reference.