Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse
dynatrace.VulnerabilitySettings
Explore with Pulumi AI
Create VulnerabilitySettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VulnerabilitySettings(name: string, args: VulnerabilitySettingsArgs, opts?: CustomResourceOptions);
@overload
def VulnerabilitySettings(resource_name: str,
args: VulnerabilitySettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VulnerabilitySettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable_code_level_vulnerability_detection: Optional[bool] = None,
enable_runtime_vulnerability_detection: Optional[bool] = None,
global_monitoring_mode_java: Optional[str] = None,
technologies: Optional[VulnerabilitySettingsTechnologiesArgs] = None,
global_monitoring_mode_dot_net: Optional[str] = None,
global_monitoring_mode_tpv: Optional[str] = None)
func NewVulnerabilitySettings(ctx *Context, name string, args VulnerabilitySettingsArgs, opts ...ResourceOption) (*VulnerabilitySettings, error)
public VulnerabilitySettings(string name, VulnerabilitySettingsArgs args, CustomResourceOptions? opts = null)
public VulnerabilitySettings(String name, VulnerabilitySettingsArgs args)
public VulnerabilitySettings(String name, VulnerabilitySettingsArgs args, CustomResourceOptions options)
type: dynatrace:VulnerabilitySettings
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 VulnerabilitySettingsArgs
- 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 VulnerabilitySettingsArgs
- 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 VulnerabilitySettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VulnerabilitySettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VulnerabilitySettingsArgs
- 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 vulnerabilitySettingsResource = new Dynatrace.VulnerabilitySettings("vulnerabilitySettingsResource", new()
{
EnableCodeLevelVulnerabilityDetection = false,
EnableRuntimeVulnerabilityDetection = false,
GlobalMonitoringModeJava = "string",
Technologies = new Dynatrace.Inputs.VulnerabilitySettingsTechnologiesArgs
{
EnableDotNet = false,
EnableGo = false,
EnableJava = false,
EnableKubernetes = false,
EnableNodeJs = false,
EnablePhp = false,
EnableDotNetRuntime = false,
EnableJavaRuntime = false,
EnableNodeJsRuntime = false,
},
GlobalMonitoringModeDotNet = "string",
GlobalMonitoringModeTpv = "string",
});
example, err := dynatrace.NewVulnerabilitySettings(ctx, "vulnerabilitySettingsResource", &dynatrace.VulnerabilitySettingsArgs{
EnableCodeLevelVulnerabilityDetection: pulumi.Bool(false),
EnableRuntimeVulnerabilityDetection: pulumi.Bool(false),
GlobalMonitoringModeJava: pulumi.String("string"),
Technologies: &dynatrace.VulnerabilitySettingsTechnologiesArgs{
EnableDotNet: pulumi.Bool(false),
EnableGo: pulumi.Bool(false),
EnableJava: pulumi.Bool(false),
EnableKubernetes: pulumi.Bool(false),
EnableNodeJs: pulumi.Bool(false),
EnablePhp: pulumi.Bool(false),
EnableDotNetRuntime: pulumi.Bool(false),
EnableJavaRuntime: pulumi.Bool(false),
EnableNodeJsRuntime: pulumi.Bool(false),
},
GlobalMonitoringModeDotNet: pulumi.String("string"),
GlobalMonitoringModeTpv: pulumi.String("string"),
})
var vulnerabilitySettingsResource = new VulnerabilitySettings("vulnerabilitySettingsResource", VulnerabilitySettingsArgs.builder()
.enableCodeLevelVulnerabilityDetection(false)
.enableRuntimeVulnerabilityDetection(false)
.globalMonitoringModeJava("string")
.technologies(VulnerabilitySettingsTechnologiesArgs.builder()
.enableDotNet(false)
.enableGo(false)
.enableJava(false)
.enableKubernetes(false)
.enableNodeJs(false)
.enablePhp(false)
.enableDotNetRuntime(false)
.enableJavaRuntime(false)
.enableNodeJsRuntime(false)
.build())
.globalMonitoringModeDotNet("string")
.globalMonitoringModeTpv("string")
.build());
vulnerability_settings_resource = dynatrace.VulnerabilitySettings("vulnerabilitySettingsResource",
enable_code_level_vulnerability_detection=False,
enable_runtime_vulnerability_detection=False,
global_monitoring_mode_java="string",
technologies=dynatrace.VulnerabilitySettingsTechnologiesArgs(
enable_dot_net=False,
enable_go=False,
enable_java=False,
enable_kubernetes=False,
enable_node_js=False,
enable_php=False,
enable_dot_net_runtime=False,
enable_java_runtime=False,
enable_node_js_runtime=False,
),
global_monitoring_mode_dot_net="string",
global_monitoring_mode_tpv="string")
const vulnerabilitySettingsResource = new dynatrace.VulnerabilitySettings("vulnerabilitySettingsResource", {
enableCodeLevelVulnerabilityDetection: false,
enableRuntimeVulnerabilityDetection: false,
globalMonitoringModeJava: "string",
technologies: {
enableDotNet: false,
enableGo: false,
enableJava: false,
enableKubernetes: false,
enableNodeJs: false,
enablePhp: false,
enableDotNetRuntime: false,
enableJavaRuntime: false,
enableNodeJsRuntime: false,
},
globalMonitoringModeDotNet: "string",
globalMonitoringModeTpv: "string",
});
type: dynatrace:VulnerabilitySettings
properties:
enableCodeLevelVulnerabilityDetection: false
enableRuntimeVulnerabilityDetection: false
globalMonitoringModeDotNet: string
globalMonitoringModeJava: string
globalMonitoringModeTpv: string
technologies:
enableDotNet: false
enableDotNetRuntime: false
enableGo: false
enableJava: false
enableJavaRuntime: false
enableKubernetes: false
enableNodeJs: false
enableNodeJsRuntime: false
enablePhp: false
VulnerabilitySettings 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 VulnerabilitySettings resource accepts the following input properties:
- Enable
Code boolLevel Vulnerability Detection - Enable Code-level Vulnerability Analytics
- Enable
Runtime boolVulnerability Detection - Enable Third-party Vulnerability Analytics
- Global
Monitoring stringMode Java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- Technologies
Pulumiverse.
Dynatrace. Inputs. Vulnerability Settings Technologies - Vulnerability Analytics can be enabled/disabled per supported technology.
- Global
Monitoring stringMode Dot Net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- Global
Monitoring stringMode Tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
- Enable
Code boolLevel Vulnerability Detection - Enable Code-level Vulnerability Analytics
- Enable
Runtime boolVulnerability Detection - Enable Third-party Vulnerability Analytics
- Global
Monitoring stringMode Java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- Technologies
Vulnerability
Settings Technologies Args - Vulnerability Analytics can be enabled/disabled per supported technology.
- Global
Monitoring stringMode Dot Net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- Global
Monitoring stringMode Tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
- enable
Code BooleanLevel Vulnerability Detection - Enable Code-level Vulnerability Analytics
- enable
Runtime BooleanVulnerability Detection - Enable Third-party Vulnerability Analytics
- global
Monitoring StringMode Java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- technologies
Vulnerability
Settings Technologies - Vulnerability Analytics can be enabled/disabled per supported technology.
- global
Monitoring StringMode Dot Net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- global
Monitoring StringMode Tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
- enable
Code booleanLevel Vulnerability Detection - Enable Code-level Vulnerability Analytics
- enable
Runtime booleanVulnerability Detection - Enable Third-party Vulnerability Analytics
- global
Monitoring stringMode Java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- technologies
Vulnerability
Settings Technologies - Vulnerability Analytics can be enabled/disabled per supported technology.
- global
Monitoring stringMode Dot Net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- global
Monitoring stringMode Tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
- enable_
code_ boollevel_ vulnerability_ detection - Enable Code-level Vulnerability Analytics
- enable_
runtime_ boolvulnerability_ detection - Enable Third-party Vulnerability Analytics
- global_
monitoring_ strmode_ java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- technologies
Vulnerability
Settings Technologies Args - Vulnerability Analytics can be enabled/disabled per supported technology.
- global_
monitoring_ strmode_ dot_ net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- global_
monitoring_ strmode_ tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
- enable
Code BooleanLevel Vulnerability Detection - Enable Code-level Vulnerability Analytics
- enable
Runtime BooleanVulnerability Detection - Enable Third-party Vulnerability Analytics
- global
Monitoring StringMode Java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- technologies Property Map
- Vulnerability Analytics can be enabled/disabled per supported technology.
- global
Monitoring StringMode Dot Net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- global
Monitoring StringMode Tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
Outputs
All input properties are implicitly available as output properties. Additionally, the VulnerabilitySettings resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing VulnerabilitySettings Resource
Get an existing VulnerabilitySettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VulnerabilitySettingsState, opts?: CustomResourceOptions): VulnerabilitySettings
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enable_code_level_vulnerability_detection: Optional[bool] = None,
enable_runtime_vulnerability_detection: Optional[bool] = None,
global_monitoring_mode_dot_net: Optional[str] = None,
global_monitoring_mode_java: Optional[str] = None,
global_monitoring_mode_tpv: Optional[str] = None,
technologies: Optional[VulnerabilitySettingsTechnologiesArgs] = None) -> VulnerabilitySettings
func GetVulnerabilitySettings(ctx *Context, name string, id IDInput, state *VulnerabilitySettingsState, opts ...ResourceOption) (*VulnerabilitySettings, error)
public static VulnerabilitySettings Get(string name, Input<string> id, VulnerabilitySettingsState? state, CustomResourceOptions? opts = null)
public static VulnerabilitySettings get(String name, Output<String> id, VulnerabilitySettingsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Enable
Code boolLevel Vulnerability Detection - Enable Code-level Vulnerability Analytics
- Enable
Runtime boolVulnerability Detection - Enable Third-party Vulnerability Analytics
- Global
Monitoring stringMode Dot Net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- Global
Monitoring stringMode Java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- Global
Monitoring stringMode Tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
- Technologies
Pulumiverse.
Dynatrace. Inputs. Vulnerability Settings Technologies - Vulnerability Analytics can be enabled/disabled per supported technology.
- Enable
Code boolLevel Vulnerability Detection - Enable Code-level Vulnerability Analytics
- Enable
Runtime boolVulnerability Detection - Enable Third-party Vulnerability Analytics
- Global
Monitoring stringMode Dot Net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- Global
Monitoring stringMode Java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- Global
Monitoring stringMode Tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
- Technologies
Vulnerability
Settings Technologies Args - Vulnerability Analytics can be enabled/disabled per supported technology.
- enable
Code BooleanLevel Vulnerability Detection - Enable Code-level Vulnerability Analytics
- enable
Runtime BooleanVulnerability Detection - Enable Third-party Vulnerability Analytics
- global
Monitoring StringMode Dot Net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- global
Monitoring StringMode Java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- global
Monitoring StringMode Tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
- technologies
Vulnerability
Settings Technologies - Vulnerability Analytics can be enabled/disabled per supported technology.
- enable
Code booleanLevel Vulnerability Detection - Enable Code-level Vulnerability Analytics
- enable
Runtime booleanVulnerability Detection - Enable Third-party Vulnerability Analytics
- global
Monitoring stringMode Dot Net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- global
Monitoring stringMode Java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- global
Monitoring stringMode Tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
- technologies
Vulnerability
Settings Technologies - Vulnerability Analytics can be enabled/disabled per supported technology.
- enable_
code_ boollevel_ vulnerability_ detection - Enable Code-level Vulnerability Analytics
- enable_
runtime_ boolvulnerability_ detection - Enable Third-party Vulnerability Analytics
- global_
monitoring_ strmode_ dot_ net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- global_
monitoring_ strmode_ java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- global_
monitoring_ strmode_ tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
- technologies
Vulnerability
Settings Technologies Args - Vulnerability Analytics can be enabled/disabled per supported technology.
- enable
Code BooleanLevel Vulnerability Detection - Enable Code-level Vulnerability Analytics
- enable
Runtime BooleanVulnerability Detection - Enable Third-party Vulnerability Analytics
- global
Monitoring StringMode Dot Net - (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups.
- global
Monitoring StringMode Java - Possible Values:
MONITORING_OFF
,MONITORING_ON
- global
Monitoring StringMode Tpv - Possible Values:
MONITORING_OFF
,MONITORING_ON
- technologies Property Map
- Vulnerability Analytics can be enabled/disabled per supported technology.
Supporting Types
VulnerabilitySettingsTechnologies, VulnerabilitySettingsTechnologiesArgs
- Enable
Dot boolNet - NET
- Enable
Go bool - Go
- Enable
Java bool - Java
- Enable
Kubernetes bool - Kubernetes
- Enable
Node boolJs - Node.js
- Enable
Php bool - PHP
- Enable
Dot boolNet Runtime - NET runtimes
- Enable
Java boolRuntime - Java runtimes
- Enable
Node boolJs Runtime - Node.js runtimes
- Enable
Dot boolNet - NET
- Enable
Go bool - Go
- Enable
Java bool - Java
- Enable
Kubernetes bool - Kubernetes
- Enable
Node boolJs - Node.js
- Enable
Php bool - PHP
- Enable
Dot boolNet Runtime - NET runtimes
- Enable
Java boolRuntime - Java runtimes
- Enable
Node boolJs Runtime - Node.js runtimes
- enable
Dot BooleanNet - NET
- enable
Go Boolean - Go
- enable
Java Boolean - Java
- enable
Kubernetes Boolean - Kubernetes
- enable
Node BooleanJs - Node.js
- enable
Php Boolean - PHP
- enable
Dot BooleanNet Runtime - NET runtimes
- enable
Java BooleanRuntime - Java runtimes
- enable
Node BooleanJs Runtime - Node.js runtimes
- enable
Dot booleanNet - NET
- enable
Go boolean - Go
- enable
Java boolean - Java
- enable
Kubernetes boolean - Kubernetes
- enable
Node booleanJs - Node.js
- enable
Php boolean - PHP
- enable
Dot booleanNet Runtime - NET runtimes
- enable
Java booleanRuntime - Java runtimes
- enable
Node booleanJs Runtime - Node.js runtimes
- enable_
dot_ boolnet - NET
- enable_
go bool - Go
- enable_
java bool - Java
- enable_
kubernetes bool - Kubernetes
- enable_
node_ booljs - Node.js
- enable_
php bool - PHP
- enable_
dot_ boolnet_ runtime - NET runtimes
- enable_
java_ boolruntime - Java runtimes
- enable_
node_ booljs_ runtime - Node.js runtimes
- enable
Dot BooleanNet - NET
- enable
Go Boolean - Go
- enable
Java Boolean - Java
- enable
Kubernetes Boolean - Kubernetes
- enable
Node BooleanJs - Node.js
- enable
Php Boolean - PHP
- enable
Dot BooleanNet Runtime - NET runtimes
- enable
Java BooleanRuntime - Java runtimes
- enable
Node BooleanJs Runtime - Node.js runtimes
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.