Changed name of variable,added help_text for MML
This commit is contained in:
@@ -72,7 +72,7 @@ def get_controls_for_risk(risk, organization):
|
|||||||
control_list.append(f"Control ID: {control.id}, Control Name: {control.name}")
|
control_list.append(f"Control ID: {control.id}, Control Name: {control.name}")
|
||||||
|
|
||||||
prompt = f"""
|
prompt = f"""
|
||||||
You are an expert in cybersecurity risk management. Given the risk "{risk.risk_name}" and its associated factors "{organization_details}",
|
You are an expert in cybersecurity risk management. Given the risk "{risk.risk_name}" and its associated organization details "{organization_details}",
|
||||||
your task is to select **exactly 10 unique controls** from the provided list that best mitigate this risk. Each control should be assigned a weight between **1 and 10** based on its effectiveness in reducing the risk.
|
your task is to select **exactly 10 unique controls** from the provided list that best mitigate this risk. Each control should be assigned a weight between **1 and 10** based on its effectiveness in reducing the risk.
|
||||||
### Rules:
|
### Rules:
|
||||||
1. **Each control ID must be unique** (no duplicates).
|
1. **Each control ID must be unique** (no duplicates).
|
||||||
|
|||||||
Reference in New Issue
Block a user