gensecaihq/wazuh-autopilot/wazuh-sca-hardening

Claude Code and agent skill by gensecaihq/wazuh-autopilot

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use Wazuh Security Configuration Assessment (SCA) results — CIS policy scores, failed checks and regressions — to prioritize hardening and map it to CIS Controls, PCI DSS and ISO 27001; use for hardening reviews, compliance evidence, or when a vulnerability or incident points to a misconfiguration.

Install

npx vskill@latest install gensecaihq/wazuh-autopilot/wazuh-sca-hardening

SKILL.md

Wazuh SCA Hardening

Wazuh SCA runs policy files (mostly CIS Benchmarks: cis_ubuntu22-04, cis_win2022, cis_rhel9, …) on each agent and reports each check as passed, failed or not applicable, plus an overall score.

SCA rules (stock ruleset, group sca)

RuleLevelMeaning
rule 190013SCA summary: policy score
rule 190024Score less than 90%
rule 190035Score less than 80%
rule 190047Score less than 50%
rule 190059Score less than 30%
rule 190077Check result failed (sca.check.result: failed)
rule 190083Check result passed
rule 190093Check result not applicable
rule 190103Status changed from failed to passed (remediated)
rule 190119Status changed from passed to failed (regression)
rule 190125Status changed from passed to not applicable

A regression (rule 19011) is the most important SCA signal: something that was compliant stopped being compliant. It can mean drift, a bad change — or an attacker weakening a host (disabling auditing, enabling root SSH login). Treat regressions on servers as potential incidents, not just hygiene.

Key fields

sca.policy, sca.policy_id, sca.check.id, sca.check.title, sca.check.result, sca.check.previous_result, sca.check.rationale, sca.check.remediation, sca.check.compliance.* (CIS, PCI DSS, NIST 800-53, HIPAA, ISO mappings shipped in the policy), sca.score, sca.passed, sca.failed.

Getting the data

  • Current state: get_sca_policy_checks agent_id="<id>" (optionally policy_id) — returns checks with

result, rationale and remediation.

  • Changes over time: get_wazuh_alerts rule_groups=["sca"] agent_id="<id>" timestamp_start="now-7d";

regressions only: filter the rule_id parameter on rule 19011.

  • Fleet view: iterate agents from get_wazuh_agents status="active" — keep it to the in-scope set

(servers, internet-facing, crown jewels) to stay within budget.

Prioritizing failed checks

Score each failed check, highest first:

  1. Exposure: internet-facing or crown-jewel host > internal server > workstation.
  2. Attack relevance: checks that directly enable known techniques — remote root login, password

authentication on SSH, SMBv1, missing audit logging, world-writable system paths, no host firewall, unpatched auto-update disabled.

  1. CIS profile: Level 1 checks are baseline and cheap; Level 2 checks are defence-in-depth.
  2. Correlation: a failed check on a host that also has related alerts or critical vulnerabilities

moves to the top (hand off vulnerability context to vuln-management if you are compliance).

  1. Effort: note likely breakage (e.g. disabling a service in use).

Mapping to frameworks

AreaCIS Controls v8.1PCI DSS v4.0.1ISO/IEC 27001:2022
Secure configurationCIS 4Req 2A.8.9
Audit loggingCIS 8Req 10A.8.15
Vulnerability / patchCIS 7Req 6A.8.8
Access control / accountsCIS 5, CIS 6Req 7, Req 8A.5.15, A.8.2
Network defence / firewallCIS 12, CIS 13Req 1A.8.20

Prefer the mapping shipped in sca.check.compliance.* when present; the table is a fallback.

Remediation hand-off

SCA findings are fixed by system owners, not by Wazuh active response. Record remediation as a recommendation: check ID, title, affected agents, remediation text from the policy, and the priority. Regressions that look deliberate on a sensitive host go to triage as a new case.

Output

  • add_finding per host or per theme: score, failed check count, top failed checks with remediation,

regressions with timestamps, and refs such as CIS-v8.1:4, PCI-DSS-4:Req 2, ISO-27001:A.8.9.

  • save_report (kind compliance) for fleet reviews: score distribution, worst hosts, top recurring

failures, regressions since last review.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
60
Repository forks
15
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/gensecaihq/wazuh-autopilot/wazuh-sca-hardening/badge)](https://verified-skill.com/skills/gensecaihq/wazuh-autopilot/wazuh-sca-hardening)

Something wrong with this skill or its page? Tell us.