feat(compliance): add CIS 1.12 for Kubernetes (#9778)

This commit is contained in:
Pedro Martín
2026-01-13 10:16:28 +01:00
committed by GitHub
parent 48274f1d54
commit 17f5633a8d
3 changed files with 2940 additions and 0 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"
)