cis-benchmarks

Audit and remediate systems against CIS benchmarks using OpenSCAP, Lynis, InSpec, and kube-bench.

46|4|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill cis-benchmarks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cis-benchmarks
Source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/tree/main/security/hardening/cis-benchmarks
Command: npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill cis-benchmarks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the assessment and remediation of security configurations against industry-standard CIS benchmarks, ensuring systems meet compliance and hardening requirements.

Core Features & Use Cases

  • Automated Auditing: Utilizes tools like OpenSCAP, Lynis, InSpec, and kube-bench to scan systems for compliance.
  • Remediation Guidance: Provides a workflow for analyzing findings, applying fixes, and validating changes.
  • Use Case: When preparing for a SOC2 audit, use this skill to scan your Kubernetes cluster and Linux servers against the relevant CIS benchmarks, generating a report of compliance status and actionable remediation steps.

Quick Start

Use the cis-benchmarks skill to run an OpenSCAP scan against Ubuntu 22.04 systems.

Frequently Asked Questions about cis-benchmarks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate CIS benchmark audits for Kubernetes and Linux servers?

You can automate CIS benchmark audits by running scanning tools like OpenSCAP, Lynis, InSpec, and kube-bench to evaluate system configurations. This skill analyzes findings and provides actionable remediation steps to ensure your infrastructure meets security baseline requirements.

What is the best way to prepare for a SOC2 audit using security hardening tools?

Preparing for a SOC2 audit involves scanning your Kubernetes clusters and Linux servers against relevant CIS benchmarks to identify configuration gaps. You generate a compliance report and apply the provided remediation workflow to harden systems and meet regulatory standards.

Can I use OpenSCAP and Lynis to implement security baselines on Ubuntu 22.04?

Yes, you can use OpenSCAP and Lynis to scan Ubuntu 22.04 systems against CIS benchmarks. The skill integrates with these automated tools to assess current security configurations and guides you through applying necessary fixes for compliance.

Does this approach provide remediation guidance after finding compliance violations?

Yes, the process provides remediation guidance by analyzing the scanning findings and offering a workflow to apply fixes. It helps you validate changes after remediation, ensuring your systems achieve the required security hardening and compliance posture.

When do I need to run kube-bench for Kubernetes security compliance assessments?

You need to run kube-bench when assessing your Kubernetes cluster configurations against CIS benchmarks. It is specifically utilized to scan for security baseline violations, helping you identify non-compliant settings before regulatory audits or system hardening initiatives.