-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (35 loc) · 777 Bytes
/
terrascan.yml
File metadata and controls
37 lines (35 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: terrascan
on:
push:
branches:
- main
pull_request:
permissions:
checks: write
pull-requests: write
jobs:
terrascan_job:
runs-on: ubuntu-latest
name: terrascan-action
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Run Terrascan
id: terrascan
uses: tenable/terrascan-action@main
with:
iac_type: 'terraform'
#iac_version: 'v14'
#policy_type: 'azure'
only_warn: false
#scm_token: ${{ secrets.ACCESS_TOKEN }}
verbose: true
sarif_upload: true
#non_recursive:
#iac_dir: demos
#policy_path:
#skip_rules:
#config_path:
#find_vulnerabilities:
#webhook_url:
#webhook_token: