oscap-json

command module
v0.0.0-...-4720c68 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

README

OSCAP JSON

A simple tool for parsing output from OpenSCAP and converting it to JSON

Usage

oscap-json can either read input from a file or stdin. By default it will try to read from stdin. To override this behaviour and read from a file, use the -file flag.

# Read from stdin
$ sudo oscap xccdf eval --profile my_profile /path/to/scap.xml | oscap-json

# Read from a file
$ sudo oscap xccdf eval --profile my_profile /path/to/scap.xml > /tmp/report.txt
oscap-json -file /tmp/report.txt

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