Skip to content

Commit

Permalink
feat(cloudformation): Update audit_logs valid values (#6566)
Browse files Browse the repository at this point in the history
update values
  • Loading branch information
arielkru authored Jul 14, 2024
1 parent 03a92e4 commit cb7545b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions checkov/cloudformation/checks/resource/aws/DocDBAuditLogs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any
from typing import Any, List

from checkov.cloudformation.checks.resource.base_resource_value_check import BaseResourceValueCheck
from checkov.common.models.enums import CheckCategories
Expand All @@ -15,8 +15,8 @@ def __init__(self) -> None:
def get_inspected_key(self) -> str:
return "Properties/Parameters/audit_logs"

def get_expected_value(self) -> Any:
return "enabled"
def get_expected_values(self) -> List[Any]:
return ["all", "ddl", "dml_read", "dml_write", "enabled"]


check = DocDBAuditLogs()

0 comments on commit cb7545b

Please sign in to comment.