OpenSCAP / scap-workbench

SCAP Scanner And Tailoring Graphical User Interface
https://www.open-scap.org/tools/scap-workbench
GNU General Public License v3.0
226 stars 64 forks source link

U_MS_Windows_10_V2R1_STIG_SCAP_1-2_Benchmark.xml run on Windows 10 #272

Closed kazuyalb closed 3 years ago

kazuyalb commented 3 years ago

I run oscap with below options oscap xccdf eval --verbose DEVEL --verbose-log-file log.txt --results result.xml --oval-results --report report.html U_MS_Windows_10_V2R1_STIG_SCAP_1-2_Benchmark.xml

SRG-OS-000076-GPOS-00044 (Accounts must be configured to require password expiration.) was unknown status.

DEVEL Log file

I: installDir\oscap.exe: Creating new syschar for wmi_object 'oval:mil.disa.stig.windows:obj:7700'. [installDir\oscap.exe(13180):unknown(2c5c):c:\projects\openscap\src\oval\oval_probe.c:135:oval_probe_query_object] W: installDir\oscap.exe: OVAL object not supported. [installDir\oscap.exe(13180):unknown(2c5c):c:\projects\openscap\src\oval\oval_probe.c:147:oval_probe_query_object] I: installDir\oscap.exe: Test 'oval:mil.disa.stig.windows:tst:7700' requires that none of the objects defined by 'oval:mil.disa.stig.windows:obj:7700' exist on the system. [installDir\oscap.exe(13180):unknown(2c5c):c:\projects\openscap\src\oval\results\oval_resulttest.c:893:_oval_result_test_evaluate_items] I: installDir\oscap.exe: 0 objects defined by 'oval:mil.disa.stig.windows:obj:7700' exist on the system. [installDir\oscap.exe(13180):unknown(2c5c):c:\projects\openscap\src\oval\results\oval_resulttest.c:902:_oval_result_test_evaluate_items]

Please tell me how to deal with the problem.

OpenSCAP command line tool (oscap) 1.3.0

evgenyz commented 3 years ago

It is a problem of the OpenSCAP scanner itself: https://github.com/OpenSCAP/openscap/issues/1674. There is nothing you can do about it except implementing missing probes.

evgenyz commented 3 years ago

See also windows tag in issues.