Skip to content

Latest commit

 

History

History
 
 

README.md

Scripts

Analytics Rules deployment script (CreateAnalyticsRules.ps1) - NEW

Reads the config file in the AnalyticsRules folder and deploys its contents to a specific environment. The script will detect if the alert is brand new and needs to be created or if the alert is already active and just needs to be updated. The script also supports attaching a playbook to the rule.

Syntax

CreateAnalyticsRules.ps1 -Workspace <String> -RulesFile <String>

Hunting Rules deployment script (CreateHuntingRulesAPI.ps1)

Reads the config file in the HuntingRules folder and deploys its contents to a specific environment. The script will detect if the hunting rule is brand new and needs to be created or if it's already active and just needs to be updated.

Syntax

CreateHuntingRulesAPI.ps1 -Workspace <String> -RulesFile <String>

Connectors deployment script (CreateAnalyticsRulesAPI.ps1) - OLD

Reads the config file in the Connectors folder and deploys its contents to a specific environment.

Syntax

EnableConnectorsAPI.ps1 -TenantId <String> -ClientId <String> -ClientSecret <String> -SubscriptionId <String> -ResourceGroup <String> -Workspace <String> -ConnectorsFile <String>

Playbooks deployment script (CreatePLaybooks.ps1)

Takes all the json files within a folder (specified as PlaybooksFolder parameter) and deploys them as playbooks (Logic Apps).

Syntax

CreatePlaybooks.ps1 -ResourceGroup <String> -PlaybooksFolder <String>

Workbooks deployment script (CreateWorkbooks.ps1)

Takes all the json files within a folder (specified as WorkbooksFolder) and deploys them as Workbooks in the Sentinel environment. Parameter WorkbookSourceId is needed to specify that the workbook will be located inside Sentinel environment. If no parameter is provided, the workbook will be deployed in Azure Monitor.

Syntax

CreateWorkbooks.ps1 -ResourceGroup <String> -WorkbooksFolder <String> -WorkbookSourceId <String>

Install Sentinel script (InstallSentinel.ps1)

Reads configuration file under Onboard folder and installs SecurityInsights (Sentinel) solution where required.

Syntax

InstallSentinel.ps1 -OnboardingFile <String>

Alert Rules deployment script (CreateAnalyticsRulesAPI.ps1) - OLD

Reads the config file in the AnalyticsRules folder and deploys its contents to a specific environment. The script will detect if the alert is brand new and needs to be created or if the alert is already active and just needs to be updated. Currently this script doesn't support attaching a playbook to an alert rule.

Syntax

CreateAnalyticsRulesAPI.ps1 -TenantId <String> -ClientId <String> -ClientSecret <String> -SubscriptionId <String> -ResourceGroup <String> -Workspace <String> -RulesFile <String>