Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions .github/workflows/api-surface-area-review-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ jobs:
api-surface-area-review-verification:
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- uses: actions/checkout@v4
- name: Verifies updates to protected/public APIs have been reviewed and approved by the team, if any
id: api-surface-area-review-verification
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/changelog-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ jobs:
changelog-verification:
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- uses: actions/checkout@v4
- name: Check for changelog entry
if: ${{ !contains(github.event.pull_request.labels.*.name, 'changelog-not-required') }}
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/closed-issue-message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ jobs:
permissions:
issues: write
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- uses: aws-actions/closed-issue-message@v1
with:
# These inputs are both required
Expand Down
70 changes: 70 additions & 0 deletions .github/workflows/codebuild-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
if: github.repository == 'aws/aws-sdk-java-v2'
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -33,6 +40,13 @@ jobs:
if: github.repository == 'aws/aws-sdk-java-v2'
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -48,6 +62,13 @@ jobs:
if: github.repository == 'aws/aws-sdk-java-v2'
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -63,6 +84,13 @@ jobs:
if: github.repository == 'aws/aws-sdk-java-v2'
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -78,6 +106,13 @@ jobs:
if: github.repository == 'aws/aws-sdk-java-v2'
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -92,6 +127,13 @@ jobs:
if: github.repository == 'aws/aws-sdk-java-v2'
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -106,6 +148,13 @@ jobs:
if: github.repository == 'aws/aws-sdk-java-v2'
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -129,6 +178,13 @@ jobs:
if: github.repository == 'aws/aws-sdk-java-v2'
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -143,6 +199,13 @@ jobs:
if: github.repository == 'aws/aws-sdk-java-v2'
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -157,6 +220,13 @@ jobs:
if: github.repository == 'aws/aws-sdk-java-v2'
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ jobs:
# 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: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/handle-stale-discussions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ jobs:
permissions:
discussions: write
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Stale discussions action
uses: aws-github-ops/handle-stale-discussions@v1
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/issue-regression-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ jobs:
permissions:
issues: write
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Fetch template body
id: check_regression
uses: actions/github-script@v7
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/lock-conversation-closed-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ jobs:
permissions:
pull-requests: write
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Lock PR conversation on Close
uses: actions/github-script@v7
env:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/merge-queue-metric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
if: ${{ github.repository == 'aws/aws-sdk-java-v2' && github.event.action == 'enqueued' }}

steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -31,6 +38,13 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.repository == 'aws/aws-sdk-java-v2' && github.event.action == 'dequeued' && github.event.reason != 'MERGE'}}
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/new-module-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
timeout-minutes: 10

steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Checkout repository
uses: actions/checkout@v4
with:
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/s3-regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:
outputs:
has_s3_related_changes: ${{ steps.check-changes.outputs.has_s3_related_changes }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand All @@ -40,6 +47,13 @@ jobs:
REGRESSION_TEST: DownloadStreamingRegressionTesting
HAS_S3_CHANGES: ${{ needs.check-s3-related-changes.outputs.has_s3_related_changes }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -60,6 +74,13 @@ jobs:
REGRESSION_TEST: ControlPlaneOperationRegressionTesting
HAS_S3_CHANGES: ${{ needs.check-s3-related-changes.outputs.has_s3_related_changes }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -80,6 +101,13 @@ jobs:
REGRESSION_TEST: UploadSyncRegressionTesting
HAS_S3_CHANGES: ${{ needs.check-s3-related-changes.outputs.has_s3_related_changes }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -100,6 +128,13 @@ jobs:
REGRESSION_TEST: UploadAsyncRegressionTesting
HAS_S3_CHANGES: ${{ needs.check-s3-related-changes.outputs.has_s3_related_changes }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -120,6 +155,13 @@ jobs:
REGRESSION_TEST: UploadCrtRegressionTesting
HAS_S3_CHANGES: ${{ needs.check-s3-related-changes.outputs.has_s3_related_changes }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -140,6 +182,13 @@ jobs:
REGRESSION_TEST: UploadTransferManagerRegressionTesting
HAS_S3_CHANGES: ${{ needs.check-s3-related-changes.outputs.has_s3_related_changes }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/stale-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ jobs:
issues: write
pull-requests: write
steps:
- name: Harden the runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
use-policy-store: true
egress-policy: audit
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}

- uses: aws-actions/stale-issue-cleanup@v4
with:
# Setting messages to an empty string will cause the automation to skip
Expand Down