Skip to content

Commit

Permalink
add gh actions workflow for tfsec
Browse files Browse the repository at this point in the history
  • Loading branch information
laaraujo committed Apr 20, 2024
1 parent 9d91937 commit 3098ee5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: tfsec
on:
push:
branches:
- main
pull_request:

jobs:
tfsec:
name: tfsec
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: tfsec
uses: aquasecurity/tfsec-action@v1.0.3
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![tfsec](https://github.com/laaraujo/cloud-build-slack-notifications/actions/workflows/tfsec.yml/badge.svg?branch=main)](https://github.com/laaraujo/cloud-build-slack-notifications/actions/workflows/tfsec.yml)

# Cloud Build Slack notifications

Get slack notifications whenever there's a Cloud Build update.
Expand Down
1 change: 1 addition & 0 deletions terraform/storage.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ data "template_file" "config" {
]
}

# tfsec:ignore:google-storage-bucket-encryption-customer-key
resource "google_storage_bucket" "files" {
name = "${var.app_name}_files"
location = "US"
Expand Down

0 comments on commit 3098ee5

Please sign in to comment.