Difference between revisions of "OpenSCAP"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 12: Line 12:
  
 
== Execution ==
 
== Execution ==
  oscap -V
+
  [[oscap -V]]
  
 
  oscap [[xccdf]] eval
 
  oscap [[xccdf]] eval

Revision as of 06:30, 9 March 2020

This article is a Draft. Help us to complete it.
/etc/oscapd/config.ini

Installation

apt install openscap-daemon
systemctl status oscapd

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: