feat(compliance): add CIS 2.0.1 for K8S (#11722)

This commit is contained in:
Pedro Martín
2026-06-29 16:10:13 +02:00
committed by GitHub
parent 9d4b6c4d16
commit 5404863a3e
3 changed files with 2993 additions and 0 deletions
@@ -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"
)