package page→ /norms/standards/owasp-secrets.md
pages/norms/standards/owasp-secrets.md
19 lines, 851 B. As a page.
- ---
- type: Page
- title: "Settings: secrets hygiene (OWASP)"
- exclude: ['**/*.lock', '**/package-lock.json', '**/pnpm-lock.yaml', '**/yarn.lock', '**/Cargo.lock', '**/go.sum']
- allowMarkers: ['secrets:allow', 'gitleaks:allow']
- minEntropy: 3.5
- minLength: 16
- maxBytes: 1048576
- ---
- # Settings: secrets hygiene (OWASP)
- Settings of the norms SCR-R01 … SCR-R03 of the `std-owasp-secrets` package. Edit the fields in the header.
- - `exclude`: what not to scan: globs from the project root.
- - `allowMarkers`: markers on a line that take it out of the check. Put them only on an example or a test key, and write next to it why.
- - `minEntropy`: the entropy threshold (bits per character) for SCR-R02. Higher means fewer findings.
- - `minLength`: from what length a value under a "secret" name is suspicious.
- - `maxBytes`: files larger than this size are skipped.