Add tolerance #492
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security Scan | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
cfn-lint-cfn-nag-scan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git clone the repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.1' | |
- name: Install CFN tools | |
run: | | |
gem install cfn-nag | |
- name: Install cfn-lint | |
run: | | |
pip install cfn-lint checkov | |
pip install --no-cache-dir packaging cyclonedx-python-lib=='5.2.0' #https://github.com/bridgecrewio/checkov/issues/5841 | |
- name: Scan all templates | |
run: | | |
data-collection/utils/lint.sh |