Skip to content

Commit

Permalink
chore(deps): bump github/codeql-action
Browse files Browse the repository at this point in the history
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored Dec 14, 2023
1 parent 1a3f6ce commit 6e7092d
Showing 1 changed file with 30 additions and 1 deletion.
1 change: 0 additions & 1 deletion template-repo/template/.github/workflows/terrascan.yaml

This file was deleted.

30 changes: 30 additions & 0 deletions template-repo/template/.github/workflows/terrascan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Terrascan
on: [ pull_request ]
# https://github.com/marketplace/actions/terrascan-iac-scanner
jobs:
terrascan:
runs-on: ubuntu-latest
name: terrascan
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Terrascan
id: terrascan
uses: tenable/terrascan-action@main
with:
iac_type: 'terraform'
iac_version: 'v14'
policy_type: 'aws'
only_warn: true
sarif_upload: true
non_recursive: true
#iac_dir:
#policy_path:
#skip_rules:
#config_path:
#webhook_url:
#webhook_token:
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: terrascan.sarif

0 comments on commit 6e7092d

Please sign in to comment.