We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
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.AssessmentPolicyresource 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.
- Display
Name 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,IoTandNetworking. - Implementation
Effort string - The implementation effort which is used to remediate the Security Center Assessment. Possible values are
Low,ModerateandHigh. - Remediation
Description 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,MediumandHigh. Defaults toMedium. - Threats List<string>
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - User
Impact string - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
- Description string
- The description of the Security Center Assessment.
- Display
Name 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,IoTandNetworking. - Implementation
Effort string - The implementation effort which is used to remediate the Security Center Assessment. Possible values are
Low,ModerateandHigh. - Remediation
Description 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,MediumandHigh. Defaults toMedium. - Threats []string
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - User
Impact string - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
- description String
- The description of the Security Center Assessment.
- display
Name 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,IoTandNetworking. - implementation
Effort String - The implementation effort which is used to remediate the Security Center Assessment. Possible values are
Low,ModerateandHigh. - remediation
Description 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,MediumandHigh. Defaults toMedium. - threats List<String>
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - user
Impact String - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
- description string
- The description of the Security Center Assessment.
- display
Name 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,IoTandNetworking. - implementation
Effort string - The implementation effort which is used to remediate the Security Center Assessment. Possible values are
Low,ModerateandHigh. - remediation
Description 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,MediumandHigh. Defaults toMedium. - threats string[]
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - user
Impact string - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
- 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,IoTandNetworking. - implementation_
effort str - The implementation effort which is used to remediate the Security Center Assessment. Possible values are
Low,ModerateandHigh. - 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,MediumandHigh. Defaults toMedium. - threats Sequence[str]
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - user_
impact str - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
- description String
- The description of the Security Center Assessment.
- display
Name 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,IoTandNetworking. - implementation
Effort String - The implementation effort which is used to remediate the Security Center Assessment. Possible values are
Low,ModerateandHigh. - remediation
Description 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,MediumandHigh. Defaults toMedium. - threats List<String>
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - user
Impact String - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
Outputs
All input properties are implicitly available as output properties. Additionally, the AssessmentMetadata resource produces the following output properties:
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) -> AssessmentMetadatafunc 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.
- 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,IoTandNetworking. - Description string
- The description of the Security Center Assessment.
- Display
Name string - The user-friendly display name of the Security Center Assessment.
- Implementation
Effort string - The implementation effort which is used to remediate the Security Center Assessment. Possible values are
Low,ModerateandHigh. - Name string
- The GUID as the name of the Security Center Assessment Metadata.
- Remediation
Description 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,MediumandHigh. Defaults toMedium. - Threats List<string>
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - User
Impact string - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
- 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,IoTandNetworking. - Description string
- The description of the Security Center Assessment.
- Display
Name string - The user-friendly display name of the Security Center Assessment.
- Implementation
Effort string - The implementation effort which is used to remediate the Security Center Assessment. Possible values are
Low,ModerateandHigh. - Name string
- The GUID as the name of the Security Center Assessment Metadata.
- Remediation
Description 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,MediumandHigh. Defaults toMedium. - Threats []string
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - User
Impact string - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
- 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,IoTandNetworking. - description String
- The description of the Security Center Assessment.
- display
Name String - The user-friendly display name of the Security Center Assessment.
- implementation
Effort String - The implementation effort which is used to remediate the Security Center Assessment. Possible values are
Low,ModerateandHigh. - name String
- The GUID as the name of the Security Center Assessment Metadata.
- remediation
Description 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,MediumandHigh. Defaults toMedium. - threats List<String>
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - user
Impact String - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
- 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,IoTandNetworking. - description string
- The description of the Security Center Assessment.
- display
Name string - The user-friendly display name of the Security Center Assessment.
- implementation
Effort string - The implementation effort which is used to remediate the Security Center Assessment. Possible values are
Low,ModerateandHigh. - name string
- The GUID as the name of the Security Center Assessment Metadata.
- remediation
Description 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,MediumandHigh. Defaults toMedium. - threats string[]
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - user
Impact string - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
- 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,IoTandNetworking. - 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,ModerateandHigh. - 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,MediumandHigh. Defaults toMedium. - threats Sequence[str]
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - user_
impact str - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
- 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,IoTandNetworking. - description String
- The description of the Security Center Assessment.
- display
Name String - The user-friendly display name of the Security Center Assessment.
- implementation
Effort String - The implementation effort which is used to remediate the Security Center Assessment. Possible values are
Low,ModerateandHigh. - name String
- The GUID as the name of the Security Center Assessment Metadata.
- remediation
Description 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,MediumandHigh. Defaults toMedium. - threats List<String>
- A list of the threat impacts for the Security Center Assessment. Possible values are
AccountBreach,DataExfiltration,DataSpillage,DenialOfService,ElevationOfPrivilege,MaliciousInsider,MissingCoverageandThreatResistance. - user
Impact String - The user impact of the Security Center Assessment. Possible values are
Low,ModerateandHigh.
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
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
