-
Notifications
You must be signed in to change notification settings - Fork 190
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 #760 from v-amolpatil/add-prop-in-templateShouldNo…
…tContainBlankstest Added property requiredDataConnectors in Template-Should-Not-Contain-Blanks Test to skip if []
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
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
32 changes: 32 additions & 0 deletions
32
...mplate-Should-Not-Contain-Blanks/Pass/requiredDataConnectors-empty-array-should-pass.json
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"resources": [ | ||
{ | ||
"type": "Microsoft.OperationalInsights/workspaces/providers/contentTemplates", | ||
"name": "TestAnalyticRule", | ||
"properties": { | ||
"mainTemplate": { | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.2", | ||
"parameters": {}, | ||
"variables": {}, | ||
"resources": [ | ||
{ | ||
"type": "Microsoft.SecurityInsights/AlertRuleTemplates", | ||
"name": "TestAnalyticRuleName", | ||
"apiVersion": "2022-04-01-preview", | ||
"kind": "Scheduled", | ||
"properties": { | ||
"displayName": "Test Rule", | ||
"enabled": false, | ||
"query": "Test Query", | ||
"requiredDataConnectors": [] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"outputs": {} | ||
} |