1. Packages
  2. Dynatrace
  3. API Docs
  4. VulnerabilitySettings
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.VulnerabilitySettings

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    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={
            "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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The VulnerabilitySettings resource accepts the following input properties:

    EnableCodeLevelVulnerabilityDetection bool
    Enable Code-level Vulnerability Analytics
    EnableRuntimeVulnerabilityDetection bool
    Enable Third-party Vulnerability Analytics
    GlobalMonitoringModeJava string
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    Technologies Pulumiverse.Dynatrace.Inputs.VulnerabilitySettingsTechnologies
    Vulnerability Analytics can be enabled/disabled per supported technology.
    GlobalMonitoringModeDotNet string
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    GlobalMonitoringModeTpv string
    Global third-party vulnerability detection control defines the default for all processes. Possible Values: MONITORING_OFF, MONITORING_ON
    EnableCodeLevelVulnerabilityDetection bool
    Enable Code-level Vulnerability Analytics
    EnableRuntimeVulnerabilityDetection bool
    Enable Third-party Vulnerability Analytics
    GlobalMonitoringModeJava string
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    Technologies VulnerabilitySettingsTechnologiesArgs
    Vulnerability Analytics can be enabled/disabled per supported technology.
    GlobalMonitoringModeDotNet string
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    GlobalMonitoringModeTpv string
    Global third-party vulnerability detection control defines the default for all processes. Possible Values: MONITORING_OFF, MONITORING_ON
    enableCodeLevelVulnerabilityDetection Boolean
    Enable Code-level Vulnerability Analytics
    enableRuntimeVulnerabilityDetection Boolean
    Enable Third-party Vulnerability Analytics
    globalMonitoringModeJava String
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    technologies VulnerabilitySettingsTechnologies
    Vulnerability Analytics can be enabled/disabled per supported technology.
    globalMonitoringModeDotNet String
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    globalMonitoringModeTpv String
    Global third-party vulnerability detection control defines the default for all processes. Possible Values: MONITORING_OFF, MONITORING_ON
    enableCodeLevelVulnerabilityDetection boolean
    Enable Code-level Vulnerability Analytics
    enableRuntimeVulnerabilityDetection boolean
    Enable Third-party Vulnerability Analytics
    globalMonitoringModeJava string
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    technologies VulnerabilitySettingsTechnologies
    Vulnerability Analytics can be enabled/disabled per supported technology.
    globalMonitoringModeDotNet string
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    globalMonitoringModeTpv string
    Global third-party vulnerability detection control defines the default for all processes. Possible Values: MONITORING_OFF, MONITORING_ON
    enable_code_level_vulnerability_detection bool
    Enable Code-level Vulnerability Analytics
    enable_runtime_vulnerability_detection bool
    Enable Third-party Vulnerability Analytics
    global_monitoring_mode_java str
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    technologies VulnerabilitySettingsTechnologiesArgs
    Vulnerability Analytics can be enabled/disabled per supported technology.
    global_monitoring_mode_dot_net str
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    global_monitoring_mode_tpv str
    Global third-party vulnerability detection control defines the default for all processes. Possible Values: MONITORING_OFF, MONITORING_ON
    enableCodeLevelVulnerabilityDetection Boolean
    Enable Code-level Vulnerability Analytics
    enableRuntimeVulnerabilityDetection Boolean
    Enable Third-party Vulnerability Analytics
    globalMonitoringModeJava String
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    technologies Property Map
    Vulnerability Analytics can be enabled/disabled per supported technology.
    globalMonitoringModeDotNet String
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    globalMonitoringModeTpv String
    Global third-party vulnerability detection control defines the default for all processes. 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.
    The following state arguments are supported:
    EnableCodeLevelVulnerabilityDetection bool
    Enable Code-level Vulnerability Analytics
    EnableRuntimeVulnerabilityDetection bool
    Enable Third-party Vulnerability Analytics
    GlobalMonitoringModeDotNet string
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    GlobalMonitoringModeJava string
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    GlobalMonitoringModeTpv string
    Global third-party vulnerability detection control defines the default for all processes. Possible Values: MONITORING_OFF, MONITORING_ON
    Technologies Pulumiverse.Dynatrace.Inputs.VulnerabilitySettingsTechnologies
    Vulnerability Analytics can be enabled/disabled per supported technology.
    EnableCodeLevelVulnerabilityDetection bool
    Enable Code-level Vulnerability Analytics
    EnableRuntimeVulnerabilityDetection bool
    Enable Third-party Vulnerability Analytics
    GlobalMonitoringModeDotNet string
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    GlobalMonitoringModeJava string
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    GlobalMonitoringModeTpv string
    Global third-party vulnerability detection control defines the default for all processes. Possible Values: MONITORING_OFF, MONITORING_ON
    Technologies VulnerabilitySettingsTechnologiesArgs
    Vulnerability Analytics can be enabled/disabled per supported technology.
    enableCodeLevelVulnerabilityDetection Boolean
    Enable Code-level Vulnerability Analytics
    enableRuntimeVulnerabilityDetection Boolean
    Enable Third-party Vulnerability Analytics
    globalMonitoringModeDotNet String
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    globalMonitoringModeJava String
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    globalMonitoringModeTpv String
    Global third-party vulnerability detection control defines the default for all processes. Possible Values: MONITORING_OFF, MONITORING_ON
    technologies VulnerabilitySettingsTechnologies
    Vulnerability Analytics can be enabled/disabled per supported technology.
    enableCodeLevelVulnerabilityDetection boolean
    Enable Code-level Vulnerability Analytics
    enableRuntimeVulnerabilityDetection boolean
    Enable Third-party Vulnerability Analytics
    globalMonitoringModeDotNet string
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    globalMonitoringModeJava string
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    globalMonitoringModeTpv string
    Global third-party vulnerability detection control defines the default for all processes. Possible Values: MONITORING_OFF, MONITORING_ON
    technologies VulnerabilitySettingsTechnologies
    Vulnerability Analytics can be enabled/disabled per supported technology.
    enable_code_level_vulnerability_detection bool
    Enable Code-level Vulnerability Analytics
    enable_runtime_vulnerability_detection bool
    Enable Third-party Vulnerability Analytics
    global_monitoring_mode_dot_net str
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    global_monitoring_mode_java str
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    global_monitoring_mode_tpv str
    Global third-party vulnerability detection control defines the default for all processes. Possible Values: MONITORING_OFF, MONITORING_ON
    technologies VulnerabilitySettingsTechnologiesArgs
    Vulnerability Analytics can be enabled/disabled per supported technology.
    enableCodeLevelVulnerabilityDetection Boolean
    Enable Code-level Vulnerability Analytics
    enableRuntimeVulnerabilityDetection Boolean
    Enable Third-party Vulnerability Analytics
    globalMonitoringModeDotNet String
    (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 processes. Possible Values: MONITORING_OFF, MONITORING_ON
    globalMonitoringModeJava String
    Global Java code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain processes. Possible Values: MONITORING_OFF, MONITORING_ON
    globalMonitoringModeTpv String
    Global third-party vulnerability detection control defines the default for all processes. Possible Values: MONITORING_OFF, MONITORING_ON
    technologies Property Map
    Vulnerability Analytics can be enabled/disabled per supported technology.

    Supporting Types

    VulnerabilitySettingsTechnologies, VulnerabilitySettingsTechnologiesArgs

    EnableDotNet bool
    NET
    EnableGo bool
    Go
    EnableJava bool
    Java
    EnableKubernetes bool
    Kubernetes
    EnableNodeJs bool
    Node.js
    EnablePhp bool
    PHP
    EnableDotNetRuntime bool
    NET runtimes
    EnableJavaRuntime bool
    Java runtimes
    EnableNodeJsRuntime bool
    Node.js runtimes
    EnableDotNet bool
    NET
    EnableGo bool
    Go
    EnableJava bool
    Java
    EnableKubernetes bool
    Kubernetes
    EnableNodeJs bool
    Node.js
    EnablePhp bool
    PHP
    EnableDotNetRuntime bool
    NET runtimes
    EnableJavaRuntime bool
    Java runtimes
    EnableNodeJsRuntime bool
    Node.js runtimes
    enableDotNet Boolean
    NET
    enableGo Boolean
    Go
    enableJava Boolean
    Java
    enableKubernetes Boolean
    Kubernetes
    enableNodeJs Boolean
    Node.js
    enablePhp Boolean
    PHP
    enableDotNetRuntime Boolean
    NET runtimes
    enableJavaRuntime Boolean
    Java runtimes
    enableNodeJsRuntime Boolean
    Node.js runtimes
    enableDotNet boolean
    NET
    enableGo boolean
    Go
    enableJava boolean
    Java
    enableKubernetes boolean
    Kubernetes
    enableNodeJs boolean
    Node.js
    enablePhp boolean
    PHP
    enableDotNetRuntime boolean
    NET runtimes
    enableJavaRuntime boolean
    Java runtimes
    enableNodeJsRuntime boolean
    Node.js runtimes
    enable_dot_net bool
    NET
    enable_go bool
    Go
    enable_java bool
    Java
    enable_kubernetes bool
    Kubernetes
    enable_node_js bool
    Node.js
    enable_php bool
    PHP
    enable_dot_net_runtime bool
    NET runtimes
    enable_java_runtime bool
    Java runtimes
    enable_node_js_runtime bool
    Node.js runtimes
    enableDotNet Boolean
    NET
    enableGo Boolean
    Go
    enableJava Boolean
    Java
    enableKubernetes Boolean
    Kubernetes
    enableNodeJs Boolean
    Node.js
    enablePhp Boolean
    PHP
    enableDotNetRuntime Boolean
    NET runtimes
    enableJavaRuntime Boolean
    Java runtimes
    enableNodeJsRuntime Boolean
    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.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse