Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,17 @@ module windowsVmDataCollectionRules 'br/public:avm/res/insights/data-collection-
name: 'perfCounterDataSource60'
}
]
windowsEventLogs: [
{
name: 'SecurityAuditEvents'
streams: [
'Microsoft-Event'
]
xPathQueries: [
'Security!*[System[(band(Keywords,13510798882111488)) and (EventID != 4624)]]'
]
Comment thread
Prachig-Microsoft marked this conversation as resolved.
}
]
}
destinations: {
logAnalytics: [
Expand All @@ -604,6 +615,16 @@ module windowsVmDataCollectionRules 'br/public:avm/res/insights/data-collection-
'la-${dataCollectionRulesResourceName}'
]
}
{
streams: [
'Microsoft-Event'
]
destinations: [
'la-${dataCollectionRulesResourceName}'
]
transformKql: 'source'
outputStream: 'Microsoft-Event'
}
Comment thread
Prachig-Microsoft marked this conversation as resolved.
]
}
}
Expand Down
35 changes: 28 additions & 7 deletions infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"_generator": {
"name": "bicep",
"version": "0.42.1.51946",
"templateHash": "1333265003476738511"
"templateHash": "16719390237009495333"
},
"name": "Modernize Your Code Solution Accelerator",
"description": "CSA CTO Gold Standard Solution Accelerator for Modernize Your Code. \r\n"
Expand Down Expand Up @@ -13101,11 +13101,11 @@
},
"dependsOn": [
"applicationInsights",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').oms)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').ods)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').agentSvc)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').oms)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').monitor)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
"dataCollectionEndpoint",
"logAnalyticsWorkspace",
"virtualNetwork"
Expand Down Expand Up @@ -15351,6 +15351,17 @@
],
"name": "perfCounterDataSource60"
}
],
"windowsEventLogs": [
{
"name": "SecurityAuditEvents",
"streams": [
"Microsoft-Event"
],
"xPathQueries": [
"Security!*[System[(band(Keywords,13510798882111488)) and (EventID != 4624)]]"
]
}
]
},
"destinations": {
Expand All @@ -15369,6 +15380,16 @@
"destinations": [
"[format('la-{0}', variables('dataCollectionRulesResourceName'))]"
]
},
{
"streams": [
"Microsoft-Event"
],
"destinations": [
"[format('la-{0}', variables('dataCollectionRulesResourceName'))]"
],
"transformKql": "source",
"outputStream": "Microsoft-Event"
}
]
}
Expand Down Expand Up @@ -32017,9 +32038,9 @@
},
"dependsOn": [
"aiServices",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
"virtualNetwork"
]
},
Expand Down Expand Up @@ -32076,7 +32097,7 @@
"_generator": {
"name": "bicep",
"version": "0.42.1.51946",
"templateHash": "3598447245043879538"
"templateHash": "15460841004653840446"
}
},
"definitions": {
Expand Down Expand Up @@ -32314,7 +32335,7 @@
"value": "TLS1_2"
},
"requireInfrastructureEncryption": {
"value": false
"value": true
},
"keyType": {
"value": "Service"
Expand Down Expand Up @@ -40484,8 +40505,8 @@
},
"dependsOn": [
"appIdentity",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]",
"logAnalyticsWorkspace",
"virtualNetwork"
]
Expand Down
14 changes: 12 additions & 2 deletions infra/main_custom.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -497,10 +497,10 @@ module windowsVmDataCollectionRules 'br/public:avm/res/insights/data-collection-
{
name: 'SecurityAuditEvents'
streams: [
'Microsoft-WindowsEvent'
'Microsoft-Event'
]
xPathQueries: [
'Security!*[System[(EventID=4624 or EventID=4625)]]'
'Security!*[System[(band(Keywords,13510798882111488)) and (EventID != 4624)]]'
Comment thread
Prachig-Microsoft marked this conversation as resolved.
]
}
]
Expand All @@ -524,6 +524,16 @@ module windowsVmDataCollectionRules 'br/public:avm/res/insights/data-collection-
transformKql: 'source'
outputStream: 'Microsoft-Perf'
}
{
streams: [
'Microsoft-Event'
]
destinations: [
'la-${dataCollectionRulesResourceName}'
]
transformKql: 'source'
outputStream: 'Microsoft-Event'
}
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/storageAccount.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module storageAccount 'br/public:avm/res/storage/storage-account:0.32.0' = {
allowSharedKeyAccess: false
allowCrossTenantReplication: false
minimumTlsVersion: 'TLS1_2'
requireInfrastructureEncryption: false
requireInfrastructureEncryption: true
keyType: 'Service'
enableHierarchicalNamespace: false
enableNfsV3: false
Expand Down
Loading