-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11299 from frendsick/fix/asim-failed-to-validate-…
…conflicts fix: Deploy ASIM parsers without redeploying the Log Analytics workspace
- Loading branch information
Showing
362 changed files
with
4,865 additions
and
8,079 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,35 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2019-08-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"Workspace": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "The Microsoft Sentinel workspace into which the function will be deployed. Has to be in the selected Resource Group." | ||
} | ||
}, | ||
"WorkspaceRegion": { | ||
"type": "string", | ||
"defaultValue": "[resourceGroup().location]", | ||
"metadata": { | ||
"description": "The region of the selected workspace. The default value will use the Region selection above." | ||
} | ||
} | ||
"$schema": "https://schema.management.azure.com/schemas/2019-08-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"Workspace": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "The Microsoft Sentinel workspace into which the function will be deployed. Has to be in the selected Resource Group." | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"type": "Microsoft.OperationalInsights/workspaces", | ||
"apiVersion": "2017-03-15-preview", | ||
"name": "[parameters('Workspace')]", | ||
"location": "[parameters('WorkspaceRegion')]", | ||
"resources": [ | ||
{ | ||
"type": "savedSearches", | ||
"apiVersion": "2020-08-01", | ||
"name": "functionAlias", | ||
"dependsOn": [ | ||
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('Workspace'))]" | ||
], | ||
"properties": { | ||
"etag": "*", | ||
"displayName": "displayName", | ||
"category": "ASIM", | ||
"FunctionAlias": "functionAlias", | ||
"query": "parserQuery", | ||
"version": 1 | ||
} | ||
} | ||
] | ||
"WorkspaceRegion": { | ||
"type": "string", | ||
"defaultValue": "[resourceGroup().location]", | ||
"metadata": { | ||
"description": "The region of the selected workspace. The default value will use the Region selection above." | ||
} | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"type": "Microsoft.OperationalInsights/workspaces/savedSearches", | ||
"apiVersion": "2020-08-01", | ||
"name": "resourceName", | ||
"location": "[parameters('WorkspaceRegion')]", | ||
"properties": { | ||
"etag": "*", | ||
"displayName": "displayName", | ||
"category": "ASIM", | ||
"FunctionAlias": "functionAlias", | ||
"query": "parserQuery", | ||
"version": 1 | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.