Unsigned Script Execution Enabled For Live Response
Query
CloudAppEvents
| where ActionType == "SetAdvancedFeatures"
| extend SettingName = tostring(parse_json(RawEventData).SettingName), SettingsNewValue = tostring(parse_json(RawEventData).SettingsNewValue)
| where SettingName == "Live Response unsigned script execution"
| project-reorder TimeGenerated, AccountId, ActionType, SettingName, SettingsNewValueExplanation
This KQL (Kusto Query Language) query is designed to analyze cloud application events. Here's a simple breakdown of what it does:
-
Source Table: It starts by looking at the
CloudAppEventstable, which contains records of various actions performed in cloud applications. -
Filter by ActionType: It filters the records to only include those where the
ActionTypeis "SetAdvancedFeatures". This means it is interested in events where advanced features are being configured or modified. -
Extract Specific Fields: It uses the
extendfunction to extract two specific pieces of information from theRawEventDatafield:SettingName: The name of the setting being changed.SettingsNewValue: The new value that the setting is being changed to. Both are converted to strings for easier handling.
-
Filter by SettingName: It further narrows down the results to only include events where the
SettingNameis "Live Response unsigned script execution". This focuses the query on a specific advanced feature related to script execution. -
Reorder Columns: Finally, it uses
project-reorderto organize the output columns in a specific order:TimeGenerated,AccountId,ActionType,SettingName, andSettingsNewValue. This makes the output easier to read and analyze by prioritizing these fields.
In summary, this query identifies and organizes events where the "Live Response unsigned script execution" setting was changed, providing details about when it happened, who did it, and what the new setting value is.
Details

Jay Kerai
Released: November 11, 2024
Tables
Keywords
Operators