azure-native.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",
});
});
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=[{
"assessment_key": "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
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 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.
Azure Native. Security. Inputs. Partial Assessment Properties> - List of assessment keys to apply to standard scope.
- Cloud
Providers List<Union<string, Pulumi.Azure Native. Security. Standard Supported Cloud>> - List of all standard supported clouds.
- Description string
- Description of the standard
- Display
Name string - Display name of the standard, equivalent to the standardId
- Policy
Set stringDefinition Id - The policy set definition id associated with the standard.
- Standard
Id 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
[]Partial
Assessment Properties Args - List of assessment keys to apply to standard scope.
- Cloud
Providers []string - List of all standard supported clouds.
- Description string
- Description of the standard
- Display
Name string - Display name of the standard, equivalent to the standardId
- Policy
Set stringDefinition Id - The policy set definition id associated with the standard.
- Standard
Id 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<Partial
Assessment Properties> - List of assessment keys to apply to standard scope.
- cloud
Providers List<Either<String,StandardSupported Cloud>> - List of all standard supported clouds.
- description String
- Description of the standard
- display
Name String - Display name of the standard, equivalent to the standardId
- policy
Set StringDefinition Id - The policy set definition id associated with the standard.
- standard
Id 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
Partial
Assessment Properties[] - List of assessment keys to apply to standard scope.
- cloud
Providers (string | StandardSupported Cloud)[] - List of all standard supported clouds.
- description string
- Description of the standard
- display
Name string - Display name of the standard, equivalent to the standardId
- policy
Set stringDefinition Id - The policy set definition id associated with the standard.
- standard
Id 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[Partial
Assessment Properties Args] - List of assessment keys to apply to standard scope.
- cloud_
providers Sequence[Union[str, StandardSupported Cloud]] - 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_ strdefinition_ id - 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.
- cloud
Providers List<String | "Azure" | "AWS" | "GCP"> - List of all standard supported clouds.
- description String
- Description of the standard
- display
Name String - Display name of the standard, equivalent to the standardId
- policy
Set StringDefinition Id - The policy set definition id associated with the standard.
- standard
Id 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
- Standard
Type string - Standard type (Custom or Default or Compliance only currently)
- Type string
- Resource type
- Metadata
Pulumi.
Azure Native. Security. Outputs. Standard Metadata Response - The security standard metadata.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Standard
Type string - Standard type (Custom or Default or Compliance only currently)
- Type string
- Resource type
- Metadata
Standard
Metadata Response - The security standard metadata.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- standard
Type String - Standard type (Custom or Default or Compliance only currently)
- type String
- Resource type
- metadata
Standard
Metadata Response - The security standard metadata.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name
- standard
Type string - Standard type (Custom or Default or Compliance only currently)
- type string
- Resource type
- metadata
Standard
Metadata Response - 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
Standard
Metadata Response - The security standard metadata.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- standard
Type 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
- Assessment
Key string - The assessment key
- Assessment
Key string - The assessment key
- assessment
Key String - The assessment key
- assessment
Key string - The assessment key
- assessment_
key str - The assessment key
- assessment
Key String - The assessment key
PartialAssessmentPropertiesResponse, PartialAssessmentPropertiesResponseArgs
- Assessment
Key string - The assessment key
- Assessment
Key string - The assessment key
- assessment
Key String - The assessment key
- assessment
Key string - The assessment key
- assessment_
key str - The assessment key
- assessment
Key String - The assessment key
StandardMetadataResponse, StandardMetadataResponseArgs
- Created
By string - Standard Created by object id (GUID)
- Created
On string - Standard creation date
- Last
Updated stringBy - Standard last updated by object id (GUID)
- Last
Updated stringOn - Standard last update date
- Created
By string - Standard Created by object id (GUID)
- Created
On string - Standard creation date
- Last
Updated stringBy - Standard last updated by object id (GUID)
- Last
Updated stringOn - Standard last update date
- created
By String - Standard Created by object id (GUID)
- created
On String - Standard creation date
- last
Updated StringBy - Standard last updated by object id (GUID)
- last
Updated StringOn - Standard last update date
- created
By string - Standard Created by object id (GUID)
- created
On string - Standard creation date
- last
Updated stringBy - Standard last updated by object id (GUID)
- last
Updated stringOn - Standard last update date
- created_
by str - Standard Created by object id (GUID)
- created_
on str - Standard creation date
- last_
updated_ strby - Standard last updated by object id (GUID)
- last_
updated_ stron - Standard last update date
- created
By String - Standard Created by object id (GUID)
- created
On String - Standard creation date
- last
Updated StringBy - Standard last updated by object id (GUID)
- last
Updated StringOn - Standard last update date
StandardSupportedCloud, StandardSupportedCloudArgs
- Azure
- Azure
- AWS
- AWS
- GCP
- GCP
- Standard
Supported Cloud Azure - Azure
- Standard
Supported Cloud AWS - AWS
- Standard
Supported Cloud GCP - 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