1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. Assessment
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

azure-native.security.Assessment

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

    Security assessment on a resource - response format Azure REST API version: 2021-06-01. Prior API version in Azure Native 1.x: 2020-01-01.

    Other available API versions: 2020-01-01.

    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 = "Healthy",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/security/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := security.NewAssessment(ctx, "assessment", &security.AssessmentArgs{
    			AssessmentName: pulumi.String("8bb8be0a-6010-4789-812f-e4d661c4ed0e"),
    			ResourceDetails: security.AzureResourceDetails{
    				Source: "Azure",
    			},
    			ResourceId: pulumi.String("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2"),
    			Status: &security.AssessmentStatusArgs{
    				Code: pulumi.String("Healthy"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.security.Assessment;
    import com.pulumi.azurenative.security.AssessmentArgs;
    import com.pulumi.azurenative.security.inputs.AssessmentStatusArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var assessment = new Assessment("assessment", AssessmentArgs.builder()        
                .assessmentName("8bb8be0a-6010-4789-812f-e4d661c4ed0e")
                .resourceDetails(AzureResourceDetailsArgs.builder()
                    .source("Azure")
                    .build())
                .resourceId("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2")
                .status(AssessmentStatusArgs.builder()
                    .code("Healthy")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    assessment = azure_native.security.Assessment("assessment",
        assessment_name="8bb8be0a-6010-4789-812f-e4d661c4ed0e",
        resource_details=azure_native.security.AzureResourceDetailsArgs(
            source="Azure",
        ),
        resource_id="subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2",
        status=azure_native.security.AssessmentStatusArgs(
            code="Healthy",
        ))
    
    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: "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

    new Assessment(name: string, args: AssessmentArgs, opts?: CustomResourceOptions);
    @overload
    def Assessment(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   additional_data: Optional[Mapping[str, str]] = None,
                   assessment_name: Optional[str] = None,
                   metadata: Optional[SecurityAssessmentMetadataPropertiesArgs] = None,
                   partners_data: Optional[SecurityAssessmentPartnerDataArgs] = None,
                   resource_details: Optional[Union[AzureResourceDetailsArgs, OnPremiseResourceDetailsArgs, OnPremiseSqlResourceDetailsArgs]] = None,
                   resource_id: Optional[str] = None,
                   status: Optional[AssessmentStatusArgs] = None)
    @overload
    def Assessment(resource_name: str,
                   args: AssessmentArgs,
                   opts: Optional[ResourceOptions] = None)
    func NewAssessment(ctx *Context, name string, args AssessmentArgs, opts ...ResourceOption) (*Assessment, error)
    public Assessment(string name, AssessmentArgs args, CustomResourceOptions? opts = null)
    public Assessment(String name, AssessmentArgs args)
    public Assessment(String name, AssessmentArgs args, CustomResourceOptions options)
    
    type: azure-native:security:Assessment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AssessmentArgs
    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 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.
    opts CustomResourceOptions
    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.

    Assessment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Assessment resource accepts the following input properties:

    ResourceDetails Pulumi.AzureNative.Security.Inputs.AzureResourceDetails | Pulumi.AzureNative.Security.Inputs.OnPremiseResourceDetails | Pulumi.AzureNative.Security.Inputs.OnPremiseSqlResourceDetails
    Details of the resource that was assessed
    ResourceId string
    The identifier of the resource.
    Status Pulumi.AzureNative.Security.Inputs.AssessmentStatus
    The result of the assessment
    AdditionalData Dictionary<string, string>
    Additional data regarding the assessment
    AssessmentName string
    The Assessment Key - Unique key for the assessment type
    Metadata Pulumi.AzureNative.Security.Inputs.SecurityAssessmentMetadataProperties
    Describes properties of an assessment metadata.
    PartnersData Pulumi.AzureNative.Security.Inputs.SecurityAssessmentPartnerData
    Data regarding 3rd party partner integration
    ResourceDetails AzureResourceDetailsArgs | OnPremiseResourceDetailsArgs | OnPremiseSqlResourceDetailsArgs
    Details of the resource that was assessed
    ResourceId string
    The identifier of the resource.
    Status AssessmentStatusArgs
    The result of the assessment
    AdditionalData map[string]string
    Additional data regarding the assessment
    AssessmentName string
    The Assessment Key - Unique key for the assessment type
    Metadata SecurityAssessmentMetadataPropertiesArgs
    Describes properties of an assessment metadata.
    PartnersData SecurityAssessmentPartnerDataArgs
    Data regarding 3rd party partner integration
    resourceDetails AzureResourceDetails | OnPremiseResourceDetails | OnPremiseSqlResourceDetails
    Details of the resource that was assessed
    resourceId String
    The identifier of the resource.
    status AssessmentStatus
    The result of the assessment
    additionalData Map<String,String>
    Additional data regarding the assessment
    assessmentName String
    The Assessment Key - Unique key for the assessment type
    metadata SecurityAssessmentMetadataProperties
    Describes properties of an assessment metadata.
    partnersData SecurityAssessmentPartnerData
    Data regarding 3rd party partner integration
    resourceDetails AzureResourceDetails | OnPremiseResourceDetails | OnPremiseSqlResourceDetails
    Details of the resource that was assessed
    resourceId string
    The identifier of the resource.
    status AssessmentStatus
    The result of the assessment
    additionalData {[key: string]: string}
    Additional data regarding the assessment
    assessmentName string
    The Assessment Key - Unique key for the assessment type
    metadata SecurityAssessmentMetadataProperties
    Describes properties of an assessment metadata.
    partnersData SecurityAssessmentPartnerData
    Data regarding 3rd party partner integration
    resource_details AzureResourceDetailsArgs | OnPremiseResourceDetailsArgs | OnPremiseSqlResourceDetailsArgs
    Details of the resource that was assessed
    resource_id str
    The identifier of the resource.
    status AssessmentStatusArgs
    The result of the assessment
    additional_data Mapping[str, str]
    Additional data regarding the assessment
    assessment_name str
    The Assessment Key - Unique key for the assessment type
    metadata SecurityAssessmentMetadataPropertiesArgs
    Describes properties of an assessment metadata.
    partners_data SecurityAssessmentPartnerDataArgs
    Data regarding 3rd party partner integration
    resourceDetails Property Map | Property Map | Property Map
    Details of the resource that was assessed
    resourceId String
    The identifier of the resource.
    status Property Map
    The result of the assessment
    additionalData Map<String>
    Additional data regarding the assessment
    assessmentName String
    The Assessment Key - Unique key for the assessment type
    metadata Property Map
    Describes properties of an assessment metadata.
    partnersData Property Map
    Data regarding 3rd party partner integration

    Outputs

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

    DisplayName string
    User friendly display name of the assessment
    Id string
    The provider-assigned unique ID for this managed resource.
    Links Pulumi.AzureNative.Security.Outputs.AssessmentLinksResponse
    Links relevant to the assessment
    Name string
    Resource name
    Type string
    Resource type
    DisplayName string
    User friendly display name of the assessment
    Id string
    The provider-assigned unique ID for this managed resource.
    Links AssessmentLinksResponse
    Links relevant to the assessment
    Name string
    Resource name
    Type string
    Resource type
    displayName String
    User friendly display name of the assessment
    id String
    The provider-assigned unique ID for this managed resource.
    links AssessmentLinksResponse
    Links relevant to the assessment
    name String
    Resource name
    type String
    Resource type
    displayName string
    User friendly display name of the assessment
    id string
    The provider-assigned unique ID for this managed resource.
    links AssessmentLinksResponse
    Links relevant to the assessment
    name string
    Resource name
    type string
    Resource type
    display_name str
    User friendly display name of the assessment
    id str
    The provider-assigned unique ID for this managed resource.
    links AssessmentLinksResponse
    Links relevant to the assessment
    name str
    Resource name
    type str
    Resource type
    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

    Supporting Types

    AssessmentLinksResponse, AssessmentLinksResponseArgs

    AzurePortalUri string
    Link to assessment in Azure Portal
    AzurePortalUri string
    Link to assessment in Azure Portal
    azurePortalUri String
    Link to assessment in Azure Portal
    azurePortalUri string
    Link to assessment in Azure Portal
    azure_portal_uri str
    Link to assessment in Azure Portal
    azurePortalUri String
    Link to assessment in Azure Portal

    AssessmentStatus, AssessmentStatusArgs

    Code string | Pulumi.AzureNative.Security.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 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
    code String | "Healthy" | "Unhealthy" | "NotApplicable"
    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

    AssessmentStatusCode, AssessmentStatusCodeArgs

    Healthy
    HealthyThe resource is healthy
    Unhealthy
    UnhealthyThe resource has a security issue that needs to be addressed
    NotApplicable
    NotApplicableAssessment for this resource did not happen
    AssessmentStatusCodeHealthy
    HealthyThe resource is healthy
    AssessmentStatusCodeUnhealthy
    UnhealthyThe resource has a security issue that needs to be addressed
    AssessmentStatusCodeNotApplicable
    NotApplicableAssessment for this resource did not happen
    Healthy
    HealthyThe resource is healthy
    Unhealthy
    UnhealthyThe resource has a security issue that needs to be addressed
    NotApplicable
    NotApplicableAssessment for this resource did not happen
    Healthy
    HealthyThe resource is healthy
    Unhealthy
    UnhealthyThe resource has a security issue that needs to be addressed
    NotApplicable
    NotApplicableAssessment for this resource did not happen
    HEALTHY
    HealthyThe resource is healthy
    UNHEALTHY
    UnhealthyThe resource has a security issue that needs to be addressed
    NOT_APPLICABLE
    NotApplicableAssessment for this resource did not happen
    "Healthy"
    HealthyThe resource is healthy
    "Unhealthy"
    UnhealthyThe resource has a security issue that needs to be addressed
    "NotApplicable"
    NotApplicableAssessment for this resource did not happen

    AssessmentStatusResponseResponse, AssessmentStatusResponseResponseArgs

    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
    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, AssessmentTypeArgs

    BuiltIn
    BuiltInMicrosoft Defender for Cloud managed assessments
    CustomPolicy
    CustomPolicyUser defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud
    CustomerManaged
    CustomerManagedUser assessments pushed directly by the user or other third party to Microsoft Defender for Cloud
    AssessmentTypeBuiltIn
    BuiltInMicrosoft Defender for Cloud managed assessments
    AssessmentTypeCustomPolicy
    CustomPolicyUser defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud
    AssessmentTypeCustomerManaged
    CustomerManagedUser assessments pushed directly by the user or other third party to Microsoft Defender for Cloud
    BuiltIn
    BuiltInMicrosoft Defender for Cloud managed assessments
    CustomPolicy
    CustomPolicyUser defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud
    CustomerManaged
    CustomerManagedUser assessments pushed directly by the user or other third party to Microsoft Defender for Cloud
    BuiltIn
    BuiltInMicrosoft Defender for Cloud managed assessments
    CustomPolicy
    CustomPolicyUser defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud
    CustomerManaged
    CustomerManagedUser assessments pushed directly by the user or other third party to Microsoft Defender for Cloud
    BUILT_IN
    BuiltInMicrosoft Defender for Cloud managed assessments
    CUSTOM_POLICY
    CustomPolicyUser defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud
    CUSTOMER_MANAGED
    CustomerManagedUser assessments pushed directly by the user or other third party to Microsoft Defender for Cloud
    "BuiltIn"
    BuiltInMicrosoft Defender for Cloud managed assessments
    "CustomPolicy"
    CustomPolicyUser defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud
    "CustomerManaged"
    CustomerManagedUser assessments pushed directly by the user or other third party to Microsoft Defender for Cloud

    AzureResourceDetails, AzureResourceDetailsArgs

    AzureResourceDetailsResponse, AzureResourceDetailsResponseArgs

    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, CategoriesArgs

    Compute
    Compute
    Networking
    Networking
    Data
    Data
    IdentityAndAccess
    IdentityAndAccess
    IoT
    IoT
    CategoriesCompute
    Compute
    CategoriesNetworking
    Networking
    CategoriesData
    Data
    CategoriesIdentityAndAccess
    IdentityAndAccess
    CategoriesIoT
    IoT
    Compute
    Compute
    Networking
    Networking
    Data
    Data
    IdentityAndAccess
    IdentityAndAccess
    IoT
    IoT
    Compute
    Compute
    Networking
    Networking
    Data
    Data
    IdentityAndAccess
    IdentityAndAccess
    IoT
    IoT
    COMPUTE
    Compute
    NETWORKING
    Networking
    DATA
    Data
    IDENTITY_AND_ACCESS
    IdentityAndAccess
    IO_T
    IoT
    "Compute"
    Compute
    "Networking"
    Networking
    "Data"
    Data
    "IdentityAndAccess"
    IdentityAndAccess
    "IoT"
    IoT

    ImplementationEffort, ImplementationEffortArgs

    Low
    Low
    Moderate
    Moderate
    High
    High
    ImplementationEffortLow
    Low
    ImplementationEffortModerate
    Moderate
    ImplementationEffortHigh
    High
    Low
    Low
    Moderate
    Moderate
    High
    High
    Low
    Low
    Moderate
    Moderate
    High
    High
    LOW
    Low
    MODERATE
    Moderate
    HIGH
    High
    "Low"
    Low
    "Moderate"
    Moderate
    "High"
    High

    OnPremiseResourceDetails, OnPremiseResourceDetailsArgs

    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
    machine_name str
    The name of the machine
    source_computer_id str
    The oms agent Id installed on the machine
    vmuuid str
    The unique Id of the machine
    workspace_id str
    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, OnPremiseResourceDetailsResponseArgs

    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
    machine_name str
    The name of the machine
    source_computer_id str
    The oms agent Id installed on the machine
    vmuuid str
    The unique Id of the machine
    workspace_id str
    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

    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
    database_name str
    The Sql database name installed on the machine
    machine_name str
    The name of the machine
    server_name str
    The Sql server name installed on the machine
    source_computer_id str
    The oms agent Id installed on the machine
    vmuuid str
    The unique Id of the machine
    workspace_id str
    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, OnPremiseSqlResourceDetailsResponseArgs

    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
    database_name str
    The Sql database name installed on the machine
    machine_name str
    The name of the machine
    server_name str
    The Sql server name installed on the machine
    source_computer_id str
    The oms agent Id installed on the machine
    vmuuid str
    The unique Id of the machine
    workspace_id str
    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

    SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataPartnerDataArgs

    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
    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

    SecurityAssessmentMetadataPartnerDataResponse, SecurityAssessmentMetadataPartnerDataResponseArgs

    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
    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

    SecurityAssessmentMetadataProperties, SecurityAssessmentMetadataPropertiesArgs

    AssessmentType string | Pulumi.AzureNative.Security.AssessmentType
    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
    Severity string | Pulumi.AzureNative.Security.Severity
    The severity level of the assessment
    Categories List<Union<string, Pulumi.AzureNative.Security.Categories>>
    Description string
    Human readable description of the assessment
    ImplementationEffort string | Pulumi.AzureNative.Security.ImplementationEffort
    The implementation effort required to remediate this assessment
    PartnerData Pulumi.AzureNative.Security.Inputs.SecurityAssessmentMetadataPartnerData
    Describes the partner that created the assessment
    Preview bool
    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<Union<string, Pulumi.AzureNative.Security.Threats>>
    UserImpact string | Pulumi.AzureNative.Security.UserImpact
    The user impact of the assessment
    AssessmentType string | AssessmentType
    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
    Severity string | Severity
    The severity level of the assessment
    Categories []string
    Description string
    Human readable description of the assessment
    ImplementationEffort string | ImplementationEffort
    The implementation effort required to remediate this assessment
    PartnerData SecurityAssessmentMetadataPartnerData
    Describes the partner that created the assessment
    Preview bool
    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 []string
    UserImpact string | UserImpact
    The user impact of the assessment
    assessmentType String | AssessmentType
    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
    severity String | Severity
    The severity level of the assessment
    categories List<Either<String,Categories>>
    description String
    Human readable description of the assessment
    implementationEffort String | ImplementationEffort
    The implementation effort required to remediate this assessment
    partnerData SecurityAssessmentMetadataPartnerData
    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<Either<String,Threats>>
    userImpact String | UserImpact
    The user impact of the assessment
    assessmentType string | AssessmentType
    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
    severity string | Severity
    The severity level of the assessment
    categories (string | Categories)[]
    description string
    Human readable description of the assessment
    implementationEffort string | ImplementationEffort
    The implementation effort required to remediate this assessment
    partnerData SecurityAssessmentMetadataPartnerData
    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 (string | Threats)[]
    userImpact string | UserImpact
    The user impact of the assessment
    assessment_type str | AssessmentType
    BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition
    display_name str
    User friendly display name of the assessment
    severity str | Severity
    The severity level of the assessment
    categories Sequence[Union[str, Categories]]
    description str
    Human readable description of the assessment
    implementation_effort str | ImplementationEffort
    The implementation effort required to remediate this assessment
    partner_data SecurityAssessmentMetadataPartnerData
    Describes the partner that created the assessment
    preview bool
    True if this assessment is in preview release status
    remediation_description str
    Human readable description of what you should do to mitigate this security issue
    threats Sequence[Union[str, Threats]]
    user_impact str | UserImpact
    The user impact of the assessment
    assessmentType String | "BuiltIn" | "CustomPolicy" | "CustomerManaged"
    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
    severity String | "Low" | "Medium" | "High"
    The severity level of the assessment
    categories List<String | "Compute" | "Networking" | "Data" | "IdentityAndAccess" | "IoT">
    description String
    Human readable description of the assessment
    implementationEffort String | "Low" | "Moderate" | "High"
    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 | "accountBreach" | "dataExfiltration" | "dataSpillage" | "maliciousInsider" | "elevationOfPrivilege" | "threatResistance" | "missingCoverage" | "denialOfService">
    userImpact String | "Low" | "Moderate" | "High"
    The user impact of the assessment

    SecurityAssessmentMetadataPropertiesResponse, SecurityAssessmentMetadataPropertiesResponseArgs

    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 Pulumi.AzureNative.Security.Inputs.SecurityAssessmentMetadataPartnerDataResponse
    Describes the partner that created the assessment
    Preview bool
    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
    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 []string
    Description string
    Human readable description of the assessment
    ImplementationEffort string
    The implementation effort required to remediate this assessment
    PartnerData SecurityAssessmentMetadataPartnerDataResponse
    Describes the partner that created the assessment
    Preview bool
    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 []string
    UserImpact 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 SecurityAssessmentMetadataPartnerDataResponse
    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
    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 string[]
    description string
    Human readable description of the assessment
    implementationEffort string
    The implementation effort required to remediate this assessment
    partnerData SecurityAssessmentMetadataPartnerDataResponse
    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 string[]
    userImpact string
    The user impact of the assessment
    assessment_type str
    BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition
    display_name str
    User friendly display name of the assessment
    policy_definition_id str
    Azure resource ID of the policy definition that turns this assessment calculation on
    severity str
    The severity level of the assessment
    categories Sequence[str]
    description str
    Human readable description of the assessment
    implementation_effort str
    The implementation effort required to remediate this assessment
    partner_data SecurityAssessmentMetadataPartnerDataResponse
    Describes the partner that created the assessment
    preview bool
    True if this assessment is in preview release status
    remediation_description str
    Human readable description of what you should do to mitigate this security issue
    threats Sequence[str]
    user_impact str
    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

    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
    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, SecurityAssessmentPartnerDataResponseArgs

    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
    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, SeverityArgs

    Low
    Low
    Medium
    Medium
    High
    High
    SeverityLow
    Low
    SeverityMedium
    Medium
    SeverityHigh
    High
    Low
    Low
    Medium
    Medium
    High
    High
    Low
    Low
    Medium
    Medium
    High
    High
    LOW
    Low
    MEDIUM
    Medium
    HIGH
    High
    "Low"
    Low
    "Medium"
    Medium
    "High"
    High

    Threats, ThreatsArgs

    AccountBreach
    accountBreach
    DataExfiltration
    dataExfiltration
    DataSpillage
    dataSpillage
    MaliciousInsider
    maliciousInsider
    ElevationOfPrivilege
    elevationOfPrivilege
    ThreatResistance
    threatResistance
    MissingCoverage
    missingCoverage
    DenialOfService
    denialOfService
    ThreatsAccountBreach
    accountBreach
    ThreatsDataExfiltration
    dataExfiltration
    ThreatsDataSpillage
    dataSpillage
    ThreatsMaliciousInsider
    maliciousInsider
    ThreatsElevationOfPrivilege
    elevationOfPrivilege
    ThreatsThreatResistance
    threatResistance
    ThreatsMissingCoverage
    missingCoverage
    ThreatsDenialOfService
    denialOfService
    AccountBreach
    accountBreach
    DataExfiltration
    dataExfiltration
    DataSpillage
    dataSpillage
    MaliciousInsider
    maliciousInsider
    ElevationOfPrivilege
    elevationOfPrivilege
    ThreatResistance
    threatResistance
    MissingCoverage
    missingCoverage
    DenialOfService
    denialOfService
    AccountBreach
    accountBreach
    DataExfiltration
    dataExfiltration
    DataSpillage
    dataSpillage
    MaliciousInsider
    maliciousInsider
    ElevationOfPrivilege
    elevationOfPrivilege
    ThreatResistance
    threatResistance
    MissingCoverage
    missingCoverage
    DenialOfService
    denialOfService
    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
    "accountBreach"
    accountBreach
    "dataExfiltration"
    dataExfiltration
    "dataSpillage"
    dataSpillage
    "maliciousInsider"
    maliciousInsider
    "elevationOfPrivilege"
    elevationOfPrivilege
    "threatResistance"
    threatResistance
    "missingCoverage"
    missingCoverage
    "denialOfService"
    denialOfService

    UserImpact, UserImpactArgs

    Low
    Low
    Moderate
    Moderate
    High
    High
    UserImpactLow
    Low
    UserImpactModerate
    Moderate
    UserImpactHigh
    High
    Low
    Low
    Moderate
    Moderate
    High
    High
    Low
    Low
    Moderate
    Moderate
    High
    High
    LOW
    Low
    MODERATE
    Moderate
    HIGH
    High
    "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} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi