OpenSCAP is not supporting for Windows Server with XCCDF evaluation & CIS Benchmark
kumar6429 opened this issue · comments
Description of Problem: OpenSCAP is not supporting for Windows Server with XCCDF evaluation & CIS Benchmark. Is there any powershell script to install the OpenSCAP on windows
OpenSCAP Version: 1.3.0 & SCAP compliance checker 5.7.1
Operating System & Version: Windows Server 2016
Steps to Reproduce:
- Log into Windows Server 2016.
- Download the STIG compliance checklist and upload to SCC 5.7.1.
- Now run the local scan , select that particular profile (STIG for Windows 2016)
- The results will be saved to location you specify in SCC 5.7.1
- How to perform XCCDF evaluation with CIS Benchmark for windows server 2016 via command line or power shell script?
- How to install the OpenSCAP & SCAP Compliance checker software via power shell script?
Actual Results:
PS C:\SCAP\SCAP Report\Sessions\2023-05-26_093808\Results\SCAP\XML> oscap xccdf eval --fetch-remote-resources --profile Microsoft Windows Server 2016 - cpe:/0 --results-arf win-arf.xml --report win16-report.html
OpenSCAP Error: Unable to open file: 'Windows' [c:\projects\openscap\src\source\oscap_source.c:287]
PS C:\SCAP\SCAP Report\Sessions\2023-05-26_093808\Results\SCAP\XML>