mirror of
https://github.com/prowler-cloud/prowler.git
synced 2025-12-19 05:17:47 +00:00
feat(gcp): add PCI DSS 4.0 (#7010)
This commit is contained in:
23
dashboard/compliance/pci_4_0_gcp.py
Normal file
23
dashboard/compliance/pci_4_0_gcp.py
Normal file
@@ -0,0 +1,23 @@
|
||||
import warnings
|
||||
|
||||
from dashboard.common_methods import get_section_containers_format3
|
||||
|
||||
warnings.filterwarnings("ignore")
|
||||
|
||||
|
||||
def get_table(data):
|
||||
aux = data[
|
||||
[
|
||||
"REQUIREMENTS_ID",
|
||||
"REQUIREMENTS_ATTRIBUTES_SECTION",
|
||||
"REQUIREMENTS_DESCRIPTION",
|
||||
"CHECKID",
|
||||
"STATUS",
|
||||
"REGION",
|
||||
"ACCOUNTID",
|
||||
"RESOURCEID",
|
||||
]
|
||||
]
|
||||
return get_section_containers_format3(
|
||||
aux, "REQUIREMENTS_ATTRIBUTES_SECTION", "REQUIREMENTS_ID"
|
||||
)
|
||||
22315
prowler/compliance/gcp/pci_4.0_gcp.json
Normal file
22315
prowler/compliance/gcp/pci_4.0_gcp.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -23,7 +23,7 @@ def get_generic_compliance_table(
|
||||
compliance.Framework.upper()
|
||||
in compliance_framework.upper().replace("_", "-")
|
||||
and compliance.Version in compliance_framework.upper()
|
||||
and compliance.Provider in compliance_framework.upper()
|
||||
and compliance.Provider.upper() in compliance_framework.upper()
|
||||
):
|
||||
if finding.muted:
|
||||
if index not in muted_count:
|
||||
|
||||
Reference in New Issue
Block a user