Run third-party assessment tools
#!/bin/bash # Install tools and OpenSCAP yum update -y -q yum install -y -q openscap-scanner # Run OpenSCAP scan # Note: HTML and XML OSCAP output files are written to the host mounted directory oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_stig --report /opt/sandbox/openscap_sandbox_stig.html --results /opt/sandbox/openscap_sandbox_stig.xml /opt/sandbox/ssg-rhel8-ds.xml$ chmod +x openscap_analysist.shlinux/twistcli sandbox \ --address https://127.0.0.1:8083 \ --volume /opt/sandbox:/opt/sandbox \ --third-party-delay 5s \ --third-party-cmd /opt/sandbox/openscap_analysis.sh \ --third-party-output /opt/sandbox/oscap-results.txt \ registry.access.redhat.com/ubi8/ubi:8.7-1037
Last updated
Was this helpful?

