generate-detective

Generate AWS security control artifacts from mappings and validations.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires aws.config, aws.eventbridge, aws.cloudwatch, aws.ssm, aws.stepfunctions, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates the generation of security control artifacts such as Config rules, EventBridge rules, CloudWatch alarms, SSM runbooks, Step Functions workflows, and CloudTrail configurations.

Core Features & Use Cases

  • Config Rule Generation: Automates the creation of Config rules with Lambda handlers.
  • EventBridge Rule Generation: Automates the creation of EventBridge rules for monitoring critical API operations.
  • CloudWatch Alarm Generation: Automates the creation of CloudWatch alarms for key metrics.
  • SSM Runbook Generation: Automates the creation of SSM runbooks for manual/scheduled remediation.
  • Step Functions Workflow Generation: Automates the creation of Step Functions workflows for detecting, notifying, remediating, and verifying security issues.

Quick Start

Use the 'generate-detective' skill to generate security control artifacts for the service 'my-service'.

Frequently Asked Questions about generate-detective

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

FAQPage Schema
How do I generate detective security controls like AWS Config rules and CloudWatch alarms automatically?

To generate detective security controls automatically, you need a tool that reads mappings and validations to produce AWS Config rules, CloudWatch alarms, and EventBridge rules. This approach automates artifact creation by translating security requirements directly into deployable AWS monitoring configurations.

What is the best way to automate responsive remediation using SSM runbooks and Step Functions?

Automating responsive remediation with SSM runbooks and Step Functions involves generating workflows that detect, notify, remediate, and verify security issues. This method creates structured state machine workflows and runbooks to execute manual or scheduled remediation actions automatically within your AWS environment.

Can I use EventBridge rules to monitor critical AWS API operations for security anomalies?

Yes, you can use EventBridge rules to monitor critical AWS API operations for security anomalies. Generating EventBridge rules allows you to define specific API event patterns that trigger automated alerts or responsive workflows, ensuring continuous monitoring of suspicious activities.

Do I need existing AWS configurations and resource access to set up automated security controls?

Yes, you need existing AWS configurations and resource access to set up automated security controls. Generating these artifacts requires permissions to interact with AWS services like Config, EventBridge, CloudWatch, SSM, and Step Functions to deploy the rules, alarms, and workflows successfully.

How does generating Step Functions workflows improve responsive security control in AWS?

Generating Step Functions workflows improves responsive security control by orchestrating the complete remediation lifecycle. These workflows automate the sequence of detecting a security issue, sending notifications, executing SSM runbook remediation, and verifying the final resolution state.