1. Packages
  2. Azure Native v2
  3. API Docs
  4. security
  5. SecurityStandard
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.security.SecurityStandard

Explore with Pulumi AI

Security Standard on a resource Azure REST API version: 2024-08-01.

Example Usage

Create or update security standard over management group scope

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var securityStandard = new AzureNative.Security.SecurityStandard("securityStandard", new()
    {
        Assessments = new[]
        {
            new AzureNative.Security.Inputs.PartialAssessmentPropertiesArgs
            {
                AssessmentKey = "1195afff-c881-495e-9bc5-1486211ae03f",
            },
            new AzureNative.Security.Inputs.PartialAssessmentPropertiesArgs
            {
                AssessmentKey = "dbd0cb49-b563-45e7-9724-889e799fa648",
            },
        },
        CloudProviders = new[]
        {
            AzureNative.Security.StandardSupportedCloud.GCP,
        },
        Description = "description of Azure Test Security Standard 1",
        DisplayName = "Azure Test Security Standard 1",
        PolicySetDefinitionId = "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
        Scope = "providers/Microsoft.Management/managementGroups/contoso",
        StandardId = "8bb8be0a-6010-4789-812f-e4d661c4ed0e",
    });

});
Copy
package main

import (
	security "github.com/pulumi/pulumi-azure-native-sdk/security/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := security.NewSecurityStandard(ctx, "securityStandard", &security.SecurityStandardArgs{
			Assessments: security.PartialAssessmentPropertiesArray{
				&security.PartialAssessmentPropertiesArgs{
					AssessmentKey: pulumi.String("1195afff-c881-495e-9bc5-1486211ae03f"),
				},
				&security.PartialAssessmentPropertiesArgs{
					AssessmentKey: pulumi.String("dbd0cb49-b563-45e7-9724-889e799fa648"),
				},
			},
			CloudProviders: pulumi.StringArray{
				pulumi.String(security.StandardSupportedCloudGCP),
			},
			Description:           pulumi.String("description of Azure Test Security Standard 1"),
			DisplayName:           pulumi.String("Azure Test Security Standard 1"),
			PolicySetDefinitionId: pulumi.String("/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions"),
			Scope:                 pulumi.String("providers/Microsoft.Management/managementGroups/contoso"),
			StandardId:            pulumi.String("8bb8be0a-6010-4789-812f-e4d661c4ed0e"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.security.SecurityStandard;
import com.pulumi.azurenative.security.SecurityStandardArgs;
import com.pulumi.azurenative.security.inputs.PartialAssessmentPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var securityStandard = new SecurityStandard("securityStandard", SecurityStandardArgs.builder()
            .assessments(            
                PartialAssessmentPropertiesArgs.builder()
                    .assessmentKey("1195afff-c881-495e-9bc5-1486211ae03f")
                    .build(),
                PartialAssessmentPropertiesArgs.builder()
                    .assessmentKey("dbd0cb49-b563-45e7-9724-889e799fa648")
                    .build())
            .cloudProviders("GCP")
            .description("description of Azure Test Security Standard 1")
            .displayName("Azure Test Security Standard 1")
            .policySetDefinitionId("/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions")
            .scope("providers/Microsoft.Management/managementGroups/contoso")
            .standardId("8bb8be0a-6010-4789-812f-e4d661c4ed0e")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const securityStandard = new azure_native.security.SecurityStandard("securityStandard", {
    assessments: [
        {
            assessmentKey: "1195afff-c881-495e-9bc5-1486211ae03f",
        },
        {
            assessmentKey: "dbd0cb49-b563-45e7-9724-889e799fa648",
        },
    ],
    cloudProviders: [azure_native.security.StandardSupportedCloud.GCP],
    description: "description of Azure Test Security Standard 1",
    displayName: "Azure Test Security Standard 1",
    policySetDefinitionId: "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
    scope: "providers/Microsoft.Management/managementGroups/contoso",
    standardId: "8bb8be0a-6010-4789-812f-e4d661c4ed0e",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

security_standard = azure_native.security.SecurityStandard("securityStandard",
    assessments=[
        {
            "assessment_key": "1195afff-c881-495e-9bc5-1486211ae03f",
        },
        {
            "assessment_key": "dbd0cb49-b563-45e7-9724-889e799fa648",
        },
    ],
    cloud_providers=[azure_native.security.StandardSupportedCloud.GCP],
    description="description of Azure Test Security Standard 1",
    display_name="Azure Test Security Standard 1",
    policy_set_definition_id="/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
    scope="providers/Microsoft.Management/managementGroups/contoso",
    standard_id="8bb8be0a-6010-4789-812f-e4d661c4ed0e")
Copy
resources:
  securityStandard:
    type: azure-native:security:SecurityStandard
    properties:
      assessments:
        - assessmentKey: 1195afff-c881-495e-9bc5-1486211ae03f
        - assessmentKey: dbd0cb49-b563-45e7-9724-889e799fa648
      cloudProviders:
        - GCP
      description: description of Azure Test Security Standard 1
      displayName: Azure Test Security Standard 1
      policySetDefinitionId: /subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions
      scope: providers/Microsoft.Management/managementGroups/contoso
      standardId: 8bb8be0a-6010-4789-812f-e4d661c4ed0e
Copy

Create or update security standard over security connector scope

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var securityStandard = new AzureNative.Security.SecurityStandard("securityStandard", new()
    {
        Assessments = new[]
        {
            new AzureNative.Security.Inputs.PartialAssessmentPropertiesArgs
            {
                AssessmentKey = "1195afff-c881-495e-9bc5-1486211ae03f",
            },
            new AzureNative.Security.Inputs.PartialAssessmentPropertiesArgs
            {
                AssessmentKey = "dbd0cb49-b563-45e7-9724-889e799fa648",
            },
        },
        CloudProviders = new[]
        {
            AzureNative.Security.StandardSupportedCloud.GCP,
        },
        Description = "description of Azure Test Security Standard 1",
        DisplayName = "Azure Test Security Standard 1",
        Scope = "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
        StandardId = "8bb8be0a-6010-4789-812f-e4d661c4ed0e",
    });

});
Copy
package main

import (
	security "github.com/pulumi/pulumi-azure-native-sdk/security/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := security.NewSecurityStandard(ctx, "securityStandard", &security.SecurityStandardArgs{
			Assessments: security.PartialAssessmentPropertiesArray{
				&security.PartialAssessmentPropertiesArgs{
					AssessmentKey: pulumi.String("1195afff-c881-495e-9bc5-1486211ae03f"),
				},
				&security.PartialAssessmentPropertiesArgs{
					AssessmentKey: pulumi.String("dbd0cb49-b563-45e7-9724-889e799fa648"),
				},
			},
			CloudProviders: pulumi.StringArray{
				pulumi.String(security.StandardSupportedCloudGCP),
			},
			Description: pulumi.String("description of Azure Test Security Standard 1"),
			DisplayName: pulumi.String("Azure Test Security Standard 1"),
			Scope:       pulumi.String("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector"),
			StandardId:  pulumi.String("8bb8be0a-6010-4789-812f-e4d661c4ed0e"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.security.SecurityStandard;
import com.pulumi.azurenative.security.SecurityStandardArgs;
import com.pulumi.azurenative.security.inputs.PartialAssessmentPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var securityStandard = new SecurityStandard("securityStandard", SecurityStandardArgs.builder()
            .assessments(            
                PartialAssessmentPropertiesArgs.builder()
                    .assessmentKey("1195afff-c881-495e-9bc5-1486211ae03f")
                    .build(),
                PartialAssessmentPropertiesArgs.builder()
                    .assessmentKey("dbd0cb49-b563-45e7-9724-889e799fa648")
                    .build())
            .cloudProviders("GCP")
            .description("description of Azure Test Security Standard 1")
            .displayName("Azure Test Security Standard 1")
            .scope("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector")
            .standardId("8bb8be0a-6010-4789-812f-e4d661c4ed0e")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const securityStandard = new azure_native.security.SecurityStandard("securityStandard", {
    assessments: [
        {
            assessmentKey: "1195afff-c881-495e-9bc5-1486211ae03f",
        },
        {
            assessmentKey: "dbd0cb49-b563-45e7-9724-889e799fa648",
        },
    ],
    cloudProviders: [azure_native.security.StandardSupportedCloud.GCP],
    description: "description of Azure Test Security Standard 1",
    displayName: "Azure Test Security Standard 1",
    scope: "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
    standardId: "8bb8be0a-6010-4789-812f-e4d661c4ed0e",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

security_standard = azure_native.security.SecurityStandard("securityStandard",
    assessments=[
        {
            "assessment_key": "1195afff-c881-495e-9bc5-1486211ae03f",
        },
        {
            "assessment_key": "dbd0cb49-b563-45e7-9724-889e799fa648",
        },
    ],
    cloud_providers=[azure_native.security.StandardSupportedCloud.GCP],
    description="description of Azure Test Security Standard 1",
    display_name="Azure Test Security Standard 1",
    scope="subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
    standard_id="8bb8be0a-6010-4789-812f-e4d661c4ed0e")
Copy
resources:
  securityStandard:
    type: azure-native:security:SecurityStandard
    properties:
      assessments:
        - assessmentKey: 1195afff-c881-495e-9bc5-1486211ae03f
        - assessmentKey: dbd0cb49-b563-45e7-9724-889e799fa648
      cloudProviders:
        - GCP
      description: description of Azure Test Security Standard 1
      displayName: Azure Test Security Standard 1
      scope: subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector
      standardId: 8bb8be0a-6010-4789-812f-e4d661c4ed0e
Copy

Create or update security standard over subscription scope

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var securityStandard = new AzureNative.Security.SecurityStandard("securityStandard", new()
    {
        Assessments = new[]
        {
            new AzureNative.Security.Inputs.PartialAssessmentPropertiesArgs
            {
                AssessmentKey = "1195afff-c881-495e-9bc5-1486211ae03f",
            },
            new AzureNative.Security.Inputs.PartialAssessmentPropertiesArgs
            {
                AssessmentKey = "dbd0cb49-b563-45e7-9724-889e799fa648",
            },
        },
        CloudProviders = new[]
        {
            AzureNative.Security.StandardSupportedCloud.GCP,
        },
        Description = "description of Azure Test Security Standard 1",
        DisplayName = "Azure Test Security Standard 1",
        PolicySetDefinitionId = "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
        Scope = "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
        StandardId = "8bb8be0a-6010-4789-812f-e4d661c4ed0e",
    });

});
Copy
package main

import (
	security "github.com/pulumi/pulumi-azure-native-sdk/security/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := security.NewSecurityStandard(ctx, "securityStandard", &security.SecurityStandardArgs{
			Assessments: security.PartialAssessmentPropertiesArray{
				&security.PartialAssessmentPropertiesArgs{
					AssessmentKey: pulumi.String("1195afff-c881-495e-9bc5-1486211ae03f"),
				},
				&security.PartialAssessmentPropertiesArgs{
					AssessmentKey: pulumi.String("dbd0cb49-b563-45e7-9724-889e799fa648"),
				},
			},
			CloudProviders: pulumi.StringArray{
				pulumi.String(security.StandardSupportedCloudGCP),
			},
			Description:           pulumi.String("description of Azure Test Security Standard 1"),
			DisplayName:           pulumi.String("Azure Test Security Standard 1"),
			PolicySetDefinitionId: pulumi.String("/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions"),
			Scope:                 pulumi.String("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23"),
			StandardId:            pulumi.String("8bb8be0a-6010-4789-812f-e4d661c4ed0e"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.security.SecurityStandard;
import com.pulumi.azurenative.security.SecurityStandardArgs;
import com.pulumi.azurenative.security.inputs.PartialAssessmentPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var securityStandard = new SecurityStandard("securityStandard", SecurityStandardArgs.builder()
            .assessments(            
                PartialAssessmentPropertiesArgs.builder()
                    .assessmentKey("1195afff-c881-495e-9bc5-1486211ae03f")
                    .build(),
                PartialAssessmentPropertiesArgs.builder()
                    .assessmentKey("dbd0cb49-b563-45e7-9724-889e799fa648")
                    .build())
            .cloudProviders("GCP")
            .description("description of Azure Test Security Standard 1")
            .displayName("Azure Test Security Standard 1")
            .policySetDefinitionId("/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions")
            .scope("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23")
            .standardId("8bb8be0a-6010-4789-812f-e4d661c4ed0e")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const securityStandard = new azure_native.security.SecurityStandard("securityStandard", {
    assessments: [
        {
            assessmentKey: "1195afff-c881-495e-9bc5-1486211ae03f",
        },
        {
            assessmentKey: "dbd0cb49-b563-45e7-9724-889e799fa648",
        },
    ],
    cloudProviders: [azure_native.security.StandardSupportedCloud.GCP],
    description: "description of Azure Test Security Standard 1",
    displayName: "Azure Test Security Standard 1",
    policySetDefinitionId: "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
    scope: "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
    standardId: "8bb8be0a-6010-4789-812f-e4d661c4ed0e",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

security_standard = azure_native.security.SecurityStandard("securityStandard",
    assessments=[
        {
            "assessment_key": "1195afff-c881-495e-9bc5-1486211ae03f",
        },
        {
            "assessment_key": "dbd0cb49-b563-45e7-9724-889e799fa648",
        },
    ],
    cloud_providers=[azure_native.security.StandardSupportedCloud.GCP],
    description="description of Azure Test Security Standard 1",
    display_name="Azure Test Security Standard 1",
    policy_set_definition_id="/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
    scope="subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
    standard_id="8bb8be0a-6010-4789-812f-e4d661c4ed0e")
Copy
resources:
  securityStandard:
    type: azure-native:security:SecurityStandard
    properties:
      assessments:
        - assessmentKey: 1195afff-c881-495e-9bc5-1486211ae03f
        - assessmentKey: dbd0cb49-b563-45e7-9724-889e799fa648
      cloudProviders:
        - GCP
      description: description of Azure Test Security Standard 1
      displayName: Azure Test Security Standard 1
      policySetDefinitionId: /subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions
      scope: subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23
      standardId: 8bb8be0a-6010-4789-812f-e4d661c4ed0e
Copy

Create SecurityStandard Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SecurityStandard(name: string, args: SecurityStandardArgs, opts?: CustomResourceOptions);
@overload
def SecurityStandard(resource_name: str,
                     args: SecurityStandardArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def SecurityStandard(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     scope: Optional[str] = None,
                     assessments: Optional[Sequence[PartialAssessmentPropertiesArgs]] = None,
                     cloud_providers: Optional[Sequence[Union[str, StandardSupportedCloud]]] = None,
                     description: Optional[str] = None,
                     display_name: Optional[str] = None,
                     policy_set_definition_id: Optional[str] = None,
                     standard_id: Optional[str] = None)
func NewSecurityStandard(ctx *Context, name string, args SecurityStandardArgs, opts ...ResourceOption) (*SecurityStandard, error)
public SecurityStandard(string name, SecurityStandardArgs args, CustomResourceOptions? opts = null)
public SecurityStandard(String name, SecurityStandardArgs args)
public SecurityStandard(String name, SecurityStandardArgs args, CustomResourceOptions options)
type: azure-native:security:SecurityStandard
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SecurityStandardArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SecurityStandardArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SecurityStandardArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SecurityStandardArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SecurityStandardArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var securityStandardResource = new AzureNative.Security.SecurityStandard("securityStandardResource", new()
{
    Scope = "string",
    Assessments = new[]
    {
        
        {
            { "assessmentKey", "string" },
        },
    },
    CloudProviders = new[]
    {
        "string",
    },
    Description = "string",
    DisplayName = "string",
    PolicySetDefinitionId = "string",
    StandardId = "string",
});
Copy
example, err := security.NewSecurityStandard(ctx, "securityStandardResource", &security.SecurityStandardArgs{
	Scope: "string",
	Assessments: []map[string]interface{}{
		map[string]interface{}{
			"assessmentKey": "string",
		},
	},
	CloudProviders: []string{
		"string",
	},
	Description:           "string",
	DisplayName:           "string",
	PolicySetDefinitionId: "string",
	StandardId:            "string",
})
Copy
var securityStandardResource = new SecurityStandard("securityStandardResource", SecurityStandardArgs.builder()
    .scope("string")
    .assessments(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .cloudProviders("string")
    .description("string")
    .displayName("string")
    .policySetDefinitionId("string")
    .standardId("string")
    .build());
Copy
security_standard_resource = azure_native.security.SecurityStandard("securityStandardResource",
    scope=string,
    assessments=[{
        assessmentKey: string,
    }],
    cloud_providers=[string],
    description=string,
    display_name=string,
    policy_set_definition_id=string,
    standard_id=string)
Copy
const securityStandardResource = new azure_native.security.SecurityStandard("securityStandardResource", {
    scope: "string",
    assessments: [{
        assessmentKey: "string",
    }],
    cloudProviders: ["string"],
    description: "string",
    displayName: "string",
    policySetDefinitionId: "string",
    standardId: "string",
});
Copy
type: azure-native:security:SecurityStandard
properties:
    assessments:
        - assessmentKey: string
    cloudProviders:
        - string
    description: string
    displayName: string
    policySetDefinitionId: string
    scope: string
    standardId: string
Copy

SecurityStandard Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SecurityStandard resource accepts the following input properties:

Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
Assessments List<Pulumi.AzureNative.Security.Inputs.PartialAssessmentProperties>
List of assessment keys to apply to standard scope.
CloudProviders List<Union<string, Pulumi.AzureNative.Security.StandardSupportedCloud>>
List of all standard supported clouds.
Description string
Description of the standard
DisplayName string
Display name of the standard, equivalent to the standardId
PolicySetDefinitionId string
The policy set definition id associated with the standard.
StandardId Changes to this property will trigger replacement. string
The Security Standard key - unique key for the standard type
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
Assessments []PartialAssessmentPropertiesArgs
List of assessment keys to apply to standard scope.
CloudProviders []string
List of all standard supported clouds.
Description string
Description of the standard
DisplayName string
Display name of the standard, equivalent to the standardId
PolicySetDefinitionId string
The policy set definition id associated with the standard.
StandardId Changes to this property will trigger replacement. string
The Security Standard key - unique key for the standard type
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
assessments List<PartialAssessmentProperties>
List of assessment keys to apply to standard scope.
cloudProviders List<Either<String,StandardSupportedCloud>>
List of all standard supported clouds.
description String
Description of the standard
displayName String
Display name of the standard, equivalent to the standardId
policySetDefinitionId String
The policy set definition id associated with the standard.
standardId Changes to this property will trigger replacement. String
The Security Standard key - unique key for the standard type
scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
assessments PartialAssessmentProperties[]
List of assessment keys to apply to standard scope.
cloudProviders (string | StandardSupportedCloud)[]
List of all standard supported clouds.
description string
Description of the standard
displayName string
Display name of the standard, equivalent to the standardId
policySetDefinitionId string
The policy set definition id associated with the standard.
standardId Changes to this property will trigger replacement. string
The Security Standard key - unique key for the standard type
scope
This property is required.
Changes to this property will trigger replacement.
str
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
assessments Sequence[PartialAssessmentPropertiesArgs]
List of assessment keys to apply to standard scope.
cloud_providers Sequence[Union[str, StandardSupportedCloud]]
List of all standard supported clouds.
description str
Description of the standard
display_name str
Display name of the standard, equivalent to the standardId
policy_set_definition_id str
The policy set definition id associated with the standard.
standard_id Changes to this property will trigger replacement. str
The Security Standard key - unique key for the standard type
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
assessments List<Property Map>
List of assessment keys to apply to standard scope.
cloudProviders List<String | "Azure" | "AWS" | "GCP">
List of all standard supported clouds.
description String
Description of the standard
displayName String
Display name of the standard, equivalent to the standardId
policySetDefinitionId String
The policy set definition id associated with the standard.
standardId Changes to this property will trigger replacement. String
The Security Standard key - unique key for the standard type

Outputs

All input properties are implicitly available as output properties. Additionally, the SecurityStandard resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
StandardType string
Standard type (Custom or Default or Compliance only currently)
Type string
Resource type
Metadata Pulumi.AzureNative.Security.Outputs.StandardMetadataResponse
The security standard metadata.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
StandardType string
Standard type (Custom or Default or Compliance only currently)
Type string
Resource type
Metadata StandardMetadataResponse
The security standard metadata.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
standardType String
Standard type (Custom or Default or Compliance only currently)
type String
Resource type
metadata StandardMetadataResponse
The security standard metadata.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name
standardType string
Standard type (Custom or Default or Compliance only currently)
type string
Resource type
metadata StandardMetadataResponse
The security standard metadata.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name
standard_type str
Standard type (Custom or Default or Compliance only currently)
type str
Resource type
metadata StandardMetadataResponse
The security standard metadata.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
standardType String
Standard type (Custom or Default or Compliance only currently)
type String
Resource type
metadata Property Map
The security standard metadata.

Supporting Types

PartialAssessmentProperties
, PartialAssessmentPropertiesArgs

AssessmentKey string
The assessment key
AssessmentKey string
The assessment key
assessmentKey String
The assessment key
assessmentKey string
The assessment key
assessment_key str
The assessment key
assessmentKey String
The assessment key

PartialAssessmentPropertiesResponse
, PartialAssessmentPropertiesResponseArgs

AssessmentKey string
The assessment key
AssessmentKey string
The assessment key
assessmentKey String
The assessment key
assessmentKey string
The assessment key
assessment_key str
The assessment key
assessmentKey String
The assessment key

StandardMetadataResponse
, StandardMetadataResponseArgs

CreatedBy This property is required. string
Standard Created by object id (GUID)
CreatedOn This property is required. string
Standard creation date
LastUpdatedBy This property is required. string
Standard last updated by object id (GUID)
LastUpdatedOn This property is required. string
Standard last update date
CreatedBy This property is required. string
Standard Created by object id (GUID)
CreatedOn This property is required. string
Standard creation date
LastUpdatedBy This property is required. string
Standard last updated by object id (GUID)
LastUpdatedOn This property is required. string
Standard last update date
createdBy This property is required. String
Standard Created by object id (GUID)
createdOn This property is required. String
Standard creation date
lastUpdatedBy This property is required. String
Standard last updated by object id (GUID)
lastUpdatedOn This property is required. String
Standard last update date
createdBy This property is required. string
Standard Created by object id (GUID)
createdOn This property is required. string
Standard creation date
lastUpdatedBy This property is required. string
Standard last updated by object id (GUID)
lastUpdatedOn This property is required. string
Standard last update date
created_by This property is required. str
Standard Created by object id (GUID)
created_on This property is required. str
Standard creation date
last_updated_by This property is required. str
Standard last updated by object id (GUID)
last_updated_on This property is required. str
Standard last update date
createdBy This property is required. String
Standard Created by object id (GUID)
createdOn This property is required. String
Standard creation date
lastUpdatedBy This property is required. String
Standard last updated by object id (GUID)
lastUpdatedOn This property is required. String
Standard last update date

StandardSupportedCloud
, StandardSupportedCloudArgs

Azure
Azure
AWS
AWS
GCP
GCP
StandardSupportedCloudAzure
Azure
StandardSupportedCloudAWS
AWS
StandardSupportedCloudGCP
GCP
Azure
Azure
AWS
AWS
GCP
GCP
Azure
Azure
AWS
AWS
GCP
GCP
AZURE
Azure
AWS
AWS
GCP
GCP
"Azure"
Azure
"AWS"
AWS
"GCP"
GCP

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:security:SecurityStandard 8bb8be0a-6010-4789-812f-e4d661c4ed0e /{scope}/providers/Microsoft.Security/securityStandards/{standardId} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0