Categorygithub.com/webdevops/apprelease-exporter
modulepackage
0.0.0-20220619212613-dc90becd3b98
Repository: https://github.com/webdevops/apprelease-exporter.git
Documentation: pkg.go.dev

# README

AppRelease and CVE Exporter

license DockerHub Quay.io

Prometheus exporter for Application releases supports Docker and GitHub and is able to fetch CVE reports via https://cve.circl.lu/.

Usage

Usage:
  apprelease-exporter [OPTIONS]

Application Options:
  -v, --verbose                     Verbose mode [$VERBOSE]
  -c, --config=                     Config path [$CONFIG]
      --bind=                       Server address (default: :8080) [$SERVER_BIND]
      --scrape-time=                Default scrape time (time.duration) (default: 12h) [$SCRAPE_TIME]
      --scrape-time.docker=         Scrape time for Docker (time.duration) [$SCRAPE_TIME_DOCKER]
      --scrape-time.github=         Scrape time for Github (time.duration) [$SCRAPE_TIME_GITHUB]
      --cve.url=                    URL to cve-search instance (see https://github.com/cve-search/cve-search) [$CVE_URL]
      --github.personalaccesstoken= GitHub personal access token [$GITHUB_PERSONALACCESSTOKEN]
      --github.scrape-wait=         Wait number between project waits (default: 2s) [$GITHUB_SCRAPEWAIT]
      --github.limit=               Number of results fetched from GitHub (default: 25) [$GITHUB_LIMIT]
      --docker.limit=               Number of tags fetched from Docker (default: 25) [$DOCKER_LIMIT]
      --cache.path=                 Cache path [$CACHE_PATH]
      --cache.ttl=                  Cache expiry (default: 24h) [$CACHE_TTL]

Help Options:
  -h, --help                        Show this help message

Configuration file

see example.yaml

Metrics

MetricCollectorDescription
apprelease_project_docker_releasedockerList of images with tags, value is created time from manifest
apprelease_project_docker_release_cvedockerList of CVE reports (if configured) with CVSS as value
apprelease_project_github_releasegithubList of GitHub repository releases, value is created time
apprelease_project_github_release_cvegithubList of CVE reports (if configured) with CVSS as value

Example

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author