azure-native.security.Assessment
Explore with Pulumi AI
Security assessment on a resource API Version: 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 (
security "github.com/pulumi/pulumi-azure-native-sdk/security"
"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 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(Map.of("source", "Azure"))
.resourceId("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2")
.status(Map.of("code", "Healthy"))
.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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Assessment(name: string, args: AssessmentArgs, opts?: CustomResourceOptions);
@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)
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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativeAssessmentResource = new AzureNative.Security.Assessment("azure-nativeAssessmentResource", new()
{
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", new[]
{
"string",
} },
{ "description", "string" },
{ "implementationEffort", "string" },
{ "partnerData",
{
{ "partnerName", "string" },
{ "secret", "string" },
{ "productName", "string" },
} },
{ "preview", false },
{ "remediationDescription", "string" },
{ "threats", new[]
{
"string",
} },
{ "userImpact", "string" },
},
PartnersData =
{
{ "partnerName", "string" },
{ "secret", "string" },
},
});
example, err := security.NewAssessment(ctx, "azure-nativeAssessmentResource", &security.AssessmentArgs{
ResourceDetails: map[string]interface{}{
"source": "Azure",
},
ResourceId: "string",
Status: map[string]interface{}{
"code": "string",
"cause": "string",
"description": "string",
},
AdditionalData: map[string]interface{}{
"string": "string",
},
AssessmentName: "string",
Metadata: map[string]interface{}{
"assessmentType": "string",
"displayName": "string",
"severity": "string",
"categories": []string{
"string",
},
"description": "string",
"implementationEffort": "string",
"partnerData": map[string]interface{}{
"partnerName": "string",
"secret": "string",
"productName": "string",
},
"preview": false,
"remediationDescription": "string",
"threats": []string{
"string",
},
"userImpact": "string",
},
PartnersData: map[string]interface{}{
"partnerName": "string",
"secret": "string",
},
})
var azure_nativeAssessmentResource = new Assessment("azure-nativeAssessmentResource", AssessmentArgs.builder()
.resourceDetails(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceId("string")
.status(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.additionalData(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.assessmentName("string")
.metadata(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.partnersData(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
azure_native_assessment_resource = azure_native.security.Assessment("azure-nativeAssessmentResource",
resource_details={
source: Azure,
},
resource_id=string,
status={
code: string,
cause: string,
description: string,
},
additional_data={
string: string,
},
assessment_name=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,
},
partners_data={
partnerName: string,
secret: string,
})
const azure_nativeAssessmentResource = new azure_native.security.Assessment("azure-nativeAssessmentResource", {
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.
Inputs
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:
- Resource
Details Pulumi.Azure | Pulumi.Native. Security. Inputs. Azure Resource Details Azure | Pulumi.Native. Security. Inputs. On Premise Resource Details Azure Native. Security. Inputs. On Premise Sql Resource Details - Details of the resource that was assessed
- Resource
Id string - The identifier of the resource.
- Status
Pulumi.
Azure Native. Security. Inputs. Assessment Status - The result of the assessment
- Additional
Data Dictionary<string, string> - Additional data regarding the assessment
- Assessment
Name string - The Assessment Key - Unique key for the assessment type
- Metadata
Pulumi.
Azure Native. Security. Inputs. Security Assessment Metadata Properties - Describes properties of an assessment metadata.
- Partners
Data Pulumi.Azure Native. Security. Inputs. Security Assessment Partner Data - Data regarding 3rd party partner integration
- Resource
Details AzureResource | OnDetails Args Premise | OnResource Details Args Premise Sql Resource Details Args - Details of the resource that was assessed
- Resource
Id string - The identifier of the resource.
- Status
Assessment
Status Args - The result of the assessment
- Additional
Data map[string]string - Additional data regarding the assessment
- Assessment
Name string - The Assessment Key - Unique key for the assessment type
- Metadata
Security
Assessment Metadata Properties Args - Describes properties of an assessment metadata.
- Partners
Data SecurityAssessment Partner Data Args - Data regarding 3rd party partner integration
- resource
Details AzureResource | OnDetails Premise | OnResource Details Premise Sql Resource Details - Details of the resource that was assessed
- resource
Id String - The identifier of the resource.
- status
Assessment
Status - The result of the assessment
- additional
Data Map<String,String> - Additional data regarding the assessment
- assessment
Name String - The Assessment Key - Unique key for the assessment type
- metadata
Security
Assessment Metadata Properties - Describes properties of an assessment metadata.
- partners
Data SecurityAssessment Partner Data - Data regarding 3rd party partner integration
- resource
Details AzureResource | OnDetails Premise | OnResource Details Premise Sql Resource Details - Details of the resource that was assessed
- resource
Id string - The identifier of the resource.
- status
Assessment
Status - The result of the assessment
- additional
Data {[key: string]: string} - Additional data regarding the assessment
- assessment
Name string - The Assessment Key - Unique key for the assessment type
- metadata
Security
Assessment Metadata Properties - Describes properties of an assessment metadata.
- partners
Data SecurityAssessment Partner Data - Data regarding 3rd party partner integration
- resource_
details AzureResource | OnDetails Args Premise | OnResource Details Args Premise Sql Resource Details Args - Details of the resource that was assessed
- resource_
id str - The identifier of the resource.
- status
Assessment
Status Args - 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
Security
Assessment Metadata Properties Args - Describes properties of an assessment metadata.
- partners_
data SecurityAssessment Partner Data Args - Data regarding 3rd party partner integration
- resource
Details Property Map | Property Map | Property Map - Details of the resource that was assessed
- resource
Id String - The identifier of the resource.
- status Property Map
- The result of the assessment
- additional
Data Map<String> - Additional data regarding the assessment
- assessment
Name String - The Assessment Key - Unique key for the assessment type
- metadata Property Map
- Describes properties of an assessment metadata.
- partners
Data 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:
- Display
Name string - User friendly display name of the assessment
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
Pulumi.
Azure Native. Security. Outputs. Assessment Links Response - Links relevant to the assessment
- Name string
- Resource name
- Type string
- Resource type
- Display
Name string - User friendly display name of the assessment
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
Assessment
Links Response - Links relevant to the assessment
- Name string
- Resource name
- Type string
- Resource type
- display
Name String - User friendly display name of the assessment
- id String
- The provider-assigned unique ID for this managed resource.
- links
Assessment
Links Response - Links relevant to the assessment
- name String
- Resource name
- type String
- Resource type
- display
Name string - User friendly display name of the assessment
- id string
- The provider-assigned unique ID for this managed resource.
- links
Assessment
Links Response - 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
Assessment
Links Response - Links relevant to the assessment
- name str
- Resource name
- type str
- Resource type
- display
Name 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
- Azure
Portal stringUri - Link to assessment in Azure Portal
- Azure
Portal stringUri - Link to assessment in Azure Portal
- azure
Portal StringUri - Link to assessment in Azure Portal
- azure
Portal stringUri - Link to assessment in Azure Portal
- azure_
portal_ struri - Link to assessment in Azure Portal
- azure
Portal StringUri - Link to assessment in Azure Portal
AssessmentStatus, AssessmentStatusArgs
- Code
string | Pulumi.
Azure Native. Security. Assessment Status Code - 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 | Assessment
Status Code - 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 | Assessment
Status Code - 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 | Assessment
Status Code - 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 | Assessment
Status Code - 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" | "Not
Applicable" - 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
- Not
Applicable - NotApplicableAssessment for this resource did not happen
- Assessment
Status Code Healthy - HealthyThe resource is healthy
- Assessment
Status Code Unhealthy - UnhealthyThe resource has a security issue that needs to be addressed
- Assessment
Status Code 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
- 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
- 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
- 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
- "Not
Applicable" - NotApplicableAssessment for this resource did not happen
AssessmentStatusResponse, AssessmentStatusResponseArgs
- Code string
- 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
- 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
- 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
- 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
- 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
- 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
AssessmentType, AssessmentTypeArgs
- 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
- Verified
Partner - VerifiedPartnerAn assessment that was created by a verified 3rd party if the user connected it to ASC
- Assessment
Type Built In - BuiltInMicrosoft Defender for Cloud managed assessments
- Assessment
Type Custom Policy - CustomPolicyUser defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud
- Assessment
Type Customer Managed - CustomerManagedUser assessments pushed directly by the user or other third party to Microsoft Defender for Cloud
- Assessment
Type Verified Partner - VerifiedPartnerAn assessment that was created by a verified 3rd party if the user connected it to ASC
- 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
- Verified
Partner - VerifiedPartnerAn assessment that was created by a verified 3rd party if the user connected it to ASC
- 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
- Verified
Partner - VerifiedPartnerAn assessment that was created by a verified 3rd party if the user connected it to ASC
- 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
- VERIFIED_PARTNER
- VerifiedPartnerAn assessment that was created by a verified 3rd party if the user connected it to ASC
- "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
- "Verified
Partner" - VerifiedPartnerAn assessment that was created by a verified 3rd party if the user connected it to ASC
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
- Identity
And Access - IdentityAndAccess
- Io
T - IoT
- Categories
Compute - Compute
- Categories
Networking - Networking
- Categories
Data - Data
- Categories
Identity And Access - IdentityAndAccess
- Categories
Io T - IoT
- Compute
- Compute
- Networking
- Networking
- Data
- Data
- Identity
And Access - IdentityAndAccess
- Io
T - IoT
- Compute
- Compute
- Networking
- Networking
- Data
- Data
- Identity
And Access - IdentityAndAccess
- Io
T - IoT
- COMPUTE
- Compute
- NETWORKING
- Networking
- DATA
- Data
- IDENTITY_AND_ACCESS
- IdentityAndAccess
- IO_T
- IoT
- "Compute"
- Compute
- "Networking"
- Networking
- "Data"
- Data
- "Identity
And Access" - IdentityAndAccess
- "Io
T" - IoT
ImplementationEffort, ImplementationEffortArgs
- Low
- Low
- Moderate
- Moderate
- High
- High
- Implementation
Effort Low - Low
- Implementation
Effort Moderate - Moderate
- Implementation
Effort High - 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
- Machine
Name string - The name of the machine
- Source
Computer stringId - The oms agent Id installed on the machine
- Vmuuid string
- The unique Id of the machine
- Workspace
Id string - Azure resource Id of the workspace the machine is attached to
- Machine
Name string - The name of the machine
- Source
Computer stringId - The oms agent Id installed on the machine
- Vmuuid string
- The unique Id of the machine
- Workspace
Id string - Azure resource Id of the workspace the machine is attached to
- machine
Name String - The name of the machine
- source
Computer StringId - The oms agent Id installed on the machine
- vmuuid String
- The unique Id of the machine
- workspace
Id String - Azure resource Id of the workspace the machine is attached to
- machine
Name string - The name of the machine
- source
Computer stringId - The oms agent Id installed on the machine
- vmuuid string
- The unique Id of the machine
- workspace
Id string - Azure resource Id of the workspace the machine is attached to
- machine_
name str - The name of the machine
- source_
computer_ strid - 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
- machine
Name String - The name of the machine
- source
Computer StringId - The oms agent Id installed on the machine
- vmuuid String
- The unique Id of the machine
- workspace
Id String - Azure resource Id of the workspace the machine is attached to
OnPremiseResourceDetailsResponse, OnPremiseResourceDetailsResponseArgs
- Machine
Name string - The name of the machine
- Source
Computer stringId - The oms agent Id installed on the machine
- Vmuuid string
- The unique Id of the machine
- Workspace
Id string - Azure resource Id of the workspace the machine is attached to
- Machine
Name string - The name of the machine
- Source
Computer stringId - The oms agent Id installed on the machine
- Vmuuid string
- The unique Id of the machine
- Workspace
Id string - Azure resource Id of the workspace the machine is attached to
- machine
Name String - The name of the machine
- source
Computer StringId - The oms agent Id installed on the machine
- vmuuid String
- The unique Id of the machine
- workspace
Id String - Azure resource Id of the workspace the machine is attached to
- machine
Name string - The name of the machine
- source
Computer stringId - The oms agent Id installed on the machine
- vmuuid string
- The unique Id of the machine
- workspace
Id string - Azure resource Id of the workspace the machine is attached to
- machine_
name str - The name of the machine
- source_
computer_ strid - 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
- machine
Name String - The name of the machine
- source
Computer StringId - The oms agent Id installed on the machine
- vmuuid String
- The unique Id of the machine
- workspace
Id String - Azure resource Id of the workspace the machine is attached to
OnPremiseSqlResourceDetails, OnPremiseSqlResourceDetailsArgs
- Database
Name string - The Sql database name installed on the machine
- Machine
Name string - The name of the machine
- Server
Name string - The Sql server name installed on the machine
- Source
Computer stringId - The oms agent Id installed on the machine
- Vmuuid string
- The unique Id of the machine
- Workspace
Id string - Azure resource Id of the workspace the machine is attached to
- Database
Name string - The Sql database name installed on the machine
- Machine
Name string - The name of the machine
- Server
Name string - The Sql server name installed on the machine
- Source
Computer stringId - The oms agent Id installed on the machine
- Vmuuid string
- The unique Id of the machine
- Workspace
Id string - Azure resource Id of the workspace the machine is attached to
- database
Name String - The Sql database name installed on the machine
- machine
Name String - The name of the machine
- server
Name String - The Sql server name installed on the machine
- source
Computer StringId - The oms agent Id installed on the machine
- vmuuid String
- The unique Id of the machine
- workspace
Id String - Azure resource Id of the workspace the machine is attached to
- database
Name string - The Sql database name installed on the machine
- machine
Name string - The name of the machine
- server
Name string - The Sql server name installed on the machine
- source
Computer stringId - The oms agent Id installed on the machine
- vmuuid string
- The unique Id of the machine
- workspace
Id 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_ strid - 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
- database
Name String - The Sql database name installed on the machine
- machine
Name String - The name of the machine
- server
Name String - The Sql server name installed on the machine
- source
Computer StringId - The oms agent Id installed on the machine
- vmuuid String
- The unique Id of the machine
- workspace
Id String - Azure resource Id of the workspace the machine is attached to
OnPremiseSqlResourceDetailsResponse, OnPremiseSqlResourceDetailsResponseArgs
- Database
Name string - The Sql database name installed on the machine
- Machine
Name string - The name of the machine
- Server
Name string - The Sql server name installed on the machine
- Source
Computer stringId - The oms agent Id installed on the machine
- Vmuuid string
- The unique Id of the machine
- Workspace
Id string - Azure resource Id of the workspace the machine is attached to
- Database
Name string - The Sql database name installed on the machine
- Machine
Name string - The name of the machine
- Server
Name string - The Sql server name installed on the machine
- Source
Computer stringId - The oms agent Id installed on the machine
- Vmuuid string
- The unique Id of the machine
- Workspace
Id string - Azure resource Id of the workspace the machine is attached to
- database
Name String - The Sql database name installed on the machine
- machine
Name String - The name of the machine
- server
Name String - The Sql server name installed on the machine
- source
Computer StringId - The oms agent Id installed on the machine
- vmuuid String
- The unique Id of the machine
- workspace
Id String - Azure resource Id of the workspace the machine is attached to
- database
Name string - The Sql database name installed on the machine
- machine
Name string - The name of the machine
- server
Name string - The Sql server name installed on the machine
- source
Computer stringId - The oms agent Id installed on the machine
- vmuuid string
- The unique Id of the machine
- workspace
Id 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_ strid - 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
- database
Name String - The Sql database name installed on the machine
- machine
Name String - The name of the machine
- server
Name String - The Sql server name installed on the machine
- source
Computer StringId - The oms agent Id installed on the machine
- vmuuid String
- The unique Id of the machine
- workspace
Id String - Azure resource Id of the workspace the machine is attached to
SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataPartnerDataArgs
- 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
- 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
- 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
- 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
- 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
- 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
SecurityAssessmentMetadataPartnerDataResponse, SecurityAssessmentMetadataPartnerDataResponseArgs
- 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
- 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
- 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
- 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
- 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
- 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
SecurityAssessmentMetadataProperties, SecurityAssessmentMetadataPropertiesArgs
- Assessment
Type string | Pulumi.Azure Native. Security. Assessment Type - 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
- Severity
string | Pulumi.
Azure Native. Security. Severity - The severity level of the assessment
- Categories
List<Union<string, Pulumi.
Azure Native. Security. Categories>> - Description string
- Human readable description of the assessment
- Implementation
Effort string | Pulumi.Azure Native. Security. Implementation Effort - The implementation effort required to remediate this assessment
- Partner
Data Pulumi.Azure Native. Security. Inputs. Security Assessment Metadata Partner Data - 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<Union<string, Pulumi.
Azure Native. Security. Threats>> - User
Impact string | Pulumi.Azure Native. Security. User Impact - The user impact of the assessment
- Assessment
Type string | AssessmentType - 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
- Severity string | Severity
- The severity level of the assessment
- Categories []string
- Description string
- Human readable description of the assessment
- Implementation
Effort string | ImplementationEffort - The implementation effort required to remediate this assessment
- Partner
Data SecurityAssessment Metadata Partner Data - 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 []string
- User
Impact string | UserImpact - The user impact of the assessment
- assessment
Type String | AssessmentType - 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
- severity String | Severity
- The severity level of the assessment
- categories List<Either<String,Categories>>
- description String
- Human readable description of the assessment
- implementation
Effort String | ImplementationEffort - The implementation effort required to remediate this assessment
- partner
Data SecurityAssessment Metadata Partner Data - Describes the partner that created the assessment
- preview Boolean
- 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<Either<String,Threats>>
- user
Impact String | UserImpact - The user impact of the assessment
- assessment
Type string | AssessmentType - 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
- severity string | Severity
- The severity level of the assessment
- categories (string | Categories)[]
- description string
- Human readable description of the assessment
- implementation
Effort string | ImplementationEffort - The implementation effort required to remediate this assessment
- partner
Data SecurityAssessment Metadata Partner Data - Describes the partner that created the assessment
- preview boolean
- 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 (string | Threats)[]
- user
Impact 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 SecurityAssessment Metadata Partner Data - 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
- assessment
Type String | "BuiltIn" | "Custom Policy" | "Customer Managed" | "Verified Partner" - 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
- severity String | "Low" | "Medium" | "High"
- The severity level of the assessment
- categories
List<String | "Compute" | "Networking" | "Data" | "Identity
And Access" | "Io T"> - description String
- Human readable description of the assessment
- implementation
Effort String | "Low" | "Moderate" | "High" - The implementation effort required to remediate this assessment
- partner
Data Property Map - Describes the partner that created the assessment
- preview Boolean
- 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 | "account
Breach" | "data Exfiltration" | "data Spillage" | "malicious Insider" | "elevation Of Privilege" | "threat Resistance" | "missing Coverage" | "denial Of Service"> - user
Impact String | "Low" | "Moderate" | "High" - The user impact of the assessment
SecurityAssessmentMetadataPropertiesResponse, SecurityAssessmentMetadataPropertiesResponseArgs
- 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 stringId - 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 Pulumi.Azure Native. Security. Inputs. Security Assessment Metadata Partner Data Response - 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
- 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 stringId - 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
- Implementation
Effort string - The implementation effort required to remediate this assessment
- Partner
Data SecurityAssessment Metadata Partner Data Response - 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 []string
- User
Impact string - The user impact of the assessment
- 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 StringId - 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 SecurityAssessment Metadata Partner Data Response - Describes the partner that created the assessment
- preview Boolean
- 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
- 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 stringId - 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
- implementation
Effort string - The implementation effort required to remediate this assessment
- partner
Data SecurityAssessment Metadata Partner Data Response - Describes the partner that created the assessment
- preview boolean
- 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 string[]
- user
Impact 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_ strid - 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 SecurityAssessment Metadata Partner Data Response - 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
- 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 StringId - 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 Property Map - Describes the partner that created the assessment
- preview Boolean
- 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
SecurityAssessmentPartnerData, SecurityAssessmentPartnerDataArgs
- Partner
Name 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
- partner
Name 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
- partner_
name str - Name of the company of the partner
- secret str
- 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
SecurityAssessmentPartnerDataResponse, SecurityAssessmentPartnerDataResponseArgs
- Partner
Name 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
- partner
Name 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
- partner_
name str - Name of the company of the partner
- secret str
- 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
Severity, SeverityArgs
- Low
- Low
- Medium
- Medium
- High
- High
- Severity
Low - Low
- Severity
Medium - Medium
- Severity
High - 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
- 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
- Threats
Account Breach - accountBreach
- Threats
Data Exfiltration - dataExfiltration
- Threats
Data Spillage - dataSpillage
- Threats
Malicious Insider - maliciousInsider
- Threats
Elevation Of Privilege - elevationOfPrivilege
- Threats
Threat Resistance - threatResistance
- Threats
Missing Coverage - missingCoverage
- Threats
Denial Of Service - 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
- 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
- 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
- "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
UserImpact, UserImpactArgs
- Low
- Low
- Moderate
- Moderate
- High
- High
- User
Impact Low - Low
- User
Impact Moderate - Moderate
- User
Impact High - 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 /subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Security/assessments/8bb8be0a-6010-4789-812f-e4d661c4ed0e
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0