lynis_exporter

command module
v0.0.0-...-4a57a4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

Go Report Card

lynis_exporter

Simple prometheus exporter for Lynis audit reports

Install

go get -u github.com/MauveSoftware/lynis_exporter

Configuration

This is a sample config to export 3 metrics from the recent report.

reportfile_path: /path/to/report/file.dat
metrics:
  "lynis_hardening_index":
    "description": "Hardening index"
  "finish":
    "description": "1 if audit completed successfully"
    "name": "complete"
    "converter": "bool"

The output of /metrics will look like like:

lynis_vulnerable_packages_found 1
lynis_hardening_index 89
lynis_complete 1

Usage

Binary
./lynis_exporter

License

(c) Mauve Mailorder Software GmbH & Co. KG, 2020. Licensed under Apache 2.0 license.

Prometheus

see https://prometheus.io/

Lynis

see https://github.com/CISOfy/lynis

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL