Skip to content

Commit 1af9bf4

Browse files
committed
Merge branch 'master' into feature-for-m365
2 parents 5ad7149 + f6a2af9 commit 1af9bf4

File tree

482 files changed

+31860
-6893
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

482 files changed

+31860
-6893
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ bld/
2626
[Oo]bj/
2727
[Ll]og/
2828

29+
# Execution results
30+
[Ll]ogs/
31+
2932
# Visual Studio 2015/2017 cache/options directory
3033
.vs/
3134
# Uncomment if you have tasks that create the project's static files in wwwroot
@@ -336,4 +339,4 @@ Hunting Queries/DeployedQueries.json
336339

337340
#Mac OSx
338341
.DS_Store
339-
!*Microsoft.Azure.Sentinel.KustoServices.*.nupkg
342+
!*Microsoft.Azure.Sentinel.KustoServices.*.nupkg

.script/dataConnectorValidator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export async function IsValidDataConnectorSchema(filePath: string): Promise<Exit
5353
}
5454

5555
function isPotentialConnectorJson(jsonFile: any) {
56-
if(typeof jsonFile.id != "undefined" && typeof jsonFile.connectivityCriterias != "undefined")
56+
if(typeof jsonFile.id != "undefined" && typeof jsonFile.connectivityCriterias != "undefined" && jsonFile.dataTypes.length > 0)
5757
{
5858
return true;
5959
}

.script/package-automation/validateFieldTypes.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ try {
7171
}
7272

7373
# identify in active resource parameters
74-
$resourceContent = $mainTemplateFileContent.resources | Where-Object { $_.type -eq 'Microsoft.OperationalInsights/workspaces/providers/contentTemplates' }
74+
$resourceContent = $mainTemplateFileContent.resources | Where-Object { $_.type -eq 'Microsoft.OperationalInsights/workspaces/providers/contentTemplates' -and $_.properties.contentKind -eq "ResourcesDataConnector" }
7575

7676
if ($null -ne $resourceContent -and $resourceContent.Count -gt 0) {
7777
$resourceLevelInvalidFields = @();
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"Name": "CiscoSecureEndpointAuditLogsV2_CL",
3+
"Properties": [
4+
{
5+
"name": "Event",
6+
"type": "string"
7+
},
8+
{
9+
"name": "AuditLogType",
10+
"type": "string"
11+
},
12+
{
13+
"name": "AuditLogId",
14+
"type": "string"
15+
},
16+
{
17+
"name": "AuditLogUser",
18+
"type": "string"
19+
},
20+
{
21+
"name": "TimeGenerated",
22+
"type": "datetime"
23+
},
24+
{
25+
"name": "CreatedAt",
26+
"type": "datetime"
27+
},
28+
{
29+
"name": "Item",
30+
"type": "string"
31+
},
32+
{
33+
"name": "Message",
34+
"type": "string"
35+
},
36+
{
37+
"name": "OldAttributes",
38+
"type": "string"
39+
},
40+
{
41+
"name": "NewAttributes",
42+
"type": "string"
43+
}
44+
]
45+
}

0 commit comments

Comments
 (0)