
Cis Benchmarks
- 92 installs
- 44 repo stars
- Updated May 22, 2026
- bagelhole/devops-security-agent-skills
cis-benchmarks is a Claude Code skill that audits and remediates CIS benchmark violations using automated tools like OpenSCAP, Lynis, InSpec, and kube-bench.
About
This skill audits and remediates CIS security benchmark violations. It covers automated assessment with OpenSCAP, Lynis, InSpec, and kube-bench, plus a scan-analyze-remediate-validate hardening workflow. A developer or security engineer uses it when assessing compliance, implementing security baselines, or hardening systems to standards. It matters for meeting regulatory requirements and establishing repeatable security baselines.
- Audits and remediates CIS benchmark violations with automated tools
- Uses OpenSCAP, Lynis, InSpec, and kube-bench for compliance scanning
- Provides a scan/analyze/remediate/validate hardening workflow
Cis Benchmarks by the numbers
- 92 all-time installs (skills.sh)
- Ranked #1,040 of 2,203 Security skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
cis-benchmarks capabilities & compatibility
- Capabilities
- business continuity · cloudflare zero trust
- Works with
- kubernetes
- Use cases
- security audit · devops
- Platforms
- Linux
- Pricing
- Free
What cis-benchmarks says it does
Implement and audit CIS security benchmarks.
Use automated tools to assess compliance and implement hardening recommendations.
npx skills add https://github.com/bagelhole/devops-security-agent-skills --skill cis-benchmarksAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 92 |
|---|---|
| repo stars | ★ 44 |
| Last updated | May 22, 2026 |
| Repository | bagelhole/devops-security-agent-skills ↗ |
What it does
Audit and remediate CIS benchmark violations using OpenSCAP, Lynis, InSpec, and kube-bench for hardening.
Who is it for?
Scanning systems against CIS benchmarks and remediating violations to meet security baselines
Skip if: Application-level code security review or dependency scanning
When should I use this skill?
Assessing security compliance, implementing security baselines, or hardening systems to standards
What you get
Systems scanned, hardened, and validated against CIS benchmarks with a compliance report.
- CIS scan/baseline report
- Remediated configurations
- Compliance report
By the numbers
- Uses 4 assessment tools: OpenSCAP, Lynis, InSpec, kube-bench
- 4-step remediation workflow: scan, analyze, remediate, validate
Files
CIS Benchmarks
Implement and audit CIS security benchmarks.
When to Use This Skill
Use this skill when:
- Assessing security compliance
- Implementing security baselines
- Meeting regulatory requirements
- Hardening systems to standards
Assessment Tools
OpenSCAP
# Install
apt install openscap-scanner scap-security-guide
# Run CIS benchmark scan
oscap xccdf eval \
--profile xccdf_org.ssgproject.content_profile_cis \
--results results.xml \
--report report.html \
/usr/share/xml/scap/ssg/content/ssg-ubuntu2204-ds.xmlLynis
# Install
apt install lynis
# Run audit
lynis audit system
# Generate report
lynis audit system --report-file /tmp/lynis-report.datInSpec
# cis-profile/controls/ssh.rb
control 'cis-ssh-1' do
impact 1.0
title 'Ensure SSH root login is disabled'
describe sshd_config do
its('PermitRootLogin') { should eq 'no' }
end
end
control 'cis-ssh-2' do
impact 0.7
title 'Ensure SSH password authentication is disabled'
describe sshd_config do
its('PasswordAuthentication') { should eq 'no' }
end
end# Run InSpec
inspec exec cis-profile -t ssh://user@targetKubernetes CIS
# kube-bench
docker run --rm -v /etc:/etc:ro -v /var:/var:ro \
aquasec/kube-bench:latest run --targets node
# Check specific sections
kube-bench run --targets master --check 1.1,1.2Remediation Workflow
workflow:
1_scan:
- Run automated assessment
- Generate baseline report
2_analyze:
- Review findings
- Identify false positives
- Prioritize by risk
3_remediate:
- Apply fixes
- Document exceptions
- Verify changes
4_validate:
- Re-run assessment
- Confirm remediation
- Generate compliance reportBest Practices
- Baseline before hardening
- Document exceptions
- Automate assessments
- Track compliance over time
- Regular re-assessment
- Version control configurations
Related Skills
- linux-hardening - Linux security
- vulnerability-scanning - Security scanning
Related skills
FAQ
Which scanning tools does it use?
OpenSCAP, Lynis, InSpec, and kube-bench for host, Linux, custom-control, and Kubernetes CIS scans.
Does it just scan or also fix?
Both. It follows a scan, analyze, remediate, and validate workflow with a final compliance report.