← Back to Skills Marketplace
0x008

Cis Openeuler Audit

by 0X008 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
16
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cis-openeuler-audit
Description
审计 OpenEuler 系统与对应 RHEL CIS Benchmark 的合规差异,生成合规报告。
README (SKILL.md)

CIS Benchmark 合规审计 — OpenEuler

针对 OpenEuler 系统,通过版本兼容矩阵匹配对应 RHEL 版本,对照其 CIS Benchmark 进行合规审计,输出差异分析报告。

使用方式

老大,审计 OpenEuler 合规情况
老大,运行 CIS 审计
老大,检查这台机器的安全基线

工作流

  1. 确定目标系统 — 确认待审计的 OpenEuler 主机及版本
  2. 匹配 RHEL 基准 — 查 references/version-matrix.md 确定对应 CIS Benchmark 版本
  3. 收集基线 — 在目标系统上运行 scripts/collect-baseline.sh,生成带时间戳的基线快照
  4. 差异分析 — 运行 scripts/diff-analysis.py,比对基线结果与 CIS Benchmark 映射表中的检查项
  5. 输出报告 — 生成 Markdown 格式的合规报告(通过/失败/手动验证),保存在 reports/ 目录

文件结构

cis-openeuler-audit/
├── SKILL.md                          # 本文件 — skill 定义与工作流
├── scripts/
│   ├── collect-baseline.sh           # 在 OpenEuler 主机上收集系统基线
│   └── diff-analysis.py             # 基线 vs CIS Benchmark 差异分析
├── references/
│   ├── version-matrix.md             # OpenEuler ↔ RHEL 版本兼容矩阵
│   └── cis-rhel-benchmark-mapping.md # CIS Benchmark 检查项 ↔ OpenEuler 等效检查
└── reports/                          # 审计报告输出目录(自动生成)

设计原则

  • 以脚本为主导 — SKILL.md 定义流程,具体逻辑交给脚本。模型无关。
  • 配置驱动 — 映射表、版本矩阵、例外规则在 references/ 中,不硬编码。
  • 幂等执行 — 每次生成带时间戳的报告,不修改目标系统配置,只做审计。
  • 增量更新 — 已有基线时,只分析有变动的部分(diff 上一次基线文件)。

自动化触发

场景 触发方式
一次性审计 手动触发(通过 QQ/Signal 指令)
定时巡检 配合 cron 定期执行
CI/CD 集成 新节点上线后自动执行

安全注意事项

  • 基线收集脚本使用 sudo,需确保执行用户有相应权限
  • 审计报告可能包含敏感配置信息,存储时注意权限控制
  • 不在未获得授权的主机上执行审计
Usage Guidance
Install and run this only on OpenEuler systems you are authorized to audit. Treat generated baseline and report directories as sensitive because they may include sudo policy, user/account details, SSH and firewall configuration, audit rules, and limited shadow-derived indicators; store them with restrictive permissions and avoid sharing them broadly.
Capability Assessment
Purpose & Capability
The stated purpose is CIS-style OpenEuler compliance auditing, and the scripts collect system, package, SSH, firewall, audit, account, sudo, cron, and policy data needed for that purpose.
Instruction Scope
The skill includes broad example prompts, but the workflow explicitly starts by confirming the target OpenEuler host/version and the safety notes warn not to run on unauthorized hosts.
Install Mechanism
The artifacts are a SKILL.md file, reference markdown, and two scripts; there are no install hooks, package dependency installs, obfuscation, or automatic execution paths.
Credentials
Running the baseline script with sudo is proportionate for a local compliance audit, but it writes sensitive security and authorization details to plaintext output files.
Persistence & Privilege
The skill creates timestamped baseline/report files and mentions optional cron use, but it does not install persistence itself or modify target system configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cis-openeuler-audit
  3. After installation, invoke the skill by name or use /cis-openeuler-audit
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of cis-openeuler-audit. - Provides OpenEuler CIS Benchmark compliance auditing with automated report generation. - Matches OpenEuler version to the corresponding RHEL CIS Benchmark using a version matrix. - Collects system baseline via script and analyzes compliance differences with mapping tables. - Outputs Markdown-format audit reports without modifying the target system. - Supports manual, scheduled (cron), and CI/CD-triggered audits. - Emphasizes script-driven workflow, external configuration, and secure handling of sensitive data.
Metadata
Slug cis-openeuler-audit
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Cis Openeuler Audit?

审计 OpenEuler 系统与对应 RHEL CIS Benchmark 的合规差异,生成合规报告。 It is an AI Agent Skill for Claude Code / OpenClaw, with 16 downloads so far.

How do I install Cis Openeuler Audit?

Run "/install cis-openeuler-audit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Cis Openeuler Audit free?

Yes, Cis Openeuler Audit is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Cis Openeuler Audit support?

Cis Openeuler Audit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cis Openeuler Audit?

It is built and maintained by 0X008 (@0x008); the current version is v1.0.0.

💬 Comments