AssessmentPolicy

class AssessmentPolicy : KotlinCustomResource

Manages the Security Center Assessment Metadata for Azure Security Center.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.securitycenter.AssessmentPolicy;
import com.pulumi.azure.securitycenter.AssessmentPolicyArgs;
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 example = new AssessmentPolicy("example", AssessmentPolicyArgs.builder()
.description("Test Description")
.displayName("Test Display Name")
.severity("Medium")
.build());
}
}

Import

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

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

Properties

Link copied to clipboard
val categories: Output<List<String>>

A list of the categories of resource that is at risk when the Security Center Assessment is unhealthy. Possible values are Unknown, Compute, Data, IdentityAndAccess, IoT and Networking.

Link copied to clipboard
val description: Output<String>

The description of the Security Center Assessment.

Link copied to clipboard
val displayName: Output<String>

The user-friendly display name of the Security Center Assessment.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The implementation effort which is used to remediate the Security Center Assessment. Possible values are Low, Moderate and High.

Link copied to clipboard
val name: Output<String>

The GUID as the name of the Security Center Assessment Policy.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The description which is used to mitigate the security issue.

Link copied to clipboard
val severity: Output<String>?

The severity level of the Security Center Assessment. Possible values are Low, Medium and High. Defaults to Medium.

Link copied to clipboard
val threats: Output<List<String>>?

A list of the threat impacts for the Security Center Assessment. Possible values are AccountBreach, DataExfiltration, DataSpillage, DenialOfService, ElevationOfPrivilege, MaliciousInsider, MissingCoverage and ThreatResistance.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val userImpact: Output<String>?

The user impact of the Security Center Assessment. Possible values are Low, Moderate and High.