Skip to content

Commit

Permalink
Advanced security and analysis (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcurtis committed Jan 14, 2023
1 parent db766fc commit 2ae0df8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-symlinks
- id: no-commit-to-branch
#- id: no-commit-to-branch

- repo: https://github.com/bridgecrewio/checkov
rev: 2.2.258
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ resource "github_repository" "this" {

security_and_analysis {
advanced_security {
status = {}
status = each.value.visibility == "private" ? "disabled" : "enabled"
}
secret_scanning {
status = "enabled"
Expand Down

0 comments on commit 2ae0df8

Please sign in to comment.