Skip to content
158 changes: 157 additions & 1 deletion Connector/connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
},
"variables": {
"STATConnectorVersion": "2.1.0"
"STATConnectorVersion": "2.2.0"
},
"resources": [
{
Expand Down Expand Up @@ -760,6 +760,162 @@
}
}
},
"/api/modules/deviceexposure": {
"post": {
"summary": "Device Exposure Module",
"description": "Sentinel Triage AssistanT Module for reviewing Device Exposure Risks",
"operationId": "DeviceExposureModule",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"type": "object",
"properties": {
"AddIncidentComments": {
"type": "boolean",
"description": "Add Comments to Microsoft Sentinel Incident",
"title": "",
"enum": [
true,
false
],
"x-ms-visibility": "advanced"
},
"AddIncidentTags": {
"type": "boolean",
"description": "Add Tags to Microsoft Sentinel Incident",
"title": "",
"enum": [
true,
false
],
"x-ms-visibility": "advanced"
},
"AddIncidentTask": {
"type": "boolean",
"description": "Add a task to Microsoft Sentinel Incident",
"title": "",
"enum": [
true,
false
],
"x-ms-visibility": "advanced"
},
"IncidentTaskInstructions": {
"type": "string",
"description": "Instructions to include in the Microsoft Sentinel Task",
"x-ms-visibility": "advanced"
},
"BaseModuleBody": {
"type": "object",
"description": "Body from STAT Base Module",
"title": "",
"x-ms-visibility": "important"
}
},
"default": {
"AddIncidentComments": true,
"Entities": ""
},
"required": [
"BaseModuleBody"
]
},
"required": true
}
],
"responses": {
"default": {
"description": "default",
"schema": {
"type": "object",
"description": "Device Exposure Module",
"properties": {
}
}
}
}
}
},
"/api/modules/userexposure": {
"post": {
"summary": "User Exposure Module",
"description": "Sentinel Triage AssistanT Module for evaulating User exposure.",
"operationId": "UserExposureModule",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"type": "object",
"properties": {
"AddIncidentComments": {
"type": "boolean",
"description": "Add Comments to Microsoft Sentinel Incident",
"title": "",
"enum": [
true,
false
],
"x-ms-visibility": "advanced"
},
"AddIncidentTags": {
"type": "boolean",
"description": "Add Tags to Microsoft Sentinel Incident",
"title": "",
"enum": [
true,
false
],
"x-ms-visibility": "advanced"
},
"AddIncidentTask": {
"type": "boolean",
"description": "Add a task to Microsoft Sentinel Incident",
"title": "",
"enum": [
true,
false
],
"x-ms-visibility": "advanced"
},
"IncidentTaskInstructions": {
"type": "string",
"description": "Instructions to include in the Microsoft Sentinel Task",
"x-ms-visibility": "advanced"
},
"BaseModuleBody": {
"type": "object",
"description": "Body from STAT Base Module",
"title": "",
"x-ms-visibility": "important"
}
},
"default": {
"AddIncidentComments": true,
"Entities": ""
},
"required": [
"BaseModuleBody"
]
},
"required": true
}
],
"responses": {
"default": {
"description": "default",
"schema": {
"type": "object",
"description": "User Exposure Module Body",
"properties": {
}
}
}
}
}
},
"/api/modules/threatintel": {
"post": {
"summary": "Threat Intel Module",
Expand Down
35 changes: 2 additions & 33 deletions Deploy/deployui.json
Original file line number Diff line number Diff line change
Expand Up @@ -462,36 +462,6 @@
}
],
"visible": "[if(equals(steps('apiStep').api, 'custom'), true, false)]"
},
{
"name": "apiTextBlock5",
"type": "Microsoft.Common.TextBlock",
"visible": true,
"options": {
"text": "Microsoft Defender for Cloud Apps API uses a tenant specific endpoint which must be entered to use that module.",
"link": {
"label": "Learn more",
"uri": "https://learn.microsoft.com/defender-cloud-apps/api-introduction#api-url-structure"
}
}
},
{
"name": "mdcaApi",
"type": "Microsoft.Common.TextBox",
"label": "Microsoft Defender for Cloud Apps API",
"placeholder": "*.*.portal.cloudappsecurity.com",
"defaultValue": "",
"toolTip": "Microsoft Defender for Cloud Apps API Endpoint",
"constraints": {
"required": true,
"validations": [
{
"regex": "(^(?![hH][tT][tT][pP][sS]?:\/\/)).*",
"message": "Enter only the hostname, such as org.region.cloudappsecurity.com, do not include the https:// prefix."
}
]
},
"visible": true
}
]
},
Expand Down Expand Up @@ -546,7 +516,7 @@
"type": "Microsoft.Common.TextBox",
"label": "STAT Function ZIP Package",
"placeholder": "",
"defaultValue": "https://github.com/briandelmsft/STAT-Function/releases/download/v2.1.0/stat.zip",
"defaultValue": "https://github.com/briandelmsft/STAT-Function/releases/download/v2.2.0/stat.zip",
"toolTip": "Full path to the STAT Function ZIP deployment package",
"constraints": {
"required": true,
Expand Down Expand Up @@ -580,11 +550,10 @@
"STATConnectorName": "[coalesce(steps('namingStep').customNaming.statConnectorName, 'SentinelTriageAssistantv2')]",
"STATConnectorDisplayName": "[coalesce(steps('namingStep').customNaming.statConnectorDisplayName, 'STAT v2')]",
"storageAccountType": "Standard_LRS",
"FunctionPackage": "[coalesce(steps('additionalStep').advanced.functionPackage, 'https://github.com/briandelmsft/STAT-Function/releases/download/v2.1.0/stat.zip')]",
"FunctionPackage": "[coalesce(steps('additionalStep').advanced.functionPackage, 'https://github.com/briandelmsft/STAT-Function/releases/download/v2.2.0/stat.zip')]",
"MSGraphEndpoint": "[coalesce(steps('apiStep').customApi.graphApi,'graph.microsoft.com')]",
"M365Endpoint": "[coalesce(steps('apiStep').customApi.m365Api,'api.security.microsoft.com')]",
"MDEEndpoint": "[coalesce(steps('apiStep').customApi.mdeApi,'api.securitycenter.microsoft.com')]",
"MDCAEndpoint": "[steps('apiStep').mdcaApi]",
"LogAnalyticsEndpoint": "[coalesce(steps('apiStep').customApi.laApi,'api.loganalytics.io')]",
"AzureResourceManagerEndpoint": "[coalesce(steps('apiStep').customApi.armApi,'management.azure.com')]",
"ServicePrincipalClientId": "[coalesce(steps('identityStep').spId.clientId,steps('identityStep').userId.clientId, 'none')]",
Expand Down
23 changes: 5 additions & 18 deletions Deploy/statdeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,6 @@
"description": "Microsoft Defender for Endpoint API endpoint"
}
},
"MDCAEndpoint": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Organization Specific Microsoft Defender for Cloud Apps Endpoint"
}
},
"LogAnalyticsEndpoint": {
"type": "string",
"defaultValue": "api.loganalytics.io",
Expand Down Expand Up @@ -137,7 +130,10 @@
"sku": {
"name": "[parameters('storageAccountType')]"
},
"kind": "Storage"
"kind": "Storage",
"properties": {
"allowBlobPublicAccess": false
}
},
{
"type": "Microsoft.Web/serverfarms",
Expand Down Expand Up @@ -191,9 +187,6 @@
"MDEEndpoint": {
"value": "[parameters('MDEEndpoint')]"
},
"MDCAEndpoint": {
"value": "[parameters('MDCAEndpoint')]"
},
"LogAnalyticsEndpoint": {
"value": "[parameters('LogAnalyticsEndpoint')]"
},
Expand Down Expand Up @@ -267,9 +260,6 @@
"MDEEndpoint": {
"value": "[parameters('MDEEndpoint')]"
},
"MDCAEndpoint": {
"value": "[parameters('MDCAEndpoint')]"
},
"LogAnalyticsEndpoint": {
"value": "[parameters('LogAnalyticsEndpoint')]"
},
Expand Down Expand Up @@ -337,9 +327,6 @@
"MDEEndpoint": {
"value": "[parameters('MDEEndpoint')]"
},
"MDCAEndpoint": {
"value": "[parameters('MDCAEndpoint')]"
},
"LogAnalyticsEndpoint": {
"value": "[parameters('LogAnalyticsEndpoint')]"
},
Expand Down Expand Up @@ -379,4 +366,4 @@
],
"outputs": {
}
}
}
11 changes: 0 additions & 11 deletions Function/ServicePrincipalIdentity.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@
"description": "Microsoft Defender for Endpoint API endpoint"
}
},
"MDCAEndpoint": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Organization Specific Microsoft Defender for Cloud Apps Endpoint"
}
},
"LogAnalyticsEndpoint": {
"type": "string",
"defaultValue": "api.loganalytics.io",
Expand Down Expand Up @@ -162,10 +155,6 @@
"name": "MDE_ENDPOINT",
"value": "[parameters('MDEEndpoint')]"
},
{
"name": "MDCA_ENDPOINT",
"value": "[parameters('MDCAEndpoint')]"
},
{
"name": "AZURE_CLIENT_ID",
"value": "[parameters('ServicePrincipalClientId')]"
Expand Down
11 changes: 0 additions & 11 deletions Function/SystemIdentity.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@
"description": "Microsoft Defender for Endpoint API endpoint"
}
},
"MDCAEndpoint": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Organization Specific Microsoft Defender for Cloud Apps Endpoint"
}
},
"LogAnalyticsEndpoint": {
"type": "string",
"defaultValue": "api.loganalytics.io",
Expand Down Expand Up @@ -150,10 +143,6 @@
"name": "MDE_ENDPOINT",
"value": "[parameters('MDEEndpoint')]"
},
{
"name": "MDCA_ENDPOINT",
"value": "[parameters('MDCAEndpoint')]"
},
{
"name": "AZURE_TENANT_ID",
"value": "[parameters('AADTenantId')]"
Expand Down
11 changes: 0 additions & 11 deletions Function/UserAssignedIdentity.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@
"description": "Microsoft Defender for Endpoint API endpoint"
}
},
"MDCAEndpoint": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Organization Specific Microsoft Defender for Cloud Apps Endpoint"
}
},
"LogAnalyticsEndpoint": {
"type": "string",
"defaultValue": "api.loganalytics.io",
Expand Down Expand Up @@ -162,10 +155,6 @@
"name": "MDE_ENDPOINT",
"value": "[parameters('MDEEndpoint')]"
},
{
"name": "MDCA_ENDPOINT",
"value": "[parameters('MDCAEndpoint')]"
},
{
"name": "AZURE_CLIENT_ID",
"value": "[parameters('ServicePrincipalClientId')]"
Expand Down
4 changes: 2 additions & 2 deletions Modules/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"RelatedAlerts": "0.3.0",
"RunPlaybook": "0.0.1",
"ScoringModule": "0.1.0",
"STATConnector": "2.1.0",
"STATFunction": "2.1.0",
"STATConnector": "2.2.0",
"STATFunction": "2.2.0",
"TIModule": "0.2.0",
"UEBAModule": "0.1.1",
"WatchlistModule": "0.1.0"
Expand Down
Loading