Scan script OpenSCAP?

hi, I installed the “opensap” vulnerability scanner on kali linux running on virtual box.

What I would like to do is perform a vulnerability scan of my pc, get the results and then print them on the screen …
could you recommend a script or a page where it is explained how to do this? I looked around but I didn’t find what I’m looking for …

The README.md here: GitHub - ComplianceAsCode/content: Security automation content in SCAP, Bash, Ansible, and other formats gives some good examples of how to use OpenSCAP, with the appropriate CLI parameters that generate HTML/XML reports afterwards.

Check out our guide on running SCAP Scans on rocky 8 here: Verifying DISA STIG Compliance with OpenSCAP - Part 2 - Documentation