Seeded demo · auth off · no application database · GitLab SoT / GitHub twin · not an ATO

Ansible automation

Convert DISA STIGs to playbooks, then review, modify, and push them through the GitLab SoT pipeline.

STIG conversion

DISA STIG → Ansible playbook

Drop a DISA STIG *_Manual-xccdf.xml (Windows, Kubernetes, or Linux). Rules whose fix/check text carries a literal, fully specified change — a registry stanza, a manifest --flag=value, a sysctl key, an sshd_config directive, a chmod/chown target, a systemctl action, a package, a login.defs key, or a GRUB argument — become executable Ansible tasks; everything else becomes a MANUAL review task with the DISA fix text. Nothing is fabricated.

Drop STIG XCCDF here or click to browse
Accepts the unzipped …_Manual-xccdf.xml from a DISA STIG package
Backed by ComplianceAsCode (SSG)

Vendored clone under vendor/compliance-as-code — a clone, not a submodule.

34
STIG profiles
39
Products
49
Controls

Commit f9568564d3c6 · ssg module present

STIG profiles SSG ships
firefoxstig
Mozilla Firefox STIG
hummingbirdstig
Red Hat STIG for Red Hat Hummingbird
ocp4stig
DISA STIG for Red Hat OpenShift Container Platform 4 - Platform level
ocp4stig-node
DISA STIG for Red Hat OpenShift Container Platform 4 - Node level
ocp4stig-node-v2r3
DISA STIG for Red Hat OpenShift Container Platform 4 - Node level
ocp4stig-node-v2r6
DISA STIG for Red Hat OpenShift Container Platform 4 - Node level
ocp4stig-v2r3
DISA STIG for Red Hat OpenShift Container Platform 4 - Platform level
ocp4stig-v2r6
DISA STIG for Red Hat OpenShift Container Platform 4 - Platform level
ocp4stig-vm-extension
DISA STIG for Red Hat OpenShift Container Platform 4 - Virtualization Extension
ocp4stig-vm-extension-v2r6
DISA STIG for Red Hat OpenShift Container Platform 4 - Virtualization Extension
ol10stig
DRAFT - STIG for Oracle Linux 10
ol10stig_gui
DRAFT - STIG with GUI for Oracle Linux 10
ol7stig
DISA STIG for Oracle Linux 7
ol7stig_gui
DISA STIG with GUI for Oracle Linux 7
ol8stig
DISA STIG for Oracle Linux 8
ol8stig_gui
DISA STIG with GUI for Oracle Linux 8
ol9stig
DISA STIG for Oracle Linux 9
ol9stig_gui
DISA STIG with GUI for Oracle Linux 9
opensuse16stig
General Purpose Operating System Security Profile for openSUSE Leap 16
rhcos4stig
DISA STIG for Red Hat Enterprise Linux CoreOS
rhcos4stig-v2r3
DISA STIG for Red Hat Enterprise Linux CoreOS
rhcos4stig-v2r6
DISA STIG for Red Hat Enterprise Linux CoreOS
rhel10stig
DISA STIG for Red Hat Enterprise Linux 10
rhel10stig_gui
DISA STIG with GUI for Red Hat Enterprise Linux 10
rhel8stig
DISA STIG for Red Hat Enterprise Linux 8
rhel8stig_gui
DISA STIG with GUI for Red Hat Enterprise Linux 8
rhel9stig
DISA STIG for Red Hat Enterprise Linux 9
rhel9stig_gui
DISA STIG with GUI for Red Hat Enterprise Linux 9
rhv4rhvh-stig
DRAFT - DISA STIG for Red Hat Virtualization Host (RHVH)
sle12stig
DISA STIG for SUSE Linux Enterprise 12
sle15stig
DISA STIG for SUSE Linux Enterprise 15
slmicro5stig
DISA STIG for SUSE Linux Enterprise Micro (SLEM) 5
ubuntu2204stig
Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide (STIG) V2R7
ubuntu2404stig
Canonical Ubuntu 24.04 LTS Security Technical Implementation Guide (STIG) V1R6

GitLab playbooks

Patch release → DEV deploy (GitLab + Ansible only)
DevSecOps/automation/gitlab-ansible-dev-patching

No Jira. Triggered by patch/release tags (or manual DEPLOY_DEV=true).

ansible/playbook-patch-dev.yml
Modify & push

Edit the playbook above to enable committing.

Deploy / push out

Triggers the playbook's GitLab pipeline with these variables. Values are read from the CI file's variables: block.

This pipeline gates deploy behind DEPLOY_DEV=true. It will validate but not deploy until you set it to true.