Security assessment on a resource - response format
Uses Azure REST API version 2021-06-01. In version 2.x of the Azure Native provider, it used API version 2021-06-01.
Other available API versions: 2019-01-01-preview, 2020-01-01, 2025-05-04. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native security [ApiVersion]. See the version guide for details.
Example Usage
Create security recommendation task on a resource
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var assessment = new AzureNative.Security.Assessment("assessment", new()
{
AssessmentName = "8bb8be0a-6010-4789-812f-e4d661c4ed0e",
ResourceDetails = new AzureNative.Security.Inputs.AzureResourceDetailsArgs
{
Source = "Azure",
},
ResourceId = "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2",
Status = new AzureNative.Security.Inputs.AssessmentStatusArgs
{
Code = AzureNative.Security.AssessmentStatusCode.Healthy,
},
});
});
package main
import (
security "github.com/pulumi/pulumi-azure-native-sdk/security/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := security.NewAssessment(ctx, "assessment", &security.AssessmentArgs{
AssessmentName: pulumi.String("8bb8be0a-6010-4789-812f-e4d661c4ed0e"),
ResourceDetails: &security.AzureResourceDetailsArgs{
Source: pulumi.String("Azure"),
},
ResourceId: pulumi.String("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2"),
Status: &security.AssessmentStatusArgs{
Code: pulumi.String(security.AssessmentStatusCodeHealthy),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_security_assessment" "assessment" {
lifecycle {
create_before_destroy = true
}
assessment_name = "8bb8be0a-6010-4789-812f-e4d661c4ed0e"
resource_details = {
source = "Azure"
}
resource_id = "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2"
status = {
code = "Healthy"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.security.Assessment;
import com.pulumi.azurenative.security.AssessmentArgs;
import com.pulumi.azurenative.security.inputs.AzureResourceDetailsArgs;
import com.pulumi.azurenative.security.inputs.OnPremiseResourceDetailsArgs;
import com.pulumi.azurenative.security.inputs.OnPremiseSqlResourceDetailsArgs;
import com.pulumi.azurenative.security.inputs.AssessmentStatusArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 assessment = new Assessment("assessment", AssessmentArgs.builder()
.assessmentName("8bb8be0a-6010-4789-812f-e4d661c4ed0e")
.resourceDetails(AzureResourceDetailsArgs.builder()
.build())
.resourceId("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2")
.status(AssessmentStatusArgs.builder()
.code("Healthy")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const assessment = new azure_native.security.Assessment("assessment", {
assessmentName: "8bb8be0a-6010-4789-812f-e4d661c4ed0e",
resourceDetails: {
source: "Azure",
},
resourceId: "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2",
status: {
code: azure_native.security.AssessmentStatusCode.Healthy,
},
});
import pulumi
import pulumi_azure_native as azure_native
assessment = azure_native.security.Assessment("assessment",
assessment_name="8bb8be0a-6010-4789-812f-e4d661c4ed0e",
resource_details={
"source": "Azure",
},
resource_id="subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2",
status={
"code": azure_native.security.AssessmentStatusCode.HEALTHY,
})
resources:
assessment:
type: azure-native:security:Assessment
properties:
assessmentName: 8bb8be0a-6010-4789-812f-e4d661c4ed0e
resourceDetails:
source: Azure
resourceId: subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2
status:
code: Healthy
Create Assessment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def Assessment(resource_name: str,
args: AssessmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Assessment(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_details: Optional[Union[AzureResourceDetailsArgs, OnPremiseResourceDetailsArgs, OnPremiseSqlResourceDetailsArgs]] = None,
resource_id: Optional[str] = None,
status: Optional[AssessmentStatusArgs] = None,
additional_data: Optional[Mapping[str, str]] = None,
assessment_name: Optional[str] = None,
metadata: Optional[SecurityAssessmentMetadataPropertiesArgs] = None,
partners_data: Optional[SecurityAssessmentPartnerDataArgs] = None)
type: azure-native:security:Assessment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_security_assessment" "name" {
# resource properties
}
Parameters
- resource_name
str
- The unique name of the resource.
- args
AssessmentArgs
- 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
AssessmentArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
AssessmentArgs
- 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 exampleassessmentResourceResourceFromSecurity = new AzureNative.Security.Assessment("exampleassessmentResourceResourceFromSecurity", new()
{
ResourceDetails = new AzureNative.Security.Inputs.AzureResourceDetailsArgs
{
Source = "Azure",
},
ResourceId = "string",
Status = new AzureNative.Security.Inputs.AssessmentStatusArgs
{
Code = "string",
Cause = "string",
Description = "string",
},
AdditionalData =
{
{ "string", "string" },
},
AssessmentName = "string",
Metadata = new AzureNative.Security.Inputs.SecurityAssessmentMetadataPropertiesArgs
{
AssessmentType = "string",
DisplayName = "string",
Severity = "string",
Categories =
{
"string",
},
Description = "string",
ImplementationEffort = "string",
PartnerData = new AzureNative.Security.Inputs.SecurityAssessmentMetadataPartnerDataArgs
{
PartnerName = "string",
Secret = "string",
ProductName = "string",
},
Preview = false,
RemediationDescription = "string",
Threats =
{
"string",
},
UserImpact = "string",
},
PartnersData = new AzureNative.Security.Inputs.SecurityAssessmentPartnerDataArgs
{
PartnerName = "string",
Secret = "string",
},
});
example, err := security.NewAssessment(ctx, "exampleassessmentResourceResourceFromSecurity", &security.AssessmentArgs{
ResourceDetails: &*security.AzureResourceDetailsArgs{
Source: pulumi.String("Azure"),
},
ResourceId: pulumi.String("string"),
Status: &security.AssessmentStatusArgs{
Code: pulumi.String("string"),
Cause: pulumi.String("string"),
Description: pulumi.String("string"),
},
AdditionalData: pulumi.StringMap{
"string": pulumi.String("string"),
},
AssessmentName: pulumi.String("string"),
Metadata: &security.SecurityAssessmentMetadataPropertiesArgs{
AssessmentType: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Severity: pulumi.String("string"),
Categories: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
ImplementationEffort: pulumi.String("string"),
PartnerData: &security.SecurityAssessmentMetadataPartnerDataArgs{
PartnerName: pulumi.String("string"),
Secret: pulumi.String("string"),
ProductName: pulumi.String("string"),
},
Preview: pulumi.Bool(false),
RemediationDescription: pulumi.String("string"),
Threats: pulumi.StringArray{
pulumi.String("string"),
},
UserImpact: pulumi.String("string"),
},
PartnersData: &security.SecurityAssessmentPartnerDataArgs{
PartnerName: pulumi.String("string"),
Secret: pulumi.String("string"),
},
})
resource "azure-native_security_assessment" "exampleassessmentResourceResourceFromSecurity" {
lifecycle {
create_before_destroy = true
}
resource_details = {
source = "Azure"
}
resource_id = "string"
status = {
code = "string"
cause = "string"
description = "string"
}
additional_data = {
"string" = "string"
}
assessment_name = "string"
metadata = {
assessment_type = "string"
display_name = "string"
severity = "string"
categories = ["string"]
description = "string"
implementation_effort = "string"
partner_data = {
partner_name = "string"
secret = "string"
product_name = "string"
}
preview = false
remediation_description = "string"
threats = ["string"]
user_impact = "string"
}
partners_data = {
partner_name = "string"
secret = "string"
}
}
var exampleassessmentResourceResourceFromSecurity = new com.pulumi.azurenative.security.Assessment("exampleassessmentResourceResourceFromSecurity", com.pulumi.azurenative.security.AssessmentArgs.builder()
.resourceDetails(AzureResourceDetailsArgs.builder()
.build())
.resourceId("string")
.status(AssessmentStatusArgs.builder()
.code("string")
.cause("string")
.description("string")
.build())
.additionalData(Map.of("string", "string"))
.assessmentName("string")
.metadata(SecurityAssessmentMetadataPropertiesArgs.builder()
.assessmentType("string")
.displayName("string")
.severity("string")
.categories("string")
.description("string")
.implementationEffort("string")
.partnerData(SecurityAssessmentMetadataPartnerDataArgs.builder()
.partnerName("string")
.secret("string")
.productName("string")
.build())
.preview(false)
.remediationDescription("string")
.threats("string")
.userImpact("string")
.build())
.partnersData(SecurityAssessmentPartnerDataArgs.builder()
.partnerName("string")
.secret("string")
.build())
.build());
exampleassessment_resource_resource_from_security = azure_native.security.Assessment("exampleassessmentResourceResourceFromSecurity",
resource_details={
"source": "Azure",
},
resource_id="string",
status={
"code": "string",
"cause": "string",
"description": "string",
},
additional_data={
"string": "string",
},
assessment_name="string",
metadata={
"assessment_type": "string",
"display_name": "string",
"severity": "string",
"categories": ["string"],
"description": "string",
"implementation_effort": "string",
"partner_data": {
"partner_name": "string",
"secret": "string",
"product_name": "string",
},
"preview": False,
"remediation_description": "string",
"threats": ["string"],
"user_impact": "string",
},
partners_data={
"partner_name": "string",
"secret": "string",
})
const exampleassessmentResourceResourceFromSecurity = new azure_native.security.Assessment("exampleassessmentResourceResourceFromSecurity", {
resourceDetails: {
source: "Azure",
},
resourceId: "string",
status: {
code: "string",
cause: "string",
description: "string",
},
additionalData: {
string: "string",
},
assessmentName: "string",
metadata: {
assessmentType: "string",
displayName: "string",
severity: "string",
categories: ["string"],
description: "string",
implementationEffort: "string",
partnerData: {
partnerName: "string",
secret: "string",
productName: "string",
},
preview: false,
remediationDescription: "string",
threats: ["string"],
userImpact: "string",
},
partnersData: {
partnerName: "string",
secret: "string",
},
});
type: azure-native:security:Assessment
properties:
additionalData:
string: string
assessmentName: string
metadata:
assessmentType: string
categories:
- string
description: string
displayName: string
implementationEffort: string
partnerData:
partnerName: string
productName: string
secret: string
preview: false
remediationDescription: string
severity: string
threats:
- string
userImpact: string
partnersData:
partnerName: string
secret: string
resourceDetails:
source: Azure
resourceId: string
status:
cause: string
code: string
description: string
Assessment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Assessment resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Assessment resource produces the following output properties:
- azure_api_version
string
- The Azure API version of the resource.
- display_name
string
- User friendly display name of the assessment
- id
string
- The provider-assigned unique ID for this managed resource.
- links
object
- Links relevant to the assessment
- name
string
- Resource name
- type
string
- Resource type
- azureApiVersion
String
- The Azure API version of the resource.
- displayName
String
- User friendly display name of the assessment
- id
String
- The provider-assigned unique ID for this managed resource.
- links
Property Map
- Links relevant to the assessment
- name
String
- Resource name
- type
String
- Resource type
Look up Existing Assessment Resource
Get an existing Assessment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static Assessment get(String name, Output<String> id, CustomResourceOptions options)
resources: existingAssessment: type: azure-native:security:Assessment get: id: ${id}
import {
to = azure-native_security_assessment.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
AssessmentState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
AssessmentLinksResponse
Links relevant to the assessment
AssessmentStatus, AssessmentStatusArgs
The result of the assessment
- Code
string | AssessmentStatusCode
- Programmatic code for the status of the assessment
- Cause
string
- Programmatic code for the cause of the assessment status
- Description
string
- Human readable description of the assessment status
- code
String | AssessmentStatusCode
- Programmatic code for the status of the assessment
- cause
String
- Programmatic code for the cause of the assessment status
- description
String
- Human readable description of the assessment status
- code
string | AssessmentStatusCode
- Programmatic code for the status of the assessment
- cause
string
- Programmatic code for the cause of the assessment status
- description
string
- Human readable description of the assessment status
- code
str | AssessmentStatusCode
- Programmatic code for the status of the assessment
- cause
str
- Programmatic code for the cause of the assessment status
- description
str
- Human readable description of the assessment status
AssessmentStatusCode
Programmatic code for the status of the assessment
| Name | Value | Description |
|---|
| Healthy | Healthy | The resource is healthy |
| Unhealthy | Unhealthy | The resource has a security issue that needs to be addressed |
| NotApplicable | NotApplicable | Assessment for this resource did not happen |
| Name | Value | Description |
|---|
| AssessmentStatusCodeHealthy | Healthy | The resource is healthy |
| AssessmentStatusCodeUnhealthy | Unhealthy | The resource has a security issue that needs to be addressed |
| AssessmentStatusCodeNotApplicable | NotApplicable | Assessment for this resource did not happen |
| Value | Description |
|---|
Healthy | The resource is healthy |
Unhealthy | The resource has a security issue that needs to be addressed |
NotApplicable | Assessment for this resource did not happen |
| Name | Value | Description |
|---|
| Healthy | Healthy | The resource is healthy |
| Unhealthy | Unhealthy | The resource has a security issue that needs to be addressed |
| NotApplicable | NotApplicable | Assessment for this resource did not happen |
| Name | Value | Description |
|---|
| Healthy | Healthy | The resource is healthy |
| Unhealthy | Unhealthy | The resource has a security issue that needs to be addressed |
| NotApplicable | NotApplicable | Assessment for this resource did not happen |
| Name | Value | Description |
|---|
| HEALTHY | Healthy | The resource is healthy |
| UNHEALTHY | Unhealthy | The resource has a security issue that needs to be addressed |
| NOT_APPLICABLE | NotApplicable | Assessment for this resource did not happen |
| Value | Description |
|---|
Healthy | The resource is healthy |
Unhealthy | The resource has a security issue that needs to be addressed |
NotApplicable | Assessment for this resource did not happen |
AssessmentStatusResponseResponse
The result of the assessment
- Code
string
- Programmatic code for the status of the assessment
- FirstEvaluationDate
string
- The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format
- StatusChangeDate
string
- The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format
- Cause
string
- Programmatic code for the cause of the assessment status
- Description
string
- Human readable description of the assessment status
- Code
string
- Programmatic code for the status of the assessment
- FirstEvaluationDate
string
- The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format
- StatusChangeDate
string
- The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format
- Cause
string
- Programmatic code for the cause of the assessment status
- Description
string
- Human readable description of the assessment status
- code
string
- Programmatic code for the status of the assessment
- first_evaluation_date
string
- The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format
- status_change_date
string
- The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format
- cause
string
- Programmatic code for the cause of the assessment status
- description
string
- Human readable description of the assessment status
- code
String
- Programmatic code for the status of the assessment
- firstEvaluationDate
String
- The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format
- statusChangeDate
String
- The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format
- cause
String
- Programmatic code for the cause of the assessment status
- description
String
- Human readable description of the assessment status
- code
string
- Programmatic code for the status of the assessment
- firstEvaluationDate
string
- The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format
- statusChangeDate
string
- The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format
- cause
string
- Programmatic code for the cause of the assessment status
- description
string
- Human readable description of the assessment status
- code
str
- Programmatic code for the status of the assessment
- first_evaluation_date
str
- The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format
- status_change_date
str
- The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format
- cause
str
- Programmatic code for the cause of the assessment status
- description
str
- Human readable description of the assessment status
- code
String
- Programmatic code for the status of the assessment
- firstEvaluationDate
String
- The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format
- statusChangeDate
String
- The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format
- cause
String
- Programmatic code for the cause of the assessment status
- description
String
- Human readable description of the assessment status
AssessmentType
BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition
| Name | Value | Description |
|---|
| BuiltIn | BuiltIn | Microsoft Defender for Cloud managed assessments |
| CustomPolicy | CustomPolicy | User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud |
| CustomerManaged | CustomerManaged | User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud |
| Name | Value | Description |
|---|
| AssessmentTypeBuiltIn | BuiltIn | Microsoft Defender for Cloud managed assessments |
| AssessmentTypeCustomPolicy | CustomPolicy | User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud |
| AssessmentTypeCustomerManaged | CustomerManaged | User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud |
| Value | Description |
|---|
BuiltIn | Microsoft Defender for Cloud managed assessments |
CustomPolicy | User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud |
CustomerManaged | User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud |
| Name | Value | Description |
|---|
| BuiltIn | BuiltIn | Microsoft Defender for Cloud managed assessments |
| CustomPolicy | CustomPolicy | User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud |
| CustomerManaged | CustomerManaged | User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud |
| Name | Value | Description |
|---|
| BuiltIn | BuiltIn | Microsoft Defender for Cloud managed assessments |
| CustomPolicy | CustomPolicy | User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud |
| CustomerManaged | CustomerManaged | User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud |
| Name | Value | Description |
|---|
| BUILT_IN | BuiltIn | Microsoft Defender for Cloud managed assessments |
| CUSTOM_POLICY | CustomPolicy | User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud |
| CUSTOMER_MANAGED | CustomerManaged | User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud |
| Value | Description |
|---|
BuiltIn | Microsoft Defender for Cloud managed assessments |
CustomPolicy | User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud |
CustomerManaged | User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud |
AzureResourceDetails, AzureResourceDetailsArgs
Details of the Azure resource that was assessed
AzureResourceDetailsResponse
Details of the Azure resource that was assessed
- Id
string
- Azure resource Id of the assessed resource
- Id
string
- Azure resource Id of the assessed resource
- id
string
- Azure resource Id of the assessed resource
- id
String
- Azure resource Id of the assessed resource
- id
string
- Azure resource Id of the assessed resource
- id
str
- Azure resource Id of the assessed resource
- id
String
- Azure resource Id of the assessed resource
Categories
The categories of resource that is at risk when the assessment is unhealthy
| Name | Value |
|---|
| Compute | Compute |
| Networking | Networking |
| Data | Data |
| IdentityAndAccess | IdentityAndAccess |
| IoT | IoT |
| Name | Value |
|---|
| CategoriesCompute | Compute |
| CategoriesNetworking | Networking |
| CategoriesData | Data |
| CategoriesIdentityAndAccess | IdentityAndAccess |
| CategoriesIoT | IoT |
| Value |
|---|
Compute |
Networking |
Data |
IdentityAndAccess |
IoT |
| Name | Value |
|---|
| Compute | Compute |
| Networking | Networking |
| Data | Data |
| IdentityAndAccess | IdentityAndAccess |
| IoT | IoT |
| Name | Value |
|---|
| Compute | Compute |
| Networking | Networking |
| Data | Data |
| IdentityAndAccess | IdentityAndAccess |
| IoT | IoT |
| Name | Value |
|---|
| COMPUTE | Compute |
| NETWORKING | Networking |
| DATA | Data |
| IDENTITY_AND_ACCESS | IdentityAndAccess |
| IO_T | IoT |
| Value |
|---|
Compute |
Networking |
Data |
IdentityAndAccess |
IoT |
ImplementationEffort
The implementation effort required to remediate this assessment
| Name | Value |
|---|
| Low | Low |
| Moderate | Moderate |
| High | High |
| Name | Value |
|---|
| ImplementationEffortLow | Low |
| ImplementationEffortModerate | Moderate |
| ImplementationEffortHigh | High |
| Name | Value |
|---|
| Low | Low |
| Moderate | Moderate |
| High | High |
| Name | Value |
|---|
| Low | Low |
| Moderate | Moderate |
| High | High |
| Name | Value |
|---|
| LOW | Low |
| MODERATE | Moderate |
| HIGH | High |
OnPremiseResourceDetails, OnPremiseResourceDetailsArgs
Details of the On Premise resource that was assessed
- MachineName
string
- The name of the machine
- SourceComputerId
string
- The oms agent Id installed on the machine
- Vmuuid
string
- The unique Id of the machine
- WorkspaceId
string
- Azure resource Id of the workspace the machine is attached to
- MachineName
string
- The name of the machine
- SourceComputerId
string
- The oms agent Id installed on the machine
- Vmuuid
string
- The unique Id of the machine
- WorkspaceId
string
- Azure resource Id of the workspace the machine is attached to
- machineName
String
- The name of the machine
- sourceComputerId
String
- The oms agent Id installed on the machine
- vmuuid
String
- The unique Id of the machine
- workspaceId
String
- Azure resource Id of the workspace the machine is attached to
- machineName
string
- The name of the machine
- sourceComputerId
string
- The oms agent Id installed on the machine
- vmuuid
string
- The unique Id of the machine
- workspaceId
string
- Azure resource Id of the workspace the machine is attached to
- machineName
String
- The name of the machine
- sourceComputerId
String
- The oms agent Id installed on the machine
- vmuuid
String
- The unique Id of the machine
- workspaceId
String
- Azure resource Id of the workspace the machine is attached to
OnPremiseResourceDetailsResponse
Details of the On Premise resource that was assessed
- MachineName
string
- The name of the machine
- SourceComputerId
string
- The oms agent Id installed on the machine
- Vmuuid
string
- The unique Id of the machine
- WorkspaceId
string
- Azure resource Id of the workspace the machine is attached to
- MachineName
string
- The name of the machine
- SourceComputerId
string
- The oms agent Id installed on the machine
- Vmuuid
string
- The unique Id of the machine
- WorkspaceId
string
- Azure resource Id of the workspace the machine is attached to
- machineName
String
- The name of the machine
- sourceComputerId
String
- The oms agent Id installed on the machine
- vmuuid
String
- The unique Id of the machine
- workspaceId
String
- Azure resource Id of the workspace the machine is attached to
- machineName
string
- The name of the machine
- sourceComputerId
string
- The oms agent Id installed on the machine
- vmuuid
string
- The unique Id of the machine
- workspaceId
string
- Azure resource Id of the workspace the machine is attached to
- machineName
String
- The name of the machine
- sourceComputerId
String
- The oms agent Id installed on the machine
- vmuuid
String
- The unique Id of the machine
- workspaceId
String
- Azure resource Id of the workspace the machine is attached to
OnPremiseSqlResourceDetails, OnPremiseSqlResourceDetailsArgs
Details of the On Premise Sql resource that was assessed
- DatabaseName
string
- The Sql database name installed on the machine
- MachineName
string
- The name of the machine
- ServerName
string
- The Sql server name installed on the machine
- SourceComputerId
string
- The oms agent Id installed on the machine
- Vmuuid
string
- The unique Id of the machine
- WorkspaceId
string
- Azure resource Id of the workspace the machine is attached to
- DatabaseName
string
- The Sql database name installed on the machine
- MachineName
string
- The name of the machine
- ServerName
string
- The Sql server name installed on the machine
- SourceComputerId
string
- The oms agent Id installed on the machine
- Vmuuid
string
- The unique Id of the machine
- WorkspaceId
string
- Azure resource Id of the workspace the machine is attached to
- databaseName
String
- The Sql database name installed on the machine
- machineName
String
- The name of the machine
- serverName
String
- The Sql server name installed on the machine
- sourceComputerId
String
- The oms agent Id installed on the machine
- vmuuid
String
- The unique Id of the machine
- workspaceId
String
- Azure resource Id of the workspace the machine is attached to
- databaseName
string
- The Sql database name installed on the machine
- machineName
string
- The name of the machine
- serverName
string
- The Sql server name installed on the machine
- sourceComputerId
string
- The oms agent Id installed on the machine
- vmuuid
string
- The unique Id of the machine
- workspaceId
string
- Azure resource Id of the workspace the machine is attached to
- databaseName
String
- The Sql database name installed on the machine
- machineName
String
- The name of the machine
- serverName
String
- The Sql server name installed on the machine
- sourceComputerId
String
- The oms agent Id installed on the machine
- vmuuid
String
- The unique Id of the machine
- workspaceId
String
- Azure resource Id of the workspace the machine is attached to
OnPremiseSqlResourceDetailsResponse
Details of the On Premise Sql resource that was assessed
- DatabaseName
string
- The Sql database name installed on the machine
- MachineName
string
- The name of the machine
- ServerName
string
- The Sql server name installed on the machine
- SourceComputerId
string
- The oms agent Id installed on the machine
- Vmuuid
string
- The unique Id of the machine
- WorkspaceId
string
- Azure resource Id of the workspace the machine is attached to
- DatabaseName
string
- The Sql database name installed on the machine
- MachineName
string
- The name of the machine
- ServerName
string
- The Sql server name installed on the machine
- SourceComputerId
string
- The oms agent Id installed on the machine
- Vmuuid
string
- The unique Id of the machine
- WorkspaceId
string
- Azure resource Id of the workspace the machine is attached to
- databaseName
String
- The Sql database name installed on the machine
- machineName
String
- The name of the machine
- serverName
String
- The Sql server name installed on the machine
- sourceComputerId
String
- The oms agent Id installed on the machine
- vmuuid
String
- The unique Id of the machine
- workspaceId
String
- Azure resource Id of the workspace the machine is attached to
- databaseName
string
- The Sql database name installed on the machine
- machineName
string
- The name of the machine
- serverName
string
- The Sql server name installed on the machine
- sourceComputerId
string
- The oms agent Id installed on the machine
- vmuuid
string
- The unique Id of the machine
- workspaceId
string
- Azure resource Id of the workspace the machine is attached to
- databaseName
String
- The Sql database name installed on the machine
- machineName
String
- The name of the machine
- serverName
String
- The Sql server name installed on the machine
- sourceComputerId
String
- The oms agent Id installed on the machine
- vmuuid
String
- The unique Id of the machine
- workspaceId
String
- Azure resource Id of the workspace the machine is attached to
Describes the partner that created the assessment
- PartnerName
string
- Name of the company of the partner
- Secret
string
- Secret to authenticate the partner and verify it created the assessment - write only
- ProductName
string
- Name of the product of the partner that created the assessment
- PartnerName
string
- Name of the company of the partner
- Secret
string
- Secret to authenticate the partner and verify it created the assessment - write only
- ProductName
string
- Name of the product of the partner that created the assessment
- partner_name
string
- Name of the company of the partner
- secret
string
- Secret to authenticate the partner and verify it created the assessment - write only
- product_name
string
- Name of the product of the partner that created the assessment
- partnerName
String
- Name of the company of the partner
- secret
String
- Secret to authenticate the partner and verify it created the assessment - write only
- productName
String
- Name of the product of the partner that created the assessment
- partnerName
string
- Name of the company of the partner
- secret
string
- Secret to authenticate the partner and verify it created the assessment - write only
- productName
string
- Name of the product of the partner that created the assessment
- partner_name
str
- Name of the company of the partner
- secret
str
- Secret to authenticate the partner and verify it created the assessment - write only
- product_name
str
- Name of the product of the partner that created the assessment
- partnerName
String
- Name of the company of the partner
- secret
String
- Secret to authenticate the partner and verify it created the assessment - write only
- productName
String
- Name of the product of the partner that created the assessment
Describes the partner that created the assessment
- PartnerName
string
- Name of the company of the partner
- Secret
string
- Secret to authenticate the partner and verify it created the assessment - write only
- ProductName
string
- Name of the product of the partner that created the assessment
- PartnerName
string
- Name of the company of the partner
- Secret
string
- Secret to authenticate the partner and verify it created the assessment - write only
- ProductName
string
- Name of the product of the partner that created the assessment
- partner_name
string
- Name of the company of the partner
- secret
string
- Secret to authenticate the partner and verify it created the assessment - write only
- product_name
string
- Name of the product of the partner that created the assessment
- partnerName
String
- Name of the company of the partner
- secret
String
- Secret to authenticate the partner and verify it created the assessment - write only
- productName
String
- Name of the product of the partner that created the assessment
- partnerName
string
- Name of the company of the partner
- secret
string
- Secret to authenticate the partner and verify it created the assessment - write only
- productName
string
- Name of the product of the partner that created the assessment
- partner_name
str
- Name of the company of the partner
- secret
str
- Secret to authenticate the partner and verify it created the assessment - write only
- product_name
str
- Name of the product of the partner that created the assessment
- partnerName
String
- Name of the company of the partner
- secret
String
- Secret to authenticate the partner and verify it created the assessment - write only
- productName
String
- Name of the product of the partner that created the assessment
Describes properties of an assessment metadata.
Describes properties of an assessment metadata.
- assessment_type
string
- BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition
- display_name
string
- User friendly display name of the assessment
- policy_definition_id
string
- Azure resource ID of the policy definition that turns this assessment calculation on
- severity
string
- The severity level of the assessment
- categories
list(string)
- description
string
- Human readable description of the assessment
- implementation_effort
string
- The implementation effort required to remediate this assessment
- partner_data
object
- Describes the partner that created the assessment
- preview
bool
- True if this assessment is in preview release status
- remediation_description
string
- Human readable description of what you should do to mitigate this security issue
- threats
list(string)
- user_impact
string
- The user impact of the assessment
- assessmentType
String
- BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition
- displayName
String
- User friendly display name of the assessment
- policyDefinitionId
String
- Azure resource ID of the policy definition that turns this assessment calculation on
- severity
String
- The severity level of the assessment
- categories
List<String>
- description
String
- Human readable description of the assessment
- implementationEffort
String
- The implementation effort required to remediate this assessment
- partnerData
Property Map
- Describes the partner that created the assessment
- preview
Boolean
- True if this assessment is in preview release status
- remediationDescription
String
- Human readable description of what you should do to mitigate this security issue
- threats
List<String>
- userImpact
String
- The user impact of the assessment
SecurityAssessmentPartnerData, SecurityAssessmentPartnerDataArgs
Data regarding 3rd party partner integration
- PartnerName
string
- Name of the company of the partner
- Secret
string
- secret to authenticate the partner - write only
- PartnerName
string
- Name of the company of the partner
- Secret
string
- secret to authenticate the partner - write only
- partner_name
string
- Name of the company of the partner
- secret
string
- secret to authenticate the partner - write only
- partnerName
String
- Name of the company of the partner
- secret
String
- secret to authenticate the partner - write only
- partnerName
string
- Name of the company of the partner
- secret
string
- secret to authenticate the partner - write only
- partner_name
str
- Name of the company of the partner
- secret
str
- secret to authenticate the partner - write only
- partnerName
String
- Name of the company of the partner
- secret
String
- secret to authenticate the partner - write only
SecurityAssessmentPartnerDataResponse
Data regarding 3rd party partner integration
- PartnerName
string
- Name of the company of the partner
- Secret
string
- secret to authenticate the partner - write only
- PartnerName
string
- Name of the company of the partner
- Secret
string
- secret to authenticate the partner - write only
- partner_name
string
- Name of the company of the partner
- secret
string
- secret to authenticate the partner - write only
- partnerName
String
- Name of the company of the partner
- secret
String
- secret to authenticate the partner - write only
- partnerName
string
- Name of the company of the partner
- secret
string
- secret to authenticate the partner - write only
- partner_name
str
- Name of the company of the partner
- secret
str
- secret to authenticate the partner - write only
- partnerName
String
- Name of the company of the partner
- secret
String
- secret to authenticate the partner - write only
Severity
The severity level of the assessment
| Name | Value |
|---|
| Low | Low |
| Medium | Medium |
| High | High |
| Name | Value |
|---|
| SeverityLow | Low |
| SeverityMedium | Medium |
| SeverityHigh | High |
| Name | Value |
|---|
| Low | Low |
| Medium | Medium |
| High | High |
| Name | Value |
|---|
| Low | Low |
| Medium | Medium |
| High | High |
| Name | Value |
|---|
| LOW | Low |
| MEDIUM | Medium |
| HIGH | High |
Threats
Threats impact of the assessment
| Name | Value |
|---|
| AccountBreach | accountBreach |
| DataExfiltration | dataExfiltration |
| DataSpillage | dataSpillage |
| MaliciousInsider | maliciousInsider |
| ElevationOfPrivilege | elevationOfPrivilege |
| ThreatResistance | threatResistance |
| MissingCoverage | missingCoverage |
| DenialOfService | denialOfService |
| Name | Value |
|---|
| ThreatsAccountBreach | accountBreach |
| ThreatsDataExfiltration | dataExfiltration |
| ThreatsDataSpillage | dataSpillage |
| ThreatsMaliciousInsider | maliciousInsider |
| ThreatsElevationOfPrivilege | elevationOfPrivilege |
| ThreatsThreatResistance | threatResistance |
| ThreatsMissingCoverage | missingCoverage |
| ThreatsDenialOfService | denialOfService |
| Value |
|---|
accountBreach |
dataExfiltration |
dataSpillage |
maliciousInsider |
elevationOfPrivilege |
threatResistance |
missingCoverage |
denialOfService |
| Name | Value |
|---|
| AccountBreach | accountBreach |
| DataExfiltration | dataExfiltration |
| DataSpillage | dataSpillage |
| MaliciousInsider | maliciousInsider |
| ElevationOfPrivilege | elevationOfPrivilege |
| ThreatResistance | threatResistance |
| MissingCoverage | missingCoverage |
| DenialOfService | denialOfService |
| Name | Value |
|---|
| AccountBreach | accountBreach |
| DataExfiltration | dataExfiltration |
| DataSpillage | dataSpillage |
| MaliciousInsider | maliciousInsider |
| ElevationOfPrivilege | elevationOfPrivilege |
| ThreatResistance | threatResistance |
| MissingCoverage | missingCoverage |
| DenialOfService | denialOfService |
| Name | Value |
|---|
| ACCOUNT_BREACH | accountBreach |
| DATA_EXFILTRATION | dataExfiltration |
| DATA_SPILLAGE | dataSpillage |
| MALICIOUS_INSIDER | maliciousInsider |
| ELEVATION_OF_PRIVILEGE | elevationOfPrivilege |
| THREAT_RESISTANCE | threatResistance |
| MISSING_COVERAGE | missingCoverage |
| DENIAL_OF_SERVICE | denialOfService |
| Value |
|---|
accountBreach |
dataExfiltration |
dataSpillage |
maliciousInsider |
elevationOfPrivilege |
threatResistance |
missingCoverage |
denialOfService |
UserImpact
The user impact of the assessment
| Name | Value |
|---|
| Low | Low |
| Moderate | Moderate |
| High | High |
| Name | Value |
|---|
| UserImpactLow | Low |
| UserImpactModerate | Moderate |
| UserImpactHigh | High |
| Name | Value |
|---|
| Low | Low |
| Moderate | Moderate |
| High | High |
| Name | Value |
|---|
| Low | Low |
| Moderate | Moderate |
| High | High |
| Name | Value |
|---|
| LOW | Low |
| MODERATE | Moderate |
| HIGH | High |
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:security:Assessment 8bb8be0a-6010-4789-812f-e4d661c4ed0e /{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0