Skip to content

Commit

Permalink
Merge branch 'main' of github.com:raporpe/defender-for-vm-analyzer in…
Browse files Browse the repository at this point in the history
…to main
  • Loading branch information
raporpe committed Feb 7, 2023
2 parents d0d5072 + af08d1f commit 111b527
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions infra.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.14.6.61914",
"templateHash": "9397408373684329793"
"templateHash": "12680471808393890893"
}
},
"parameters": {
Expand All @@ -15,6 +15,15 @@
"metadata": {
"description": "Location for all resources."
}
},
"executionIntervalMinutes": {
"type": "int",
"defaultValue": 5,
"maxValue": 60,
"minValue": 1,
"metadata": {
"description": "Exection interval in minutes. Every how many minutes you want the function to evaluate the running VMs. If there are many VMs in the subscription, it might be possible the Azure Management API limit is reached; consider a high minute interval for these cases."
}
}
},
"variables": {
Expand Down Expand Up @@ -80,6 +89,9 @@
},
"baseName": {
"value": "[variables('baseName')]"
},
"executionIntervalMinutes": {
"value": "[parameters('executionIntervalMinutes')]"
}
},
"template": {
Expand All @@ -89,7 +101,7 @@
"_generator": {
"name": "bicep",
"version": "0.14.6.61914",
"templateHash": "7635096170406393622"
"templateHash": "8460075874937256349"
}
},
"parameters": {
Expand All @@ -101,6 +113,9 @@
},
"baseName": {
"type": "string"
},
"executionIntervalMinutes": {
"type": "int"
}
},
"variables": {
Expand Down Expand Up @@ -214,7 +229,8 @@
"FUNCTIONS_EXTENSION_VERSION": "~4",
"AZURE_CLIENT_ID": "[reference(resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName')), '2022-01-31-preview').clientId]",
"DEBUG": "false",
"DEBUG_ANONYMOUS_IDENTITY": "[uniqueString(parameters('rg').resourceId)]"
"DEBUG_ANONYMOUS_IDENTITY": "[uniqueString(parameters('rg').resourceId)]",
"EXECUTION_INTERVAL_MINUTES": "[string(parameters('executionIntervalMinutes'))]"
},
"dependsOn": [
"[resourceId('Microsoft.Insights/components', variables('appInsightsName'))]",
Expand Down

0 comments on commit 111b527

Please sign in to comment.