generate-preventive

Generate AWS security control artifacts from JSON mapping and validation results.

43|13|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/aws-samples/sample-agentic-value-accelerator --skill generate-preventive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-preventive
Source: https://github.com/aws-samples/sample-agentic-value-accelerator/tree/main/platform/control_plane/service_approval/plugin/.claude-plugin/skills/generate-preventive
Command: npx skills add https://github.com/aws-samples/sample-agentic-value-accelerator --skill generate-preventive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the generation of security control artifacts for AWS services, simplifying the process of implementing security controls and policies.

Core Features & Use Cases

  • Generate SCPs, Resource Policies, and More: Automatically creates Security Control Policies (SCPs), resource policies, KMS key policies, permission boundaries, tag policies, OPA policies, and CloudFormation Guard rules.
  • Use Case: For instance, when you have a set of AWS resources that need to adhere to specific security controls, this Skill can generate the necessary artifacts to enforce those controls.

Quick Start

Run the skill with the generate-preventive command and provide any necessary arguments, such as --service=<name> and --include-unverified.

Frequently Asked Questions about generate-preventive

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

FAQPage Schema
How do I automate generating AWS security controls like SCPs and IAM policies?

You can automate generating AWS security controls by running a command with specific service arguments to create SCPs, IAM policies, and resource policies from mapping and validation results. This process requires Python to process JSON input and output the policy files.

What AWS security control artifacts can I generate for compliance automation?

For compliance automation, you can generate Security Control Policies, resource policies, KMS key policies, permission boundaries, tag policies, OPA policies, and CloudFormation Guard rules to enforce specific controls across your AWS resources.

Do I need Python to generate preventive security controls for AWS environments?

Yes, you need Python installed to generate preventive security controls for AWS environments. The scripts process JSON input containing mapping and validation results to produce the required security policy artifacts.

How do I create KMS key policies and permission boundaries for AWS services?

To create KMS key policies and permission boundaries, run the generation command and specify the target AWS service. The skill uses your mapping inputs to automatically output the necessary policy artifacts for your security posture management.

Can I include unverified mapping results when generating AWS resource policies?

Yes, you can include unverified mapping results when generating AWS resource policies by passing the include-unverified argument to the command. This ensures all potential security controls are considered during artifact generation.

What is the best way to enforce security controls across multiple AWS resources?

The best way to enforce security controls across multiple AWS resources is automating artifact generation from validation results. This approach creates consistent SCPs, IAM policies, and CloudFormation Guard rules to standardize your compliance posture.

Related Skills