Difference between revisions of "OpenSCAP"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
  
 
== Installation ==
 
== Installation ==
::<code>apt install openscap-daemon</code>
+
* <code>apt install openscap-daemon</code>
::<code>[[systemctl  status oscapd]]</code>
+
* <code>[[systemctl  status oscapd]]</code>
  
 
== Execution ==
 
== Execution ==

Revision as of 05:40, 28 October 2020

This article is a Draft. Help us to complete it.

wikipedia:OpenSCAP

/etc/oscapd/config.ini

Installation

Execution

oscap -V
oscap xccdf eval
ERROR:    XCCDF file need to be specified!
Usage:    oscap [options] xccdf eval [options] INPUT_FILE [oval-definitions-files]
Help:     oscap xccdf eval -h


Directory: https://people.canonical.com/~ubuntu-security/oval/
wget https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.bionic.cve.oval.xml
oscap oval eval --results /tmp/oscap_results.xml --report /tmp/oscap_report.html com.ubuntu.bionic.cve.oval.xml

Related terms

See also

Advertising: