Skip to main content

scan Examples

Quick Analysis

Run a scan without an API token. Note that unauthenticated requests are subject to reduced rate limits and may return limited match data:

API Token Scanning

Provide an API token and a custom API URL to authenticate requests and access the full scanning feature set:

Scan with Dependency Detection

Include dependency manifest detection alongside code scanning:

Scan with Cryptography Detection

Include cryptographic algorithm and library detection:
With custom algorithm and library detection rule files:

wfp Examples

Two-Step Fingerprint and Scan Workflow

Fingerprinting and scanning can be performed as two separate steps. The .wfp file format (Winnowing FingerPrint) stores the generated fingerprints for later use. Generate fingerprints:
Scan the previously generated fingerprints:
This command scans the previously generated fingerprint file and writes the results to results2.json. The -stf flag skips loading a settings file during the scan; use this flag when no settings file is present or when you want to run the scan with default settings only.

dep Examples

Dependency-Only Scan

Run dependency manifest detection without code scanning:

crypto Examples

Cryptography-Only Scan

Run local cryptographic algorithm and library detection without code scanning:
With custom detection rule files: