You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Logic Apps/CfS-SendPromptbookResultsByEmail/readme.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Please refer to this article for further details and for a video on how to deplo
18
18
7. Enable the Logic App (the template deploys it in disabled state).
19
19
20
20
## Deployment button
21
-
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fstefanpems%2Fcfs%2Frefs%2Fheads%2Fmain%2FCfS-SendPromptbookResultsByEmail%2FCfS-SendPromptbookResultsByEmail.json)
21
+
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2FSecurity-Copilot%2Frefs%2Fheads%2Fmain%2FLogic%2520Apps%2FCfS-SendPromptbookResultsByEmail%2FCfS-SendPromptbookResultsByEmail.json)
Copy file name to clipboardExpand all lines: Logic Apps/ciso-reporting/ciso-incidents-summary-man.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ SkillGroups:
24
24
DisplayName: CISO - Incidents Status Summary
25
25
Description: Get a summary of the incidents status in Defender
26
26
DescriptionForModel : Get a summary of the incidents status in Defender.
27
-
If severities are specified in the prompt (e.g. High and Medium), concatenate them as a comma separated list of double-quoted strings (like "High","Medium").
27
+
If severities are specified in the prompt (e.g. High and Medium), concatenate them as a comma separated list of double-quoted strings with the first letter in uppercase (like "High","Medium").
28
28
If start date and end date are not specified, consider the last 7 days.
29
29
If the top number of results is not specified, consider 5 incidents titles.
30
30
If csv_of_severities is not specified, consider only "High".
@@ -81,7 +81,7 @@ SkillGroups:
81
81
DisplayName: CISO - True Positive Incidents Tactics and Techniques Analysis
82
82
Description: Get a summary of the tactics and techniques used in the incidents that were classified as true positives
83
83
DescriptionForModel : Get a summary of the tactics and techniques used in the incidents that were classified as true positives
84
-
If severities are specified in the prompt (e.g. High and Medium), concatenate them as a comma separated list of double-quoted strings (like "High","Medium").
84
+
If severities are specified in the prompt (e.g. High and Medium), concatenate them as a comma separated list of double-quoted strings with the first letter in uppercase (like "High","Medium").
85
85
If start date and end date are not specified, consider the last 7 days.
86
86
If severities is not specified, consider only "High".
Copy file name to clipboardExpand all lines: Logic Apps/ciso-reporting/ciso-posture-summary-man.yaml
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ SkillGroups:
12
12
DisplayName: CISO - Recommendations by Severity
13
13
Description: Get the list of the active recommendations by Severity (work in progress)
14
14
DescriptionForModel : Get the list of the active recommendations by Severity
15
+
If severities are specified in the prompt (e.g. High and Medium), concatenate them as a comma separated list of double-quoted strings with the first letter in uppercase (like "High","Medium").
15
16
Inputs:
16
17
- Name: days_back
17
18
Description: The number of days to be considered in the past, starting from today
Copy file name to clipboardExpand all lines: Logic Apps/ciso-reporting/promptbook-incident-analysis.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# Prompts in the Incident Analysis promptbook
2
2
3
-
This is the sample series of prompts for creating the promptbook dedicated to automating the Security Incident Management status analysis:
3
+
This promptbook, containing a (sample) series of prompts for reporting the high-level status of the Security Incident Management process for the current organization, has been designed to be invoked from the [CfS-SendPromptbookResultsByEmail](https://github.com/Azure/Security-Copilot/tree/main/Logic%20Apps/CfS-SendPromptbookResultsByEmail) Logic App and requires the [CISO Incidents Summary](https://github.com/Azure/Security-Copilot/blob/main/Logic%20Apps/ciso-reporting/ciso-incidents-summary-man.yaml) Custom Plugin as a prerequisite.
4
4
5
5
## Prompt 1
6
6
```
7
-
/CisoIncidentsStatusSummary Consider the top <TOP_INCIDENTS_NUMBER> most occurring incidents with severity <SEVERITIES> in the period of <TIME_FRAME>.
7
+
/CisoIncidentsStatusSummary Consider the top <TOP_INCIDENTS_NUMBER> most occurring incidents in the period of <TIME_FRAME>. For the input parameter named "csv_of_severities" specify the following word or words, each surrounded by double quotes, with only the first letter in uppercase and, if more than one, separated by commas: <SEVERITIES> .
8
8
Respond by applying ALL these 4 indications to this specific response only:
9
9
1. Start the response with the following first sentence: "This is the list of Incidents with severity <SEVERITIES> created in the requested period ". Then add, within round brackets, exactly the first day and the last day considered for <TIME_FRAME>, as used for invoking the CisoIncidentsStatusSummary skill; use the long date format.
10
10
2. Do not return a table: return the results in paragraphs instead; highlight the incident title and write as bulleted list the numbers by status. Do not write classifications where the number is zero. Write in bold underlined the incident classified as true positive.
@@ -14,7 +14,7 @@ Respond by applying ALL these 4 indications to this specific response only:
14
14
15
15
## Prompt 2
16
16
```
17
-
/CisoTruePositiveIncidentsTTAnalysis Consider only the incidents occurred <TIME_FRAME>with severity <SEVERITIES>.
17
+
/CisoTruePositiveIncidentsTTAnalysis Consider only the incidents occurred <TIME_FRAME>. For the input parameter named "csv_of_severities" specify the following word or words, each surrounded by double quotes, with only the first letter in uppercase and, if more than one, separated by commas: <SEVERITIES>.
18
18
Respond by applying BOTH these 2 indications to this specific response only:
19
19
1. Start the response with the following first sentence: "These are the MITRE Tactics and Techniques for the Incidents closed as 'True Positives' in the requested period ". Then add, within round brackets, exactly the first day and the last day considered for <TIME_FRAME>, as used for invoking the CisoTruePositiveIncidentsTTAnalysis skill; use the long date format.
20
20
2. Do not return a table: return the results in paragraphs instead; highlight the incident title and write in a bullet the the number of occurrences, in a second bullet the list of tactics and in a third bullet the list of techniques.
@@ -95,7 +95,7 @@ Call the CisoGetUsersStatus skill of the CisoIncidentsSummaryApiHelper plugin. P
95
95
---
96
96
97
97
# Parameters for the Logic App that invoke the Incident Analysis promptbook and sends the results by email
Copy file name to clipboardExpand all lines: Logic Apps/ciso-reporting/promptbook-posture-analysis.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# Prompts in the Incident Analysis promptbook
2
2
3
-
This is the sample series of prompts for creating the promptbook dedicated to automating the Security Posture status analysis:
3
+
This promptbook, containing a (sample) series of prompts for reporting the high-level status of the security Posture for the current organization, has been designed to be invoked from the [CfS-SendPromptbookResultsByEmail](https://github.com/Azure/Security-Copilot/tree/main/Logic%20Apps/CfS-SendPromptbookResultsByEmail) Logic App and requires the [CISO Posture Summary](https://github.com/Azure/Security-Copilot/blob/main/Logic%20Apps/ciso-reporting/ciso-posture-summary-man.yaml) Custom Plugin as a prerequisite.
4
+
5
+
NOTE: This promptbook is in a very preliminary draft state. Not only are these prompts not optimized in terms of compute capacity consumption, but it is also very incomplete. Please refer to [this article](https://www.linkedin.com/pulse/periodic-reporting-security-managers-cisos-using-stefano-pescosolido-fm80f/) for further details on how this promptbook should be improved.
4
6
5
7
## Prompt 1
6
8
```
@@ -14,14 +16,14 @@ Which threats should I focus on based on their exposure scores? For each returne
14
16
15
17
## Prompt 3
16
18
```
17
-
/CisoRecommendationsBySeverity List the top recurring 10 Recommendations created in the last <NUMBER_OF_DAYS> dayswith severity <SEVERITIES>
19
+
/CisoRecommendationsBySeverity List the top <NUMBER_OF_RECOMMENDATIONS> active Recommendations created in the last <NUMBER_OF_DAYS> days. For the input parameter named "csv_of_severities" specify the following word or words, each surrounded by double quotes, with only the first letter in uppercase and, if more than one, separated by commas: <SEVERITIES>
18
20
```
19
21
20
22
21
23
---
22
24
23
25
# Parameters for the Logic App that invoke the Posture Analysis promptbook and sends the results by email
## Paramters related to the responses of the promptbook
@@ -37,9 +39,8 @@ Indexes of the prompts whose responses should not be included in the delivered e
37
39
### Value for the Logic App Paramter 'ReplacePromptsInOutput'
38
40
Text to be used for replacing the prompts in the delivered email.
39
41
NOTE: It may include words and numbers that should be consistent with the values specified for the input parameters of the promptbook.
40
-
(Leave empty)
41
42
```
42
-
[]
43
+
["List the global threats that should be prioritized based on their exposure score and the vulnerabilities present in my environment.","List the recommendations for better coverage in our SIEM (Microsoft Sentinel) against the most impactful threats. Also, show the recommendations for better utilization of our collected logs.","List the top 10 high and medium severity recommendations based on the number of impacted resources in my cloud PaaS environments in Azure, AWS, and GCP."]
43
44
```
44
45
45
46
@@ -49,7 +50,7 @@ NOTE: It may include words and numbers that should be consistent with the values
49
50
### Value for the Logic App Paramter 'HtmlBodyHeader'
0 commit comments