Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
eef3948
feat: add pre-commit, pull request template, and fixes
scottschreckengaust Feb 5, 2026
a4e56b7
feat: add bandit baseline
scottschreckengaust Feb 5, 2026
937a7b6
fix: markdown lint
scottschreckengaust Feb 5, 2026
b40f2ad
fix: change the baseline commit for semgrep
scottschreckengaust Feb 5, 2026
cb0a7ef
chore: update pre-commit hooks
scottschreckengaust Feb 5, 2026
2cc0490
fix: validator cross refs for plugins
scottschreckengaust Feb 5, 2026
de2b3a5
feat: add validate cross references to ci
scottschreckengaust Feb 5, 2026
3bdf0f1
feat: add advanced CodeQL
scottschreckengaust Feb 5, 2026
eca15b9
docs: add CODEOWNERS file
scottschreckengaust Feb 6, 2026
bb35971
feat: ignore more feature
scottschreckengaust Feb 6, 2026
05a3763
fix: stuff
scottschreckengaust Feb 6, 2026
3d248fc
fix: remove push
scottschreckengaust Feb 6, 2026
8c554c9
fix: unmatrix pre-commit
scottschreckengaust Feb 6, 2026
b7da6f4
Merge branch 'main' into feature/github-setup
scottschreckengaust Feb 6, 2026
6c8ef52
fix: gitleaks ignore
scottschreckengaust Feb 6, 2026
1649160
fix: semgrep only on pre-push
scottschreckengaust Feb 6, 2026
dd5b758
Merge branch 'main' into feature/github-setup
scottschreckengaust Feb 6, 2026
4ff1706
Add Dependency Review workflow for pull requests
scottschreckengaust Feb 6, 2026
9334a84
feat: add grype and checkov
scottschreckengaust Feb 6, 2026
0dab20d
fix: update filelock
scottschreckengaust Feb 6, 2026
6c9b86e
fix: update virtualenv
scottschreckengaust Feb 6, 2026
016f862
feat: add codeql and dependency review
scottschreckengaust Feb 6, 2026
f56af0b
fix: addressing comments
scottschreckengaust Feb 6, 2026
bce436a
fix: remove hardcoded repo
scottschreckengaust Feb 6, 2026
034a18d
fix: updated mise version
scottschreckengaust Feb 6, 2026
6778ab3
Merge branch 'main' into feature/github-setup
scottschreckengaust Feb 6, 2026
6d42975
feat: rename scanners workflow
scottschreckengaust Feb 6, 2026
7c47cdd
feat: add pull request linting workflow
scottschreckengaust Feb 6, 2026
aa8eef9
fix: CODEOWNERS updates
scottschreckengaust Feb 6, 2026
065f9cc
fix: concurrency and switching notice to debug
scottschreckengaust Feb 6, 2026
92bf6b4
fix: title Scorecard
scottschreckengaust Feb 6, 2026
5acaa31
fix: naming and remove allowed license
scottschreckengaust Feb 6, 2026
b9844fc
fix: bandit to main commit hash
scottschreckengaust Feb 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .bandit-baseline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"errors": [],
"generated_at": "2026-02-05T22:50:21Z",
"metrics": {
"_totals": {
"CONFIDENCE.HIGH": 0,
"CONFIDENCE.LOW": 0,
"CONFIDENCE.MEDIUM": 0,
"CONFIDENCE.UNDEFINED": 0,
"SEVERITY.HIGH": 0,
"SEVERITY.LOW": 0,
"SEVERITY.MEDIUM": 0,
"SEVERITY.UNDEFINED": 0,
"loc": 0,
"nosec": 0,
"skipped_tests": 0
}
},
"results": []
}
34 changes: 24 additions & 10 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,36 @@
{
"name": "awslabs-agent-plugins",
"owner": {
"name": "Amazon Web Services",
"email": "aws-agent-plugins@amazon.com"
},
"metadata": {
"description": "Official AWS plugins for Claude Code, Cursor, and AI coding assistants.",
"version": "1.0.0"
},
"name": "awslabs-agent-plugins",
"owner": {
"email": "aws-agent-plugins@amazon.com",
"name": "Amazon Web Services"
},
"plugins": [
{
"category": "deployment",
"description": "Deploy any application to AWS. Get architecture recommendations, cost estimates, and one-command deployment.",
"keywords": [
"aws",
"aws agent skills",
"amazon",
"deploy",
"cdk",
"cloudformation",
"infrastructure",
"pricing"
],
"name": "deploy-on-aws",
"source": "./plugins/deploy-on-aws",
"description": "Deploy any application to AWS. Get architecture recommendations, cost estimates, and one-command deployment.",
"version": "1.0.0",
"category": "deployment",
"tags": ["aws", "deploy", "infrastructure", "cdk"],
"keywords": ["aws", "aws agent skills", "amazon", "deploy", "cdk", "cloudformation", "infrastructure", "pricing"]
"tags": [
"aws",
"deploy",
"infrastructure",
"cdk"
],
"version": "1.0.0"
}
]
}
33 changes: 33 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# [CODEOWNERS](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#about-code-owners)

