generated from nhs-england-tools/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23e761d
commit 25b9b03
Showing
18 changed files
with
120 additions
and
16 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
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
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
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 @@ | ||
locals { | ||
#APPSERVICEPLAN | ||
monitor_diagnostic_setting_appserviceplan_metrics = ["AllMetrics"] | ||
|
||
#FUNCTIONAPP | ||
monitor_diagnostic_setting_function_app_enabled_logs = ["AppServiceAuthenticationLogs", "FunctionAppLogs"] | ||
monitor_diagnostic_setting_function_app_metrics = ["AllMetrics"] | ||
|
||
# KEYVAULT | ||
monitor_diagnostic_setting_keyvault_enabled_logs = ["AuditEvent", "AzurePolicyEvaluationDetails"] | ||
monitor_diagnostic_setting_keyvault_metrics = ["AllMetrics"] | ||
|
||
# LOG ANALYTICS WORKSPACE | ||
monitor_diagnostic_setting_log_analytics_workspace_enabled_logs = ["SummaryLogs", "Audit"] | ||
monitor_diagnostic_setting_log_analytics_workspace_metrics = ["AllMetrics"] | ||
|
||
#SQL SERVER AND DATABASE | ||
monitor_diagnostic_setting_database_enabled_logs = ["SQLSecurityAuditEvents", "SQLInsights", "QueryStoreWaitStatistics", "Errors", "DatabaseWaitStatistics", "Timeouts"] | ||
monitor_diagnostic_setting_database_metrics = ["AllMetrics"] | ||
monitor_diagnostic_setting_sql_server_enabled_logs = ["SQLSecurityAuditEvents"] | ||
monitor_diagnostic_setting_sql_server_metrics = ["AllMetrics"] | ||
|
||
#STORAGE ACCOUNT | ||
monitor_diagnostic_setting_storage_account_enabled_logs = ["StorageWrite", "StorageRead", "StorageDelete"] | ||
|
||
#SUBNET | ||
monitor_diagnostic_setting_network_security_group_enabled_logs = ["NetworkSecurityGroupEvent", "NetworkSecurityGroupRuleCounter"] | ||
|
||
#VNET | ||
monitor_diagnostic_setting_vnet_enabled_logs = ["VMProtectionAlerts"] | ||
monitor_diagnostic_setting_vnet_metrics = ["AllMetrics"] | ||
} |
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
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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
locals { | ||
#APPSERVICEPLAN | ||
monitor_diagnostic_setting_appserviceplan_metrics = ["AllMetrics"] | ||
|
||
#FUNCTIONAPP | ||
monitor_diagnostic_setting_function_app_enabled_logs = ["AppServiceAuthenticationLogs", "FunctionAppLogs"] | ||
monitor_diagnostic_setting_function_app_metrics = ["AllMetrics"] | ||
|
||
# KEYVAULT | ||
monitor_diagnostic_setting_keyvault_enabled_logs = ["AuditEvent", "AzurePolicyEvaluationDetails"] | ||
monitor_diagnostic_setting_keyvault_metrics = ["AllMetrics"] | ||
|
||
# LOG ANALYTICS WORKSPACE | ||
monitor_diagnostic_setting_log_analytics_workspace_enabled_logs = ["SummaryLogs", "Audit"] | ||
monitor_diagnostic_setting_log_analytics_workspace_metrics = ["AllMetrics"] | ||
|
||
#SQL SERVER AND DATABASE | ||
monitor_diagnostic_setting_database_enabled_logs = ["SQLSecurityAuditEvents", "SQLInsights", "QueryStoreWaitStatistics", "Errors", "DatabaseWaitStatistics", "Timeouts"] | ||
monitor_diagnostic_setting_database_metrics = ["AllMetrics"] | ||
monitor_diagnostic_setting_sql_server_enabled_logs = ["SQLSecurityAuditEvents"] | ||
monitor_diagnostic_setting_sql_server_metrics = ["AllMetrics"] | ||
|
||
#STORAGE ACCOUNT | ||
monitor_diagnostic_setting_storage_account_enabled_logs = ["StorageWrite", "StorageRead", "StorageDelete"] | ||
|
||
#SUBNET | ||
monitor_diagnostic_setting_network_security_group_enabled_logs = ["NetworkSecurityGroupEvent", "NetworkSecurityGroupRuleCounter"] | ||
|
||
#VNET | ||
monitor_diagnostic_setting_vnet_enabled_logs = ["VMProtectionAlerts"] | ||
monitor_diagnostic_setting_vnet_metrics = ["AllMetrics"] | ||
} |
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
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 |
---|---|---|
|
@@ -10,4 +10,5 @@ locals { | |
"Storage Blob Data Owner", | ||
"Storage Queue Data Contributor" | ||
] | ||
|
||
} |
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