Secrets

Find secrets such as API keys and access tokens in source code and configuration files.

Item Coverage
Input Source code and text configuration files
Detection types 160+

Suppress a rule at one location

For a confirmed false positive, put xez-ignore: rule-id in a comment on the flagged line or directly above it. Match the rule ID’s case. Separate multiple IDs with commas. To explain the exception in any language, add a space or tab after the last ID.

js
// xez-ignore: jwt — 가린 NICE SERVICE_INFO(0으로 채운 tid, 2023년 만료), 실제 토큰 아님
const SERVICE_INFO = "<synthetic JWT>";

A reason can also begin with :, (, [, –, or — immediately after an ID. The hyphen in jwt-base64 belongs to the ID. Commas and rule names inside the reason are ordinary text.

Related pages1