Hanzo
OpenapiSecurity

Is the secret-detection catalog the engine scans with.

Is the secret-detection catalog the engine scans with.

GET /v1/security/rules

Addresshttps://api.hanzo.ai/v1/security/rules
MethodGET
Operationget_security_rules
AuthAuthorization: Bearer $HANZO_API_KEY

Is the secret-detection catalog the engine scans with.

It returns every rule a scan can fire — the id, name and severity a finding cites — so a caller can render or triage results without hard-coding the catalog. It is the same for everyone and discloses nothing tenant-specific, so it carries no org scope.

Request

GET /v1/security/rules takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200ruleListok

200 body — 5 fields.

FieldInTypeAlwaysDescription
databodyRuleView[]Data is every rule a scan can fire, each with the id, name and severity a finding cites.
data[].descriptionbodystringwhat kind of secret this rule recognises
data[].idbodystringthe rule identifier a finding cites
data[].namebodystringthe rule's human name
data[].severitybodystringhow serious a match is: critical, high, medium or low

Failure carries the platform error shape — see Errors.

Examples

hanzo security rules

Security API · All Hanzo APIs · Interactive reference

How is this guide?

On this page