1. Packages
  2. Azure Classic
  3. API Docs
  4. securitycenter
  5. AssessmentMetadata

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages the Security Center Assessment Metadata for Azure Security Center.

    NOTE: This resource has been deprecated in favour of the azure.securitycenter.AssessmentPolicy resource and will be removed in the next major version of the AzureRM Provider. The new resource shares the same fields as this one, and information on migrating across can be found in this guide.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var example = new Azure.SecurityCenter.AssessmentMetadata("example", new Azure.SecurityCenter.AssessmentMetadataArgs
            {
                Description = "Test Description",
                DisplayName = "Test Display Name",
                Severity = "Medium",
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/securitycenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := securitycenter.NewAssessmentMetadata(ctx, "example", &securitycenter.AssessmentMetadataArgs{
    			Description: pulumi.String("Test Description"),
    			DisplayName: pulumi.String("Test Display Name"),
    			Severity:    pulumi.String("Medium"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.securitycenter.AssessmentMetadata("example", {
        description: "Test Description",
        displayName: "Test Display Name",
        severity: "Medium",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.securitycenter.AssessmentMetadata("example",
        description="Test Description",
        display_name="Test Display Name",
        severity="Medium")
    

    Example coming soon!

    Create AssessmentMetadata Resource

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

    Constructor syntax

    new AssessmentMetadata(name: string, args: AssessmentMetadataArgs, opts?: CustomResourceOptions);
    @overload
    def AssessmentMetadata(resource_name: str,
                           args: AssessmentMetadataArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def AssessmentMetadata(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           description: Optional[str] = None,
                           display_name: Optional[str] = None,
                           categories: Optional[Sequence[str]] = None,
                           implementation_effort: Optional[str] = None,
                           remediation_description: Optional[str] = None,
                           severity: Optional[str] = None,
                           threats: Optional[Sequence[str]] = None,
                           user_impact: Optional[str] = None)
    func NewAssessmentMetadata(ctx *Context, name string, args AssessmentMetadataArgs, opts ...ResourceOption) (*AssessmentMetadata, error)
    public AssessmentMetadata(string name, AssessmentMetadataArgs args, CustomResourceOptions? opts = null)
    public AssessmentMetadata(String name, AssessmentMetadataArgs args)
    public AssessmentMetadata(String name, AssessmentMetadataArgs args, CustomResourceOptions options)
    
    type: azure:securitycenter:AssessmentMetadata
    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 AssessmentMetadataArgs
    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 AssessmentMetadataArgs
    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 AssessmentMetadataArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AssessmentMetadataArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AssessmentMetadataArgs
    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 assessmentMetadataResource = new Azure.SecurityCenter.AssessmentMetadata("assessmentMetadataResource", new()
    {
        Description = "string",
        DisplayName = "string",
        Categories = new[]
        {
            "string",
        },
        ImplementationEffort = "string",
        RemediationDescription = "string",
        Severity = "string",
        Threats = new[]
        {
            "string",
        },
        UserImpact = "string",
    });
    
    example, err := securitycenter.NewAssessmentMetadata(ctx, "assessmentMetadataResource", &securitycenter.AssessmentMetadataArgs{
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	Categories: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ImplementationEffort:   pulumi.String("string"),
    	RemediationDescription: pulumi.String("string"),
    	Severity:               pulumi.String("string"),
    	Threats: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UserImpact: pulumi.String("string"),
    })
    
    var assessmentMetadataResource = new AssessmentMetadata("assessmentMetadataResource", AssessmentMetadataArgs.builder()
        .description("string")
        .displayName("string")
        .categories("string")
        .implementationEffort("string")
        .remediationDescription("string")
        .severity("string")
        .threats("string")
        .userImpact("string")
        .build());
    
    assessment_metadata_resource = azure.securitycenter.AssessmentMetadata("assessmentMetadataResource",
        description="string",
        display_name="string",
        categories=["string"],
        implementation_effort="string",
        remediation_description="string",
        severity="string",
        threats=["string"],
        user_impact="string")
    
    const assessmentMetadataResource = new azure.securitycenter.AssessmentMetadata("assessmentMetadataResource", {
        description: "string",
        displayName: "string",
        categories: ["string"],
        implementationEffort: "string",
        remediationDescription: "string",
        severity: "string",
        threats: ["string"],
        userImpact: "string",
    });
    
    type: azure:securitycenter:AssessmentMetadata
    properties:
        categories:
            - string
        description: string
        displayName: string
        implementationEffort: string
        remediationDescription: string
        severity: string
        threats:
            - string
        userImpact: string
    

    AssessmentMetadata 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 AssessmentMetadata resource accepts the following input properties:

    Description string
    The description of the Security Center Assessment.
    DisplayName string
    The user-friendly display name of the Security Center Assessment.
    Categories List<string>
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    ImplementationEffort string
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    RemediationDescription string
    The description which is used to mitigate the security issue.
    Severity string
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    Threats List<string>
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    UserImpact string
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.
    Description string
    The description of the Security Center Assessment.
    DisplayName string
    The user-friendly display name of the Security Center Assessment.
    Categories []string
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    ImplementationEffort string
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    RemediationDescription string
    The description which is used to mitigate the security issue.
    Severity string
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    Threats []string
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    UserImpact string
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.
    description String
    The description of the Security Center Assessment.
    displayName String
    The user-friendly display name of the Security Center Assessment.
    categories List<String>
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    implementationEffort String
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    remediationDescription String
    The description which is used to mitigate the security issue.
    severity String
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    threats List<String>
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    userImpact String
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.
    description string
    The description of the Security Center Assessment.
    displayName string
    The user-friendly display name of the Security Center Assessment.
    categories string[]
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    implementationEffort string
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    remediationDescription string
    The description which is used to mitigate the security issue.
    severity string
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    threats string[]
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    userImpact string
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.
    description str
    The description of the Security Center Assessment.
    display_name str
    The user-friendly display name of the Security Center Assessment.
    categories Sequence[str]
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    implementation_effort str
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    remediation_description str
    The description which is used to mitigate the security issue.
    severity str
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    threats Sequence[str]
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    user_impact str
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.
    description String
    The description of the Security Center Assessment.
    displayName String
    The user-friendly display name of the Security Center Assessment.
    categories List<String>
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    implementationEffort String
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    remediationDescription String
    The description which is used to mitigate the security issue.
    severity String
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    threats List<String>
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    userImpact String
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The GUID as the name of the Security Center Assessment Metadata.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The GUID as the name of the Security Center Assessment Metadata.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The GUID as the name of the Security Center Assessment Metadata.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The GUID as the name of the Security Center Assessment Metadata.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The GUID as the name of the Security Center Assessment Metadata.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The GUID as the name of the Security Center Assessment Metadata.

    Look up Existing AssessmentMetadata Resource

    Get an existing AssessmentMetadata resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AssessmentMetadataState, opts?: CustomResourceOptions): AssessmentMetadata
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            categories: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            implementation_effort: Optional[str] = None,
            name: Optional[str] = None,
            remediation_description: Optional[str] = None,
            severity: Optional[str] = None,
            threats: Optional[Sequence[str]] = None,
            user_impact: Optional[str] = None) -> AssessmentMetadata
    func GetAssessmentMetadata(ctx *Context, name string, id IDInput, state *AssessmentMetadataState, opts ...ResourceOption) (*AssessmentMetadata, error)
    public static AssessmentMetadata Get(string name, Input<string> id, AssessmentMetadataState? state, CustomResourceOptions? opts = null)
    public static AssessmentMetadata get(String name, Output<String> id, AssessmentMetadataState state, CustomResourceOptions options)
    resources:  _:    type: azure:securitycenter:AssessmentMetadata    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Categories List<string>
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    Description string
    The description of the Security Center Assessment.
    DisplayName string
    The user-friendly display name of the Security Center Assessment.
    ImplementationEffort string
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    Name string
    The GUID as the name of the Security Center Assessment Metadata.
    RemediationDescription string
    The description which is used to mitigate the security issue.
    Severity string
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    Threats List<string>
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    UserImpact string
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.
    Categories []string
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    Description string
    The description of the Security Center Assessment.
    DisplayName string
    The user-friendly display name of the Security Center Assessment.
    ImplementationEffort string
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    Name string
    The GUID as the name of the Security Center Assessment Metadata.
    RemediationDescription string
    The description which is used to mitigate the security issue.
    Severity string
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    Threats []string
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    UserImpact string
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.
    categories List<String>
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    description String
    The description of the Security Center Assessment.
    displayName String
    The user-friendly display name of the Security Center Assessment.
    implementationEffort String
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    name String
    The GUID as the name of the Security Center Assessment Metadata.
    remediationDescription String
    The description which is used to mitigate the security issue.
    severity String
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    threats List<String>
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    userImpact String
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.
    categories string[]
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    description string
    The description of the Security Center Assessment.
    displayName string
    The user-friendly display name of the Security Center Assessment.
    implementationEffort string
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    name string
    The GUID as the name of the Security Center Assessment Metadata.
    remediationDescription string
    The description which is used to mitigate the security issue.
    severity string
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    threats string[]
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    userImpact string
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.
    categories Sequence[str]
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    description str
    The description of the Security Center Assessment.
    display_name str
    The user-friendly display name of the Security Center Assessment.
    implementation_effort str
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    name str
    The GUID as the name of the Security Center Assessment Metadata.
    remediation_description str
    The description which is used to mitigate the security issue.
    severity str
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    threats Sequence[str]
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    user_impact str
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.
    categories List<String>
    A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.
    description String
    The description of the Security Center Assessment.
    displayName String
    The user-friendly display name of the Security Center Assessment.
    implementationEffort String
    The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.
    name String
    The GUID as the name of the Security Center Assessment Metadata.
    remediationDescription String
    The description which is used to mitigate the security issue.
    severity String
    The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.
    threats List<String>
    A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.
    userImpact String
    The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.

    Import

    Security Assessments Metadata can be imported using the resource id, e.g.

     $ pulumi import azure:securitycenter/assessmentMetadata:AssessmentMetadata example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/assessmentMetadata/metadata1
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.