Skip to content

Commit

Permalink
remove deprecated check CKV_GCP_67
Browse files Browse the repository at this point in the history
  • Loading branch information
gruebel committed Jun 30, 2023
1 parent b377e91 commit ec62523
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 168 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 3 additions & 0 deletions tests/terraform/runner/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ def test_no_missing_ids(self):
if f'CKV_GCP_{i}' == 'CKV_GCP_5':
# CKV_GCP_5 is no longer a valid platform check
continue
if f'CKV_GCP_{i}' == 'CKV_GCP_67':
# CKV_GCP_67 is not deployable anymore https://cloud.google.com/kubernetes-engine/docs/how-to/hardening-your-cluster#protect_node_metadata
continue

self.assertIn(f'CKV_GCP_{i}', gcp_checks, msg=f'The new GCP violation should have the ID "CKV_GCP_{i}"')

Expand Down

0 comments on commit ec62523

Please sign in to comment.