Skip to content

Commit

Permalink
Merge pull request #437 from intuitem/new_fwk_instructions
Browse files Browse the repository at this point in the history
New fwk instructions
  • Loading branch information
ab-smith authored May 15, 2024
2 parents 297c999 + ed44003 commit c41fa39
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
6 changes: 6 additions & 0 deletions tools/cis/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This script prepares the file to be parsed by the converter:

- copy the downloaded excel sheet from CIS next to this script (for instance CIS_Controls_Version_8.xlsx)
- run the preparation script by passing the filename as 1st argument and your name/entity as a second one for the packager
- run the converter on the prepared excel sheet
- use the resulting yaml in CISO Assistant
6 changes: 3 additions & 3 deletions tools/cis/convert_cis.py → tools/cis/prep_cis.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,18 @@
ws2.append(
[
"IG1",
"Essential Cyber Hygiene",
"IG1",
"Minimum standard of information security for all enterprises.",
]
)
ws2.append(
[
"IG2",
"",
"IG2",
"For enterprises managing IT infrastructure of multiple departments with differing risk profiles.",
]
)
ws2.append(["IG3", "", "To secure sensitive and confidential data."])
ws2.append(["IG3", "IG3", "To secure sensitive and confidential data."])

print("generate ", output_file_name)
wb_output.save(output_file_name)
6 changes: 6 additions & 0 deletions tools/convert_cis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
file="CIS_Controls_Version_8.xlsx"
packager="personal"
python cis/prep_cis.py $file $packager
intermediate="cis-controls-v8.xlsx"
python convert_library.py cis/cis-controls-v8.xlsx
echo "Resulting file is available at cis/cis-controls-v8.yaml"
Binary file added tools/sample/sample.xlsx
Binary file not shown.

0 comments on commit c41fa39

Please sign in to comment.