setup-security-agent

Provision an AWS Security Agent workspace with IAM role and private S3 bucket.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/AndreKurait/claude-marketplace-test --skill setup-security-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-security-agent
Source: https://github.com/AndreKurait/claude-marketplace-test/tree/main/plugins/aws-agents-for-devsecops/skills/setup-security-agent
Command: npx skills add https://github.com/AndreKurait/claude-marketplace-test --skill setup-security-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures the workspace has a working Security Agent space, IAM service role, and S3 bucket linked together to enable scans and pentests.

Core Features & Use Cases

  • Provision or reuse an agent space and link it with a deterministic IAM role (SecurityAgentScanRole) and S3 bucket named security-agent-scans-${ACCOUNT}-${REGION}.
  • Persist workspace-local state in .security-agent/config.json and create .gitignore when needed.
  • Maintain idempotent resource provisioning and register resources on the agent space to enable scans and pentests across AWS accounts.
  • Enforce security guardrails: block public access on the S3 bucket and apply lifecycle rules to auto-delete uploads after 30 days.
  • Derived values (ACCOUNT, REGION) are computed on the fly to minimize drift and support multi-account setups.

Quick Start

Run the setup-security-agent skill to provision or reuse the workspace Security Agent space, IAM role, and S3 bucket.

Frequently Asked Questions about setup-security-agent

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

FAQPage Schema
How do I set up an AWS workspace for security scans and pentests?

To set up an AWS security scanning workspace, you provision an agent space, an IAM role, and an S3 bucket. This links the resources together to enable automated pentests and scanning workflows across multiple AWS accounts.

What is needed to configure an IAM role for AWS security scanning?

Configuring an IAM role for AWS security scanning requires creating a deterministic role, such as SecurityAgentScanRole, linked to an S3 bucket. This registers resources on an agent space to enable pentests across AWS accounts.

How do I ensure my S3 bucket for security scans stays private?

To ensure your S3 security scans bucket stays private, enforce safety guardrails that block public access. Applying S3 lifecycle rules also helps by auto-deleting uploaded scan data after 30 days to maintain security.

Can I reuse existing IAM roles and S3 buckets when provisioning a security agent?

Yes, you can reuse existing IAM roles and S3 buckets when provisioning a security agent. The process supports idempotent provisioning, safely reusing existing resources or creating new deterministic ones to minimize drift.

How does multi-account AWS security scanning handle local state?

Multi-account AWS security scanning handles local state by persisting workspace configuration in a .security-agent/config.json file. It computes account and region values on the fly to minimize drift and support multi-account setups.

Why does my security agent setup create a .gitignore file?

Your security agent setup creates a .gitignore file to prevent committing local state into version control. It persists workspace-local state under the .security-agent directory and generates the .gitignore when needed to protect sensitive configuration.