1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. SecurityStandard
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.security.SecurityStandard

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    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 string
    The unique name of the resource.
    args SecurityStandardArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args SecurityStandardArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityStandardArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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[]
        {
            new AzureNative.Security.Inputs.PartialAssessmentPropertiesArgs
            {
                AssessmentKey = "string",
            },
        },
        CloudProviders = new[]
        {
            "string",
        },
        Description = "string",
        DisplayName = "string",
        PolicySetDefinitionId = "string",
        StandardId = "string",
    });
    
    example, err := security.NewSecurityStandard(ctx, "securityStandardResource", &security.SecurityStandardArgs{
    	Scope: pulumi.String("string"),
    	Assessments: security.PartialAssessmentPropertiesArray{
    		&security.PartialAssessmentPropertiesArgs{
    			AssessmentKey: pulumi.String("string"),
    		},
    	},
    	CloudProviders: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description:           pulumi.String("string"),
    	DisplayName:           pulumi.String("string"),
    	PolicySetDefinitionId: pulumi.String("string"),
    	StandardId:            pulumi.String("string"),
    })
    
    var securityStandardResource = new SecurityStandard("securityStandardResource", SecurityStandardArgs.builder()
        .scope("string")
        .assessments(PartialAssessmentPropertiesArgs.builder()
            .assessmentKey("string")
            .build())
        .cloudProviders("string")
        .description("string")
        .displayName("string")
        .policySetDefinitionId("string")
        .standardId("string")
        .build());
    
    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")
    
    const securityStandardResource = new azure_native.security.SecurityStandard("securityStandardResource", {
        scope: "string",
        assessments: [{
            assessmentKey: "string",
        }],
        cloudProviders: ["string"],
        description: "string",
        displayName: "string",
        policySetDefinitionId: "string",
        standardId: "string",
    });
    
    type: azure-native:security:SecurityStandard
    properties:
        assessments:
            - assessmentKey: string
        cloudProviders:
            - string
        description: string
        displayName: string
        policySetDefinitionId: string
        scope: string
        standardId: string
    

    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

    The SecurityStandard resource accepts the following input properties:

    Scope 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 string
    The Security Standard key - unique key for the standard type
    Scope 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 string
    The Security Standard key - unique key for the standard type
    scope 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 String
    The Security Standard key - unique key for the standard type
    scope 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 string
    The Security Standard key - unique key for the standard type
    scope 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 str
    The Security Standard key - unique key for the standard type
    scope 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 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 string
    Standard Created by object id (GUID)
    CreatedOn string
    Standard creation date
    LastUpdatedBy string
    Standard last updated by object id (GUID)
    LastUpdatedOn string
    Standard last update date
    CreatedBy string
    Standard Created by object id (GUID)
    CreatedOn string
    Standard creation date
    LastUpdatedBy string
    Standard last updated by object id (GUID)
    LastUpdatedOn string
    Standard last update date
    createdBy String
    Standard Created by object id (GUID)
    createdOn String
    Standard creation date
    lastUpdatedBy String
    Standard last updated by object id (GUID)
    lastUpdatedOn String
    Standard last update date
    createdBy string
    Standard Created by object id (GUID)
    createdOn string
    Standard creation date
    lastUpdatedBy string
    Standard last updated by object id (GUID)
    lastUpdatedOn string
    Standard last update date
    created_by str
    Standard Created by object id (GUID)
    created_on str
    Standard creation date
    last_updated_by str
    Standard last updated by object id (GUID)
    last_updated_on str
    Standard last update date
    createdBy String
    Standard Created by object id (GUID)
    createdOn String
    Standard creation date
    lastUpdatedBy String
    Standard last updated by object id (GUID)
    lastUpdatedOn 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi