No project description provided
Project description
This package exports the Security Vulnerability Alerts collected by GitHub as Prometheus metrics.
Usage
Configure API token
You’ll need to provide an access token to access the GitHub API. See the GitHub documentation for details.
Start HTTP service
Start the HTTP server like this:
$ uptimerobot_exporter --port=9597 --organization=MyGitHubOrg --authtoken=ACCESSTOKEN
Configure Prometheus
scrape_configs: - job_name: 'vulnerabilities' scrape_interval: 600s static_configs: - targets: ['localhost:9597']
We export one metric, a gauge called github_vulnerability_alerts, with a label {repository="MyGitHubOrg/my-repository-name}.
Additionally, a ghvuln_scrape_duration_seconds gauge is exported.
CHANGES
1.0.0 (2019-06-06)
First release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for github_vulnerability_exporter-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e303489196e6bccbc1c19ca489af84c9f0146425ebb2c991eac81830fc8b8898 |
|
MD5 | 083e26e0c26301c79dadfc33711dfd67 |
|
BLAKE2b-256 | dafbd86d9009eacd1ab03e8b948daec5b1f8ecafbe21a2ba66c712cb3aeff0c9 |