feat: added severity level to alarms being sent to Slack (#451) #1260
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Terraform security scan" | |
on: | |
push: | |
branches: [develop, main] | |
paths: | |
- "aws/**" | |
- ".github/workflows/terraform-security-scan.yml" | |
pull_request: | |
paths: | |
- "aws/**" | |
- ".github/workflows/terraform-security-scan.yml" | |
jobs: | |
terraform-security-scan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | |
- name: Checkov security scan | |
uses: bridgecrewio/checkov-action@f621ecfe2d83b0e2028c7e93f082812eb56d3743 # latest as of Sept 9, 2021 | |
with: | |
directory: aws | |
framework: terraform | |
output_format: cli | |
soft_fail: false |