azure-native.security.StandardAssignment
Explore with Pulumi AI
Security Assignment on a resource group over a given scope Azure REST API version: 2024-08-01.
Example Usage
Put an audit standard assignment
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var standardAssignment = new AzureNative.Security.StandardAssignment("standardAssignment", new()
{
AssignedStandard = new AzureNative.Security.Inputs.AssignedStandardItemArgs
{
Id = "/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
Description = "Set of policies monitored by Azure Security Center for cross cloud",
DisplayName = "ASC Default",
Effect = AzureNative.Security.Effect.Audit,
ExcludedScopes = new[] {},
ResourceId = "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
StandardAssignmentName = "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
});
});
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.NewStandardAssignment(ctx, "standardAssignment", &security.StandardAssignmentArgs{
AssignedStandard: &security.AssignedStandardItemArgs{
Id: pulumi.String("/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8"),
},
Description: pulumi.String("Set of policies monitored by Azure Security Center for cross cloud"),
DisplayName: pulumi.String("ASC Default"),
Effect: pulumi.String(security.EffectAudit),
ExcludedScopes: pulumi.StringArray{},
ResourceId: pulumi.String("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23"),
StandardAssignmentName: pulumi.String("1f3afdf9-d0c9-4c3d-847f-89da613e70a8"),
})
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.StandardAssignment;
import com.pulumi.azurenative.security.StandardAssignmentArgs;
import com.pulumi.azurenative.security.inputs.AssignedStandardItemArgs;
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 standardAssignment = new StandardAssignment("standardAssignment", StandardAssignmentArgs.builder()
.assignedStandard(AssignedStandardItemArgs.builder()
.id("/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
.build())
.description("Set of policies monitored by Azure Security Center for cross cloud")
.displayName("ASC Default")
.effect("Audit")
.excludedScopes()
.resourceId("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23")
.standardAssignmentName("1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
standard_assignment = azure_native.security.StandardAssignment("standardAssignment",
assigned_standard={
"id": "/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
description="Set of policies monitored by Azure Security Center for cross cloud",
display_name="ASC Default",
effect=azure_native.security.Effect.AUDIT,
excluded_scopes=[],
resource_id="subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
standard_assignment_name="1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const standardAssignment = new azure_native.security.StandardAssignment("standardAssignment", {
assignedStandard: {
id: "/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
description: "Set of policies monitored by Azure Security Center for cross cloud",
displayName: "ASC Default",
effect: azure_native.security.Effect.Audit,
excludedScopes: [],
resourceId: "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
standardAssignmentName: "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
});
resources:
standardAssignment:
type: azure-native:security:StandardAssignment
properties:
assignedStandard:
id: /providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8
description: Set of policies monitored by Azure Security Center for cross cloud
displayName: ASC Default
effect: Audit
excludedScopes: []
resourceId: subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23
standardAssignmentName: 1f3afdf9-d0c9-4c3d-847f-89da613e70a8
Put exemption standard assignment
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var standardAssignment = new AzureNative.Security.StandardAssignment("standardAssignment", new()
{
AssignedStandard = new AzureNative.Security.Inputs.AssignedStandardItemArgs
{
Id = "/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
Description = "Exemption description",
DisplayName = "Test exemption",
Effect = AzureNative.Security.Effect.Exempt,
ExemptionData = new AzureNative.Security.Inputs.StandardAssignmentPropertiesExemptionDataArgs
{
AssignedAssessment = new AzureNative.Security.Inputs.AssignedAssessmentItemArgs
{
AssessmentKey = "1195afff-c881-495e-9bc5-1486211ae03f",
},
ExemptionCategory = AzureNative.Security.ExemptionCategory.Waiver,
},
ExpiresOn = "2022-05-01T19:50:47.083633Z",
ResourceId = "subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/ANAT_TEST_RG/providers/Microsoft.Compute/virtualMachines/anatTestE2LA",
StandardAssignmentName = "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
});
});
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.NewStandardAssignment(ctx, "standardAssignment", &security.StandardAssignmentArgs{
AssignedStandard: &security.AssignedStandardItemArgs{
Id: pulumi.String("/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8"),
},
Description: pulumi.String("Exemption description"),
DisplayName: pulumi.String("Test exemption"),
Effect: pulumi.String(security.EffectExempt),
ExemptionData: &security.StandardAssignmentPropertiesExemptionDataArgs{
AssignedAssessment: &security.AssignedAssessmentItemArgs{
AssessmentKey: pulumi.String("1195afff-c881-495e-9bc5-1486211ae03f"),
},
ExemptionCategory: pulumi.String(security.ExemptionCategoryWaiver),
},
ExpiresOn: pulumi.String("2022-05-01T19:50:47.083633Z"),
ResourceId: pulumi.String("subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/ANAT_TEST_RG/providers/Microsoft.Compute/virtualMachines/anatTestE2LA"),
StandardAssignmentName: pulumi.String("1f3afdf9-d0c9-4c3d-847f-89da613e70a8"),
})
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.StandardAssignment;
import com.pulumi.azurenative.security.StandardAssignmentArgs;
import com.pulumi.azurenative.security.inputs.AssignedStandardItemArgs;
import com.pulumi.azurenative.security.inputs.StandardAssignmentPropertiesExemptionDataArgs;
import com.pulumi.azurenative.security.inputs.AssignedAssessmentItemArgs;
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 standardAssignment = new StandardAssignment("standardAssignment", StandardAssignmentArgs.builder()
.assignedStandard(AssignedStandardItemArgs.builder()
.id("/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
.build())
.description("Exemption description")
.displayName("Test exemption")
.effect("Exempt")
.exemptionData(StandardAssignmentPropertiesExemptionDataArgs.builder()
.assignedAssessment(AssignedAssessmentItemArgs.builder()
.assessmentKey("1195afff-c881-495e-9bc5-1486211ae03f")
.build())
.exemptionCategory("waiver")
.build())
.expiresOn("2022-05-01T19:50:47.083633Z")
.resourceId("subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/ANAT_TEST_RG/providers/Microsoft.Compute/virtualMachines/anatTestE2LA")
.standardAssignmentName("1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
standard_assignment = azure_native.security.StandardAssignment("standardAssignment",
assigned_standard={
"id": "/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
description="Exemption description",
display_name="Test exemption",
effect=azure_native.security.Effect.EXEMPT,
exemption_data={
"assigned_assessment": {
"assessment_key": "1195afff-c881-495e-9bc5-1486211ae03f",
},
"exemption_category": azure_native.security.ExemptionCategory.WAIVER,
},
expires_on="2022-05-01T19:50:47.083633Z",
resource_id="subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/ANAT_TEST_RG/providers/Microsoft.Compute/virtualMachines/anatTestE2LA",
standard_assignment_name="1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const standardAssignment = new azure_native.security.StandardAssignment("standardAssignment", {
assignedStandard: {
id: "/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
},
description: "Exemption description",
displayName: "Test exemption",
effect: azure_native.security.Effect.Exempt,
exemptionData: {
assignedAssessment: {
assessmentKey: "1195afff-c881-495e-9bc5-1486211ae03f",
},
exemptionCategory: azure_native.security.ExemptionCategory.Waiver,
},
expiresOn: "2022-05-01T19:50:47.083633Z",
resourceId: "subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/ANAT_TEST_RG/providers/Microsoft.Compute/virtualMachines/anatTestE2LA",
standardAssignmentName: "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
});
resources:
standardAssignment:
type: azure-native:security:StandardAssignment
properties:
assignedStandard:
id: /providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8
description: Exemption description
displayName: Test exemption
effect: Exempt
exemptionData:
assignedAssessment:
assessmentKey: 1195afff-c881-495e-9bc5-1486211ae03f
exemptionCategory: waiver
expiresOn: 2022-05-01T19:50:47.083633Z
resourceId: subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/ANAT_TEST_RG/providers/Microsoft.Compute/virtualMachines/anatTestE2LA
standardAssignmentName: 1f3afdf9-d0c9-4c3d-847f-89da613e70a8
Create StandardAssignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StandardAssignment(name: string, args: StandardAssignmentArgs, opts?: CustomResourceOptions);
@overload
def StandardAssignment(resource_name: str,
args: StandardAssignmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StandardAssignment(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_id: Optional[str] = None,
assigned_standard: Optional[AssignedStandardItemArgs] = None,
attestation_data: Optional[StandardAssignmentPropertiesAttestationDataArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
effect: Optional[Union[str, Effect]] = None,
excluded_scopes: Optional[Sequence[str]] = None,
exemption_data: Optional[StandardAssignmentPropertiesExemptionDataArgs] = None,
expires_on: Optional[str] = None,
standard_assignment_name: Optional[str] = None)
func NewStandardAssignment(ctx *Context, name string, args StandardAssignmentArgs, opts ...ResourceOption) (*StandardAssignment, error)
public StandardAssignment(string name, StandardAssignmentArgs args, CustomResourceOptions? opts = null)
public StandardAssignment(String name, StandardAssignmentArgs args)
public StandardAssignment(String name, StandardAssignmentArgs args, CustomResourceOptions options)
type: azure-native:security:StandardAssignment
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 StandardAssignmentArgs
- 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 StandardAssignmentArgs
- 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 StandardAssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StandardAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StandardAssignmentArgs
- 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 standardAssignmentResource = new AzureNative.Security.StandardAssignment("standardAssignmentResource", new()
{
ResourceId = "string",
AssignedStandard = new AzureNative.Security.Inputs.AssignedStandardItemArgs
{
Id = "string",
},
AttestationData = new AzureNative.Security.Inputs.StandardAssignmentPropertiesAttestationDataArgs
{
AssignedAssessment = new AzureNative.Security.Inputs.AssignedAssessmentItemArgs
{
AssessmentKey = "string",
},
ComplianceState = "string",
Evidence = new[]
{
new AzureNative.Security.Inputs.AttestationEvidenceArgs
{
Description = "string",
SourceUrl = "string",
},
},
},
Description = "string",
DisplayName = "string",
Effect = "string",
ExcludedScopes = new[]
{
"string",
},
ExemptionData = new AzureNative.Security.Inputs.StandardAssignmentPropertiesExemptionDataArgs
{
AssignedAssessment = new AzureNative.Security.Inputs.AssignedAssessmentItemArgs
{
AssessmentKey = "string",
},
ExemptionCategory = "string",
},
ExpiresOn = "string",
StandardAssignmentName = "string",
});
example, err := security.NewStandardAssignment(ctx, "standardAssignmentResource", &security.StandardAssignmentArgs{
ResourceId: pulumi.String("string"),
AssignedStandard: &security.AssignedStandardItemArgs{
Id: pulumi.String("string"),
},
AttestationData: &security.StandardAssignmentPropertiesAttestationDataArgs{
AssignedAssessment: &security.AssignedAssessmentItemArgs{
AssessmentKey: pulumi.String("string"),
},
ComplianceState: pulumi.String("string"),
Evidence: security.AttestationEvidenceArray{
&security.AttestationEvidenceArgs{
Description: pulumi.String("string"),
SourceUrl: pulumi.String("string"),
},
},
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Effect: pulumi.String("string"),
ExcludedScopes: pulumi.StringArray{
pulumi.String("string"),
},
ExemptionData: &security.StandardAssignmentPropertiesExemptionDataArgs{
AssignedAssessment: &security.AssignedAssessmentItemArgs{
AssessmentKey: pulumi.String("string"),
},
ExemptionCategory: pulumi.String("string"),
},
ExpiresOn: pulumi.String("string"),
StandardAssignmentName: pulumi.String("string"),
})
var standardAssignmentResource = new StandardAssignment("standardAssignmentResource", StandardAssignmentArgs.builder()
.resourceId("string")
.assignedStandard(AssignedStandardItemArgs.builder()
.id("string")
.build())
.attestationData(StandardAssignmentPropertiesAttestationDataArgs.builder()
.assignedAssessment(AssignedAssessmentItemArgs.builder()
.assessmentKey("string")
.build())
.complianceState("string")
.evidence(AttestationEvidenceArgs.builder()
.description("string")
.sourceUrl("string")
.build())
.build())
.description("string")
.displayName("string")
.effect("string")
.excludedScopes("string")
.exemptionData(StandardAssignmentPropertiesExemptionDataArgs.builder()
.assignedAssessment(AssignedAssessmentItemArgs.builder()
.assessmentKey("string")
.build())
.exemptionCategory("string")
.build())
.expiresOn("string")
.standardAssignmentName("string")
.build());
standard_assignment_resource = azure_native.security.StandardAssignment("standardAssignmentResource",
resource_id="string",
assigned_standard={
"id": "string",
},
attestation_data={
"assigned_assessment": {
"assessment_key": "string",
},
"compliance_state": "string",
"evidence": [{
"description": "string",
"source_url": "string",
}],
},
description="string",
display_name="string",
effect="string",
excluded_scopes=["string"],
exemption_data={
"assigned_assessment": {
"assessment_key": "string",
},
"exemption_category": "string",
},
expires_on="string",
standard_assignment_name="string")
const standardAssignmentResource = new azure_native.security.StandardAssignment("standardAssignmentResource", {
resourceId: "string",
assignedStandard: {
id: "string",
},
attestationData: {
assignedAssessment: {
assessmentKey: "string",
},
complianceState: "string",
evidence: [{
description: "string",
sourceUrl: "string",
}],
},
description: "string",
displayName: "string",
effect: "string",
excludedScopes: ["string"],
exemptionData: {
assignedAssessment: {
assessmentKey: "string",
},
exemptionCategory: "string",
},
expiresOn: "string",
standardAssignmentName: "string",
});
type: azure-native:security:StandardAssignment
properties:
assignedStandard:
id: string
attestationData:
assignedAssessment:
assessmentKey: string
complianceState: string
evidence:
- description: string
sourceUrl: string
description: string
displayName: string
effect: string
excludedScopes:
- string
exemptionData:
assignedAssessment:
assessmentKey: string
exemptionCategory: string
expiresOn: string
resourceId: string
standardAssignmentName: string
StandardAssignment 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 StandardAssignment resource accepts the following input properties:
- Resource
Id string - The identifier of the resource.
- Assigned
Standard Pulumi.Azure Native. Security. Inputs. Assigned Standard Item - Standard item with key as applied to this standard assignment over the given scope
- Attestation
Data Pulumi.Azure Native. Security. Inputs. Standard Assignment Properties Attestation Data - Additional data about assignment that has Attest effect
- Description string
- Description of the standardAssignment
- Display
Name string - Display name of the standardAssignment
- Effect
string | Pulumi.
Azure Native. Security. Effect - Expected effect of this assignment (Audit/Exempt/Attest)
- Excluded
Scopes List<string> - Excluded scopes, filter out the descendants of the scope (on management scopes)
- Exemption
Data Pulumi.Azure Native. Security. Inputs. Standard Assignment Properties Exemption Data - Additional data about assignment that has Exempt effect
- Expires
On string - Expiration date of this assignment as a full ISO date
- Standard
Assignment stringName - The standard assignments assignment key - unique key for the standard assignment
- Resource
Id string - The identifier of the resource.
- Assigned
Standard AssignedStandard Item Args - Standard item with key as applied to this standard assignment over the given scope
- Attestation
Data StandardAssignment Properties Attestation Data Args - Additional data about assignment that has Attest effect
- Description string
- Description of the standardAssignment
- Display
Name string - Display name of the standardAssignment
- Effect string | Effect
- Expected effect of this assignment (Audit/Exempt/Attest)
- Excluded
Scopes []string - Excluded scopes, filter out the descendants of the scope (on management scopes)
- Exemption
Data StandardAssignment Properties Exemption Data Args - Additional data about assignment that has Exempt effect
- Expires
On string - Expiration date of this assignment as a full ISO date
- Standard
Assignment stringName - The standard assignments assignment key - unique key for the standard assignment
- resource
Id String - The identifier of the resource.
- assigned
Standard AssignedStandard Item - Standard item with key as applied to this standard assignment over the given scope
- attestation
Data StandardAssignment Properties Attestation Data - Additional data about assignment that has Attest effect
- description String
- Description of the standardAssignment
- display
Name String - Display name of the standardAssignment
- effect String | Effect
- Expected effect of this assignment (Audit/Exempt/Attest)
- excluded
Scopes List<String> - Excluded scopes, filter out the descendants of the scope (on management scopes)
- exemption
Data StandardAssignment Properties Exemption Data - Additional data about assignment that has Exempt effect
- expires
On String - Expiration date of this assignment as a full ISO date
- standard
Assignment StringName - The standard assignments assignment key - unique key for the standard assignment
- resource
Id string - The identifier of the resource.
- assigned
Standard AssignedStandard Item - Standard item with key as applied to this standard assignment over the given scope
- attestation
Data StandardAssignment Properties Attestation Data - Additional data about assignment that has Attest effect
- description string
- Description of the standardAssignment
- display
Name string - Display name of the standardAssignment
- effect string | Effect
- Expected effect of this assignment (Audit/Exempt/Attest)
- excluded
Scopes string[] - Excluded scopes, filter out the descendants of the scope (on management scopes)
- exemption
Data StandardAssignment Properties Exemption Data - Additional data about assignment that has Exempt effect
- expires
On string - Expiration date of this assignment as a full ISO date
- standard
Assignment stringName - The standard assignments assignment key - unique key for the standard assignment
- resource_
id str - The identifier of the resource.
- assigned_
standard AssignedStandard Item Args - Standard item with key as applied to this standard assignment over the given scope
- attestation_
data StandardAssignment Properties Attestation Data Args - Additional data about assignment that has Attest effect
- description str
- Description of the standardAssignment
- display_
name str - Display name of the standardAssignment
- effect str | Effect
- Expected effect of this assignment (Audit/Exempt/Attest)
- excluded_
scopes Sequence[str] - Excluded scopes, filter out the descendants of the scope (on management scopes)
- exemption_
data StandardAssignment Properties Exemption Data Args - Additional data about assignment that has Exempt effect
- expires_
on str - Expiration date of this assignment as a full ISO date
- standard_
assignment_ strname - The standard assignments assignment key - unique key for the standard assignment
- resource
Id String - The identifier of the resource.
- assigned
Standard Property Map - Standard item with key as applied to this standard assignment over the given scope
- attestation
Data Property Map - Additional data about assignment that has Attest effect
- description String
- Description of the standardAssignment
- display
Name String - Display name of the standardAssignment
- effect String | "Audit" | "Exempt" | "Attest"
- Expected effect of this assignment (Audit/Exempt/Attest)
- excluded
Scopes List<String> - Excluded scopes, filter out the descendants of the scope (on management scopes)
- exemption
Data Property Map - Additional data about assignment that has Exempt effect
- expires
On String - Expiration date of this assignment as a full ISO date
- standard
Assignment StringName - The standard assignments assignment key - unique key for the standard assignment
Outputs
All input properties are implicitly available as output properties. Additionally, the StandardAssignment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Type string
- Resource type
- Metadata
Pulumi.
Azure Native. Security. Outputs. Standard Assignment Metadata Response - The standard assignment metadata.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Type string
- Resource type
- Metadata
Standard
Assignment Metadata Response - The standard assignment metadata.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- type String
- Resource type
- metadata
Standard
Assignment Metadata Response - The standard assignment metadata.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name
- type string
- Resource type
- metadata
Standard
Assignment Metadata Response - The standard assignment metadata.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name
- type str
- Resource type
- metadata
Standard
Assignment Metadata Response - The standard assignment metadata.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- type String
- Resource type
- metadata Property Map
- The standard assignment metadata.
Supporting Types
AssignedAssessmentItem, AssignedAssessmentItemArgs
- Assessment
Key string - Unique key to a security assessment object
- Assessment
Key string - Unique key to a security assessment object
- assessment
Key String - Unique key to a security assessment object
- assessment
Key string - Unique key to a security assessment object
- assessment_
key str - Unique key to a security assessment object
- assessment
Key String - Unique key to a security assessment object
AssignedAssessmentItemResponse, AssignedAssessmentItemResponseArgs
- Assessment
Key string - Unique key to a security assessment object
- Assessment
Key string - Unique key to a security assessment object
- assessment
Key String - Unique key to a security assessment object
- assessment
Key string - Unique key to a security assessment object
- assessment_
key str - Unique key to a security assessment object
- assessment
Key String - Unique key to a security assessment object
AssignedStandardItem, AssignedStandardItemArgs
- Id string
- Full resourceId of the Microsoft.Security/standard object
- Id string
- Full resourceId of the Microsoft.Security/standard object
- id String
- Full resourceId of the Microsoft.Security/standard object
- id string
- Full resourceId of the Microsoft.Security/standard object
- id str
- Full resourceId of the Microsoft.Security/standard object
- id String
- Full resourceId of the Microsoft.Security/standard object
AssignedStandardItemResponse, AssignedStandardItemResponseArgs
- Id string
- Full resourceId of the Microsoft.Security/standard object
- Id string
- Full resourceId of the Microsoft.Security/standard object
- id String
- Full resourceId of the Microsoft.Security/standard object
- id string
- Full resourceId of the Microsoft.Security/standard object
- id str
- Full resourceId of the Microsoft.Security/standard object
- id String
- Full resourceId of the Microsoft.Security/standard object
AttestationComplianceState, AttestationComplianceStateArgs
- Unknown
- unknown
- Compliant
- compliant
- Non
Compliant - nonCompliant
- Attestation
Compliance State Unknown - unknown
- Attestation
Compliance State Compliant - compliant
- Attestation
Compliance State Non Compliant - nonCompliant
- Unknown
- unknown
- Compliant
- compliant
- Non
Compliant - nonCompliant
- Unknown
- unknown
- Compliant
- compliant
- Non
Compliant - nonCompliant
- UNKNOWN
- unknown
- COMPLIANT
- compliant
- NON_COMPLIANT
- nonCompliant
- "unknown"
- unknown
- "compliant"
- compliant
- "non
Compliant" - nonCompliant
AttestationEvidence, AttestationEvidenceArgs
- Description string
- The description of the evidence
- Source
Url string - The source url of the evidence
- Description string
- The description of the evidence
- Source
Url string - The source url of the evidence
- description String
- The description of the evidence
- source
Url String - The source url of the evidence
- description string
- The description of the evidence
- source
Url string - The source url of the evidence
- description str
- The description of the evidence
- source_
url str - The source url of the evidence
- description String
- The description of the evidence
- source
Url String - The source url of the evidence
AttestationEvidenceResponse, AttestationEvidenceResponseArgs
- Description string
- The description of the evidence
- Source
Url string - The source url of the evidence
- Description string
- The description of the evidence
- Source
Url string - The source url of the evidence
- description String
- The description of the evidence
- source
Url String - The source url of the evidence
- description string
- The description of the evidence
- source
Url string - The source url of the evidence
- description str
- The description of the evidence
- source_
url str - The source url of the evidence
- description String
- The description of the evidence
- source
Url String - The source url of the evidence
Effect, EffectArgs
- Audit
- Audit
- Exempt
- Exempt
- Attest
- Attest
- Effect
Audit - Audit
- Effect
Exempt - Exempt
- Effect
Attest - Attest
- Audit
- Audit
- Exempt
- Exempt
- Attest
- Attest
- Audit
- Audit
- Exempt
- Exempt
- Attest
- Attest
- AUDIT
- Audit
- EXEMPT
- Exempt
- ATTEST
- Attest
- "Audit"
- Audit
- "Exempt"
- Exempt
- "Attest"
- Attest
ExemptionCategory, ExemptionCategoryArgs
- Waiver
- waiver
- Mitigated
- mitigated
- Exemption
Category Waiver - waiver
- Exemption
Category Mitigated - mitigated
- Waiver
- waiver
- Mitigated
- mitigated
- Waiver
- waiver
- Mitigated
- mitigated
- WAIVER
- waiver
- MITIGATED
- mitigated
- "waiver"
- waiver
- "mitigated"
- mitigated
StandardAssignmentMetadataResponse, StandardAssignmentMetadataResponseArgs
- Created
By string - Standard assignment Created by object id (GUID)
- Created
On string - Standard assignment creation date
- Last
Updated stringBy - Standard assignment last updated by object id (GUID)
- Last
Updated stringOn - Standard assignment last update date
- Created
By string - Standard assignment Created by object id (GUID)
- Created
On string - Standard assignment creation date
- Last
Updated stringBy - Standard assignment last updated by object id (GUID)
- Last
Updated stringOn - Standard assignment last update date
- created
By String - Standard assignment Created by object id (GUID)
- created
On String - Standard assignment creation date
- last
Updated StringBy - Standard assignment last updated by object id (GUID)
- last
Updated StringOn - Standard assignment last update date
- created
By string - Standard assignment Created by object id (GUID)
- created
On string - Standard assignment creation date
- last
Updated stringBy - Standard assignment last updated by object id (GUID)
- last
Updated stringOn - Standard assignment last update date
- created_
by str - Standard assignment Created by object id (GUID)
- created_
on str - Standard assignment creation date
- last_
updated_ strby - Standard assignment last updated by object id (GUID)
- last_
updated_ stron - Standard assignment last update date
- created
By String - Standard assignment Created by object id (GUID)
- created
On String - Standard assignment creation date
- last
Updated StringBy - Standard assignment last updated by object id (GUID)
- last
Updated StringOn - Standard assignment last update date
StandardAssignmentPropertiesAttestationData, StandardAssignmentPropertiesAttestationDataArgs
- Assigned
Assessment Pulumi.Azure Native. Security. Inputs. Assigned Assessment Item - Component item with key as applied to this standard assignment over the given scope
- Compliance
State string | Pulumi.Azure Native. Security. Attestation Compliance State - Attest category of this assignment
- Evidence
List<Pulumi.
Azure Native. Security. Inputs. Attestation Evidence> - Array of links to attestation evidence
- Assigned
Assessment AssignedAssessment Item - Component item with key as applied to this standard assignment over the given scope
- Compliance
State string | AttestationCompliance State - Attest category of this assignment
- Evidence
[]Attestation
Evidence - Array of links to attestation evidence
- assigned
Assessment AssignedAssessment Item - Component item with key as applied to this standard assignment over the given scope
- compliance
State String | AttestationCompliance State - Attest category of this assignment
- evidence
List<Attestation
Evidence> - Array of links to attestation evidence
- assigned
Assessment AssignedAssessment Item - Component item with key as applied to this standard assignment over the given scope
- compliance
State string | AttestationCompliance State - Attest category of this assignment
- evidence
Attestation
Evidence[] - Array of links to attestation evidence
- assigned_
assessment AssignedAssessment Item - Component item with key as applied to this standard assignment over the given scope
- compliance_
state str | AttestationCompliance State - Attest category of this assignment
- evidence
Sequence[Attestation
Evidence] - Array of links to attestation evidence
- assigned
Assessment Property Map - Component item with key as applied to this standard assignment over the given scope
- compliance
State String | "unknown" | "compliant" | "nonCompliant" - Attest category of this assignment
- evidence List<Property Map>
- Array of links to attestation evidence
StandardAssignmentPropertiesExemptionData, StandardAssignmentPropertiesExemptionDataArgs
- Assigned
Assessment Pulumi.Azure Native. Security. Inputs. Assigned Assessment Item - Component item with key as applied to this standard assignment over the given scope
- Exemption
Category string | Pulumi.Azure Native. Security. Exemption Category - Exemption category of this assignment
- Assigned
Assessment AssignedAssessment Item - Component item with key as applied to this standard assignment over the given scope
- Exemption
Category string | ExemptionCategory - Exemption category of this assignment
- assigned
Assessment AssignedAssessment Item - Component item with key as applied to this standard assignment over the given scope
- exemption
Category String | ExemptionCategory - Exemption category of this assignment
- assigned
Assessment AssignedAssessment Item - Component item with key as applied to this standard assignment over the given scope
- exemption
Category string | ExemptionCategory - Exemption category of this assignment
- assigned_
assessment AssignedAssessment Item - Component item with key as applied to this standard assignment over the given scope
- exemption_
category str | ExemptionCategory - Exemption category of this assignment
- assigned
Assessment Property Map - Component item with key as applied to this standard assignment over the given scope
- exemption
Category String | "waiver" | "mitigated" - Exemption category of this assignment
StandardAssignmentPropertiesResponseAttestationData, StandardAssignmentPropertiesResponseAttestationDataArgs
- Compliance
Date string - Attestation compliance date
- Assigned
Assessment Pulumi.Azure Native. Security. Inputs. Assigned Assessment Item Response - Component item with key as applied to this standard assignment over the given scope
- Compliance
State string - Attest category of this assignment
- Evidence
List<Pulumi.
Azure Native. Security. Inputs. Attestation Evidence Response> - Array of links to attestation evidence
- Compliance
Date string - Attestation compliance date
- Assigned
Assessment AssignedAssessment Item Response - Component item with key as applied to this standard assignment over the given scope
- Compliance
State string - Attest category of this assignment
- Evidence
[]Attestation
Evidence Response - Array of links to attestation evidence
- compliance
Date String - Attestation compliance date
- assigned
Assessment AssignedAssessment Item Response - Component item with key as applied to this standard assignment over the given scope
- compliance
State String - Attest category of this assignment
- evidence
List<Attestation
Evidence Response> - Array of links to attestation evidence
- compliance
Date string - Attestation compliance date
- assigned
Assessment AssignedAssessment Item Response - Component item with key as applied to this standard assignment over the given scope
- compliance
State string - Attest category of this assignment
- evidence
Attestation
Evidence Response[] - Array of links to attestation evidence
- compliance_
date str - Attestation compliance date
- assigned_
assessment AssignedAssessment Item Response - Component item with key as applied to this standard assignment over the given scope
- compliance_
state str - Attest category of this assignment
- evidence
Sequence[Attestation
Evidence Response] - Array of links to attestation evidence
- compliance
Date String - Attestation compliance date
- assigned
Assessment Property Map - Component item with key as applied to this standard assignment over the given scope
- compliance
State String - Attest category of this assignment
- evidence List<Property Map>
- Array of links to attestation evidence
StandardAssignmentPropertiesResponseExemptionData, StandardAssignmentPropertiesResponseExemptionDataArgs
- Assigned
Assessment Pulumi.Azure Native. Security. Inputs. Assigned Assessment Item Response - Component item with key as applied to this standard assignment over the given scope
- Exemption
Category string - Exemption category of this assignment
- Assigned
Assessment AssignedAssessment Item Response - Component item with key as applied to this standard assignment over the given scope
- Exemption
Category string - Exemption category of this assignment
- assigned
Assessment AssignedAssessment Item Response - Component item with key as applied to this standard assignment over the given scope
- exemption
Category String - Exemption category of this assignment
- assigned
Assessment AssignedAssessment Item Response - Component item with key as applied to this standard assignment over the given scope
- exemption
Category string - Exemption category of this assignment
- assigned_
assessment AssignedAssessment Item Response - Component item with key as applied to this standard assignment over the given scope
- exemption_
category str - Exemption category of this assignment
- assigned
Assessment Property Map - Component item with key as applied to this standard assignment over the given scope
- exemption
Category String - Exemption category of this assignment
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:security:StandardAssignment 1f3afdf9-d0c9-4c3d-847f-89da613e70a8 /{resourceId}/providers/Microsoft.Security/standardAssignments/{standardAssignmentName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0