:computer: Workflow Data For Github Actions & Linux Server Testing of Lockdown Enterprise Content :computer:
Repo ansible-lockdown/github_linux_IaC, read from GitHub 1 min ago. ansible-lockdown has not joined Take My Repo.
ansible-lockdown/github_linux_IaC is a public repo on GitHub by ansible-lockdown. :computer: Workflow Data For Github Actions & Linux Server Testing of Lockdown Enterprise Content :computer:. It declares the MIT license on GitHub. It is written mainly in HCL, has 7 stars and last changed on 2026-11-22. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-22.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Infrastructure as Code (IaC) modules and automation for use with the Lockdown Enterprise (LE) Linux-based pipelines. This central repository supports Linux benchmarking, deployment automation, and security hardening for CI workflows using Terraform (OpenTofu) and Ansible.
RHEL10)These secrets must be configured under Settings โ Secrets and variables โ Actions (repo or org level).
Private repos will need to be configured in the individual repos because the org secrets
do not function in private on our current plan.
| Secret Name | Description |
|---|---|
AWS_ACCESS_KEY_ID |
AWS access key ID for programmatic access |
AWS_SECRET_ACCESS_KEY |
AWS secret access key for programmatic access |
AWS_ASSUME_ROLE |
AWS IAM Role to assume for provisioning |
AWS_ROLE_SESSION |
AWS session name |
AWS_PRIVSUBNET_ID |
AWS private subnet ID for EC2 provisioning |
AWS_VPC_SECGRP_ID |
AWS security group ID |
BADGE_PUSH_TOKEN |
GitHub token for pushing badge updates to GitHub Pages or badge repo |
GALAXY_API_KEY |
API key for publishing to Ansible Galaxy |
SSH_PRV_KEY |
Private SSH key for connecting to provisioned Linux instances |
These must be added under Settings โ Actions โ Variables in benchmark repos (e.g., Linux-RHEL9-CIS):
| Variable Name | Description | Example |
|---|---|---|
ANSIBLE_RUNNER_VERSION |
Version of Ansible used by the CI runner | 2.16.6 |
BENCHMARK_TYPE |
Benchmark under test (CIS, STIG, etc.) |
CIS |
BUILD_SLEEPTIME |
Seconds to wait before Ansible run after provisioning | 90 |
ENABLE_DEBUG |
Enable debug output and disable auto-destroy (true/false) |
false |
IAC_BRANCH |
GitHub branch to load IaC modules from | self_hosted |
OSVAR |
OS tfvars file base name (e.g., UBUNTU20, RHEL9) |
UBUNTU20 |
This repo uses OpenTofu to provision Windows test runners locally or inside GitHub Actions for compliance validation.
| File | Description |
|---|---|
main.tf |
Creates AWS-based Linux VMs with required networking and provisioning logic |
vars.tf |
Defines all input variables used by the main Terraform plan |
RHEL9.tfvars |
Variable file for standard RHEL 9 runner setup |
UBUNTU20.tfvars |
Variable file for standard Ubuntu 20.04 runner setup |
This repository supports automated validation pipelines that run on every push to main or devel branches of Linuxs benchmark repositories. These workflows are split by purpose:
main_pipeline_validation.yml, devel_pipeline_validation.yml)Provision โ Apply โ Validate โ Destroy
These workflows provision a fresh Linux environment (e.g., RHEL, Ubuntu) in AWS using OpenTofu/Terraform, apply the benchmark with Ansible, and validate compliance.
.github/workflows/main_pipeline_validation.yml.github/workflows/devel_pipeline_validation.yml graph TD;
A[Benchmark Pipeline] -->|Starts the github workflow|B[Loads the linux_benchmark_testing]
B --> C[Imports variables set in repo]
C --> D[STEP - Welcome Message]
D --> E[Sends welcome if first PR and invite to discord]
C --> F[STEP - Build testing pipeline]
F --> G[Starts runner based on ubuntu latest]
G --> H[Imports Variables for usage across workflow]
H --> I[Git Clone in repo and source branch PR is requested from]
I --> J[Git Clone this content for IaC portion of pipeline]
J --> K[creates a local key to be used - Secret]
K --> L[Runs terraform steps]
L -->|terraform init|M[Initiates terraform]
M -->|terraform validate|N[Validates config]
N -->|terraform apply|O[Runs terraform and sets up host]
O -->|sleep 60 seconds|P[If Debug variable set output ansible hosts]
P --> Q[Runs ansible playbook] --> |terraform destroy|R[Destroys all the IaC config]
Provision โ Apply โ Validate โ Destroy
These workflows provision a fresh Linux environment (e.g., RHEL, Ubuntu) in AWS using OpenTofu and Ansible. They are designed for both CLI-driven and UI-triggered execution in GitHub Actions. Once provisioned, the benchmark is applied, validated, and then the environment is destroyed (unless ENABLE_DEBUG is set to true).
These workflows are automatically triggered, but you can simulate them via PRs.
# Triggers on PR to main/latest # Uses: ${OSVAR}.tfvars
# Triggers on PR to devel or any 'benchmark_*' branch # Uses: ${OSVAR}.tfvars
export BENCHMARK_TYPE="CIS" export OSVAR="WIN2022" export TF_VAR_repository="${OSVAR}-${BENCHMARK_TYPE}" export TF_VAR_BENCHMARK_TYPE="${BENCHMARK_TYPE}" terraform init terraform validate terraform apply -var-file="UBUNTU22.tfvars" --auto-approve terraform destroy -var-file="UBUNTU22.tfvars" --auto-approve
This repository (github_linux_IaC) maintains shared GitHub Actions workflows that are reused by Windows benchmark repos to manage badge exports and automation logic.
| Workflow Filename | Purpose |
|---|---|
.github/workflows/export_badges_private.yml |
Used in private repos for badge JSON export |
.github/workflows/export_badges_public.yml |
Used in public repos for shields.io badge endpoints |
Benchmark repos include a wrapper workflow like:
# .github/workflows/export_badges_private.yml name: Export Badges to Private Repo on: push: branches: [ latest ] jobs: export-badges: uses: ansible-lockdown/github_linux_IaC/.github/workflows/export_badges_private.yml@main secrets: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} BADGE_PUSH_TOKEN: ${{ secrets.BADGE_PUSH_TOKEN }}
The reusable logic lives in the
github_linux_IaCrepo. This makes badge generation portable and consistent.
| Secret Name | Where Needed | Notes |
|---|---|---|
BADGE_PUSH_TOKEN |
๐ Private Repos | Must be set manually even if it exists at the org level |
GH_TOKEN |
All repos | Provided automatically by GitHub Actions |
graph TD; A[Push to latest or main branch] --> B[Triggers local wrapper workflow] B --> C[Calls reusable IaC workflow using 'uses'] C --> D[Generates JSON badge data] D --> E[Pushes to badge cache or GitHub Pages] E --> F[Badge rendered via shields.io or embedded in README]
This repository supports a wide variety of badges across public and private benchmark repositories. These badges serve different purposes and come from different systems.
| Badge Type | Source System | Example Badge | Notes |
|---|---|---|---|
| GitHub Stats (Stars/Forks) | GitHub (static links) | Hardcoded to specific repo/org | |
| Twitter & Discord | External services | Hardcoded link or ID | |
| License Badge | GitHub | Hardcoded, dynamic on GitHub | |
| Lint Tools (yamllint, ansible-lint) | Hardcoded manually | Always present (not dynamic) | |
| GitHub Actions Status | GitHub Workflow Badge URLs | Dynamic, GitHub-managed | |
| Commits, Issues, PRs | GitHub | Dynamic, GitHub-managed | |
| Pre-Commit CI | IaC Badge JSON (hosted) | ๐ Updated via IaC workflow | |
| Benchmark Version Badges | IaC Badge JSON | ๐ Dynamic IaC badge | |
| Private Repo Badges | IaC Badge JSON | ๐ Internal subscribers only | |
| Release Branch | Hardcoded or IaC badge | / IaC endpoint | Sometimes manually added |
[](https://results.pre-commit.ci/latest/github/ansible-lockdown/UBUNTU24-CIS/devel)
.json files hosted in the github_linux_IaC badges/ folder.export_badges_public.yml and export_badges_private.yml workflows.BADGE_PUSH_TOKEN.You can structure your badge sections like this:
## Public Repository ๐ฃ    [](...)  [](...) ... ## Subscriber Release Information ๐  [](...) ...
The github_windows_IaC repository contains a shared workflow system that automates benchmark version tracking across private repositories. Once a benchmark reaches 90 days in a private repo, it is eligible for auto-promotion to its corresponding public repository. Notifications are sent via Microsoft Teams and Discord.
| Workflow File | Description |
|---|---|
benchmark_track.yml |
Called by private repos to initiate tracking. Determines if a benchmark version is missing from the public repo, and opens a 90-day issue if so. Sends Teams and Discord notifications. |
benchmark_promote.yml |
Called daily from a central repo. Monitors all tracking issues. If 90+ days old, closes issues (if already promoted) or auto-creates PRs. Sends milestone reminders and promotion alerts. |
These secrets must be configured in the GitHub repositories involved:
| Secret Name | Scope | Purpose |
|---|---|---|
GH_TOKEN |
All repos | Required for GitHub CLI operations (issues, PRs, comments, etc.) |
TEAMS_WEBHOOK_URL |
All repos | Used to send Adaptive Card notifications to Microsoft Teams |
DISCORD_WEBHOOK_URL |
All repos | Sends milestone, promotion, and closure alerts to Discord channels |
BADGE_PUSH_TOKEN |
All repos | Grants write access to push badge files to github_windows_IaC |
Add these under:
Settings โ Secrets โ Actionsfor each participating repository.
Set the required secrets in each Private repo:
GH_TOKENTEAMS_WEBHOOK_URLDISCORD_WEBHOOK_URLBADGE_PUSH_TOKENPrivate Repo:
benchmark_track.yml from PR merges or scheduled runs.IaC Repo:
benchmark_promote.yml to run daily.Public Repo:
devel branch and README.md exist to validate versions.Teams/Discord Webhooks:
Private-Linux-* โ Ubuntu-*).README.md format must include a recognizable version string (e.g., vX.Y.Z or Version X, Rel Y).โ This setup ensures full traceability and timely promotion of compliance benchmarks while keeping all stakeholders informed.
benchmark-tracker WorkflowTriggered when a pull request from a branch matching benchmark_* is merged into the latest branch of a Private repo.
benchmark_v2.0.0 becomes v2.0.0This tracks the need to promote this version publicly after 90 days.
monitor-90day-promotions WorkflowRuns daily from the IaC repo. Monitors issues created by the tracker workflow.
main branchgh pr create and gh pr merge to automate promotiongithub_windows_IaCIf the issue is not yet 90 days old, it is skipped and checked again on the next scheduled run.
Each step is modularized inside the workflow YAML:
benchmark-tracker.yml
- name: Detect PR branch and extract version- name: Create 90-day tracking issue- name: Label and annotate PRmonitor-90day-promotions.yml
- name: Search for benchmark tracker issues- name: Compare age against 90-day threshold- name: Promote version if qualified- name: Send Teams notification via webhook- name: Update badge JSON in IaCgraph TD;
A[Private Repo Calls benchmark_track.yml] --> B{Is Public Repo Missing Version?}
B -- No --> C[No Action Needed]
B -- Yes --> D[Open 90-Day Tracking Issue]
D --> E[Send Tracking Start Notifications]
E --> F[benchmark_promote.yml Runs Daily]
F --> G{Is Issue 90+ Days Old?}
G -- No --> H[Send Milestone Reminders 30/60/90 Days]
G -- Yes --> I{Already Promoted?}
I -- Yes --> J[Close Issue, Send Notifications]
I -- No --> K[Create PR to Public Repo]
K --> L[Send PR Notifications to Teams & Discord]
The system supports Teams and Discord alerts for all key events during benchmark tracking and promotion. These include:
Each message is customized for Teams and Discord formatting, with links to issues and PRs where applicable.
๐ Tracking Initiated - v2.0.0 ๐ Subscriber Repo: ansible-lockdown/Private-Windows-2022-CIS ๐ฆ Subscriber Version: v2.0.0 ๐ Community Target: ansible-lockdown/Windows-2022-CIS ๐ฆ Community Version: v1.9.0 โณ Subscriber Review Ends: Approx: 2025-09-07 ๐๏ธ Auto-Promotion Date To Community: Approx: 2025-09-12 ๐ Promotion In: 90 days
๐จ Tracking Started โ But There's A Problem ๐จ Benchmark version 'v2.0.0' from **Private-Windows-2022-CIS** has entered the 90-day window. โ ๏ธ However, the public repo **Windows-2022-CIS** is missing or incomplete. ๐ข Please create and prepare the community repo.
๐ Benchmark Release To Community Tracking Started ๐ Subscriber Repo: ansible-lockdown/Private-Windows-2022-CIS ๐ฆ Subscriber Version: v2.0.0 ๐ Community Repo: ansible-lockdown/Windows-2022-CIS ๐ฆ Community Version: v1.9.0 โณ Review Ends: 2025-09-07 ๐๏ธ Auto-Promotion Date: 2025-09-12
โฐ Benchmark Promotion Milestone ๐ข 60-Day Reminder: Benchmark `v2.0.0` is scheduled for promotion in 30 days. โ ๏ธ If not promoted manually, auto-promotion occurs on Day 95. ๐ Subscriber Repo: Private-Windows-2022-CIS ๐ฆ Version: v2.0.0 ๐ Target: Windows-2022-CIS โฑ๏ธ Days Tracked: 60 ๐ Scheduled Auto-Promotion: 2025-09-12
โฐ Benchmark Promotion Reminder โ ๏ธ Benchmark v2.0.0 from `Private-Windows-2022-CIS` is overdue by 3 days. โฒ๏ธ Auto-promotion will occur in 2 days. ๐ View Issue #43
โ
Benchmark Already Promoted
Benchmark version v2.0.0 is already in Windows-2022-CIS.
๐
Auto-closed on: 2025-09-05
๐ View Issue #43โ Benchmark Promoted To Community Benchmark v2.0.0 from `Private-Windows-2022-CIS` is already in `Windows-2022-CIS` ๐ฟ Branch: devel ๐ Auto-closed: 2025-09-05 ๐ Issue: View Issue #43
โ Benchmark Promotion Will Be Blocked ๐ซ The community repo **Windows-2022-CIS** does not exist or is missing `devel`. ๐ข Please resolve this to enable promotion. ๐ Repo: Private-Windows-2022-CIS ๐ฆ Version: v2.0.0
๐จ Benchmark PR Automatically Created ๐จ
Version v2.0.0 from Private-Windows-2022-CIS has been proposed for promotion.
๐ PR: https://github.com/ansible-lockdown/Windows-2022-CIS/pull/99
๐
Days Tracked: 95
๐ Branch: promote_benchmark_v2_0_0๐ฆ Benchmark Promotion PR Created: Promote v2.0.0 ๐ Repo: Private-Windows-2022-CIS ๐ Target: Windows-2022-CIS ๐ฟ Branch: [promote_benchmark_v2_0_0](https://github.com/ansible-lockdown/Windows-2022-CIS/tree/promote_benchmark_v2_0_0) ๐ PR: https://github.com/ansible-lockdown/Windows-2022-CIS/pull/99 ๐ Days Tracked: 95
This Windows IaC repository also acts as the central badge hub for Windows-based benchmark pipelines.
badges/ directory in this repoexport_badges_public.yml, export_badges_private.yml) handle both Windows and Linux badge publicationWindows-2022-CIS will have badges stored at:https://ansible-lockdown.github.io/github_windows_IaC/badges/Windows-2022-CIS/pre-commit-ci.json
This keeps badge generation consistent and centralized across all platforms for Lockdown.
This repository includes a scheduled GitHub Pages deployment workflow (.github/workflows/pages_deploy.yml) that publishes the entire repo root to GitHub Pages on a ~70-minute cadence, with one intentional long gap per day.
Key Details:
/badges/*.json) to GitHub Pages.flowchart TD
A[Scheduled Trigger ~70m cadence \n UTC cron times] --> B[Checkout repo root self_hosted branch]
B --> C[Create .nojekyll to preserve JSON/raw files]
C --> D[Upload site as Pages artifact]
D --> E[Deploy to GitHub Pages environment]
E --> F[Public site updated \n e.g., /badges/*.json endpoints]
| UTC Time(s) | Approx. ET Time(s)* | Notes |
|---|---|---|
02:00, 05:00, 12:00, 19:00 |
10:00 pm, 1:00 am, 8:00 am, 3:00 pm | Major deploys |
03:10, 06:10, 13:10, 20:10 |
11:10 pm, 2:10 am, 9:10 am, 4:10 pm | Staggered deploys |
07:20, 14:20, 21:20 |
3:20 am, 10:20 am, 5:20 pm | Staggered deploys |
08:30, 15:30, 22:30 |
4:30 am, 11:30 am, 6:30 pm | Staggered deploys |
09:40, 16:40, 23:40 |
5:40 am, 12:40 pm, 7:40 pm | Staggered deploys |
00:50, 10:50, 17:50 |
8:50 pm, 6:50 am, 1:50 pm | Staggered deploys |
*Times adjust by +1 hour during Eastern Standard Time (EST).
Pull requests are welcome. When you open your first PR, a Discord invite will be sent automatically (if enabled). Ensure your repo is configured with the appropriate variables and secrets to execute workflows.
terraform workflow files for use with the LE linux based pipelines
Each repo needs to have the following variables set repository variables required - settings/actions/variables
eg.
OSVARS RHEL9 BENCHMARK_TYPE CIS
This is called by the repository workflow to pull in this content. This enables us to manage the workflow and IAC centrally, enabling us to quickly change anything for improvements of issues with a certain region.
graph TD;
A[Benchmark Pipeline] -->|Starts the github workflow|B[Loads the linux_benchmark_testing]
B --> C[Imports variables set in repo]
C --> D[STEP - Welcome Message]
D --> E[Sends welcome if first PR and invite to discord]
C --> F[STEP - Build testing pipeline]
F --> G[Starts runner based on ubuntu latest]
G --> H[Imports Variables for usage across workflow]
H --> I[Git Clone in repo and source branch PR is requested from]
I --> J[Git Clone this content for IaC portion of pipeline]
J --> K[creates a local key to be used - Secret]
K --> L[Runs terraform steps]
L -->|terraform init|M[Initiates terraform]
M -->|terraform validate|N[Validates config]
N -->|terraform apply|O[Runs terraform and sets up host]
O -->|sleep 60 seconds|P[If Debug variable set output ansible hosts]
P --> Q[Runs ansible playbook] --> |terraform destroy|R[Destroys all the IaC config]
$ export benchmark_type="CIS" $ export OSVAR="RHEL8" $ export TF_VAR_repository="${OSVAR}-${benchmark_type}" $ export TF_VAR_benchmark_type="${benchmark_type}" $ terraform apply -var-file "github_vars.tfvars" -var-file "${OSVAR}.tfvars" $ terraform destroy -var-file "github_vars.tfvars" -var-file "${OSVAR}.tfvars"
ansible-lockdown/github_linux_IaC is a public repo on GitHub by ansible-lockdown. :computer: Workflow Data For Github Actions & Linux Server Testing of Lockdown Enterprise Content :computer:.
It declares the MIT license on GitHub.
Its maker tagged it for Windows and Linux. That is declared by the maker; Take My Repo has not tested it.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-22. GitHub counts 0 open issues and pull requests. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
:computer: Workflow Data For Github Actions & Windows Server Testing of Lockdown Enterprise Content :computer:
The open-source safety layer for AI agents โ block unsafe tool calls, require approval, enforce budgets, audit, replay.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Orca lets you run a fleet of bots with your own subscription (e.g. Claude Code, Grok, Agy, Codex). Available on desktop, mobile and remote runtime.
Automated CIS Benchmark Compliance Remediation for RHEL 7 with Ansible
Automated CIS Benchmark Compliance Remediation for RHEL 8 with Ansible
Automated STIG Benchmark Compliance Remediation for RHEL 7 with Ansible
Automated CIS Benchmark Compliance Remediation for Ubuntu 22 with Ansible
Automated CIS Benchmark Compliance Remediation for Ubuntu 24 with Ansible
Automated CIS Benchmark Compliance Remediation for RHEL 9 with Ansible
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/ansible-lockdown/github_linux_IaCTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.