Skip to content

Commit

Permalink
Update AzureDataExplorerDoubleEncryptionEnabled.py
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyBH authored May 12, 2024
1 parent c61de72 commit 7efda90
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,18 @@


class AzureDataExplorerDoubleEncryptionEnabled(BaseResourceValueCheck):
def __init__(self):
name = "Ensure that Azure Data Explorer uses double encryption"
id = "CKV_AZURE_75"
supported_resources = ("Microsoft.Compute/disks",)
categories = (CheckCategories.ENCRYPTION,)
def __init__(self) -> None:
name: str = "Ensure that Azure Data Explorer uses double encryption"
id: str = "CKV_AZURE_75"
supported_resources: tuple = ("Microsoft.Compute/disks",)
categories: tuple = (CheckCategories.ENCRYPTION,)
super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)

def get_inspected_key(self):
def get_inspected_key(self) -> str:
return "properties/doubleEncryptionEnabled"

def get_expected_value(self):
def get_expected_value(self) -> Any:
return True


check = AzureDataExplorerDoubleEncryptionEnabled()

check: Any = AzureDataExplorerDoubleEncryptionEnabled()

0 comments on commit 7efda90

Please sign in to comment.