Skip to content
Draft
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @ErikMangstenRecFut , I think we need to add this in order to pass validation 🤯

We did have an entry in this folder for the previous Identity solution as well so it feels OK.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this is needed to pass validation, one of the many new "features" :D

"Name": "RFI_PlaybookAlertResults_V2_CL",
"Properties": [
{
"Name": "TimeGenerated",
"Type": "DateTime"
},
{
"Name": "playbook_alert_id",
"Type": "String"
},
{
"Name": "panel_status_status",
"Type": "String"
},
{
"Name": "panel_status_priority",
"Type": "String"
},
{
"Name": "panel_status_created",
"Type": "DateTime"
},
{
"Name": "panel_status_entity_name",
"Type": "String"
},
{
"Name": "panel_status_alert_rule_name",
"Type": "String"
},
{
"Name": "panel_status_alert_rule_id",
"Type": "String"
},
{
"Name": "alert_description",
"Type": "String"
},
{
"Name": "panel_status",
"Type": "Dynamic"
},
{
"Name": "panel_evidence_summary",
"Type": "Dynamic"
}
]
}
2 changes: 1 addition & 1 deletion .script/utils/schemas/ARM_DeploymentTemplateSchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"description": "Resource type"
},
"condition": {
"type": "boolean",
"type": ["boolean", "string"],

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @ErikMangstenRecFut let's see what Microsoft says about this. But it did work to have condition as a string, this is what we used to implement the create_role_assignment parameter. So I think their validation is too strict here. See Claude's commit message for more details.

"description": "Condition of the resource"
},
"apiVersion": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,31 @@ tactics:
- CredentialAccess
relevantTechniques: []
query: |
RecordedFutureIdentity_PlaybookAlertResults_CL
RFI_PlaybookAlertResults_V2_CL
| where TimeGenerated >= now(-15m)
eventGroupingSettings:
aggregationKind: AlertPerResult
alertDetailsOverride:
alertDisplayNameFormat: 'Identity Exposure: {{panel_status_entity_name_s}} with priority: {{panel_status_priority_s}}'
alertDisplayNameFormat: 'Identity Exposure: {{panel_status_entity_name}} with priority: {{panel_status_priority}}'
alertDescriptionFormat: |
_Recorded Future Identity Alert_

**Rule Name:** {{panel_status_alert_rule_name_s}}
**Rule Name:** {{panel_status_alert_rule_name}}

**Alert ID:** {{playbook_alert_id_s}}
**Alert ID:** {{playbook_alert_id}}

**Evidence Summary:** {{alert_description_s}}
**Evidence Summary:** {{alert_description}}

Investigate this identity by searching in log analytics workspace for the Alert ID.
alertDynamicProperties: []
customDetails:
RFLabel: Type
AlertId: playbook_alert_id_s
AlertId: playbook_alert_id
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: panel_status_entity_name_s
columnName: panel_status_entity_name
incidentConfiguration:
createIncident: true
groupingConfiguration:
Expand All @@ -48,6 +48,5 @@ incidentConfiguration:
- Account
groupByAlertDetails: []
groupByCustomDetails: []
version: 1.0.0
version: 1.1.0
kind: NRT

Loading