1. Packages
  2. Strata Cloud Manager (Palo Alto SCM)
  3. API Docs
  4. getVulnerabilityProtectionProfile
Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi

scm.getVulnerabilityProtectionProfile

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi

    Retrieves a config item.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const example = scm.getVulnerabilityProtectionProfile({
        id: "1234-56-789",
    });
    
    import pulumi
    import pulumi_scm as scm
    
    example = scm.get_vulnerability_protection_profile(id="1234-56-789")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scm.LookupVulnerabilityProtectionProfile(ctx, &scm.LookupVulnerabilityProtectionProfileArgs{
    			Id: "1234-56-789",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Scm.GetVulnerabilityProtectionProfile.Invoke(new()
        {
            Id = "1234-56-789",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetVulnerabilityProtectionProfileArgs;
    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) {
            final var example = ScmFunctions.getVulnerabilityProtectionProfile(GetVulnerabilityProtectionProfileArgs.builder()
                .id("1234-56-789")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: scm:getVulnerabilityProtectionProfile
          Arguments:
            id: 1234-56-789
    

    Using getVulnerabilityProtectionProfile

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getVulnerabilityProtectionProfile(args: GetVulnerabilityProtectionProfileArgs, opts?: InvokeOptions): Promise<GetVulnerabilityProtectionProfileResult>
    function getVulnerabilityProtectionProfileOutput(args: GetVulnerabilityProtectionProfileOutputArgs, opts?: InvokeOptions): Output<GetVulnerabilityProtectionProfileResult>
    def get_vulnerability_protection_profile(id: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetVulnerabilityProtectionProfileResult
    def get_vulnerability_protection_profile_output(id: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetVulnerabilityProtectionProfileResult]
    func LookupVulnerabilityProtectionProfile(ctx *Context, args *LookupVulnerabilityProtectionProfileArgs, opts ...InvokeOption) (*LookupVulnerabilityProtectionProfileResult, error)
    func LookupVulnerabilityProtectionProfileOutput(ctx *Context, args *LookupVulnerabilityProtectionProfileOutputArgs, opts ...InvokeOption) LookupVulnerabilityProtectionProfileResultOutput

    > Note: This function is named LookupVulnerabilityProtectionProfile in the Go SDK.

    public static class GetVulnerabilityProtectionProfile 
    {
        public static Task<GetVulnerabilityProtectionProfileResult> InvokeAsync(GetVulnerabilityProtectionProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetVulnerabilityProtectionProfileResult> Invoke(GetVulnerabilityProtectionProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVulnerabilityProtectionProfileResult> getVulnerabilityProtectionProfile(GetVulnerabilityProtectionProfileArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scm:index/getVulnerabilityProtectionProfile:getVulnerabilityProtectionProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The Id param.
    Id string
    The Id param.
    id String
    The Id param.
    id string
    The Id param.
    id str
    The Id param.
    id String
    The Id param.

    getVulnerabilityProtectionProfile Result

    The following output properties are available:

    Description string
    The Description param.
    Id string
    The Id param.
    Name string
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    Rules List<GetVulnerabilityProtectionProfileRule>
    The Rules param.
    Tfid string
    ThreatExceptions List<GetVulnerabilityProtectionProfileThreatException>
    The ThreatExceptions param.
    Description string
    The Description param.
    Id string
    The Id param.
    Name string
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    Rules []GetVulnerabilityProtectionProfileRule
    The Rules param.
    Tfid string
    ThreatExceptions []GetVulnerabilityProtectionProfileThreatException
    The ThreatExceptions param.
    description String
    The Description param.
    id String
    The Id param.
    name String
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    rules List<GetVulnerabilityProtectionProfileRule>
    The Rules param.
    tfid String
    threatExceptions List<GetVulnerabilityProtectionProfileThreatException>
    The ThreatExceptions param.
    description string
    The Description param.
    id string
    The Id param.
    name string
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    rules GetVulnerabilityProtectionProfileRule[]
    The Rules param.
    tfid string
    threatExceptions GetVulnerabilityProtectionProfileThreatException[]
    The ThreatExceptions param.
    description str
    The Description param.
    id str
    The Id param.
    name str
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    rules Sequence[GetVulnerabilityProtectionProfileRule]
    The Rules param.
    tfid str
    threat_exceptions Sequence[GetVulnerabilityProtectionProfileThreatException]
    The ThreatExceptions param.
    description String
    The Description param.
    id String
    The Id param.
    name String
    The Name param. String validation regex: ^[a-zA-Z0-9._-]+$.
    rules List<Property Map>
    The Rules param.
    tfid String
    threatExceptions List<Property Map>
    The ThreatExceptions param.

    Supporting Types

    GetVulnerabilityProtectionProfileRule

    Action GetVulnerabilityProtectionProfileRuleAction
    The Action param.
    Category string
    The Category param. String must be one of these: "any", "brute-force", "code-execution", "code-obfuscation", "command-execution", "dos", "exploit-kit", "info-leak", "insecure-credentials", "overflow", "phishing", "protocol-anomaly", "scan", "sql-injection".
    Cves List<string>
    The Cves param.
    Host string
    The Host param.
    Name string
    The Name param.
    PacketCapture string
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    Severities List<string>
    The Severities param.
    ThreatName string
    The ThreatName param.
    VendorIds List<string>
    The VendorIds param.
    Action GetVulnerabilityProtectionProfileRuleAction
    The Action param.
    Category string
    The Category param. String must be one of these: "any", "brute-force", "code-execution", "code-obfuscation", "command-execution", "dos", "exploit-kit", "info-leak", "insecure-credentials", "overflow", "phishing", "protocol-anomaly", "scan", "sql-injection".
    Cves []string
    The Cves param.
    Host string
    The Host param.
    Name string
    The Name param.
    PacketCapture string
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    Severities []string
    The Severities param.
    ThreatName string
    The ThreatName param.
    VendorIds []string
    The VendorIds param.
    action GetVulnerabilityProtectionProfileRuleAction
    The Action param.
    category String
    The Category param. String must be one of these: "any", "brute-force", "code-execution", "code-obfuscation", "command-execution", "dos", "exploit-kit", "info-leak", "insecure-credentials", "overflow", "phishing", "protocol-anomaly", "scan", "sql-injection".
    cves List<String>
    The Cves param.
    host String
    The Host param.
    name String
    The Name param.
    packetCapture String
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    severities List<String>
    The Severities param.
    threatName String
    The ThreatName param.
    vendorIds List<String>
    The VendorIds param.
    action GetVulnerabilityProtectionProfileRuleAction
    The Action param.
    category string
    The Category param. String must be one of these: "any", "brute-force", "code-execution", "code-obfuscation", "command-execution", "dos", "exploit-kit", "info-leak", "insecure-credentials", "overflow", "phishing", "protocol-anomaly", "scan", "sql-injection".
    cves string[]
    The Cves param.
    host string
    The Host param.
    name string
    The Name param.
    packetCapture string
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    severities string[]
    The Severities param.
    threatName string
    The ThreatName param.
    vendorIds string[]
    The VendorIds param.
    action GetVulnerabilityProtectionProfileRuleAction
    The Action param.
    category str
    The Category param. String must be one of these: "any", "brute-force", "code-execution", "code-obfuscation", "command-execution", "dos", "exploit-kit", "info-leak", "insecure-credentials", "overflow", "phishing", "protocol-anomaly", "scan", "sql-injection".
    cves Sequence[str]
    The Cves param.
    host str
    The Host param.
    name str
    The Name param.
    packet_capture str
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    severities Sequence[str]
    The Severities param.
    threat_name str
    The ThreatName param.
    vendor_ids Sequence[str]
    The VendorIds param.
    action Property Map
    The Action param.
    category String
    The Category param. String must be one of these: "any", "brute-force", "code-execution", "code-obfuscation", "command-execution", "dos", "exploit-kit", "info-leak", "insecure-credentials", "overflow", "phishing", "protocol-anomaly", "scan", "sql-injection".
    cves List<String>
    The Cves param.
    host String
    The Host param.
    name String
    The Name param.
    packetCapture String
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    severities List<String>
    The Severities param.
    threatName String
    The ThreatName param.
    vendorIds List<String>
    The VendorIds param.

    GetVulnerabilityProtectionProfileRuleAction

    Alert bool
    The Alert param.
    Allow bool
    The Allow param.
    BlockIp GetVulnerabilityProtectionProfileRuleActionBlockIp
    The BlockIp param.
    Default bool
    The Default param.
    Drop bool
    The Drop param.
    ResetBoth bool
    The ResetBoth param.
    ResetClient bool
    The ResetClient param.
    ResetServer bool
    The ResetServer param.
    Alert bool
    The Alert param.
    Allow bool
    The Allow param.
    BlockIp GetVulnerabilityProtectionProfileRuleActionBlockIp
    The BlockIp param.
    Default bool
    The Default param.
    Drop bool
    The Drop param.
    ResetBoth bool
    The ResetBoth param.
    ResetClient bool
    The ResetClient param.
    ResetServer bool
    The ResetServer param.
    alert Boolean
    The Alert param.
    allow Boolean
    The Allow param.
    blockIp GetVulnerabilityProtectionProfileRuleActionBlockIp
    The BlockIp param.
    default_ Boolean
    The Default param.
    drop Boolean
    The Drop param.
    resetBoth Boolean
    The ResetBoth param.
    resetClient Boolean
    The ResetClient param.
    resetServer Boolean
    The ResetServer param.
    alert boolean
    The Alert param.
    allow boolean
    The Allow param.
    blockIp GetVulnerabilityProtectionProfileRuleActionBlockIp
    The BlockIp param.
    default boolean
    The Default param.
    drop boolean
    The Drop param.
    resetBoth boolean
    The ResetBoth param.
    resetClient boolean
    The ResetClient param.
    resetServer boolean
    The ResetServer param.
    alert bool
    The Alert param.
    allow bool
    The Allow param.
    block_ip GetVulnerabilityProtectionProfileRuleActionBlockIp
    The BlockIp param.
    default bool
    The Default param.
    drop bool
    The Drop param.
    reset_both bool
    The ResetBoth param.
    reset_client bool
    The ResetClient param.
    reset_server bool
    The ResetServer param.
    alert Boolean
    The Alert param.
    allow Boolean
    The Allow param.
    blockIp Property Map
    The BlockIp param.
    default Boolean
    The Default param.
    drop Boolean
    The Drop param.
    resetBoth Boolean
    The ResetBoth param.
    resetClient Boolean
    The ResetClient param.
    resetServer Boolean
    The ResetServer param.

    GetVulnerabilityProtectionProfileRuleActionBlockIp

    Duration int
    The Duration param. Value must be between 1 and 3600.
    TrackBy string
    The TrackBy param. String must be one of these: "source-and-destination", "source".
    Duration int
    The Duration param. Value must be between 1 and 3600.
    TrackBy string
    The TrackBy param. String must be one of these: "source-and-destination", "source".
    duration Integer
    The Duration param. Value must be between 1 and 3600.
    trackBy String
    The TrackBy param. String must be one of these: "source-and-destination", "source".
    duration number
    The Duration param. Value must be between 1 and 3600.
    trackBy string
    The TrackBy param. String must be one of these: "source-and-destination", "source".
    duration int
    The Duration param. Value must be between 1 and 3600.
    track_by str
    The TrackBy param. String must be one of these: "source-and-destination", "source".
    duration Number
    The Duration param. Value must be between 1 and 3600.
    trackBy String
    The TrackBy param. String must be one of these: "source-and-destination", "source".

    GetVulnerabilityProtectionProfileThreatException

    Action GetVulnerabilityProtectionProfileThreatExceptionAction
    The Action param.
    ExemptIps List<GetVulnerabilityProtectionProfileThreatExceptionExemptIp>
    The ExemptIps param.
    Name string
    The Name param.
    Notes string
    The Notes param.
    PacketCapture string
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    TimeAttribute GetVulnerabilityProtectionProfileThreatExceptionTimeAttribute
    The TimeAttribute param.
    Action GetVulnerabilityProtectionProfileThreatExceptionAction
    The Action param.
    ExemptIps []GetVulnerabilityProtectionProfileThreatExceptionExemptIp
    The ExemptIps param.
    Name string
    The Name param.
    Notes string
    The Notes param.
    PacketCapture string
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    TimeAttribute GetVulnerabilityProtectionProfileThreatExceptionTimeAttribute
    The TimeAttribute param.
    action GetVulnerabilityProtectionProfileThreatExceptionAction
    The Action param.
    exemptIps List<GetVulnerabilityProtectionProfileThreatExceptionExemptIp>
    The ExemptIps param.
    name String
    The Name param.
    notes String
    The Notes param.
    packetCapture String
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    timeAttribute GetVulnerabilityProtectionProfileThreatExceptionTimeAttribute
    The TimeAttribute param.
    action GetVulnerabilityProtectionProfileThreatExceptionAction
    The Action param.
    exemptIps GetVulnerabilityProtectionProfileThreatExceptionExemptIp[]
    The ExemptIps param.
    name string
    The Name param.
    notes string
    The Notes param.
    packetCapture string
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    timeAttribute GetVulnerabilityProtectionProfileThreatExceptionTimeAttribute
    The TimeAttribute param.
    action GetVulnerabilityProtectionProfileThreatExceptionAction
    The Action param.
    exempt_ips Sequence[GetVulnerabilityProtectionProfileThreatExceptionExemptIp]
    The ExemptIps param.
    name str
    The Name param.
    notes str
    The Notes param.
    packet_capture str
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    time_attribute GetVulnerabilityProtectionProfileThreatExceptionTimeAttribute
    The TimeAttribute param.
    action Property Map
    The Action param.
    exemptIps List<Property Map>
    The ExemptIps param.
    name String
    The Name param.
    notes String
    The Notes param.
    packetCapture String
    The PacketCapture param. String must be one of these: "disable", "single-packet", "extended-capture".
    timeAttribute Property Map
    The TimeAttribute param.

    GetVulnerabilityProtectionProfileThreatExceptionAction

    Alert bool
    The Alert param.
    Allow bool
    The Allow param.
    BlockIp GetVulnerabilityProtectionProfileThreatExceptionActionBlockIp
    The BlockIp param.
    Default bool
    The Default param.
    Drop bool
    The Drop param.
    ResetBoth bool
    The ResetBoth param.
    ResetClient bool
    The ResetClient param.
    ResetServer bool
    The ResetServer param.
    Alert bool
    The Alert param.
    Allow bool
    The Allow param.
    BlockIp GetVulnerabilityProtectionProfileThreatExceptionActionBlockIp
    The BlockIp param.
    Default bool
    The Default param.
    Drop bool
    The Drop param.
    ResetBoth bool
    The ResetBoth param.
    ResetClient bool
    The ResetClient param.
    ResetServer bool
    The ResetServer param.
    alert Boolean
    The Alert param.
    allow Boolean
    The Allow param.
    blockIp GetVulnerabilityProtectionProfileThreatExceptionActionBlockIp
    The BlockIp param.
    default_ Boolean
    The Default param.
    drop Boolean
    The Drop param.
    resetBoth Boolean
    The ResetBoth param.
    resetClient Boolean
    The ResetClient param.
    resetServer Boolean
    The ResetServer param.
    alert boolean
    The Alert param.
    allow boolean
    The Allow param.
    blockIp GetVulnerabilityProtectionProfileThreatExceptionActionBlockIp
    The BlockIp param.
    default boolean
    The Default param.
    drop boolean
    The Drop param.
    resetBoth boolean
    The ResetBoth param.
    resetClient boolean
    The ResetClient param.
    resetServer boolean
    The ResetServer param.
    alert bool
    The Alert param.
    allow bool
    The Allow param.
    block_ip GetVulnerabilityProtectionProfileThreatExceptionActionBlockIp
    The BlockIp param.
    default bool
    The Default param.
    drop bool
    The Drop param.
    reset_both bool
    The ResetBoth param.
    reset_client bool
    The ResetClient param.
    reset_server bool
    The ResetServer param.
    alert Boolean
    The Alert param.
    allow Boolean
    The Allow param.
    blockIp Property Map
    The BlockIp param.
    default Boolean
    The Default param.
    drop Boolean
    The Drop param.
    resetBoth Boolean
    The ResetBoth param.
    resetClient Boolean
    The ResetClient param.
    resetServer Boolean
    The ResetServer param.

    GetVulnerabilityProtectionProfileThreatExceptionActionBlockIp

    Duration int
    The Duration param. Value must be between 1 and 3600.
    TrackBy string
    The TrackBy param. String must be one of these: "source-and-destination", "source".
    Duration int
    The Duration param. Value must be between 1 and 3600.
    TrackBy string
    The TrackBy param. String must be one of these: "source-and-destination", "source".
    duration Integer
    The Duration param. Value must be between 1 and 3600.
    trackBy String
    The TrackBy param. String must be one of these: "source-and-destination", "source".
    duration number
    The Duration param. Value must be between 1 and 3600.
    trackBy string
    The TrackBy param. String must be one of these: "source-and-destination", "source".
    duration int
    The Duration param. Value must be between 1 and 3600.
    track_by str
    The TrackBy param. String must be one of these: "source-and-destination", "source".
    duration Number
    The Duration param. Value must be between 1 and 3600.
    trackBy String
    The TrackBy param. String must be one of these: "source-and-destination", "source".

    GetVulnerabilityProtectionProfileThreatExceptionExemptIp

    Name string
    The Name param.
    Name string
    The Name param.
    name String
    The Name param.
    name string
    The Name param.
    name str
    The Name param.
    name String
    The Name param.

    GetVulnerabilityProtectionProfileThreatExceptionTimeAttribute

    Interval int
    The Interval param. Value must be between 1 and 3600.
    Threshold int
    The Threshold param. Value must be between 1 and 65535.
    TrackBy string
    The TrackBy param. String must be one of these: "source", "destination", "source-and-destination".
    Interval int
    The Interval param. Value must be between 1 and 3600.
    Threshold int
    The Threshold param. Value must be between 1 and 65535.
    TrackBy string
    The TrackBy param. String must be one of these: "source", "destination", "source-and-destination".
    interval Integer
    The Interval param. Value must be between 1 and 3600.
    threshold Integer
    The Threshold param. Value must be between 1 and 65535.
    trackBy String
    The TrackBy param. String must be one of these: "source", "destination", "source-and-destination".
    interval number
    The Interval param. Value must be between 1 and 3600.
    threshold number
    The Threshold param. Value must be between 1 and 65535.
    trackBy string
    The TrackBy param. String must be one of these: "source", "destination", "source-and-destination".
    interval int
    The Interval param. Value must be between 1 and 3600.
    threshold int
    The Threshold param. Value must be between 1 and 65535.
    track_by str
    The TrackBy param. String must be one of these: "source", "destination", "source-and-destination".
    interval Number
    The Interval param. Value must be between 1 and 3600.
    threshold Number
    The Threshold param. Value must be between 1 and 65535.
    trackBy String
    The TrackBy param. String must be one of these: "source", "destination", "source-and-destination".

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi