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.

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

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.

risk-label

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.

risk-label

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.

Review your Azure Security Center settings

In addition to the above, there are other security points you should be aware of making sure that your .tf files are protected in Shisho Cloud.

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

params.policyDefinition.Deploy-IotHub-IoTSecuritySolutions.json#L51
                        "type": "Microsoft.Security/IoTSecuritySolutions",
                        "name": "default",
                        "existenceCondition": {
                            "allOf": [
                                {
                                    "field": "Microsoft.Security/iotSecuritySolutions/status",
params.policyDefinition.Deploy-IotHub-IoTSecuritySolutions.json#L51
                        "type": "Microsoft.Security/IoTSecuritySolutions",
                        "name": "default",
                        "existenceCondition": {
                            "allOf": [
                                {
                                    "field": "Microsoft.Security/iotSecuritySolutions/status",
params.policyDefinition.Deploy-IotHub-IoTSecuritySolutions.json#L51
                        "type": "Microsoft.Security/IoTSecuritySolutions",
                        "name": "default",
                        "existenceCondition": {
                            "allOf": [
                                {
                                    "field": "Microsoft.Security/iotSecuritySolutions/status",
params.policyDefinition.Deploy-IotHub-IoTSecuritySolutions.json#L51
                        "type": "Microsoft.Security/IoTSecuritySolutions",
                        "name": "default",
                        "existenceCondition": {
                            "allOf": [
                                {
                                    "field": "Microsoft.Security/iotSecuritySolutions/status",
params.policyDefinition.Deploy-IotHub-IoTSecuritySolutions.json#L51
                        "type": "Microsoft.Security/IoTSecuritySolutions",
                        "name": "default",
                        "existenceCondition": {
                            "allOf": [
                                {
                                    "field": "Microsoft.Security/iotSecuritySolutions/status",
params.policyDefinition.Deploy-IotHub-IoTSecuritySolutions.json#L51
                        "type": "Microsoft.Security/IoTSecuritySolutions",
                        "name": "default",
                        "existenceCondition": {
                            "allOf": [
                                {
                                    "field": "Microsoft.Security/iotSecuritySolutions/status",
params.policyDefinition.Deploy-IotHub-IoTSecuritySolutions.json#L51
                        "type": "Microsoft.Security/IoTSecuritySolutions",
                        "name": "default",
                        "existenceCondition": {
                            "allOf": [
                                {
                                    "field": "Microsoft.Security/iotSecuritySolutions/status",
params.policyDefinition.Deploy-IotHub-IoTSecuritySolutions.json#L51
                        "type": "Microsoft.Security/IoTSecuritySolutions",
                        "name": "default",
                        "existenceCondition": {
                            "allOf": [
                                {
                                    "field": "Microsoft.Security/iotSecuritySolutions/status",
params.policyDefinition.Deploy-IotHub-IoTSecuritySolutions.json#L51
                        "type": "Microsoft.Security/IoTSecuritySolutions",
                        "name": "default",
                        "existenceCondition": {
                            "allOf": [
                                {
                                    "field": "Microsoft.Security/iotSecuritySolutions/status",
GetIoTSecuritySolutionsList_example.json#L13
                        "type": "Microsoft.Security/IoTSecuritySolutions",
                        "tags": {},
                        "properties": {
                            "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
                            "status": "Enabled",
                            "export": [],

Frequently asked questions

What is Azure Security Center Solution?

Azure Security Center Solution is a resource for Security Center of Microsoft Azure. Settings can be wrote in Terraform.