KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
tfsec-sarif-action
★ 60
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
action-tfsec
:
Run tfsec with reviewdog on pull requests to enforce security best practices
tfsec-action
:
Vanilla GitHub action to run tfsec
vscode-tfsec
:
vscode extension for tfsec
simple-terraform-template
:
Fast track the creation of Terraform repositories by using this simple terraform template
vim-tfsec
:
List your tfsec issues in the QuickFix window with this plugin.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
tfsec-sarif-action
?
Download (.md)
# tfsec-sarif-action ## Description This Github Action will run the tfsec sarif check then add the report to the repo for upload. Example usage ```yaml name: tfsec on: push: branches: - main pull_request: jobs: tfsec: name: tfsec sarif report runs-on: ubuntu-latest permissions: actions: read contents: read security-events: write steps: - name: Clone repo uses: actions/checkout@v2 with: persist-credentials: false - name: tfsec uses: aquasecurity/tfsec-sarif-action@v0.1.0 with: sarif_file: tfsec.sarif - name: Upload SARIF file uses: github/codeql-action/upload-sarif@v1 with: # Path to SARIF file relative to the root of the repository sarif_file: tfsec.sarif ``` ## Optional inputs There are a number of optional inputs that can be used in the `with:` block. **working_directory** - the directory to scan in, defaults to `.`, ie current working directory **tfsec_version** - the version of tfsec to use, defaults to `latest` **tfsec_args** - the args for tfsec to use (space-separated) **config_file** - The path to the config file. (eg. ./tfsec.yml) **full_repo_scan** - This is the equivalent of running `--force-all-dirs` and will ensure that a Terraform in the repo will be scanned