1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. getManagementThreatProfile
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

checkpoint.getManagementThreatProfile

Explore with Pulumi AI

checkpoint logo
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

    This resource allows you to execute Check Point Threat Profile.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const threatProfile = new checkpoint.ManagementThreatProfile("threatProfile", {
        activeProtectionsPerformanceImpact: "high",
        activeProtectionsSeverity: "Critical",
    });
    const testThreatProfile = checkpoint.getManagementThreatProfileOutput({
        name: threatProfile.name,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    threat_profile = checkpoint.ManagementThreatProfile("threatProfile",
        active_protections_performance_impact="high",
        active_protections_severity="Critical")
    test_threat_profile = checkpoint.get_management_threat_profile_output(name=threat_profile.name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		threatProfile, err := checkpoint.NewManagementThreatProfile(ctx, "threatProfile", &checkpoint.ManagementThreatProfileArgs{
    			ActiveProtectionsPerformanceImpact: pulumi.String("high"),
    			ActiveProtectionsSeverity:          pulumi.String("Critical"),
    		})
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.LookupManagementThreatProfileOutput(ctx, checkpoint.GetManagementThreatProfileOutputArgs{
    			Name: threatProfile.Name,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var threatProfile = new Checkpoint.ManagementThreatProfile("threatProfile", new()
        {
            ActiveProtectionsPerformanceImpact = "high",
            ActiveProtectionsSeverity = "Critical",
        });
    
        var testThreatProfile = Checkpoint.GetManagementThreatProfile.Invoke(new()
        {
            Name = threatProfile.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementThreatProfile;
    import com.pulumi.checkpoint.ManagementThreatProfileArgs;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementThreatProfileArgs;
    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 threatProfile = new ManagementThreatProfile("threatProfile", ManagementThreatProfileArgs.builder()
                .activeProtectionsPerformanceImpact("high")
                .activeProtectionsSeverity("Critical")
                .build());
    
            final var testThreatProfile = CheckpointFunctions.getManagementThreatProfile(GetManagementThreatProfileArgs.builder()
                .name(threatProfile.name())
                .build());
    
        }
    }
    
    resources:
      threatProfile:
        type: checkpoint:ManagementThreatProfile
        properties:
          activeProtectionsPerformanceImpact: high
          activeProtectionsSeverity: Critical
    variables:
      testThreatProfile:
        fn::invoke:
          function: checkpoint:getManagementThreatProfile
          arguments:
            name: ${threatProfile.name}
    

    Using getManagementThreatProfile

    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 getManagementThreatProfile(args: GetManagementThreatProfileArgs, opts?: InvokeOptions): Promise<GetManagementThreatProfileResult>
    function getManagementThreatProfileOutput(args: GetManagementThreatProfileOutputArgs, opts?: InvokeOptions): Output<GetManagementThreatProfileResult>
    def get_management_threat_profile(id: Optional[str] = None,
                                      name: Optional[str] = None,
                                      uid: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetManagementThreatProfileResult
    def get_management_threat_profile_output(id: Optional[pulumi.Input[str]] = None,
                                      name: Optional[pulumi.Input[str]] = None,
                                      uid: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetManagementThreatProfileResult]
    func LookupManagementThreatProfile(ctx *Context, args *LookupManagementThreatProfileArgs, opts ...InvokeOption) (*LookupManagementThreatProfileResult, error)
    func LookupManagementThreatProfileOutput(ctx *Context, args *LookupManagementThreatProfileOutputArgs, opts ...InvokeOption) LookupManagementThreatProfileResultOutput

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

    public static class GetManagementThreatProfile 
    {
        public static Task<GetManagementThreatProfileResult> InvokeAsync(GetManagementThreatProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementThreatProfileResult> Invoke(GetManagementThreatProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementThreatProfileResult> getManagementThreatProfile(GetManagementThreatProfileArgs args, InvokeOptions options)
    public static Output<GetManagementThreatProfileResult> getManagementThreatProfile(GetManagementThreatProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementThreatProfile:getManagementThreatProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Object name. Should be unique in the domain.
    Uid string
    Id string
    Name string
    Object name. Should be unique in the domain.
    Uid string
    id String
    name String
    Object name. Should be unique in the domain.
    uid String
    id string
    name string
    Object name. Should be unique in the domain.
    uid string
    id str
    name str
    Object name. Should be unique in the domain.
    uid str
    id String
    name String
    Object name. Should be unique in the domain.
    uid String

    getManagementThreatProfile Result

    The following output properties are available:

    ActivateProtectionsByExtendedAttributes List<GetManagementThreatProfileActivateProtectionsByExtendedAttribute>
    ActiveProtectionsPerformanceImpact string
    ActiveProtectionsSeverity string
    AntiBot bool
    AntiVirus bool
    Color string
    Comments string
    ConfidenceLevelHigh string
    ConfidenceLevelLow string
    ConfidenceLevelMedium string
    DeactivateProtectionsByExtendedAttributes List<GetManagementThreatProfileDeactivateProtectionsByExtendedAttribute>
    Id string
    IndicatorOverrides List<GetManagementThreatProfileIndicatorOverride>
    Ips bool
    IpsSettings Dictionary<string, string>
    MaliciousMailPolicySettings Dictionary<string, string>
    Overrides List<GetManagementThreatProfileOverride>
    ScanMaliciousLinks Dictionary<string, string>
    Tags List<string>
    ThreatEmulation bool
    UseExtendedAttributes bool
    UseIndicators bool
    Name string
    Uid string

    Supporting Types

    GetManagementThreatProfileActivateProtectionsByExtendedAttribute

    Category string
    IPS tag category name.
    Name string
    IPS tag name.
    Uid string
    IPS tag unique identifier.
    Values List<GetManagementThreatProfileActivateProtectionsByExtendedAttributeValue>
    Collection of IPS protection extended attribute values (name and uid).
    Category string
    IPS tag category name.
    Name string
    IPS tag name.
    Uid string
    IPS tag unique identifier.
    Values []GetManagementThreatProfileActivateProtectionsByExtendedAttributeValue
    Collection of IPS protection extended attribute values (name and uid).
    category String
    IPS tag category name.
    name String
    IPS tag name.
    uid String
    IPS tag unique identifier.
    values List<GetManagementThreatProfileActivateProtectionsByExtendedAttributeValue>
    Collection of IPS protection extended attribute values (name and uid).
    category string
    IPS tag category name.
    name string
    IPS tag name.
    uid string
    IPS tag unique identifier.
    values GetManagementThreatProfileActivateProtectionsByExtendedAttributeValue[]
    Collection of IPS protection extended attribute values (name and uid).
    category str
    IPS tag category name.
    name str
    IPS tag name.
    uid str
    IPS tag unique identifier.
    values Sequence[GetManagementThreatProfileActivateProtectionsByExtendedAttributeValue]
    Collection of IPS protection extended attribute values (name and uid).
    category String
    IPS tag category name.
    name String
    IPS tag name.
    uid String
    IPS tag unique identifier.
    values List<Property Map>
    Collection of IPS protection extended attribute values (name and uid).

    GetManagementThreatProfileActivateProtectionsByExtendedAttributeValue

    Name string
    Object name. Should be unique in the domain.
    Uid string
    Name string
    Object name. Should be unique in the domain.
    Uid string
    name String
    Object name. Should be unique in the domain.
    uid String
    name string
    Object name. Should be unique in the domain.
    uid string
    name str
    Object name. Should be unique in the domain.
    uid str
    name String
    Object name. Should be unique in the domain.
    uid String

    GetManagementThreatProfileDeactivateProtectionsByExtendedAttribute

    Category string
    IPS tag category name.
    Name string
    IPS tag name.
    Uid string
    IPS tag unique identifier.
    Values List<GetManagementThreatProfileDeactivateProtectionsByExtendedAttributeValue>
    Collection of IPS protection extended attribute values (name and uid).
    Category string
    IPS tag category name.
    Name string
    IPS tag name.
    Uid string
    IPS tag unique identifier.
    Values []GetManagementThreatProfileDeactivateProtectionsByExtendedAttributeValue
    Collection of IPS protection extended attribute values (name and uid).
    category String
    IPS tag category name.
    name String
    IPS tag name.
    uid String
    IPS tag unique identifier.
    values List<GetManagementThreatProfileDeactivateProtectionsByExtendedAttributeValue>
    Collection of IPS protection extended attribute values (name and uid).
    category string
    IPS tag category name.
    name string
    IPS tag name.
    uid string
    IPS tag unique identifier.
    values GetManagementThreatProfileDeactivateProtectionsByExtendedAttributeValue[]
    Collection of IPS protection extended attribute values (name and uid).
    category str
    IPS tag category name.
    name str
    IPS tag name.
    uid str
    IPS tag unique identifier.
    values Sequence[GetManagementThreatProfileDeactivateProtectionsByExtendedAttributeValue]
    Collection of IPS protection extended attribute values (name and uid).
    category String
    IPS tag category name.
    name String
    IPS tag name.
    uid String
    IPS tag unique identifier.
    values List<Property Map>
    Collection of IPS protection extended attribute values (name and uid).

    GetManagementThreatProfileDeactivateProtectionsByExtendedAttributeValue

    Name string
    Object name. Should be unique in the domain.
    Uid string
    Name string
    Object name. Should be unique in the domain.
    Uid string
    name String
    Object name. Should be unique in the domain.
    uid String
    name string
    Object name. Should be unique in the domain.
    uid string
    name str
    Object name. Should be unique in the domain.
    uid str
    name String
    Object name. Should be unique in the domain.
    uid String

    GetManagementThreatProfileIndicatorOverride

    Action string
    The indicator's action in this profile.
    Indicator string
    The indicator whose action is to be overriden.
    Action string
    The indicator's action in this profile.
    Indicator string
    The indicator whose action is to be overriden.
    action String
    The indicator's action in this profile.
    indicator String
    The indicator whose action is to be overriden.
    action string
    The indicator's action in this profile.
    indicator string
    The indicator whose action is to be overriden.
    action str
    The indicator's action in this profile.
    indicator str
    The indicator whose action is to be overriden.
    action String
    The indicator's action in this profile.
    indicator String
    The indicator whose action is to be overriden.

    GetManagementThreatProfileOverride

    Action string
    Protection action.
    CapturePackets bool
    Capture packets.
    Default Dictionary<string, string>
    Default settings. default blocks are documented below.
    Final Dictionary<string, string>
    Final settings. final blocks are documented below.
    Protection string
    IPS protection identified by name.
    ProtectionExternalInfos List<string>
    Collection of industry reference (CVE).
    ProtectionUid string
    IPS protection unique identifier.
    Track string
    Tracking method for protection.
    Action string
    Protection action.
    CapturePackets bool
    Capture packets.
    Default map[string]string
    Default settings. default blocks are documented below.
    Final map[string]string
    Final settings. final blocks are documented below.
    Protection string
    IPS protection identified by name.
    ProtectionExternalInfos []string
    Collection of industry reference (CVE).
    ProtectionUid string
    IPS protection unique identifier.
    Track string
    Tracking method for protection.
    action String
    Protection action.
    capturePackets Boolean
    Capture packets.
    default_ Map<String,String>
    Default settings. default blocks are documented below.
    final_ Map<String,String>
    Final settings. final blocks are documented below.
    protection String
    IPS protection identified by name.
    protectionExternalInfos List<String>
    Collection of industry reference (CVE).
    protectionUid String
    IPS protection unique identifier.
    track String
    Tracking method for protection.
    action string
    Protection action.
    capturePackets boolean
    Capture packets.
    default {[key: string]: string}
    Default settings. default blocks are documented below.
    final {[key: string]: string}
    Final settings. final blocks are documented below.
    protection string
    IPS protection identified by name.
    protectionExternalInfos string[]
    Collection of industry reference (CVE).
    protectionUid string
    IPS protection unique identifier.
    track string
    Tracking method for protection.
    action str
    Protection action.
    capture_packets bool
    Capture packets.
    default Mapping[str, str]
    Default settings. default blocks are documented below.
    final Mapping[str, str]
    Final settings. final blocks are documented below.
    protection str
    IPS protection identified by name.
    protection_external_infos Sequence[str]
    Collection of industry reference (CVE).
    protection_uid str
    IPS protection unique identifier.
    track str
    Tracking method for protection.
    action String
    Protection action.
    capturePackets Boolean
    Capture packets.
    default Map<String>
    Default settings. default blocks are documented below.
    final Map<String>
    Final settings. final blocks are documented below.
    protection String
    IPS protection identified by name.
    protectionExternalInfos List<String>
    Collection of industry reference (CVE).
    protectionUid String
    IPS protection unique identifier.
    track String
    Tracking method for protection.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    checkpoint logo
    checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw