Skip to content

Commit 66a04b5

Browse files
authored
feat(aws): improve nist_csf_2.0 mapping (#9189)
1 parent fb9eda2 commit 66a04b5

File tree

2 files changed

+652
-459
lines changed

2 files changed

+652
-459
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import warnings
2+
3+
from dashboard.common_methods import get_section_containers_format3
4+
5+
warnings.filterwarnings("ignore")
6+
7+
8+
def get_table(data):
9+
aux = data[
10+
[
11+
"REQUIREMENTS_ID",
12+
"REQUIREMENTS_ATTRIBUTES_SECTION",
13+
"REQUIREMENTS_DESCRIPTION",
14+
"CHECKID",
15+
"STATUS",
16+
"REGION",
17+
"ACCOUNTID",
18+
"RESOURCEID",
19+
]
20+
].copy()
21+
22+
return get_section_containers_format3(
23+
aux, "REQUIREMENTS_ATTRIBUTES_SECTION", "REQUIREMENTS_ID"
24+
)

0 commit comments

Comments
 (0)