https://github.com/ericcames/rhopenscap
Red Hat Open Security Content Automation Protocol (SCAP)
https://github.com/ericcames/rhopenscap
ansible
Last synced: 8 months ago
JSON representation
Red Hat Open Security Content Automation Protocol (SCAP)
- Host: GitHub
- URL: https://github.com/ericcames/rhopenscap
- Owner: ericcames
- Created: 2022-08-19T16:14:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-24T18:59:36.000Z (almost 4 years ago)
- Last Synced: 2024-12-29T05:09:48.772Z (over 1 year ago)
- Topics: ansible
- Homepage:
- Size: 790 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Red Hat Open Security Content Automation Protocol (SCAP)
### Security Content Automation Protocol (SCAP) links
[NIST SCAP Overview](https://csrc.nist.gov/projects/security-content-automation-protocol "NIST SCAP Overview")
[OpenSCAP Website](https://www.open-scap.org "OpenSCAP Website")
[Getting started with Red Hat Insights and OpenSCAP](https://www.redhat.com/en/blog/getting-started-red-hat-insights-and-openscap-compliance-reporting "Getting started with Red Hat Insights and OpenSCAP")
[Red Hat Compliance service and the Red Hat Insights API](https://www.redhat.com/en/blog/red-hat-compliance-service-and-red-hat-insights-api "Red Hat Compliance service and the Red Hat Insights API")
### Prepare your machines for SCAP policy
[SCAP install ansible playbook](https://github.com/ericcames/RHOpenSCAP/blob/main/scapinstall.yml "SCAP Install Playbook")
### Setup Red Hat Insights Compliance SCAP policy
1. Login in to:
[Red Hat Insights](https://console.redhat.com "Red Hat Hybrid Cloud Console")
2. Click on Red Hat Enterprise Linux

3. Click on Red Hat Insights

4. Click on Compliance

5. Click on SCAP Policies -> Create new policy

6. Pick your Operating System and add a filter to find your policy

7. Pick your Policy name -> Click next

8. Make any updates -> Click next

9. Select your systems -> Click next

10. Select the rules that you want to apply -> Click next

11. Finish!!

### Remediate your machines using Insights and Ansible
[Example of Insights created ansible playbook](https://github.com/ericcames/RHOpenSCAP/blob/main/example-rhel7cisremediation.yml "SCAP Install Playbook")
Click on systems and the system you would like to look at. Some of the remediations will have manual steps to be followed for remediation and some will have ansible playbooks that can be generated.

Integrate your Ansible Automation Platform with Red Hat Insights. This will give you access to the remediation playbooks you create. After you create your playbooks; sync your insights project and you will be able to create templates using the Insights generated playbooks.
