Files
codex-security/examples/README.md
T
Michael D'AngeloandMichael D'Angelo 0ed54be43a feat(imports): enable external scanner imports by default (#2360)
* feat(imports): enable external scanner imports by default

Register collection, publication, and readback commands directly. Keep provider credential checks, repository access checks, and upload confirmation in their existing paths. Clients can remove the retired environment variable.

* docs(imports): make scanner provider guides evergreen

Index the scanner report readers and supported destinations. Use installed CLI examples, distinguish repository helpers from packaged tools, and describe Cloud verification and retry steps from the preview and receipt.

* docs(integrations): clarify connector setup and publication paths

* docs(integrations): simplify publication history and storage guidance

* docs(triage): specify how to exhaust Jira search results

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-05 15:30:02 -08:00

2.8 KiB

Examples

Task Example
Scan an app, inspect a finding, patch it and verify the repair Invoice Desk walkthrough. Copy only the synthetic app into the scan target.
Supply your own validation test Custom validation demo. Run the local HTTP test on its own or let a model-backed scan invoke it.
Scan pull requests and repositories with GitHub Actions GitHub Actions with Amazon Bedrock uses AWS OIDC and saves SARIF and readable reports.
Scan Azure Repos from a central pipeline Azure Pipelines with Amazon Bedrock runs manual full or committed-diff scans.
Import Tenable One findings locally Tenable One export guide shows how to select code repository findings.
Prepare a ServiceNow AVIT export AVIT template. Replace the synthetic application and assignment values before using it as input to export findings for ServiceNow.
Preview a Codex Security findings CSV for Cloud Findings CSV template. Add one row per finding and preview the file as shown below.

Preview a findings CSV

Use this CSV format with publish scan --to cloud. For reports exported by a scanner, follow its provider guide. To try the Cloud CSV preview, copy the header-only template and append this synthetic row.

occ_e79cb19591e696572a1c22be,csf_852f90d6e1177502ff113d4a,Archive entry can escape the output directory,The archive writer uses the entry path without checking containment.,high,high,open,,,Validate each destination before writing.,src/extract.py,41,44

Keep every column in the template. Leave close_reason empty for an open finding. For a closed finding, use already_fixed, wont_fix, or false_positive. A note is required for the last two reasons and optional otherwise. Leave end_line empty if the location has only a start line.

Replace the path below with your populated copy. The dry run validates the file and previews the findings without uploading them.

codex-security publish scan --to cloud --csv /path/to/findings.csv --dry-run --json

See Publish completed scans when you are ready to upload.

npm package

The examples above live in the source repository. The npm package includes the plugin's sample scan bundles. Use the current report and manifest to see what a scan produces. The legacy bundle illustrates how to read older scans that reference a separate coverage file.