Swaped from CIS to NIST controls
This commit is contained in:
@@ -47,8 +47,8 @@ def create_document_for_organization(confirmation_email):
|
||||
weight=weight,
|
||||
likelihood=likelihood
|
||||
)
|
||||
controls_content += f" - Control: {control.name} (Impact Weight: {weight}/10) (Likelihood: {likelihood}/10)\n"
|
||||
|
||||
label = f"{control.subcategory} - {control.function or ''}".rstrip(" -")
|
||||
controls_content += f" - Control: {label} (Impact Weight: {weight}/10) (Likelihood: {likelihood}/10)\n"
|
||||
controls_content += "\n"
|
||||
|
||||
document.add_segment('body', controls_content)
|
||||
|
||||
Reference in New Issue
Block a user