CLISecurity
Security
7 `hanzo` commands for Security, each calling one operation on api.hanzo.ai.
Package security is secret scanning for your code: submit sources, get findings, masked never raw.
7 commands · API reference →
| Command | Calls | What it does |
|---|---|---|
hanzo security findings get <id> | GET /v1/security/findings/{id} | Returns a single finding: which rule fired, where (path and line), the masked preview and the SHA-256 fingerprint of… |
hanzo security findings list | GET /v1/security/findings | Is the org's findings — rule, severity, path, line, masked preview and fingerprint — newest first, across scans or… |
hanzo security health | GET /v1/security/health | Reports that the scanning subsystem is serving and how many secret-detection rules the engine holds. |
hanzo security rules | GET /v1/security/rules | Is the secret-detection catalog the engine scans with. |
hanzo security scans get <id> | GET /v1/security/scans/{id} | Returns one scan together with every finding on it, so the detail view is one round-trip rather than a list call per… |
hanzo security scans list | GET /v1/security/scans | Is the org's scan history, newest first, each as the same summary the submission answered — files read, findings fired,… |
hanzo security scans create --files '[{"content":"<content>","path":"<path>"}]' | POST /v1/security/scans | Runs the detection engine over a batch of files and answers 201 with the scan summary: how many files were read, how… |
How is this guide?