Skip to content

MLPAB-2748 - Check egress via network firewall #2698

MLPAB-2748 - Check egress via network firewall

MLPAB-2748 - Check egress via network firewall #2698

name: "[Analysis] TFSec PR feedback"
on:
pull_request:
branches: [ main ]
paths:
- "**.tf"
permissions:
actions: read
checks: read
contents: none
deployments: none
issues: none
packages: none
pull-requests: write
repository-projects: none
security-events: none
statuses: none
jobs:
tfsec:
name: TFSec Static analysis
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: tfsec with pr comments
uses: tfsec/tfsec-pr-commenter-action@v1.3.1
with:
# setting working_directory to empty string will run tfsec on all .tf files in the repo
working_directory: ''
github_token: ${{secrets.GITHUB_TOKEN}}
soft_fail_commenter: true
tfsec_version: v1.28.1
tfsec_args: --concise-output --force-all-dirs