test-rule

Official

Automated end-to-end security rule testing.

AuthorComplianceAsCode
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates comprehensive testing of ComplianceAsCode security rules using Automatus, coordinating rule validation, scope, datastream readiness, VM availability, and test execution.

Core Features & Use Cases

  • Validate rule existence and applicability across supported products using Automatus and MCP tooling.
  • Determine test scope, including product selection, remediation types, and templates.
  • Verify prerequisites (datastream availability, VM readiness, and snapshots) before executing tests.
  • Run automated tests against target VMs and datastreams, then analyze and report results.
  • Use case: Validate a rule for rhel9 with Bash remediation, ensuring initial failures become compliant after remediation.

Quick Start

Provide a rule_id and follow prompts to configure target products, VM, and datastream, then run the automated test workflow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: test-rule
Download link: https://github.com/ComplianceAsCode/content/archive/main.zip#test-rule

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.