├── .github └── workflows │ ├── build.yml │ └── cron.yml ├── Makefile ├── README.md ├── rhel8-playbook-stig.yml ├── rhel8-script-stig.sh ├── srg-to-csv.xslt ├── ssg-rhel8-ds-1.2.xml ├── ssg-rhel8-ds.xml ├── ssg-rhel8-guide-stig.html ├── table-rhel8-srgmap-flat.csv └── table-rhel8-srgmap-flat.html /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Build 2 | on: [push] 3 | jobs: 4 | build: 5 | name: build 6 | runs-on: ubuntu-latest 7 | steps: 8 | - uses: actions/checkout@v1 9 | - name: Install dependencies 10 | uses: mstksg/get-package@master 11 | with: 12 | apt-get: make expat libopenscap8 libxml2-utils ninja-build python3-jinja2 python3-yaml xsltproc 13 | - name: Make 14 | run: | 15 | make clean all 16 | - name: Create Pull Request 17 | uses: peter-evans/create-pull-request@v3.14.0 18 | with: 19 | token: ${{ secrets.GITHUB_TOKEN }} 20 | commit-message: Automated content rebuild 21 | title: 'Automated build of ComplianceAsContent/content rhel8' 22 | body: | 23 | Automated content re-build. 24 | committer: Github Actions Automation 25 | author: Github Actions Automation 26 | branch: update-rebuild 27 | branch-suffix: short-commit-hash 28 | reviewers: isimluk 29 | base: master 30 | - name: Check output environment variable 31 | run: echo "Pull Request Number - $PULL_REQUEST_NUMBER" 32 | -------------------------------------------------------------------------------- /.github/workflows/cron.yml: -------------------------------------------------------------------------------- 1 | name: Cron 2 | on: 3 | schedule: 4 | - cron: "0 0 * * *" 5 | jobs: 6 | build: 7 | name: cron 8 | runs-on: ubuntu-latest 9 | steps: 10 | - uses: actions/checkout@v1 11 | - name: Install dependencies 12 | uses: mstksg/get-package@master 13 | with: 14 | apt-get: make expat libopenscap8 libxml2-utils ninja-build python3-jinja2 python3-yaml xsltproc 15 | - name: Make 16 | run: | 17 | make clean all 18 | - name: Push to master 19 | uses: mikeal/publish-to-github-action@master 20 | env: 21 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 22 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: clean 2 | all: content 3 | (cd content; ./build_product rhel8) 4 | /usr/bin/xsltproc --stringparam map-to-items content/build/rhel8/xccdf-linked-srg-overlay.xml --stringparam ocil-document content/build/rhel8/ocil-linked.xml --output table-rhel8-srgmap-flat.csv srg-to-csv.xslt content/shared/references/disa-os-srg-v2r3.xml 5 | cp ./content/build/guides/ssg-rhel8-guide-stig.html ./content/build/ssg-rhel8-ds.xml ./content/build/ssg-rhel8-ds-1.2.xml content/build/ansible/rhel8-playbook-stig.yml content/build/bash/rhel8-script-stig.sh content/build/tables/table-rhel8-srgmap-flat.html ./ 6 | rm -rf content/ 7 | 8 | clean: 9 | rm -rf content/ 10 | 11 | content: 12 | git clone --depth 1 https://github.com/ComplianceAsCode/content 13 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Latest STIG for Red Hat Enterprise Linux 8 2 | 3 | Periodic automated re-build of [ComplianceAsCode](https://github.com/ComplianceAsCode/content) project. 4 | 5 | Preview 6 | * [Implementation Guide](http://htmlpreview.github.io/?https://github.com/isimluk/rhel8-stig-latest/blob/master/ssg-rhel8-guide-stig.html) 7 | * SRG Mapping Table: [HTML](http://htmlpreview.github.io/?https://github.com/isimluk/rhel8-stig-latest/blob/master/table-rhel8-srgmap-flat.html), [CSV](https://raw.githubusercontent.com/isimluk/rhel8-stig-latest/master/table-rhel8-srgmap-flat.csv) 8 | 9 | Or download: 10 | * SCAP DataStream: [version 1.3](https://raw.githubusercontent.com/isimluk/rhel8-stig-latest/master/ssg-rhel8-ds.xml), [version 1.2](https://raw.githubusercontent.com/isimluk/rhel8-stig-latest/master/ssg-rhel8-ds-1.2.xml) 11 | * [Ansible Playbook](https://raw.githubusercontent.com/isimluk/rhel8-stig-latest/master/rhel8-playbook-stig.yml) 12 | * [Configuration shell script](https://github.com/isimluk/rhel8-stig-latest/blob/master/rhel8-script-stig.sh) 13 | -------------------------------------------------------------------------------- /srg-to-csv.xslt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | https://public.cyber.mil/stigs/downloads/?_dl_facet_stigs=operating-systems%2Cgeneral-purpose-os 13 | 14 | 15 | 16 | 17 | CCI 18 | SRGID 19 | STIGID 20 | SRG Requirement 21 | Requirement 22 | SRG VulDiscussion 23 | VulDiscussion 24 | Status 25 | SRG Check 26 | Check 27 | SRG Fix 28 | Fix 29 | Severity 30 | Mitigation 31 | Artifact Description 32 | Status Justification 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | : 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | Applicable - Inherently Meets 109 | 110 | 111 | N/A 112 | 113 | 114 | Applicable - Configurable 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | --------------------------------------------------------------------------------