Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Zero Networks Segment - New API Token created

Back
Id603a6b18-b54a-43b7-bb61-d2b0b47d224a
RulenameZero Networks Segment - New API Token created
DescriptionDetects when a api token has been created.
SeverityLow
TacticsCredentialAccess
TechniquesT1528
Required data connectorsZeroNetworksSegmentAuditFunction
ZeroNetworksSegmentAuditNativePoller
KindScheduled
Query frequency5m
Query period5m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/ZeroNetworks/Analytic Rules/ZNSegmentNewAPIToken.yaml
Version1.0.1
Arm template603a6b18-b54a-43b7-bb61-d2b0b47d224a.json
Deploy To Azure
ZNSegmentAudit
| where AuditTypeId == 25
status: Available
id: 603a6b18-b54a-43b7-bb61-d2b0b47d224a
name: Zero Networks Segment - New API Token created
requiredDataConnectors:
- connectorId: ZeroNetworksSegmentAuditFunction
  dataTypes:
  - ZNSegmentAudit_CL
- connectorId: ZeroNetworksSegmentAuditNativePoller
  dataTypes:
  - ZNSegmentAuditNativePoller_CL
severity: Low
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/ZeroNetworks/Analytic Rules/ZNSegmentNewAPIToken.yaml
kind: Scheduled
description: |
    'Detects when a api token has been created.'
relevantTechniques:
- T1528
queryPeriod: 5m
triggerOperator: gt
queryFrequency: 5m
query: |
  ZNSegmentAudit
  | where AuditTypeId == 25  
version: 1.0.1
tactics:
- CredentialAccess
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: PerformedByName
  entityType: Account
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/603a6b18-b54a-43b7-bb61-d2b0b47d224a')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/603a6b18-b54a-43b7-bb61-d2b0b47d224a')]",
      "properties": {
        "alertRuleTemplateName": "603a6b18-b54a-43b7-bb61-d2b0b47d224a",
        "customDetails": null,
        "description": "'Detects when a api token has been created.'\n",
        "displayName": "Zero Networks Segment - New API Token created",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "PerformedByName",
                "identifier": "Name"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/ZeroNetworks/Analytic Rules/ZNSegmentNewAPIToken.yaml",
        "query": "ZNSegmentAudit\n| where AuditTypeId == 25\n",
        "queryFrequency": "PT5M",
        "queryPeriod": "PT5M",
        "severity": "Low",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "CredentialAccess"
        ],
        "techniques": [
          "T1528"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}