Azure Security Center Solution
This page shows how to write Terraform and Azure Resource Manager for Security Center Solution and write them securely.
azurerm_iot_security_solution (Terraform)
The Solution in Security Center can be configured in Terraform with the resource name azurerm_iot_security_solution. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
display_namerequired - string -
enabledoptional - bool -
events_to_exportoptional - set of string -
idoptional computed - string -
iothub_idsrequired - set of string -
locationrequired - string -
log_analytics_workspace_idoptional - string -
log_unmasked_ips_enabledoptional - bool -
namerequired - string -
query_for_resourcesoptional computed - string -
query_subscription_idsoptional computed - set of string -
resource_group_namerequired - string -
tagsoptional - map from string to string -
recommendations_enabledlist block-
acr_authenticationoptional - bool -
agent_send_unutilized_msgoptional - bool -
baselineoptional - bool -
edge_hub_mem_optimizeoptional - bool -
edge_logging_optionoptional - bool -
inconsistent_module_settingsoptional - bool -
install_agentoptional - bool -
ip_filter_deny_alloptional - bool -
ip_filter_permissive_ruleoptional - bool -
open_portsoptional - bool -
permissive_firewall_policyoptional - bool -
permissive_input_firewall_rulesoptional - bool -
permissive_output_firewall_rulesoptional - bool -
privileged_docker_optionsoptional - bool -
shared_credentialsoptional - bool -
vulnerable_tls_cipher_suiteoptional - bool
-
-
timeoutssingle block
Explanation in Terraform Registry
Manages an iot security solution.
Tips: Best Practices for The Other Azure Security Center Resources
In addition to the azurerm_security_center_contact, Azure Security Center has the other resources that should be configured for security reasons. Please check some examples of those resources and precautions.
azurerm_security_center_contact
Ensure to enable alert notifications
It is better to configure at least one valid contact for the security center. Microsoft will inform you directly in the event of a security incident using emails.
azurerm_security_center_subscription_pricing
Ensure to enable alert notifications
It is better to enable Azure Defender, which is a cloud workload protection service for App Services. In addition, It is also able to analyze non-Azure resources, utilizing Azure Arc, including those on-premises and in both AWS and GCP.
Microsoft.Security/IoTSecuritySolutions (Azure Resource Manager)
The IoTSecuritySolutions in Microsoft.Security can be configured in Azure Resource Manager with the resource name Microsoft.Security/IoTSecuritySolutions. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
"type": "Microsoft.Security/IoTSecuritySolutions",
"name": "default",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Security/iotSecuritySolutions/status",
"type": "Microsoft.Security/IoTSecuritySolutions",
"name": "default",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Security/iotSecuritySolutions/status",
"type": "Microsoft.Security/IoTSecuritySolutions",
"name": "default",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Security/iotSecuritySolutions/status",
"type": "Microsoft.Security/IoTSecuritySolutions",
"name": "default",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Security/iotSecuritySolutions/status",
"type": "Microsoft.Security/IoTSecuritySolutions",
"name": "default",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Security/iotSecuritySolutions/status",
"type": "Microsoft.Security/IoTSecuritySolutions",
"name": "default",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Security/iotSecuritySolutions/status",
"type": "Microsoft.Security/IoTSecuritySolutions",
"name": "default",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Security/iotSecuritySolutions/status",
"type": "Microsoft.Security/IoTSecuritySolutions",
"name": "default",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Security/iotSecuritySolutions/status",
"type": "Microsoft.Security/IoTSecuritySolutions",
"name": "default",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Security/iotSecuritySolutions/status",
"type": "Microsoft.Security/IoTSecuritySolutions",
"tags": {},
"properties": {
"workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
"status": "Enabled",
"export": [],