feat(aws): add compliance CIS 4.0 (#6937)

This commit is contained in:
Pedro Martín
2025-02-19 03:53:49 +01:00
committed by GitHub
parent d12ca6301a
commit 22b54b2d8d
6 changed files with 1521 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
import warnings
from dashboard.common_methods import get_section_containers_cis
warnings.filterwarnings("ignore")
def get_table(data):
aux = data[
[
"REQUIREMENTS_ID",
"REQUIREMENTS_DESCRIPTION",
"REQUIREMENTS_ATTRIBUTES_SECTION",
"CHECKID",
"STATUS",
"REGION",
"ACCOUNTID",
"RESOURCEID",
]
].copy()
return get_section_containers_cis(
aux, "REQUIREMENTS_ID", "REQUIREMENTS_ATTRIBUTES_SECTION"
)