Skip to content

Bump aws-actions/configure-aws-credentials from 6.1.2 to 6.1.3 #1191

Bump aws-actions/configure-aws-credentials from 6.1.2 to 6.1.3

Bump aws-actions/configure-aws-credentials from 6.1.2 to 6.1.3 #1191

Workflow file for this run

name: Verify Pull Request
on: [pull_request]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
permissions:
checks: write
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
verifypr:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
files.pythonhosted.org:443
github.com:443
objects.githubusercontent.com:443
release-assets.githubusercontent.com:443
pypi.org:443
www.bridgecrew.cloud:443
docs.github.com:433
api.github.com:443
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Cache APT packages
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: |
/var/cache/apt/archives
/var/lib/apt/lists
key: ${{ runner.os }}-apt-${{ hashFiles('.github/workflows/pullrequest.yml') }}
restore-keys: |
${{ runner.os }}-apt-
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.12'
- name: Cache Python dependencies
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: |
~/.cache/pip
~/.local/lib/python3.12/site-packages
key: ${{ runner.os }}-pip-cfn-lint-checkov-${{ hashFiles('.github/workflows/pullrequest.yml') }}
restore-keys: |
${{ runner.os }}-pip-cfn-lint-checkov-
${{ runner.os }}-pip-
- name: Setup Ruby
uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0
with:
ruby-version: '3.3'
- name: Cache Ruby gems
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-cfn-nag-${{ hashFiles('.github/workflows/pullrequest.yml') }}
restore-keys: |
${{ runner.os }}-gems-cfn-nag-
${{ runner.os }}-gems-
- name: Run StandardLint
uses: mikaelvesavuori/standardlint-action@b376b6d6afc5885d102894f6972133fa91d200f0 # v1.0.5
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Testing template with CFN Lint
uses: scottbrenner/cfn-lint-action@ed184e91f5085a2932501da8314e899e5e0ef5be # v2.7.1
with:
command: cfn-lint -t cloudformation/template.yml
- name: Testing route53 with CFN Lint
uses: scottbrenner/cfn-lint-action@ed184e91f5085a2932501da8314e899e5e0ef5be # v2.7.1
with:
command: cfn-lint -t cloudformation/route53.yml
- name: Testing disaster-recovery with CFN Lint
uses: scottbrenner/cfn-lint-action@ed184e91f5085a2932501da8314e899e5e0ef5be # v2.7.1
with:
command: cfn-lint -t cloudformation/disaster-recovery.yml
- name: Testing app with CFN Lint
uses: scottbrenner/cfn-lint-action@ed184e91f5085a2932501da8314e899e5e0ef5be # v2.7.1
with:
command: cfn-lint -t cloudformation/app.yml
- name: Run cfn-nag
uses: stelligent/cfn_nag@8b5f03da74202ba323a145e9d037ddce6cab9dec # master
with:
input_path: cloudformation
- name: Run Checkov action
id: checkov
uses: bridgecrewio/checkov-action@4048c972aae68d0b983a48bb3479aab2d877b898 # master
with:
file: cloudformation/template.yml
skip_check: CKV_AWS_59,CKV_AWS_120,CKV2_AWS_71
framework: cloudformation
output_format: sarif
output_file_path: reports/results.sarif
download_external_modules: true