@secretlint/secretlint-rule-grafana
v13.0.2
Published
A secretlint rule for grafana
Readme
@secretlint/secretlint-rule-grafana
Grafana rule for secretlint.
This rule detects Grafana API tokens such as Grafana Cloud API tokens and Grafana Service Account tokens.
Install
Install with npm:
npm install @secretlint/secretlint-rule-grafanaMessageIDs
GRAFANA_CLOUD_API_TOKEN
found Grafana Cloud API token: ${props.TOKEN}
Grafana Cloud API tokens start with the glc_ prefix and contain a
base64-encoded JWT payload. Real tokens typically start with glc_eyJ.
See Grafana Cloud API keys.
GRAFANA_SERVICE_ACCOUNT_TOKEN
found Grafana Service Account token: ${props.TOKEN}
Grafana Service Account tokens start with the glsa_ prefix, followed by
32 alphanumeric characters, an underscore, and an 8-character hex checksum.
See Grafana Service Accounts.
Options
allows: string[]- Allows a list of RegExp-like String
Changelog
See Releases page.
Contributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
License
MIT © azu
