From 5a5df74200b853a37379360288d5e5db53bb328b Mon Sep 17 00:00:00 2001 From: Praveen Date: Tue, 7 Nov 2023 12:20:06 +0530 Subject: [PATCH] Updated the 'test_yaml_policies.py' file with new policies --- .../graph/checks/test_yaml_policies.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tests/terraform/graph/checks/test_yaml_policies.py b/tests/terraform/graph/checks/test_yaml_policies.py index 7e484093aeb..dbb3c24ad8e 100644 --- a/tests/terraform/graph/checks/test_yaml_policies.py +++ b/tests/terraform/graph/checks/test_yaml_policies.py @@ -427,6 +427,27 @@ def test_AzureStorageAccConfig_SAS_expirePolicy(self): def test_AzureVMconfigPublicIP_SerialConsoleAccess(self): self.go("AzureVMconfigPublicIP_SerialConsoleAccess") + def test_AzurePostgreSQLserverConfigPrivEndpt(self): + self.go("AzurePostgreSQLserverConfigPrivEndpt") + + def test_AzureMariaDBserverConfigPrivEndpt(self): + self.go("AzureMariaDBserverConfigPrivEndpt") + + def test_AzureMySQLserverConfigPrivEndpt(self): + self.go("AzureMySQLserverConfigPrivEndpt") + + def test_AzureMSSQLserverConfigPrivEndpt(self): + self.go("AzureMSSQLserverConfigPrivEndpt") + + def test_AzureSynapseWorkspaceVAisEnabled(self): + self.go("AzureSynapseWorkspaceVAisEnabled") + + def test_IBM_AppLBforVPCisPrivate(self): + self.go("IBM_AppLBforVPCisPrivate") + + def test_IBM_VPCclassicAccessIsDisabled(self): + self.go("IBM_VPCclassicAccessIsDisabled") + def test_registry_load(self): registry = Registry(parser=GraphCheckParser(), checks_dir=str( Path(__file__).parent.parent.parent.parent.parent / "checkov" / "terraform" / "checks" / "graph_checks"))