Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)
All skills

diff-scanning-with-aws-security-agent

Run a fast AWS Security Agent scan on only the code changed since a git ref.

When to use it

You're about to commit or open a PR and want a security check on just your changes, not the whole repo.

For example

You say

Use diff-scanning-with-aws-security-agent to scan my uncommitted changes in this repo for security issues before I commit.

You get
  • Diff scan job started
  • Findings grouped by severity
  • findings-{scan_id}.md report

How it works

  • You choose the comparison point: uncommitted changes (HEAD), a branch against main, or a custom git ref.
  • If the diff is empty, it stops and tells you instead of starting a scan.
  • It checks job status every 2 minutes and reports when findings are ready.

Before installing

Needs an AWS account with the Security Agent set up; if `.security-agent/config.json` is missing, the setup workflow runs first.