Skip to content

Commit 202353c

Browse files
authored
Merge pull request #186 from mariocuomo/main
[standardization] Copilot Logins, Redact PII, IP Geolocation
2 parents a97a459 + 5c4cc48 commit 202353c

8 files changed

Lines changed: 109 additions & 61 deletions

File tree

198 KB
Loading
132 KB
Loading

Plugins/Community Based Plugins/Copilot Logins/KQL_Plugin_CfSLogins.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Descriptor:
2+
Name: SecurityCopilotLoginsStandalone
3+
DisplayName: Security Copilot Portal Logins
4+
Description: Identifies Security Copilot Portal logins in the last 3 days
5+
6+
SkillGroups:
7+
- Format: KQL
8+
Skills:
9+
- Name: SecurityCopilotLogins
10+
DisplayName: Security Copilot Portal Logins
11+
Description: Fetches Security Copilot Standalone Portal logins in the last 3 days - for each identity, the count of logins performed is returned
12+
Settings:
13+
Target: Sentinel
14+
TenantId: <your_tenant_ID>
15+
SubscriptionId: <your_subscription_ID>
16+
ResourceGroupName: <your_RG_name>
17+
WorkspaceName: <your_WS_name>
18+
Template: |-
19+
SigninLogs
20+
| where TimeGenerated >= ago(3d)
21+
| where AppDisplayName == "Security Copilot"
22+
| project TimeGenerated, Identity, UserPrincipalName, OperationName
23+
| summarize count() by Identity
24+
| order by count_
Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,49 @@
1-
# Security Copilot Plugin: Security Copilot Portal Logins
1+
# Security Copilot Login Activities
22

3-
### **This plugin enables you to track how many logins there have been to the Security Copilot standalone experience and who did it.**
3+
## DESCRIPTION
4+
This plugin enables you to track how many logins there have been to the Security Copilot standalone experience and who did it. For each identity, the count of logins performed is returned.
45

5-
### Pre-requisites
6+
---
67

7-
- [Security Copilot Enabled](https://learn.microsoft.com/en-us/security-copilot/get-started-security-copilot#onboarding-to-microsoft-security-copilot)
8-
- [Access to upload custom plugins](https://learn.microsoft.com/en-us/security-copilot/manage-plugins?tabs=securitycopilotplugin#managing-custom-plugins)
9-
- [Microsoft Sentinel Workspace](https://learn.microsoft.com/en-us/azure/sentinel/quickstart-onboard) created.
10-
- Parameters for KQL Plugin - Microsoft Sentinel Workspace Name, Subscription ID, Resource Group Name and Entra Tenant ID
8+
## TYPE AND REQUIREMENTS
9+
**TYPE**: KQL (Sentinel) <br>
10+
**SOURCE**: _Signinlogs_ table <br>
11+
**REQUIREMENTS**: Log Analytics Workspace with Sentinel enabled
1112

12-
### Instructions
13+
---
1314

14-
#### Upload the Custom Plugin
15+
## SKILLS
16+
17+
<table>
18+
<tbody>
19+
<tr>
20+
<th>SkillName</th>
21+
<th align="center">Description</th>
22+
<th align="center">Parameters</th>
23+
</tr>
24+
<tr>
25+
<td><b>SecurityCopilotLogins</b></td>
26+
<td align="center">Fetches Security Copilot Standalone Portal logins in the last 3 days</td>
27+
<td>
28+
<ul>
29+
</ul>
30+
</td>
31+
</tr>
32+
</tbody>
33+
</table>
34+
35+
36+
---
37+
38+
## SAMPLE PROMPTS
39+
40+
- `« Fetches Security Copilot Standalone Portal logins in the last 3 days and detect if there are anomalies in user accesses »`
41+
---
42+
43+
## SCREENSHOTS
44+
<div align="center">
45+
<img src="https://github.com/mariocuomo/Security-Copilot/blob/main/Images/Community%20Plugins/SecurityCopilotLogins/LoginsAndAnomalies.png" width="700"> </img>
46+
</div>
1547

16-
1. Obtain the file KQL_Plugin_CfSLogins.yaml from this directory.
17-
2. Modify the yaml file to specify your specific Entra TentantId, SubscriptionId, ResourceGroupName and WorkspaceName for your Sentinel instance.
18-
3. Upload the custom plugin
1948

2049
For more information, see: [Security Copilot Plugin: Security Copilot Portal Logins](https://rodtrent.substack.com/p/copilot-for-security-plugin-copilot)

Plugins/Community Based Plugins/IP Geolocation/Readme.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

Plugins/Community Based Plugins/Redact PII/RedactPIIGPT.yaml renamed to Plugins/Community Based Plugins/Redact PII/Manifest_RedactPIIGPT.yaml

File renamed without changes.
Lines changed: 44 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,52 @@
1-
# Security Copilot Plugin: Rdact PII
1+
# Redact Personally Identifiable Information
22

3-
### **This plugin will redcat PII content from a session or a prompt ouput. It will also redact Entra ID object IDs theat may also be sensistive, for example GUIDs for an identity**
3+
## DESCRIPTION
4+
This plugin will redcat PII content from a session or a prompt ouput. It will also redact Entra ID object IDs theat may also be sensistive, for example GUIDs for an identity
45

5-
### Pre-requisites
6+
---
67

7-
- [Security Copilot Enabled](https://learn.microsoft.com/en-us/security-copilot/get-started-security-copilot#onboarding-to-microsoft-security-copilot)
8-
- [Access to upload custom plugins](https://learn.microsoft.com/en-us/security-copilot/manage-plugins?tabs=securitycopilotplugin#managing-custom-plugins)
9-
- [Microsoft Defencer XDR](https://learn.microsoft.com/en-us/defender-xdr/microsoft-365-defender)
8+
## TYPE AND REQUIREMENTS
9+
**TYPE**: GPT <br>
10+
**SOURCE**: None <br>
11+
**REQUIREMENTS**: None
1012

11-
- Plugin uses permissions of the user setting it up
13+
---
1214

13-
### Instructions
15+
## SKILLS
1416

15-
#### Upload the Custom Plugin
17+
<table>
18+
<tbody>
19+
<tr>
20+
<th>SkillName</th>
21+
<th align="center">Description</th>
22+
<th align="center">Parameters</th>
23+
</tr>
24+
<tr>
25+
<td><b>RedactPII</b></td>
26+
<td align="center">Redacts Personally Identifiable Information (PII) from the provided text</td>
27+
<td>
28+
<ul>
29+
<li>
30+
<i>text</i>
31+
</li>
32+
</ul>
33+
</td>
34+
</tr>
35+
</tbody>
36+
</table>
37+
38+
39+
---
40+
41+
## SAMPLE PROMPTS
42+
43+
- `« Redacts Personally Identifiable Information (PII) from the provided text: <YOUR-TEXT> »`
44+
45+
---
46+
47+
## SCREENSHOTS
48+
<div align="center">
49+
<img src="https://github.com/mariocuomo/Security-Copilot/blob/main/Images/Community%20Plugins/RedactPII/RedactPIIPrompt.png" width="700"> </img>
50+
</div>
1651

17-
1. Obtain the file RedactPII.yaml from this directory.
1852

0 commit comments

Comments
 (0)