Skip to content

feat: add ECR enhanced scanning and fix S3 logging configuration #379

feat: add ECR enhanced scanning and fix S3 logging configuration

feat: add ECR enhanced scanning and fix S3 logging configuration #379

Workflow file for this run

name: Terraform Security Scan
on:
pull_request:
push:
branches:
- main
permissions: read-all
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
trivy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
with:
scan-type: 'fs'
scan-ref: .
scanners: 'vuln,secret,misconfig'
skip-dirs: '.cache'
ignore-unfixed: false
exit-code: '1'
format: 'table'
severity: 'CRITICAL,HIGH'