1. Registry
  2. Packages
  3. Checkpoint Provider
  4. API Docs
  5. getManagementDataHttpsRule
Viewing docs for checkpoint 3.4.0
published on Wednesday, Sep 16, 2026 by checkpointsw
checkpoint
Viewing docs for checkpoint 3.4.0
published on Wednesday, Sep 16, 2026 by checkpointsw

    Use this data source to get information on an existing Check Point Https Rule.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const httpsRule = new checkpoint.ManagementHttpsRule("https_rule", {
        name: "HTTPS Rule",
        positions: [{
            top: "top",
        }],
        layer: "Default Layer",
        blades: ["IPS"],
        destinations: ["Internet"],
        enabled: true,
        services: ["HTTPS default services"],
        sources: ["DMZNet"],
        installOns: ["Policy HTTPS Targets"],
        siteCategories: ["Any"],
    });
    const dataHttpsRule = checkpoint.getManagementDataHttpsRuleOutput({
        ruleNumber: "1",
        layer: httpsRule.layer,
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    https_rule = checkpoint.ManagementHttpsRule("https_rule",
        name="HTTPS Rule",
        positions=[{
            "top": "top",
        }],
        layer="Default Layer",
        blades=["IPS"],
        destinations=["Internet"],
        enabled=True,
        services=["HTTPS default services"],
        sources=["DMZNet"],
        install_ons=["Policy HTTPS Targets"],
        site_categories=["Any"])
    data_https_rule = checkpoint.get_management_data_https_rule_output(rule_number="1",
        layer=https_rule.layer)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v3/checkpoint"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		httpsRule, err := checkpoint.NewManagementHttpsRule(ctx, "https_rule", &checkpoint.ManagementHttpsRuleArgs{
    			Name: pulumi.String("HTTPS Rule"),
    			Positions: checkpoint.ManagementHttpsRulePositionArray{
    				&checkpoint.ManagementHttpsRulePositionArgs{
    					Top: pulumi.String("top"),
    				},
    			},
    			Layer: pulumi.String("Default Layer"),
    			Blades: pulumi.StringArray{
    				pulumi.String("IPS"),
    			},
    			Destinations: pulumi.StringArray{
    				pulumi.String("Internet"),
    			},
    			Enabled: pulumi.Bool(true),
    			Services: pulumi.StringArray{
    				pulumi.String("HTTPS default services"),
    			},
    			Sources: pulumi.StringArray{
    				pulumi.String("DMZNet"),
    			},
    			InstallOns: pulumi.StringArray{
    				pulumi.String("Policy HTTPS Targets"),
    			},
    			SiteCategories: pulumi.StringArray{
    				pulumi.String("Any"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_ = checkpoint.GetManagementDataHttpsRuleOutput(ctx, checkpoint.GetManagementDataHttpsRuleOutputArgs{
    			RuleNumber: pulumi.String("1"),
    			Layer:      httpsRule.Layer,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var httpsRule = new Checkpoint.ManagementHttpsRule("https_rule", new()
        {
            Name = "HTTPS Rule",
            Positions = new[]
            {
                new Checkpoint.Inputs.ManagementHttpsRulePositionArgs
                {
                    Top = "top",
                },
            },
            Layer = "Default Layer",
            Blades = new[]
            {
                "IPS",
            },
            Destinations = new[]
            {
                "Internet",
            },
            Enabled = true,
            Services = new[]
            {
                "HTTPS default services",
            },
            Sources = new[]
            {
                "DMZNet",
            },
            InstallOns = new[]
            {
                "Policy HTTPS Targets",
            },
            SiteCategories = new[]
            {
                "Any",
            },
        });
    
        var dataHttpsRule = Checkpoint.GetManagementDataHttpsRule.Invoke(new()
        {
            RuleNumber = "1",
            Layer = httpsRule.Layer,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementHttpsRule;
    import com.pulumi.checkpoint.ManagementHttpsRuleArgs;
    import com.pulumi.checkpoint.inputs.ManagementHttpsRulePositionArgs;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementDataHttpsRuleArgs;
    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 httpsRule = new ManagementHttpsRule("httpsRule", ManagementHttpsRuleArgs.builder()
                .name("HTTPS Rule")
                .positions(ManagementHttpsRulePositionArgs.builder()
                    .top("top")
                    .build())
                .layer("Default Layer")
                .blades("IPS")
                .destinations("Internet")
                .enabled(true)
                .services("HTTPS default services")
                .sources("DMZNet")
                .installOns("Policy HTTPS Targets")
                .siteCategories("Any")
                .build());
    
            final var dataHttpsRule = CheckpointFunctions.getManagementDataHttpsRule(GetManagementDataHttpsRuleArgs.builder()
                .ruleNumber("1")
                .layer(httpsRule.layer())
                .build());
    
        }
    }
    
    resources:
      httpsRule:
        type: checkpoint:ManagementHttpsRule
        name: https_rule
        properties:
          name: HTTPS Rule
          positions:
            - top: top
          layer: Default Layer
          blades:
            - IPS
          destinations:
            - Internet
          enabled: true
          services:
            - HTTPS default services
          sources:
            - DMZNet
          installOns:
            - Policy HTTPS Targets
          siteCategories:
            - Any
    variables:
      dataHttpsRule:
        fn::invoke:
          function: checkpoint:getManagementDataHttpsRule
          arguments:
            ruleNumber: '1'
            layer: ${httpsRule.layer}
    
    Example coming soon!
    

    Using getManagementDataHttpsRule

    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 getManagementDataHttpsRule(args: GetManagementDataHttpsRuleArgs, opts?: InvokeOptions): Promise<GetManagementDataHttpsRuleResult>
    function getManagementDataHttpsRuleOutput(args: GetManagementDataHttpsRuleOutputArgs, opts?: InvokeOutputOptions): Output<GetManagementDataHttpsRuleResult>
    def get_management_data_https_rule(id: Optional[str] = None,
                                       layer: Optional[str] = None,
                                       rule_number: Optional[str] = None,
                                       uid: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetManagementDataHttpsRuleResult
    def get_management_data_https_rule_output(id: pulumi.Input[Optional[str]] = None,
                                       layer: pulumi.Input[Optional[str]] = None,
                                       rule_number: pulumi.Input[Optional[str]] = None,
                                       uid: pulumi.Input[Optional[str]] = None,
                                       opts: Optional[InvokeOutputOptions] = None) -> Output[GetManagementDataHttpsRuleResult]
    func GetManagementDataHttpsRule(ctx *Context, args *GetManagementDataHttpsRuleArgs, opts ...InvokeOption) (*GetManagementDataHttpsRuleResult, error)
    func GetManagementDataHttpsRuleOutput(ctx *Context, args *GetManagementDataHttpsRuleOutputArgs, opts ...InvokeOption) GetManagementDataHttpsRuleResultOutput

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

    public static class GetManagementDataHttpsRule 
    {
        public static Task<GetManagementDataHttpsRuleResult> InvokeAsync(GetManagementDataHttpsRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementDataHttpsRuleResult> Invoke(GetManagementDataHttpsRuleInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementDataHttpsRuleResult> Invoke(GetManagementDataHttpsRuleInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetManagementDataHttpsRuleResult> getManagementDataHttpsRule(GetManagementDataHttpsRuleArgs args, InvokeOptions options)
    public static Output<GetManagementDataHttpsRuleResult> getManagementDataHttpsRule(GetManagementDataHttpsRuleArgs args, InvokeOptions options)
    public static Output<GetManagementDataHttpsRuleResult> getManagementDataHttpsRule(GetManagementDataHttpsRuleArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementDataHttpsRule:getManagementDataHttpsRule
      arguments:
        # arguments dictionary
    data "checkpoint_get_management_data_https_rule" "name" {
        # arguments
    }

    The following arguments are supported:

    Layer string
    Layer that holds the Object. Identified by the Name or UID.
    Id string
    RuleNumber string
    Rule number.
    Uid string
    Object unique identifier.
    Layer string
    Layer that holds the Object. Identified by the Name or UID.
    Id string
    RuleNumber string
    Rule number.
    Uid string
    Object unique identifier.
    layer string
    Layer that holds the Object. Identified by the Name or UID.
    id string
    rule_number string
    Rule number.
    uid string
    Object unique identifier.
    layer String
    Layer that holds the Object. Identified by the Name or UID.
    id String
    ruleNumber String
    Rule number.
    uid String
    Object unique identifier.
    layer string
    Layer that holds the Object. Identified by the Name or UID.
    id string
    ruleNumber string
    Rule number.
    uid string
    Object unique identifier.
    layer str
    Layer that holds the Object. Identified by the Name or UID.
    id str
    rule_number str
    Rule number.
    uid str
    Object unique identifier.
    layer String
    Layer that holds the Object. Identified by the Name or UID.
    id String
    ruleNumber String
    Rule number.
    uid String
    Object unique identifier.

    getManagementDataHttpsRule Result

    The following output properties are available:

    Action string
    Blades List<string>
    Certificate string
    Comments string
    DestinationNegate bool
    Destinations List<string>
    Enabled bool
    Hits List<GetManagementDataHttpsRuleHit>
    Id string
    InstallOns List<string>
    Layer string
    Name string
    ServiceNegate bool
    Services List<string>
    SiteCategories List<string>
    SiteCategoryNegate bool
    SourceNegate bool
    Sources List<string>
    Track string
    RuleNumber string
    Uid string
    Action string
    Blades []string
    Certificate string
    Comments string
    DestinationNegate bool
    Destinations []string
    Enabled bool
    Hits []GetManagementDataHttpsRuleHit
    Id string
    InstallOns []string
    Layer string
    Name string
    ServiceNegate bool
    Services []string
    SiteCategories []string
    SiteCategoryNegate bool
    SourceNegate bool
    Sources []string
    Track string
    RuleNumber string
    Uid string
    action string
    blades list(string)
    certificate string
    comments string
    destination_negate bool
    destinations list(string)
    enabled bool
    hits list(object)
    id string
    install_ons list(string)
    layer string
    name string
    service_negate bool
    services list(string)
    site_categories list(string)
    site_category_negate bool
    source_negate bool
    sources list(string)
    track string
    rule_number string
    uid string
    action String
    blades List<String>
    certificate String
    comments String
    destinationNegate Boolean
    destinations List<String>
    enabled Boolean
    hits List<GetManagementDataHttpsRuleHit>
    id String
    installOns List<String>
    layer String
    name String
    serviceNegate Boolean
    services List<String>
    siteCategories List<String>
    siteCategoryNegate Boolean
    sourceNegate Boolean
    sources List<String>
    track String
    ruleNumber String
    uid String
    action string
    blades string[]
    certificate string
    comments string
    destinationNegate boolean
    destinations string[]
    enabled boolean
    hits GetManagementDataHttpsRuleHit[]
    id string
    installOns string[]
    layer string
    name string
    serviceNegate boolean
    services string[]
    siteCategories string[]
    siteCategoryNegate boolean
    sourceNegate boolean
    sources string[]
    track string
    ruleNumber string
    uid string
    action String
    blades List<String>
    certificate String
    comments String
    destinationNegate Boolean
    destinations List<String>
    enabled Boolean
    hits List<Property Map>
    id String
    installOns List<String>
    layer String
    name String
    serviceNegate Boolean
    services List<String>
    siteCategories List<String>
    siteCategoryNegate Boolean
    sourceNegate Boolean
    sources List<String>
    track String
    ruleNumber String
    uid String

    Supporting Types

    GetManagementDataHttpsRuleHit

    FirstDates List<GetManagementDataHttpsRuleHitFirstDate>
    N/A.first_date blocks are documented below.
    LastDates List<GetManagementDataHttpsRuleHitLastDate>
    N/A.last_date blocks are documented below.
    Level string
    N/A.
    Percentage string
    N/A.
    Value double
    N/A.
    FirstDates []GetManagementDataHttpsRuleHitFirstDate
    N/A.first_date blocks are documented below.
    LastDates []GetManagementDataHttpsRuleHitLastDate
    N/A.last_date blocks are documented below.
    Level string
    N/A.
    Percentage string
    N/A.
    Value float64
    N/A.
    first_dates list(object)
    N/A.first_date blocks are documented below.
    last_dates list(object)
    N/A.last_date blocks are documented below.
    level string
    N/A.
    percentage string
    N/A.
    value number
    N/A.
    firstDates List<GetManagementDataHttpsRuleHitFirstDate>
    N/A.first_date blocks are documented below.
    lastDates List<GetManagementDataHttpsRuleHitLastDate>
    N/A.last_date blocks are documented below.
    level String
    N/A.
    percentage String
    N/A.
    value Double
    N/A.
    firstDates GetManagementDataHttpsRuleHitFirstDate[]
    N/A.first_date blocks are documented below.
    lastDates GetManagementDataHttpsRuleHitLastDate[]
    N/A.last_date blocks are documented below.
    level string
    N/A.
    percentage string
    N/A.
    value number
    N/A.
    first_dates Sequence[GetManagementDataHttpsRuleHitFirstDate]
    N/A.first_date blocks are documented below.
    last_dates Sequence[GetManagementDataHttpsRuleHitLastDate]
    N/A.last_date blocks are documented below.
    level str
    N/A.
    percentage str
    N/A.
    value float
    N/A.
    firstDates List<Property Map>
    N/A.first_date blocks are documented below.
    lastDates List<Property Map>
    N/A.last_date blocks are documented below.
    level String
    N/A.
    percentage String
    N/A.
    value Number
    N/A.

    GetManagementDataHttpsRuleHitFirstDate

    Iso8601 string
    Date and time represented in international ISO 8601 format.
    Posix double
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    Iso8601 string
    Date and time represented in international ISO 8601 format.
    Posix float64
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    iso8601 string
    Date and time represented in international ISO 8601 format.
    posix number
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    iso8601 String
    Date and time represented in international ISO 8601 format.
    posix Double
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    iso8601 string
    Date and time represented in international ISO 8601 format.
    posix number
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    iso8601 str
    Date and time represented in international ISO 8601 format.
    posix float
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    iso8601 String
    Date and time represented in international ISO 8601 format.
    posix Number
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.

    GetManagementDataHttpsRuleHitLastDate

    Iso8601 string
    Date and time represented in international ISO 8601 format.
    Posix double
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    Iso8601 string
    Date and time represented in international ISO 8601 format.
    Posix float64
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    iso8601 string
    Date and time represented in international ISO 8601 format.
    posix number
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    iso8601 String
    Date and time represented in international ISO 8601 format.
    posix Double
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    iso8601 string
    Date and time represented in international ISO 8601 format.
    posix number
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    iso8601 str
    Date and time represented in international ISO 8601 format.
    posix float
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.
    iso8601 String
    Date and time represented in international ISO 8601 format.
    posix Number
    Number of milliseconds that have elapsed since 00:00:00, 1 January 1970.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    checkpoint
    Viewing docs for checkpoint 3.4.0
    published on Wednesday, Sep 16, 2026 by checkpointsw

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial