Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New fwk instructions #437

Merged
merged 3 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading