Difference between revisions of "OpenSCAP"
Jump to navigation
Jump to search
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | [[wikipedia:OpenSCAP]] | |
+ | * 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> | ||
− | + | == 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 == | ==Related terms == | ||
* [[RHEL8 Security Hardening]] | * [[RHEL8 Security Hardening]] | ||
− | + | * [[CCE]] | |
+ | * <code>[[oscap]]</code> | ||
+ | * [[Spacewalk]] | ||
== See also == | == See also == | ||
* {{SCAP}} | * {{SCAP}} | ||
+ | * [[Tripwire]] | ||
+ | * {{Hardening}} | ||
[[Category:Security]] | [[Category:Security]] |
Latest revision as of 15:23, 1 November 2021
- Configuration:
/etc/oscapd/config.ini
Packages:
openscap-daemon
:oscapd
,oscapd-cli
,oscapd-evaluate
scap-workbench
oscap-docker
Installation[edit]
apt install openscap-daemon
systemctl status oscapd
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: