Skip to content

Commit 6c38211

Browse files
committed
adding checkov
1 parent ab12b93 commit 6c38211

File tree

5 files changed

+28
-6
lines changed

5 files changed

+28
-6
lines changed

.github/workflows/bandit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Bandit
1+
name: Python Vulnerability Scan with Bandit
22

33
on: push
44

@@ -18,5 +18,5 @@ jobs:
1818
run: |
1919
python -m pip install --upgrade pip
2020
python -m pip install bandit
21-
- name: Bandit
21+
- name: Bandit Check
2222
run: bandit -r -lll -ii .

.github/workflows/cfn-nag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CFN Nag
1+
name: CloudFormation Scan with CFN Nag
22

33
on: push
44

@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/setup-ruby@v1
1212
with:
1313
ruby-version: '2.6'
14-
- name: Install
14+
- name: Install CFN Nag
1515
run: gem install cfn-nag
1616
- name: Scan files in all templates folders
1717
run: |

.github/workflows/checkov.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CloudFormation Scan with checkov
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ['3.9']
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v3
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install
18+
run: |
19+
python -m pip install --upgrade pip
20+
python -m pip install checkov
21+
- name: checkov scan
22+
run: checkov --quiet -d aws_sra_examples

.github/workflows/markdown-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Markdown Links
1+
name: Markdown Link Check
22

33
on: push
44

.github/workflows/static-checking.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Static Checking with Linters
1+
name: Python Static Checks with mypy, flake8, black, and isort
22

33
on: push
44

0 commit comments

Comments
 (0)