compliance-testing

Automate STIG rule validation with Molecule-based Ansible test scenarios.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/redhat-cop/network.compliance --skill compliance-testing-redhat-cop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compliance-testing
Source: https://github.com/redhat-cop/network.compliance/tree/main/.agents/skills/compliance-testing
Command: npx skills add https://github.com/redhat-cop/network.compliance --skill compliance-testing-redhat-cop

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ansible-dev-tools, molecule, ansible-lint, tox, yamllint, and includes references (resource) components.

What problem does it solve?

This Skill addresses the complexity of validating network security configurations by automating the testing lifecycle for STIG compliance, ensuring consistent and repeatable audit results.

Core Features & Use Cases

  • Molecule Integration: Orchestrates the full test sequence including creation, convergence, idempotence, and verification.
  • Compliance Validation: Automates the assertion of STIG rule statuses and finding details across various network platforms.
  • Use Case: When developing new STIG rules for Cisco IOS, use this Skill to run end-to-end Molecule scenarios that verify remediation roles and generate compliant reports without needing physical hardware.

Quick Start

Use the compliance-testing skill to run all Molecule test scenarios for the current network compliance collection.

Frequently Asked Questions about compliance-testing

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

FAQPage Schema
How do I automate STIG compliance testing for network devices?

Automate STIG compliance testing for network devices by running Molecule-based test scenarios that validate Ansible remediation roles. This framework orchestrates creation, convergence, idempotence checks, and verification to ensure consistent audit results without physical hardware.

What is the best way to validate STIG rule remediation for Cisco IOS?

The best way to validate STIG rule remediation for Cisco IOS is using Molecule test scenarios. They verify Ansible remediation roles against STIG rules and generate compliant reports automatically, eliminating the need for physical network hardware during testing.

Do I need Podman or Docker to run Molecule compliance tests?

Yes, you need Podman or Docker container runtimes to execute isolated test environments for Molecule compliance tests. These container runtimes are required alongside ansible-dev-tools and molecule to validate network security configurations consistently.

Can I use this Skill to run idempotency checks for Ansible network roles?

Yes, you can use this Skill to run idempotency checks for Ansible network roles. It orchestrates the full Molecule test sequence, including idempotence verification, to ensure that repeated Ansible playbook runs do not alter compliant network configurations.

What dependencies are required for network security compliance automation?

Network security compliance automation requires ansible-dev-tools, molecule, and container runtimes like Podman or Docker. Additional dependencies include ansible-lint, tox, and yamllint to support linting, testing, and workflow verification across isolated environments.