## Default owners for everything in the repo

* @awslabs/agent-plugins-admins @awslabs/agent-plugins-maintainers

## Adminstrators

.bandit-baseline.json @awslabs/agent-plugins-admins
.claude-plugin/ @awslabs/agent-plugins-admins
.github/ @awslabs/agent-plugins-admins
.gitignore @awslabs/agent-plugins-admins
.gitleaks-baseline.json @awslabs/agent-plugins-admins
.gitleaks.toml @awslabs/agent-plugins-admins
.gitleaksignore @awslabs/agent-plugins-admins
.markdownlint-cli2.yaml @awslabs/agent-plugins-admins
AGENTS.md @awslabs/agent-plugins-admins
CLAUDE.md @awslabs/agent-plugins-admins
CODE_OF_CONDUCT.md @awslabs/agent-plugins-admins
CONTRIBUTING.md @awslabs/agent-plugins-admins
DEVELOPMENT_GUIDE.md @awslabs/agent-plugins-admins
dprint.json @awslabs/agent-plugins-admins
LICENSE @awslabs/agent-plugins-admins
mise.toml @awslabs/agent-plugins-admins
NOTICE @awslabs/agent-plugins-admins
plugins/ @awslabs/agent-plugins-admins
README.md @awslabs/agent-plugins-admins
schemas/ @awslabs/agent-plugins-admins
tools/ @awslabs/agent-plugins-admins

## File must end with CODEOWNERS file

.github/CODEOWNERS @awslabs/agent-plugins-admins
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ body:
label: Current Behavior
description: |
What actually happened?

Please include full errors, uncaught exceptions, stack traces, and relevant logs.
If service responses are relevant, please include wire logs.
validations:
Expand All @@ -42,7 +42,7 @@ body:
description: |
Provide a self-contained, concise snippet of code that can be used to reproduce the issue.
For more complex issues provide a repo with the smallest sample that reproduces the bug.

Avoid including business logic or unrelated code, it makes diagnosis more difficult.
The code sample should be an SSCCE. See http://sscce.org/ for details. In short, please provide a code sample that we can copy/paste, run and reproduce.
validations:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ body:
description: |
Include links to affected documentation page(s).
validations:
required: true
required: true
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Summarize the pull request -->

#### Related

<!-- Issue #, Vulnerability, References if available:* -->

#### Changes

<!-- Description of changes:* -->

#### Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the [project license](https://github.com/awslabs/agent-plugins/blob/main/LICENSE).
117 changes: 117 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL Advanced"

permissions:
actions: none
attestations: none
checks: none
contents: none
deployments: none
discussions: none
id-token: none
issues: none
models: none
packages: none
pages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '23 14 * * 3'
workflow_dispatch:
jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
# required for all workflows
Comment thread Fixed
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: javascript-typescript
build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4

# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
# or others). This is typically only required for manual builds.
# - name: Setup runtime (example)
# uses: actions/setup-example@v1

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- name: Run manual build steps
if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
16 changes: 16 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/dependency-review-action@v4
with:
config-file: amazon-ospo/dependency-review-config/default/dependency-review-config.yml@main
# # distlib
# allow-dependencies-licenses: "pkg:pypi/distlib@0.4.0"
116 changes: 116 additions & 0 deletions .github/workflows/merge-prevention.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
---
# This workflow is to prevent unintentional merges that cannot be accomplished by rulesets or other settings.
name: Merge Prevention
on:
pull_request:
types:
- opened
- reopened
- synchronize
- edited
- labeled
- unlabeled
merge_group:
types:
- checks_requested
permissions:
actions: none
attestations: none
checks: none
contents: none
deployments: none
discussions: none
id-token: none
issues: none
models: none
packages: none
pages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
env:
DO_NOT_MERGE_LABEL: ${{ vars.DO_NOT_MERGE_LABEL || 'do-not-merge' }}
HALT_MERGES: ${{ vars.HALT_MERGES || '0' }}
jobs:
get-pr-info:
permissions:
contents: read
pull-requests: read
# id-token: write
runs-on: ubuntu-latest
outputs:
pr_number: ${{ steps.get-pr.outputs.pr-number }}
pr_labels: ${{ steps.get-pr.outputs.pr-labels }}
env:
GH_TOKEN: ${{ github.token }}
PR_LABELS_JSON: ${{ toJson(github.event.pull_request.labels.*.name) }}
steps:
- name: Get PR info
id: get-pr
run: |
if [ "${{ github.event_name }}" == "merge_group" ]; then
PR_NUMBER=$(echo "${{ github.ref }}" | grep -oP '(?<=/pr-)\d+' || echo "")
PR_LABELS=$(gh api repos/${{ github.repository }}/pulls/$PR_NUMBER | jq -c '[.labels[].name] // []')
echo "::group::Getting Information"
gh api repos/${{ github.repository }}/pulls/$PR_NUMBER
echo "::endgroup::"
elif [ "${{ github.event_name }}" == "pull_request" ]; then
PR_NUMBER="${{ github.event.pull_request.number }}"
PR_LABELS=$(echo "$PR_LABELS_JSON" | jq -c '.')
fi
echo "::group::Debug Output Values"
echo "PR_NUMBER: $PR_NUMBER"
echo "PR_LABELS: $PR_LABELS"
echo "::endgroup::"
echo "pr-number=$PR_NUMBER" >> $GITHUB_OUTPUT
echo "pr-labels=$PR_LABELS" >> $GITHUB_OUTPUT
check-merge-status:
runs-on: ubuntu-latest
needs: get-pr-info
if: always()
steps:
- run: |
PR_NUMBER="${{ needs.get-pr-info.outputs.pr_number }}"
# Default to 0 (allow all) if not set
if [ -z "$HALT_MERGES" ]; then
HALT_MERGES=0
fi
echo "::debug::HALT_MERGES value: $HALT_MERGES"
echo "::debug::This PR number: $PR_NUMBER"
if [ "$HALT_MERGES" = "0" ]; then
echo "::debug::✅ All merges are allowed (HALT_MERGES=0)"
exit 0
elif [ "$HALT_MERGES" = "$PR_NUMBER" ]; then
echo "::debug::✅ This PR #$PR_NUMBER is explicitly allowed"
exit 0
else
echo "::debug::🛑 Merges are blocked. HALT_MERGES is set to $HALT_MERGES"
if [ "$HALT_MERGES" -lt 0 ]; then
echo "::error::All merges are blocked"
else
echo "::warning::Only PR #$HALT_MERGES is allowed to merge"
fi
exit 1
fi
fail-by-label:
runs-on: ubuntu-latest
needs: get-pr-info
if: always()
steps:
- run: |
echo "::group::Debug Output Values"
echo "PR_LABELS: ${{ needs.get-pr-info.outputs.pr_labels }}"
echo "::endgroup::"
- name: When PR has the "${{ env.DO_NOT_MERGE_LABEL }}" label
id: pr-has-label
if: contains(needs.get-pr-info.outputs.pr_labels, env.DO_NOT_MERGE_LABEL)
run: |
echo "::error::❌ The label \"${{ env.DO_NOT_MERGE_LABEL }}\" is used to prevent merging."
exit 1
- name: When PR does not have the "${{ env.DO_NOT_MERGE_LABEL }}" label
id: pr-missing-label
if: ! contains(needs.get-pr-info.outputs.pr_labels, env.DO_NOT_MERGE_LABEL)
run: |
echo "::debug::✅ The label \"${{ env.DO_NOT_MERGE_LABEL }}\" is absent"
exit 0
Loading
Loading