Service Approval
Generate AWS security controls for services with a published AWS Threat Model.
Provide the service and optionally a control framework; the pipeline retrieves
the latest model from AWS and researches the service
against authoritative AWS sources, maps every capability to a control framework,
and produces a full set of recommended preventive, proactive, detective, and
responsive controls. It recommends the controls — you deploy them yourself;
the tool never touches a live account.
It runs as Agent Skills, so the same skills work in
Claude Code, Codex, Kiro, and GitHub Copilot.
Prerequisites
You do not need to be an AWS user or have AWS credentials to generate
controls — every fact comes from public AWS documentation and knowledge sources.
You do need a few common developer tools.
| You need | When | Why |
|---|
| A published AWS Threat Model and network access to GitHub | always | retrieved automatically from the latest release; unpublished services or retrieval failures stop the pipeline |
| One of: Claude Code, Codex, Kiro IDE, or VS Code + GitHub Copilot | always | the client that runs the skills |
git | always | to clone this repository |
| Python 3.9 or newer | always | the validators and hooks that gate the pipeline |
The Python packages in requirements.txt | always | pyyaml, jsonschema, pytest, and helpers the tooling imports |
uv on your PATH | default mode only | the aws-documentation MCP server runs via uvx awslabs.*@latest; not needed with --no-mcp |
| An AWS CLI profile | optional | only for Tier 2 policy validation (Access Analyzer); the pipeline never deploys |
Set up from zero
If you are starting with none of the above, work through these once:
-
Install a client — Claude Code,
Codex,
Kiro, or VS Code with the
GitHub Copilot extension.
-
Install git — git-scm.com/downloads; check with git --version.
-
Install Python 3.9+ — python.org/downloads;
check with python3 --version.
-
Clone the repo and install the Python packages into a virtual environment:
git clone [email protected]:awslabs/service-onboarding-accelerator-on-aws.git
cd service-onboarding-accelerator-on-aws
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt # macOS / Linux
# Windows PowerShell: py -m venv .venv ; .\.venv\Scripts\pip install -r requirements.txt
-
Install uv (default MCP mode only) —
astral.sh/uv;
check with uv --version. Skip if you will always run with --no-mcp.
Then run the prerequisite check below to confirm everything
is in place, and continue to Install.
Running without MCP: MCP servers are the default, but the whole pipeline can
also run with no MCP servers at all — pass the --no-mcp flag and every fact is
verified over the web via an open-discovery search that reads and cites only
authoritative AWS sources. See How no-MCP mode works for the
full walkthrough and rules/web-access.md for the policy.
Verify your setup
Run the block for your shell from inside the cloned repo. Each line prints
PASS or MISSING so you can see what still needs installing. (uv is only
required for default MCP mode; a MISSING there is fine if you use --no-mcp.)
macOS / Linux (bash):
# Run from the repository root, after creating .venv (see step 4 above).
check() { if eval "$2" >/dev/null 2>&1; then echo "PASS $1"; else echo "MISSING $1"; fi; }
PY=.venv/bin/python; [ -x "$PY" ] || PY=python3
check "git" "command -v git"
check "python3 (>=3.9)" "$PY -c 'import sys; raise SystemExit(0 if sys.version_info[:2] >= (3,9) else 1)'"
check "python venv (.venv)" "test -x .venv/bin/python"
check "pyyaml" "$PY -c 'import yaml'"
check "jsonschema" "$PY -c 'import jsonschema'"
check "pytest" "$PY -c 'import pytest'"
check "uv (MCP mode only)" "command -v uv"
Windows (PowerShell):