add rules exceptiom to test
@@ -132,6 +132,10 @@ class TestRunnerValid(unittest.TestCase):
gcp_checks = list(filter(lambda check_id: '_GCP_' in check_id, unique_checks))
for i in range(1, len(gcp_checks)):
+ if f'CKV_GCP_{i}' == 'CKV_GCP_5':
+ # CKV_GCP_5 is no longer a valid platform check
+ continue
+
self.assertIn(f'CKV_GCP_{i}', gcp_checks, msg=f'The new GCP violation should have the ID "CKV_GCP_{i}"')
azure_checks = list(filter(lambda check_id: '_AZURE_' in check_id, unique_checks))
