codeant findings to retrieve the findings available in the CodeAnt AI app as structured CLI output. The commands use the same authenticated organization, authorization rules, repository access, cloud scope, and pentest entitlements as the app.
Findings commands require a CLI version that includes
codeant findings. Verify with codeant findings --help after installing or upgrading codeant-cli.Quick start
1
Authenticate
codeant logout and codeant login once to create a key with the required identity metadata.2
List your organization connections
organizationName and service using --org and --service.3
Query findings
Finding coverage
The existing
codeant scans repos, codeant scans results, and codeant hotlist list/get commands remain supported. The unified findings namespace provides a discoverable entry point without requiring existing scripts to migrate.
Select an organization connection
Application-backed findings commands accept these options:
The organization, service, and provider URL must match an authenticated connection. The CLI will not send its bearer token to an arbitrary host.
Repository discovery
List the repositories available for repo-level findings:full_name, such as CodeAnt-AI/example, with findings repo.
Repository findings
Fetch all supported findings from the latest available scan:Repository finding types
Repository options
Export a scan as SARIF:
Organization Hotlist
findings list uses the same prioritized organization snapshot, filters, stable finding IDs, and cursor pagination as the Hotlist in the app.
Hotlist filters
Fetch one complete finding using the stable 32-character ID returned by
findings list or shown in the app:
Organization anti-patterns
Query anti-patterns across every repository in the selected organization:--repos is omitted, the CLI discovers the organization’s repositories before calling the aggregate anti-pattern endpoint.
Cloud security findings
Cloud Security findings are organization and cloud-resource scoped, not repository or branch scoped. The CLI supports AWS, Azure, and GCP across three finding kinds:Discover cloud scans
all history request returns the other providers and includes an error for the unavailable provider.
List CSPM findings
AWS can optionally be narrowed to an account:--cloud-service, --severity, --status, --framework, and --min-days-unused. AWS also supports --exploit-attempted-only; Azure also supports --subscription-id.
List VM and container findings
VM and container scans are identified by provider, kind, and scan ID:Get cloud finding detail
Use a findinguid from the list response:
Pentest findings
Start by listing pentest engagements to discover their report IDs:--variant prod is the default. Pentest access and critical/high finding redaction are enforced by the backend exactly as they are in the app. CLI access does not unlock restricted report content.
Use findings with agents
The native CodeAnt MCP server exposes repository, Hotlist, anti-pattern, cloud, and pentest findings as read-only tools. See MCP Server for setup and the complete tool list. Typical agent flow:- Discover the organization and scope with
codeant_scans_orgs,codeant_scans_repos,codeant_cloud_scan_history, orcodeant_pentest_history. - List and filter findings.
- Retrieve one detailed Hotlist or cloud finding, or a pentest report.
Troubleshooting
Scan Center
Explore the existing
scans commands and scan metadata.Cloud Security
Learn about CSPM, VM scanning, and container scanning.
Pentesting
Learn how pentest engagements and reports work in the app.