package
Version:
v0.0.14
Opens a new window with list of versions in this module.
Published: Oct 18, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Secrets package runs gitleaks
Deprecated: Removing this as trunk and pre-commit resolve running this in a more consistent way.
There isn't a need to wrap up these commands in mage.
Secrets contains tasks related to checking for sensitive values using tools like Gitleaks.
🔐 Detect scans for secret violations with gitleaks without git consideration.
This outputs by default to `.artifacts/gitleaks.json` but can be overridden by setting `GITLEAK_ARTIFACT_PATH`.
The defaults for this scan with `--no-git` to focus on file content without history.
🔐 Protect scans the staged artifacts for violations.
This is useful in pre-commit checks.
This outputs by default to `.artifacts/gitleaks.json` but can be overridden by setting `GITLEAK_ARTIFACT_PATH`.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.