OpenSCAP / openscap-daemon

Manages continuous scans of your infrastructure
https://www.open-scap.org/tools/openscap-daemon
GNU Lesser General Public License v2.1
106 stars 32 forks source link

oscapd-evaluate: support xccdf-id option #117

Closed matusmarhefka closed 6 years ago

matusmarhefka commented 6 years ago

atomic scan / oscapd-evaluate now supports xccdf-id scanner argument for configuration_compliance scan type. This way it is possible to select any profile in datastream file using:

--scanner_args xccdf-id=XCCDF_ID,profile=PROFILE_ID

If xccdf-id is not specified, profile is selected from the first XCCDF component found in a datastream file.

Fixes #116

matusmarhefka commented 6 years ago

@jan-cerny Wrong indentation and swapped namespace arguments are fixed in the latest commit.

jan-cerny commented 6 years ago

OK, thanks.