Difference between revisions of "OpenSCAP"

From wikieduonline
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
[[wikipedia:OpenSCAP]]
  
/etc/oscapd/[[config.ini]]
+
* Configuration: <code>[[/etc/oscapd/config.ini]]</code>
  
 +
Packages:
 
* <code>openscap-daemon</code>: <code>[[oscapd]]</code>, <code>[[oscapd-cli]]</code>, <code>[[oscapd-evaluate]]</code>
 
* <code>openscap-daemon</code>: <code>[[oscapd]]</code>, <code>[[oscapd-cli]]</code>, <code>[[oscapd-evaluate]]</code>
 +
* <code>[[scap-workbench]]</code>
 +
* <code>[[oscap-docker]]</code>
  
 +
== Installation ==
 +
* <code>apt install openscap-daemon</code>
 +
* <code>[[systemctl  status oscapd]]</code>
  
* Installation: <code>apt install openscap-daemon</code>
+
== Execution ==
::<code>[[systemctl  status oscapd]]</code>
+
[[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
  
  oscap xccdf eval
+
 
 +
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 ==
 
==Related terms ==
 
* [[RHEL8 Security Hardening]]
 
* [[RHEL8 Security Hardening]]
 
* [[CCE]]
 
* [[CCE]]
 +
* <code>[[oscap]]</code>
 +
* [[Spacewalk]]
  
 
== See also ==
 
== See also ==
 
* {{SCAP}}
 
* {{SCAP}}
 
* [[Tripwire]]
 
* [[Tripwire]]
 +
* {{Hardening}}
  
 
[[Category:Security]]
 
[[Category:Security]]

Latest revision as of 15:23, 1 November 2021

wikipedia:OpenSCAP

Packages:

Installation[edit]

Execution[edit]

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[edit]

See also[edit]

Advertising: