ShtukbaseStandard
package page→ /norms/standards/owasp-secrets.md

pages/norms/standards/owasp-secrets.md

19 lines, 851 B. As a page.

  1. ---
  2. type: Page
  3. title: "Settings: secrets hygiene (OWASP)"
  4. exclude: ['**/*.lock', '**/package-lock.json', '**/pnpm-lock.yaml', '**/yarn.lock', '**/Cargo.lock', '**/go.sum']
  5. allowMarkers: ['secrets:allow', 'gitleaks:allow']
  6. minEntropy: 3.5
  7. minLength: 16
  8. maxBytes: 1048576
  9. ---
  10. # Settings: secrets hygiene (OWASP)
  11. Settings of the norms SCR-R01 … SCR-R03 of the `std-owasp-secrets` package. Edit the fields in the header.
  12. - `exclude`: what not to scan: globs from the project root.
  13. - `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.
  14. - `minEntropy`: the entropy threshold (bits per character) for SCR-R02. Higher means fewer findings.
  15. - `minLength`: from what length a value under a "secret" name is suspicious.
  16. - `maxBytes`: files larger than this size are skipped.