Skip to content
Skip to content
Documentation

Integrations

Execution

Workflow Guide Output
Local development Run ASH locally A scan you can inspect in the terminal or an offline HTML report
Pull requests and CI Run ASH in CI A reproducible check, an actionable summary, and report artifacts
Before a commit Set up pre-commit A faster check with a fixed five-scanner set, before committing
Pre-commit and CI together Pre-commit and CI together What the hook skips and the CI scan covers
An AI coding assistant Connect an MCP client Scan, poll progress, and retrieve findings from your editor
Several projects Workspace scanning over MCP Per-project results with a combined workspace view

Backends

A backend is how ASH is installed or run. Every surface in this page runs on one of them.

Backend What it is Status Guide
uv tool uv tool install, ash on your PATH Recommended Install with uv
uvx Run ASH without installing it Supported Run without installing: uvx
pipx ash in an isolated pipx environment Supported Install with pipx
pip ash in a virtual environment you manage Supported Install with pip
Container An image you build yourself; no ASH image is published Build it yourself Container image, Run in a container
Nix Scan inside nix develop with --mode nix Supported; see the note below Nix mode
Homebrew The Homebrew tap Supported Homebrew
Pre-built image in your registry ash build-image, then push to your own registry Operator-built Roll out across repositories

Nix mode needs a current release

Nix mode is in the latest release; v3.7.x and older reject --mode nix, so install a newer release or use a source checkout. The install guide has the steps and the ASH_NIX_FLAKE_REF setting.

Surfaces and backends

Which backend each surface can use, and where its guide is. A dash means the guide does not document that combination.

Surface Backend it runs on Guide
Local scan Any installed ash (uv tool, uvx, pipx, pip, Homebrew), the container, or Nix Run ASH locally, Run in a container
pre-commit hooks ash and ash-simple-scan --mode=precommit, in the environment pre-commit builds Run ASH with pre-commit
pre-commit hook ash-full-scan Container (--mode=container) The ash-full-scan hook
MCP server over stdio An installed ash Run the MCP server
MCP server over Streamable HTTP A host you run, or the AWS deployments Run the MCP server, Deploy on AWS

The two pre-commit modes differ in what they run. The ash and ash-simple-scan hooks use --mode=precommit, which runs a fixed, fast scanner set. The ash-full-scan hook uses --mode=container. The pre-commit guide lists what each hook runs and costs.

CI systems

System Guide Notes
GitHub Actions GitHub Actions, quickstart Reusable workflows; ash-mode takes local or container
GitLab CI GitLab CI pip venv recipe, plus a variant that uses your own image
Jenkins Jenkins
AWS CodeBuild AWS CodeBuild Example buildspec.yml in the repository
Azure Pipelines Azure Pipelines
CircleCI CircleCI
Any other shell-based runner Generic shell
AWS CodeCommit pull request gate Deploy on AWS Lambda-based PR scanner
Distributed CodePipeline executor Deploy on AWS Shard and merge stages
CDK Pipelines Deploy on AWS The ASHScanStep construct

The runner-based CI systems gate on the scan's exit code. The AWS CodeCommit pull request gate comments on the pull request and blocks nothing until you add an approval rule that requires its role; see Deploy on AWS. The CI pages explain local mode and container mode.

Connect an AI assistant

Use stdio for a local MCP client, or Streamable HTTP when your client needs an HTTP transport. Follow the editor and agent guidance to add ASH to an existing coding workflow.

The agent plugin guide has setup steps for these 16 platforms:

Client Directory
Claude Code claude/
Codex CLI codex/
Kiro kiro/
GitHub Copilot in VS Code copilot/
OpenCode opencode/
Cursor cursor/
Windsurf windsurf/
Cline cline/
Continue continue/
Gemini CLI gemini/
Goose goose/
Claude Desktop mcpb/
Roo Code roo/
Amazon Q Developer CLI amazonq/
Aider aider/
Any Agent Skills client generic-skill/

Aider does not support MCP, so it receives conventions only. Roo Code's maintainers announced its shutdown for 2026-05-15. The Agent Skills section covers clients that read the ash-mcp skill without an MCP server.

The MCP tool reference explains each tool's inputs and outputs. For a running scan, poll its status before fetching results; review coverage as well as findings.

Reporting destinations

Destination Guide Output
GitHub or another SARIF consumer Report formats Code scanning annotations and portable finding data
AWS Security Hub Security Hub reporter Centralized security findings
Amazon S3 S3 reporter Stored scan artifacts
Amazon CloudWatch Logs CloudWatch Logs reporter Scan logs in an existing operational workflow
Amazon Bedrock Bedrock summary reporter Executive and technical summaries with traceable finding references
A custom destination Build a reporter plugin A delivery format that fits your environment

Configure enabled reporters in your ASH configuration. AWS reporters need the permissions and regional settings described in their guides. A scan's exit status reflects its configured thresholds and execution state; a report's filters change only the view.

Extensibility

Add your own scanners, reporters, and converters, or react to scan events, with a plugin module.

Guide Use it to
Plugins Learn where plugins come from, how to load a module, who may load one, and how to package a third-party plugin
Write a scanner plugin Run a tool of your own as a scanner
Write a reporter plugin Deliver results to a destination or format of your own
Write a converter plugin Convert files before scanners read them
Event subscribers React to events during a scan

Tell ASH which Python modules hold your plugins with any of three inputs:

  • ash_plugin_modules in an ASH config file (reference);
  • the --ash-plugin-modules option of ash scan (reference);
  • the ASH_PLUGIN_MODULES environment variable, which ash scan reads as the option's default.

Plugins describes the separators each input accepts and the other places a module can be named.