Skip to content

Commit 443ca64

Browse files
authored
Adjust the checkov-tf-plan tests with a policy (#288)
1 parent ed95120 commit 443ca64

File tree

1 file changed

+4
-8
lines changed
  • scanners/boostsecurityio/checkov-tf-plan

1 file changed

+4
-8
lines changed

scanners/boostsecurityio/checkov-tf-plan/tests.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ tests:
77
ref: "main"
88
scan_paths:
99
- "aws-security-violations"
10+
env:
11+
BOOST_TF_TAGS_POLICY: '{"version":"v1.0.0","enforcement_policy":"lax","supported_resources":["aws_s3_bucket"],"remediation_message":"For more information, please check our wiki...","required_tags":["Environment","Team"],"allowed_tag_values":{"Environment":["production"],"Team":["security"]}}'
1012

1113
- name: "aws-compliant"
1214
type: "source-code"
@@ -15,6 +17,8 @@ tests:
1517
ref: "main"
1618
scan_paths:
1719
- "aws-compliant"
20+
env:
21+
BOOST_TF_TAGS_POLICY: '{"version":"v1.0.0","enforcement_policy":"lax","supported_resources":["aws_s3_bucket"],"remediation_message":"For more information, please check our wiki...","required_tags":["Environment","Team"],"allowed_tag_values":{"Environment":["production"],"Team":["security"]}}'
1822

1923
- name: "gcp-storage"
2024
type: "source-code"
@@ -23,13 +27,5 @@ tests:
2327
ref: "main"
2428
scan_paths:
2529
- "gcp-storage"
26-
27-
- name: "boost sandbox"
28-
type: "source-code"
29-
source:
30-
url: "https://github.com/boost-sandbox/checkov-tf-plan-testing"
31-
ref: "main"
32-
scan_paths:
33-
- "aws-security-violations"
3430
env:
3531
BOOST_TF_TAGS_POLICY: '{"version":"v1.0.0","enforcement_policy":"lax","supported_resources":["aws_s3_bucket"],"remediation_message":"For more information, please check our wiki...","required_tags":["Environment","Team"],"allowed_tag_values":{"Environment":["production"],"Team":["security"]}}'

0 commit comments

Comments
 (0)