Dostupná řešení
Azure Sentinel by HTTP
Overview
This template is designed to monitor Microsoft Azure Sentinel by HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 8.0 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure workspaces with Sentinel
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
-
Give the created principal the "Microsoft Sentinel Reader" role via the Azure command-line interface (Azure CLI).
az role assignment create --assignee "zabbix" --role "Microsoft Sentinel Reader" --scope /subscriptions/<subscription_id> -
Link the template to a host.
-
Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure scale set ID. |
|
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$HTTP.TLS.VERIFY} | TLS certificate verification for script items: "none" - disabled, "peer" - verify the certificate chain and expiration, "full" - full verification. Any other value enables full verification. To override the setting for this template only, define the macro with the context "Azure Sentinel", e.g. {$HTTP.TLS.VERIFY:"Azure Sentinel"}. |
full |
| {$AZURE.SENTINEL.PERIOD} | The number of days during which to retrieve modified entities (incidents, alert rules, automation rules). |
30 |
| {$AZURE.SENTINEL.INTERVAL} | The update interval for the script items that retrieve data from the API. |
10m |
| {$AZURE.SENTINEL.INCIDENTS.NEW} | The threshold for new incidents during the interval defined in the |
1 |
| {$AZURE.SENTINEL.INCIDENTS.NEW:info} | The threshold for new informational severity incidents during the interval defined in the |
10 |
| {$AZURE.SENTINEL.INCIDENTS.NEW:low} | The threshold for new low-severity incidents during the interval defined in the |
5 |
| {$AZURE.SENTINEL.INCIDENTS.NEW:medium} | The threshold for new medium-severity incidents during the interval defined in the |
1 |
| {$AZURE.SENTINEL.INCIDENTS.NEW:high} | The threshold for new high-severity incidents during the interval defined in the |
1 |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Get data | Gathers data from Azure Sentinel. |
Script | azure.sentinel.data.get |
| Incidents: Total number | The total number of incidents. |
Dependent item | azure.sentinel.incidents.total Preprocessing
|
| Incidents: Informational severity | The number of informational severity incidents. |
Dependent item | azure.sentinel.incidents.info Preprocessing
|
| Incidents: Low severity | The number of low-severity incidents. |
Dependent item | azure.sentinel.incidents.low Preprocessing
|
| Incidents: Medium severity | The number of medium-severity incidents. |
Dependent item | azure.sentinel.incidents.medium Preprocessing
|
| Incidents: High severity | The number of high-severity incidents. |
Dependent item | azure.sentinel.incidents.high Preprocessing
|
| Incidents: New | The number of new incidents. |
Dependent item | azure.sentinel.incidents.new Preprocessing
|
| Incidents: Active | The number of active incidents. |
Dependent item | azure.sentinel.incidents.active Preprocessing
|
| Incidents: Closed | The number of closed incidents. |
Dependent item | azure.sentinel.incidents.closed Preprocessing
|
| Alert rules: Total number | The number of alert rules. |
Dependent item | azure.sentinel.alert_rules.total Preprocessing
|
| Alert rules: Enabled | The number of enabled alert rules. |
Dependent item | azure.sentinel.alert_rules.enabled Preprocessing
|
| Alert rules: Disabled | The number of disabled alert rules. |
Dependent item | azure.sentinel.alert_rules.disabled Preprocessing
|
| Alert rules: Informational severity | The number of informational severity alert rules. |
Dependent item | azure.sentinel.alert_rules.info Preprocessing
|
| Alert rules: Low severity | The number of low-severity alert rules. |
Dependent item | azure.sentinel.alert_rules.low Preprocessing
|
| Alert rules: Medium severity | The number of medium-severity alert rules. |
Dependent item | azure.sentinel.alert_rules.medium Preprocessing
|
| Alert rules: High severity | The number of high-severity alert rules. |
Dependent item | azure.sentinel.alert_rules.high Preprocessing
|
| Alert rules: Microsoft security incident creation | The number of Microsoft security incident creation alert rules. |
Dependent item | azure.sentinel.alert_rules.creation Preprocessing
|
| Alert rules: Scheduled | The number of scheduled alert rules. |
Dependent item | azure.sentinel.alert_rules.scheduled Preprocessing
|
| Alert rules: Fusion | The number of fusion alert rules. |
Dependent item | azure.sentinel.alert_rules.fusion Preprocessing
|
| Automation rules: Total | The total number of automation rules. |
Dependent item | azure.sentinel.automation_rules.total Preprocessing
|
| Automation rules: On incidents | The number of automation rules that are triggered on incidents. |
Dependent item | azure.sentinel.automation_rules.incidents Preprocessing
|
| Automation rules: On alerts | The number of automation rules that are triggered on alerts. |
Dependent item | azure.sentinel.automation_rules.alerts Preprocessing
|
| Automation rules: Modify properties | The number of automation rules that modify an object's properties. |
Dependent item | azure.sentinel.automation_rules.modify Preprocessing
|
| Automation rules: Run playbook | The number of automation rules that run a playbook on an object. |
Dependent item | azure.sentinel.automation_rules.playbook Preprocessing
|
| Automation rules: Add incident task | The number of automation rules that add a task to an incident object. |
Dependent item | azure.sentinel.automation_rules.add_incident Preprocessing
|
| Data connectors: Total | The total number of data connectors. |
Dependent item | azure.sentinel.data_connectors.total Preprocessing
|
| Data connectors: Enabled | The number of enabled data connectors. |
Dependent item | azure.sentinel.data_connectors.enabled Preprocessing
|
| Data connectors: Disabled | The number of disabled data connectors. |
Dependent item | azure.sentinel.data_connectors.disabled Preprocessing
|
| Watchlists: Total | The total number of watchlists. |
Dependent item | azure.sentinel.watchlist.total Preprocessing
|
| Watchlists: Canceled | The number of canceled watchlists. |
Dependent item | azure.sentinel.watchlist.canceled Preprocessing
|
| Watchlists: Failed | The number of failed watchlists. |
Dependent item | azure.sentinel.watchlist.failed Preprocessing
|
| Watchlists: Succeeded | The number of succeeded watchlists. |
Dependent item | azure.sentinel.watchlist.succeeded Preprocessing
|
| Watchlists: Deleting | The number of watchlists being deleted. |
Dependent item | azure.sentinel.watchlist.deleting Preprocessing
|
| Watchlists: Uploading | The number of watchlists being uploaded. |
Dependent item | azure.sentinel.watchlist.uploading Preprocessing
|
| Watchlists: In progress | The number of watchlists in progress. |
Dependent item | azure.sentinel.watchlist.progress Preprocessing
|
| Watchlists: New | The number of new watchlists. |
Dependent item | azure.sentinel.watchlist.new Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure Sentinel: Informational severity incident total has increased. | The number of informational severity incidents has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.incidents.info)>={$AZURE.SENTINEL.INCIDENTS.NEW:info} and change(/Azure Sentinel by HTTP/azure.sentinel.incidents.total)>0 |
Info | Manual close: Yes |
| Azure Sentinel: Low-severity incident total has increased. | The number of low-severity incidents has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.incidents.low)>={$AZURE.SENTINEL.INCIDENTS.NEW:low} and change(/Azure Sentinel by HTTP/azure.sentinel.incidents.total)>0 |
Warning | Manual close: Yes |
| Azure Sentinel: Medium-severity incident total has increased. | The number of medium-severity incidents has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.incidents.medium)>={$AZURE.SENTINEL.INCIDENTS.NEW:medium} and change(/Azure Sentinel by HTTP/azure.sentinel.incidents.total)>0 |
Average | Manual close: Yes |
| Azure Sentinel: High-severity incident total has increased. | The number of high-severity incidents has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.incidents.high)>={$AZURE.SENTINEL.INCIDENTS.NEW:high} and change(/Azure Sentinel by HTTP/azure.sentinel.incidents.total)>0 |
High | Manual close: Yes |
| Azure Sentinel: New incident total has increased. | The number of new incidents has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.incidents.new)>={$AZURE.SENTINEL.INCIDENTS.NEW} and change(/Azure Sentinel by HTTP/azure.sentinel.incidents.total)>0 |
Info | Manual close: Yes |
| Azure Sentinel: Incident become active. | The number of active incidents has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.incidents.active)>0 and change(/Azure Sentinel by HTTP/azure.sentinel.incidents.total)=0 |
Info | Manual close: Yes |
| Azure Sentinel: Alert rule total has changed. | The number of alert rules has changed. |
change(/Azure Sentinel by HTTP/azure.sentinel.alert_rules.total)<>0 |
Warning | Manual close: Yes |
| Azure Sentinel: Alert rule was enabled. | The number of enabled alert rules has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.alert_rules.enabled)>0 and change(/Azure Sentinel by HTTP/azure.sentinel.alert_rules.total)=0 |
Warning | Manual close: Yes |
| Azure Sentinel: Alert rule was disabled. | The number of disabled alert rules has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.alert_rules.disabled)>0 and change(/Azure Sentinel by HTTP/azure.sentinel.alert_rules.total)=0 |
Warning | Manual close: Yes |
| Azure Sentinel: Automation rule total has changed. | The number of automation rules has changed. |
change(/Azure Sentinel by HTTP/azure.sentinel.automation_rules.total)<>0 |
Warning | Manual close: Yes |
| Azure Sentinel: Data connector total has changed. | The number of data connectors has changed. |
change(/Azure Sentinel by HTTP/azure.sentinel.data_connectors.total)<>0 |
Warning | Manual close: Yes |
| Azure Sentinel: Data connector was enabled. | The number of enabled data connectors has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.data_connectors.enabled)>0 and change(/Azure Sentinel by HTTP/azure.sentinel.data_connectors.total)=0 |
Warning | Manual close: Yes |
| Azure Sentinel: Data connector was disabled. | The number of disabled data connectors has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.data_connectors.disabled)>0 and change(/Azure Sentinel by HTTP/azure.sentinel.data_connectors.total)=0 |
Warning | Manual close: Yes |
| Azure Sentinel: Watchlist total has changed. | The number of watchlists has changed. |
change(/Azure Sentinel by HTTP/azure.sentinel.watchlist.total)<>0 |
Warning | Manual close: Yes |
| Azure Sentinel: Watchlist was disabled. | The number of canceled watchlists has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.watchlist.canceled)>0 and change(/Azure Sentinel by HTTP/azure.sentinel.watchlist.total)=0 |
Warning | Manual close: Yes |
| Azure Sentinel: Watchlist has failed. | The number of failed watchlists has increased. |
change(/Azure Sentinel by HTTP/azure.sentinel.watchlist.failed)>0 and change(/Azure Sentinel by HTTP/azure.sentinel.watchlist.total)=0 |
Warning | Manual close: Yes |