Skip to content

Commit 40c1333

Browse files
committed
Add Checkov security analysis workflow
1 parent e6ae073 commit 40c1333

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
name: Terraform Checkov Analysis
3+
4+
on: [push, pull_request]
5+
6+
jobs:
7+
checkov:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v2
12+
13+
- name: Setup Python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: '3.x'
17+
18+
- name: Install Checkov
19+
run: |
20+
pip install checkov
21+
22+
- name: Run Checkov Terraform scan
23+
run: |
24+
checkov -d . --quiet
25+

0 commit comments

Comments
 (0)