This is a content directory for Rocky Linux 8, and several tools for adding rocky8 content as new product for CimplianceAsCode.
ComplianceAsCode is upstream for OSS SCAP contents https://github.com/ComplianceAsCode. ComplianceAsCode content(old name "SCAP content") is including XML files, YAML, and so on for creating SCAP contents such as XCCDF or fixing scritp as BASH, Ansible.
See ComplianceAsCode Developer Guide in upsteam.
Directories as follows
- content/rocky8 (it is including definition for rocky8 contents)
- content/shared/checks/oval/installed_OS_is_rocky8.xml (this is working for building OS check contents in XCCDF)
- tools/ (it is including tool for supporting Rocky8 in ComplianceAsCode content.
- Git clone ComplianceAsCode content from (Official GitHub)[https://github.com/ComplianceAsCode/content] to your working directory(ex. work).
- cd work/content
- copy content_for_supporting_rocky8 directory from this repo under work/content. (Such as work/content/content_for_supporting_rocky8)
- run ./content_for_supporting_rocky8/tools/add_product_rocky8.sh
Then you'll be ready to compile Rocky8 contents.
- cd to content/build (such as work/content/build)
- run "cmake .."
- run "make -j4 rocky8"
Then you'll see several xml contents under build directory.