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

checkpoint.getManagementThreatRuleExceptionRulebase

Explore with Pulumi AI

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

    Use this data source to get information on an existing Check Point threat-rule-exception-rulebase

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const base1 = checkpoint.getManagementThreatRuleExceptionRulebase({
        name: "Standard Threat Prevention",
        ruleNumber: "1",
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    base1 = checkpoint.get_management_threat_rule_exception_rulebase(name="Standard Threat Prevention",
        rule_number="1")
    
    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 {
    		_, err := checkpoint.GetManagementThreatRuleExceptionRulebase(ctx, &checkpoint.GetManagementThreatRuleExceptionRulebaseArgs{
    			Name:       pulumi.StringRef("Standard Threat Prevention"),
    			RuleNumber: pulumi.StringRef("1"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var base1 = Checkpoint.GetManagementThreatRuleExceptionRulebase.Invoke(new()
        {
            Name = "Standard Threat Prevention",
            RuleNumber = "1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementThreatRuleExceptionRulebaseArgs;
    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 base1 = CheckpointFunctions.getManagementThreatRuleExceptionRulebase(GetManagementThreatRuleExceptionRulebaseArgs.builder()
                .name("Standard Threat Prevention")
                .ruleNumber(1)
                .build());
    
        }
    }
    
    variables:
      base1:
        fn::invoke:
          function: checkpoint:getManagementThreatRuleExceptionRulebase
          arguments:
            name: Standard Threat Prevention
            ruleNumber: 1
    

    Using getManagementThreatRuleExceptionRulebase

    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 getManagementThreatRuleExceptionRulebase(args: GetManagementThreatRuleExceptionRulebaseArgs, opts?: InvokeOptions): Promise<GetManagementThreatRuleExceptionRulebaseResult>
    function getManagementThreatRuleExceptionRulebaseOutput(args: GetManagementThreatRuleExceptionRulebaseOutputArgs, opts?: InvokeOptions): Output<GetManagementThreatRuleExceptionRulebaseResult>
    def get_management_threat_rule_exception_rulebase(filter: Optional[str] = None,
                                                      filter_settings: Optional[Mapping[str, str]] = None,
                                                      id: Optional[str] = None,
                                                      limit: Optional[float] = None,
                                                      name: Optional[str] = None,
                                                      offset: Optional[float] = None,
                                                      order: Optional[Mapping[str, str]] = None,
                                                      package: Optional[str] = None,
                                                      rule_name: Optional[str] = None,
                                                      rule_number: Optional[str] = None,
                                                      rule_uid: Optional[str] = None,
                                                      uid: Optional[str] = None,
                                                      use_object_dictionary: Optional[bool] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetManagementThreatRuleExceptionRulebaseResult
    def get_management_threat_rule_exception_rulebase_output(filter: Optional[pulumi.Input[str]] = None,
                                                      filter_settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                                                      id: Optional[pulumi.Input[str]] = None,
                                                      limit: Optional[pulumi.Input[float]] = None,
                                                      name: Optional[pulumi.Input[str]] = None,
                                                      offset: Optional[pulumi.Input[float]] = None,
                                                      order: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                                                      package: Optional[pulumi.Input[str]] = None,
                                                      rule_name: Optional[pulumi.Input[str]] = None,
                                                      rule_number: Optional[pulumi.Input[str]] = None,
                                                      rule_uid: Optional[pulumi.Input[str]] = None,
                                                      uid: Optional[pulumi.Input[str]] = None,
                                                      use_object_dictionary: Optional[pulumi.Input[bool]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetManagementThreatRuleExceptionRulebaseResult]
    func GetManagementThreatRuleExceptionRulebase(ctx *Context, args *GetManagementThreatRuleExceptionRulebaseArgs, opts ...InvokeOption) (*GetManagementThreatRuleExceptionRulebaseResult, error)
    func GetManagementThreatRuleExceptionRulebaseOutput(ctx *Context, args *GetManagementThreatRuleExceptionRulebaseOutputArgs, opts ...InvokeOption) GetManagementThreatRuleExceptionRulebaseResultOutput

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

    public static class GetManagementThreatRuleExceptionRulebase 
    {
        public static Task<GetManagementThreatRuleExceptionRulebaseResult> InvokeAsync(GetManagementThreatRuleExceptionRulebaseArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementThreatRuleExceptionRulebaseResult> Invoke(GetManagementThreatRuleExceptionRulebaseInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementThreatRuleExceptionRulebaseResult> getManagementThreatRuleExceptionRulebase(GetManagementThreatRuleExceptionRulebaseArgs args, InvokeOptions options)
    public static Output<GetManagementThreatRuleExceptionRulebaseResult> getManagementThreatRuleExceptionRulebase(GetManagementThreatRuleExceptionRulebaseArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementThreatRuleExceptionRulebase:getManagementThreatRuleExceptionRulebase
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filter string
    Search expression to filter the rulebase. The provided text should be exactly the same as it would be given in Smart Console. The logical operators in the expression ('AND', 'OR') should be provided in capital letters. If an operator is not used, the default OR operator applies.
    FilterSettings Dictionary<string, string>
    Enable enforce end user domain. filter_settings blocks are documented below.
    Id string
    Limit double
    The maximal number of returned results.
    Name string
    The name of the exception.
    Offset double
    Number of the results to initially skip.
    Order Dictionary<string, string>
    Sorts the results by search criteria. Automatically sorts the results by Name, in the ascending order. orders blocks are documented below.
    Package string
    Name of the package.
    RuleName string
    RuleNumber string
    RuleUid string
    Uid string
    Object unique identifier.
    UseObjectDictionary bool
    boolean flag. indicate whether to use object dictionary in the response (default true).
    Filter string
    Search expression to filter the rulebase. The provided text should be exactly the same as it would be given in Smart Console. The logical operators in the expression ('AND', 'OR') should be provided in capital letters. If an operator is not used, the default OR operator applies.
    FilterSettings map[string]string
    Enable enforce end user domain. filter_settings blocks are documented below.
    Id string
    Limit float64
    The maximal number of returned results.
    Name string
    The name of the exception.
    Offset float64
    Number of the results to initially skip.
    Order map[string]string
    Sorts the results by search criteria. Automatically sorts the results by Name, in the ascending order. orders blocks are documented below.
    Package string
    Name of the package.
    RuleName string
    RuleNumber string
    RuleUid string
    Uid string
    Object unique identifier.
    UseObjectDictionary bool
    boolean flag. indicate whether to use object dictionary in the response (default true).
    filter String
    Search expression to filter the rulebase. The provided text should be exactly the same as it would be given in Smart Console. The logical operators in the expression ('AND', 'OR') should be provided in capital letters. If an operator is not used, the default OR operator applies.
    filterSettings Map<String,String>
    Enable enforce end user domain. filter_settings blocks are documented below.
    id String
    limit Double
    The maximal number of returned results.
    name String
    The name of the exception.
    offset Double
    Number of the results to initially skip.
    order Map<String,String>
    Sorts the results by search criteria. Automatically sorts the results by Name, in the ascending order. orders blocks are documented below.
    package_ String
    Name of the package.
    ruleName String
    ruleNumber String
    ruleUid String
    uid String
    Object unique identifier.
    useObjectDictionary Boolean
    boolean flag. indicate whether to use object dictionary in the response (default true).
    filter string
    Search expression to filter the rulebase. The provided text should be exactly the same as it would be given in Smart Console. The logical operators in the expression ('AND', 'OR') should be provided in capital letters. If an operator is not used, the default OR operator applies.
    filterSettings {[key: string]: string}
    Enable enforce end user domain. filter_settings blocks are documented below.
    id string
    limit number
    The maximal number of returned results.
    name string
    The name of the exception.
    offset number
    Number of the results to initially skip.
    order {[key: string]: string}
    Sorts the results by search criteria. Automatically sorts the results by Name, in the ascending order. orders blocks are documented below.
    package string
    Name of the package.
    ruleName string
    ruleNumber string
    ruleUid string
    uid string
    Object unique identifier.
    useObjectDictionary boolean
    boolean flag. indicate whether to use object dictionary in the response (default true).
    filter str
    Search expression to filter the rulebase. The provided text should be exactly the same as it would be given in Smart Console. The logical operators in the expression ('AND', 'OR') should be provided in capital letters. If an operator is not used, the default OR operator applies.
    filter_settings Mapping[str, str]
    Enable enforce end user domain. filter_settings blocks are documented below.
    id str
    limit float
    The maximal number of returned results.
    name str
    The name of the exception.
    offset float
    Number of the results to initially skip.
    order Mapping[str, str]
    Sorts the results by search criteria. Automatically sorts the results by Name, in the ascending order. orders blocks are documented below.
    package str
    Name of the package.
    rule_name str
    rule_number str
    rule_uid str
    uid str
    Object unique identifier.
    use_object_dictionary bool
    boolean flag. indicate whether to use object dictionary in the response (default true).
    filter String
    Search expression to filter the rulebase. The provided text should be exactly the same as it would be given in Smart Console. The logical operators in the expression ('AND', 'OR') should be provided in capital letters. If an operator is not used, the default OR operator applies.
    filterSettings Map<String>
    Enable enforce end user domain. filter_settings blocks are documented below.
    id String
    limit Number
    The maximal number of returned results.
    name String
    The name of the exception.
    offset Number
    Number of the results to initially skip.
    order Map<String>
    Sorts the results by search criteria. Automatically sorts the results by Name, in the ascending order. orders blocks are documented below.
    package String
    Name of the package.
    ruleName String
    ruleNumber String
    ruleUid String
    uid String
    Object unique identifier.
    useObjectDictionary Boolean
    boolean flag. indicate whether to use object dictionary in the response (default true).

    getManagementThreatRuleExceptionRulebase Result

    The following output properties are available:

    from Number
    id String
    objectsDictionaries List<Property Map>
    rulebases List<Property Map>
    to Number
    total Number
    filter String
    filterSettings Map<String>
    limit Number
    name String
    offset Number
    order Map<String>
    package String
    ruleName String
    ruleNumber String
    ruleUid String
    uid String
    useObjectDictionary Boolean

    Supporting Types

    GetManagementThreatRuleExceptionRulebaseObjectsDictionary

    Name string
    The name of the Object.
    Type string
    Object type.
    Uid string
    Object unique identifier.
    Name string
    The name of the Object.
    Type string
    Object type.
    Uid string
    Object unique identifier.
    name String
    The name of the Object.
    type String
    Object type.
    uid String
    Object unique identifier.
    name string
    The name of the Object.
    type string
    Object type.
    uid string
    Object unique identifier.
    name str
    The name of the Object.
    type str
    Object type.
    uid str
    Object unique identifier.
    name String
    The name of the Object.
    type String
    Object type.
    uid String
    Object unique identifier.

    GetManagementThreatRuleExceptionRulebaseRulebase

    From double
    From which element number the query was done.
    Name string
    The name of the exception group.
    Rulebases List<GetManagementThreatRuleExceptionRulebaseRulebaseRulebase>
    Array that contain threat exception for a specific exception group.
    To double
    To which element number the query was done.
    Type string
    Object type.
    Uid string
    Object unique identifier.
    From float64
    From which element number the query was done.
    Name string
    The name of the exception group.
    Rulebases []GetManagementThreatRuleExceptionRulebaseRulebaseRulebase
    Array that contain threat exception for a specific exception group.
    To float64
    To which element number the query was done.
    Type string
    Object type.
    Uid string
    Object unique identifier.
    from Double
    From which element number the query was done.
    name String
    The name of the exception group.
    rulebases List<GetManagementThreatRuleExceptionRulebaseRulebaseRulebase>
    Array that contain threat exception for a specific exception group.
    to Double
    To which element number the query was done.
    type String
    Object type.
    uid String
    Object unique identifier.
    from number
    From which element number the query was done.
    name string
    The name of the exception group.
    rulebases GetManagementThreatRuleExceptionRulebaseRulebaseRulebase[]
    Array that contain threat exception for a specific exception group.
    to number
    To which element number the query was done.
    type string
    Object type.
    uid string
    Object unique identifier.
    from_ float
    From which element number the query was done.
    name str
    The name of the exception group.
    rulebases Sequence[GetManagementThreatRuleExceptionRulebaseRulebaseRulebase]
    Array that contain threat exception for a specific exception group.
    to float
    To which element number the query was done.
    type str
    Object type.
    uid str
    Object unique identifier.
    from Number
    From which element number the query was done.
    name String
    The name of the exception group.
    rulebases List<Property Map>
    Array that contain threat exception for a specific exception group.
    to Number
    To which element number the query was done.
    type String
    Object type.
    uid String
    Object unique identifier.

    GetManagementThreatRuleExceptionRulebaseRulebaseRulebase

    Action string
    Action-the enforced profile.
    DestinationNegate bool
    True if negate is set for destination.
    Destinations List<string>
    Collection of Network objects identified by the name or UID.
    ExceptionNumber string
    InstallOns List<string>
    Which Gateways identified by the name or UID to install the policy on.
    Name string
    The name of the exception group.
    ProtectedScopeNegate bool
    True if negate is set for Protected Scope.
    ProtectedScopes List<string>
    Collection of objects defining Protected Scope identified by the name or UID.
    ProtectionOrSites List<string>
    ServiceNegate bool
    True if negate is set for service.
    Services List<string>
    Collection of Network objects identified by the name or UID.
    SourceNegate bool
    True if negate is set for source.
    Sources List<string>
    Collection of Network objects identified by the name or UID.
    Track string
    Packet tracking.
    Type string
    Object type.
    Uid string
    Object unique identifier.
    Action string
    Action-the enforced profile.
    DestinationNegate bool
    True if negate is set for destination.
    Destinations []string
    Collection of Network objects identified by the name or UID.
    ExceptionNumber string
    InstallOns []string
    Which Gateways identified by the name or UID to install the policy on.
    Name string
    The name of the exception group.
    ProtectedScopeNegate bool
    True if negate is set for Protected Scope.
    ProtectedScopes []string
    Collection of objects defining Protected Scope identified by the name or UID.
    ProtectionOrSites []string
    ServiceNegate bool
    True if negate is set for service.
    Services []string
    Collection of Network objects identified by the name or UID.
    SourceNegate bool
    True if negate is set for source.
    Sources []string
    Collection of Network objects identified by the name or UID.
    Track string
    Packet tracking.
    Type string
    Object type.
    Uid string
    Object unique identifier.
    action String
    Action-the enforced profile.
    destinationNegate Boolean
    True if negate is set for destination.
    destinations List<String>
    Collection of Network objects identified by the name or UID.
    exceptionNumber String
    installOns List<String>
    Which Gateways identified by the name or UID to install the policy on.
    name String
    The name of the exception group.
    protectedScopeNegate Boolean
    True if negate is set for Protected Scope.
    protectedScopes List<String>
    Collection of objects defining Protected Scope identified by the name or UID.
    protectionOrSites List<String>
    serviceNegate Boolean
    True if negate is set for service.
    services List<String>
    Collection of Network objects identified by the name or UID.
    sourceNegate Boolean
    True if negate is set for source.
    sources List<String>
    Collection of Network objects identified by the name or UID.
    track String
    Packet tracking.
    type String
    Object type.
    uid String
    Object unique identifier.
    action string
    Action-the enforced profile.
    destinationNegate boolean
    True if negate is set for destination.
    destinations string[]
    Collection of Network objects identified by the name or UID.
    exceptionNumber string
    installOns string[]
    Which Gateways identified by the name or UID to install the policy on.
    name string
    The name of the exception group.
    protectedScopeNegate boolean
    True if negate is set for Protected Scope.
    protectedScopes string[]
    Collection of objects defining Protected Scope identified by the name or UID.
    protectionOrSites string[]
    serviceNegate boolean
    True if negate is set for service.
    services string[]
    Collection of Network objects identified by the name or UID.
    sourceNegate boolean
    True if negate is set for source.
    sources string[]
    Collection of Network objects identified by the name or UID.
    track string
    Packet tracking.
    type string
    Object type.
    uid string
    Object unique identifier.
    action str
    Action-the enforced profile.
    destination_negate bool
    True if negate is set for destination.
    destinations Sequence[str]
    Collection of Network objects identified by the name or UID.
    exception_number str
    install_ons Sequence[str]
    Which Gateways identified by the name or UID to install the policy on.
    name str
    The name of the exception group.
    protected_scope_negate bool
    True if negate is set for Protected Scope.
    protected_scopes Sequence[str]
    Collection of objects defining Protected Scope identified by the name or UID.
    protection_or_sites Sequence[str]
    service_negate bool
    True if negate is set for service.
    services Sequence[str]
    Collection of Network objects identified by the name or UID.
    source_negate bool
    True if negate is set for source.
    sources Sequence[str]
    Collection of Network objects identified by the name or UID.
    track str
    Packet tracking.
    type str
    Object type.
    uid str
    Object unique identifier.
    action String
    Action-the enforced profile.
    destinationNegate Boolean
    True if negate is set for destination.
    destinations List<String>
    Collection of Network objects identified by the name or UID.
    exceptionNumber String
    installOns List<String>
    Which Gateways identified by the name or UID to install the policy on.
    name String
    The name of the exception group.
    protectedScopeNegate Boolean
    True if negate is set for Protected Scope.
    protectedScopes List<String>
    Collection of objects defining Protected Scope identified by the name or UID.
    protectionOrSites List<String>
    serviceNegate Boolean
    True if negate is set for service.
    services List<String>
    Collection of Network objects identified by the name or UID.
    sourceNegate Boolean
    True if negate is set for source.
    sources List<String>
    Collection of Network objects identified by the name or UID.
    track String
    Packet tracking.
    type String
    Object type.
    uid String
    Object unique identifier.

    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