import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * > This resource requires the API token scopes **Read security problems** (`securityProblems.read`) and **Write security problems** (`securityProblems.write`) * * > This resource is excluded by default in the export utility, please explicitly specify the resource to retrieve existing configuration. * * ## Dynatrace Documentation * * - Runtime Vulnerability Analytics - https://www.dynatrace.com/support/help/platform-modules/application-security/vulnerability-analytics * * - Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:appsec.third-party-vulnerability-kubernetes-label-rule-settings`) * * ## Resource Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumiverse/dynatrace"; * * const _name_ = new dynatrace.VulnerabilityThirdPartyK8s("#name#", { * enabled: false, * kubernetesLabelConditions: { * kubernetesLabelConditions: [ * { * kubernetesLabelKey: "kubernetes.azure.com/mode", * kubernetesLabelValue: "#name#", * matcher: "NOT_EQUALS", * }, * { * kubernetesLabelKey: "agentpool", * kubernetesLabelValue: "#name#", * matcher: "CONTAINS", * }, * ], * }, * metadata: { * comment: "#name#", * }, * ruleName: "#name#", * vulnerabilityDetectionControl: { * monitoringMode: "MONITORING_OFF", * }, * }); * ``` */ export declare class VulnerabilityThirdPartyK8s extends pulumi.CustomResource { /** * Get an existing VulnerabilityThirdPartyK8s resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VulnerabilityThirdPartyK8sState, opts?: pulumi.CustomResourceOptions): VulnerabilityThirdPartyK8s; /** * Returns true if the given object is an instance of VulnerabilityThirdPartyK8s. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VulnerabilityThirdPartyK8s; /** * This setting is enabled (`true`) or disabled (`false`) */ readonly enabled: pulumi.Output; /** * Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched */ readonly insertAfter: pulumi.Output; /** * When you add multiple conditions, the rule applies if all conditions apply. */ readonly kubernetesLabelConditions: pulumi.Output; /** * Step 3: Leave comment (optional) */ readonly metadata: pulumi.Output; /** * Rule name */ readonly ruleName: pulumi.Output; /** * Step 1: Select third-party vulnerability detection behavior */ readonly vulnerabilityDetectionControl: pulumi.Output; /** * Create a VulnerabilityThirdPartyK8s resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: VulnerabilityThirdPartyK8sArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VulnerabilityThirdPartyK8s resources. */ export interface VulnerabilityThirdPartyK8sState { /** * This setting is enabled (`true`) or disabled (`false`) */ enabled?: pulumi.Input; /** * Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched */ insertAfter?: pulumi.Input; /** * When you add multiple conditions, the rule applies if all conditions apply. */ kubernetesLabelConditions?: pulumi.Input; /** * Step 3: Leave comment (optional) */ metadata?: pulumi.Input; /** * Rule name */ ruleName?: pulumi.Input; /** * Step 1: Select third-party vulnerability detection behavior */ vulnerabilityDetectionControl?: pulumi.Input; } /** * The set of arguments for constructing a VulnerabilityThirdPartyK8s resource. */ export interface VulnerabilityThirdPartyK8sArgs { /** * This setting is enabled (`true`) or disabled (`false`) */ enabled: pulumi.Input; /** * Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched */ insertAfter?: pulumi.Input; /** * When you add multiple conditions, the rule applies if all conditions apply. */ kubernetesLabelConditions?: pulumi.Input; /** * Step 3: Leave comment (optional) */ metadata: pulumi.Input; /** * Rule name */ ruleName?: pulumi.Input; /** * Step 1: Select third-party vulnerability detection behavior */ vulnerabilityDetectionControl: pulumi.Input; }