Skip to content

Commit

Permalink
Updated the 'test_yaml_policies.py' file with new policies
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen-panw committed Nov 7, 2023
1 parent a5b4d9a commit 5a5df74
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/terraform/graph/checks/test_yaml_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 5a5df74

Please sign in to comment.