checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw
checkpoint.getManagementDataAccessRule
Start a Neo task
Explain and create a checkpoint.getManagementDataAccessRule resource
checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw
Use this data source to get information on an existing Check Point Access Rule.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const accessRule = new checkpoint.ManagementAccessRule("accessRule", {
contents: ["Any"],
customFields: {},
destinations: ["Any"],
installOns: ["Policy Targets"],
layer: "Network",
position: {
top: "top",
},
services: ["Any"],
sources: ["Any"],
times: ["Any"],
track: {
accounting: "false",
alert: "none",
enable_firewall_session: "false",
per_connection: "true",
per_session: "false",
type: "Log",
},
vpn: "Any",
});
const dataAccessRule = checkpoint.getManagementDataAccessRuleOutput({
layer: accessRule.layer,
name: accessRule.name,
});
import pulumi
import pulumi_checkpoint as checkpoint
access_rule = checkpoint.ManagementAccessRule("accessRule",
contents=["Any"],
custom_fields={},
destinations=["Any"],
install_ons=["Policy Targets"],
layer="Network",
position={
"top": "top",
},
services=["Any"],
sources=["Any"],
times=["Any"],
track={
"accounting": "false",
"alert": "none",
"enable_firewall_session": "false",
"per_connection": "true",
"per_session": "false",
"type": "Log",
},
vpn="Any")
data_access_rule = checkpoint.get_management_data_access_rule_output(layer=access_rule.layer,
name=access_rule.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 {
accessRule, err := checkpoint.NewManagementAccessRule(ctx, "accessRule", &checkpoint.ManagementAccessRuleArgs{
Contents: pulumi.StringArray{
pulumi.String("Any"),
},
CustomFields: pulumi.StringMap{},
Destinations: pulumi.StringArray{
pulumi.String("Any"),
},
InstallOns: pulumi.StringArray{
pulumi.String("Policy Targets"),
},
Layer: pulumi.String("Network"),
Position: pulumi.StringMap{
"top": pulumi.String("top"),
},
Services: pulumi.StringArray{
pulumi.String("Any"),
},
Sources: pulumi.StringArray{
pulumi.String("Any"),
},
Times: pulumi.StringArray{
pulumi.String("Any"),
},
Track: pulumi.StringMap{
"accounting": pulumi.String("false"),
"alert": pulumi.String("none"),
"enable_firewall_session": pulumi.String("false"),
"per_connection": pulumi.String("true"),
"per_session": pulumi.String("false"),
"type": pulumi.String("Log"),
},
Vpn: pulumi.String("Any"),
})
if err != nil {
return err
}
_ = checkpoint.GetManagementDataAccessRuleOutput(ctx, checkpoint.GetManagementDataAccessRuleOutputArgs{
Layer: accessRule.Layer,
Name: accessRule.Name,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var accessRule = new Checkpoint.ManagementAccessRule("accessRule", new()
{
Contents = new[]
{
"Any",
},
CustomFields = null,
Destinations = new[]
{
"Any",
},
InstallOns = new[]
{
"Policy Targets",
},
Layer = "Network",
Position =
{
{ "top", "top" },
},
Services = new[]
{
"Any",
},
Sources = new[]
{
"Any",
},
Times = new[]
{
"Any",
},
Track =
{
{ "accounting", "false" },
{ "alert", "none" },
{ "enable_firewall_session", "false" },
{ "per_connection", "true" },
{ "per_session", "false" },
{ "type", "Log" },
},
Vpn = "Any",
});
var dataAccessRule = Checkpoint.GetManagementDataAccessRule.Invoke(new()
{
Layer = accessRule.Layer,
Name = accessRule.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementAccessRule;
import com.pulumi.checkpoint.ManagementAccessRuleArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementDataAccessRuleArgs;
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 accessRule = new ManagementAccessRule("accessRule", ManagementAccessRuleArgs.builder()
.contents("Any")
.customFields()
.destinations("Any")
.installOns("Policy Targets")
.layer("Network")
.position(Map.of("top", "top"))
.services("Any")
.sources("Any")
.times("Any")
.track(Map.ofEntries(
Map.entry("accounting", false),
Map.entry("alert", "none"),
Map.entry("enable_firewall_session", false),
Map.entry("per_connection", true),
Map.entry("per_session", false),
Map.entry("type", "Log")
))
.vpn("Any")
.build());
final var dataAccessRule = CheckpointFunctions.getManagementDataAccessRule(GetManagementDataAccessRuleArgs.builder()
.layer(accessRule.layer())
.name(accessRule.name())
.build());
}
}
resources:
accessRule:
type: checkpoint:ManagementAccessRule
properties:
contents:
- Any
customFields: {}
destinations:
- Any
installOns:
- Policy Targets
layer: Network
position:
top: top
services:
- Any
sources:
- Any
times:
- Any
track:
accounting: false
alert: none
enable_firewall_session: false
per_connection: true
per_session: false
type: Log
vpn: Any
variables:
dataAccessRule:
fn::invoke:
function: checkpoint:getManagementDataAccessRule
arguments:
layer: ${accessRule.layer}
name: ${accessRule.name}
Using getManagementDataAccessRule
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 getManagementDataAccessRule(args: GetManagementDataAccessRuleArgs, opts?: InvokeOptions): Promise<GetManagementDataAccessRuleResult>
function getManagementDataAccessRuleOutput(args: GetManagementDataAccessRuleOutputArgs, opts?: InvokeOptions): Output<GetManagementDataAccessRuleResult>def get_management_data_access_rule(fields_with_uid_identifiers: Optional[Sequence[str]] = None,
id: Optional[str] = None,
layer: Optional[str] = None,
name: Optional[str] = None,
uid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementDataAccessRuleResult
def get_management_data_access_rule_output(fields_with_uid_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
id: Optional[pulumi.Input[str]] = None,
layer: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
uid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementDataAccessRuleResult]func GetManagementDataAccessRule(ctx *Context, args *GetManagementDataAccessRuleArgs, opts ...InvokeOption) (*GetManagementDataAccessRuleResult, error)
func GetManagementDataAccessRuleOutput(ctx *Context, args *GetManagementDataAccessRuleOutputArgs, opts ...InvokeOption) GetManagementDataAccessRuleResultOutput> Note: This function is named GetManagementDataAccessRule in the Go SDK.
public static class GetManagementDataAccessRule
{
public static Task<GetManagementDataAccessRuleResult> InvokeAsync(GetManagementDataAccessRuleArgs args, InvokeOptions? opts = null)
public static Output<GetManagementDataAccessRuleResult> Invoke(GetManagementDataAccessRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagementDataAccessRuleResult> getManagementDataAccessRule(GetManagementDataAccessRuleArgs args, InvokeOptions options)
public static Output<GetManagementDataAccessRuleResult> getManagementDataAccessRule(GetManagementDataAccessRuleArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementDataAccessRule:getManagementDataAccessRule
arguments:
# arguments dictionaryThe following arguments are supported:
- Layer string
- Layer that the rule belongs to identified by the name or UID.
- Fields
With List<string>Uid Identifiers - List of resource fields that will use object UIDs as object identifiers. Default is object name.
- Id string
- Name string
- Rule name.
- Uid string
- Object unique identifier.
- Layer string
- Layer that the rule belongs to identified by the name or UID.
- Fields
With []stringUid Identifiers - List of resource fields that will use object UIDs as object identifiers. Default is object name.
- Id string
- Name string
- Rule name.
- Uid string
- Object unique identifier.
- layer String
- Layer that the rule belongs to identified by the name or UID.
- fields
With List<String>Uid Identifiers - List of resource fields that will use object UIDs as object identifiers. Default is object name.
- id String
- name String
- Rule name.
- uid String
- Object unique identifier.
- layer string
- Layer that the rule belongs to identified by the name or UID.
- fields
With string[]Uid Identifiers - List of resource fields that will use object UIDs as object identifiers. Default is object name.
- id string
- name string
- Rule name.
- uid string
- Object unique identifier.
- layer str
- Layer that the rule belongs to identified by the name or UID.
- fields_
with_ Sequence[str]uid_ identifiers - List of resource fields that will use object UIDs as object identifiers. Default is object name.
- id str
- name str
- Rule name.
- uid str
- Object unique identifier.
- layer String
- Layer that the rule belongs to identified by the name or UID.
- fields
With List<String>Uid Identifiers - List of resource fields that will use object UIDs as object identifiers. Default is object name.
- id String
- name String
- Rule name.
- uid String
- Object unique identifier.
getManagementDataAccessRule Result
The following output properties are available:
- Action string
- Action
Settings Dictionary<string, string> - Comments string
- Content
Direction string - Content
Negate bool - Contents List<string>
- Custom
Fields Dictionary<string, string> - Destination
Negate bool - Destinations List<string>
- Enabled bool
- Id string
- Inline
Layer string - Install
Ons List<string> - Layer string
- Service
Negate bool - Services List<string>
- Source
Negate bool - Sources List<string>
- Times List<string>
- Track Dictionary<string, string>
- User
Checks List<GetManagement Data Access Rule User Check> - Vpn string
- Vpn
Communities List<string> - Vpn
Directionals List<GetManagement Data Access Rule Vpn Directional> - Fields
With List<string>Uid Identifiers - Name string
- Uid string
- Action string
- Action
Settings map[string]string - Comments string
- Content
Direction string - Content
Negate bool - Contents []string
- Custom
Fields map[string]string - Destination
Negate bool - Destinations []string
- Enabled bool
- Id string
- Inline
Layer string - Install
Ons []string - Layer string
- Service
Negate bool - Services []string
- Source
Negate bool - Sources []string
- Times []string
- Track map[string]string
- User
Checks []GetManagement Data Access Rule User Check - Vpn string
- Vpn
Communities []string - Vpn
Directionals []GetManagement Data Access Rule Vpn Directional - Fields
With []stringUid Identifiers - Name string
- Uid string
- action String
- action
Settings Map<String,String> - comments String
- content
Direction String - content
Negate Boolean - contents List<String>
- custom
Fields Map<String,String> - destination
Negate Boolean - destinations List<String>
- enabled Boolean
- id String
- inline
Layer String - install
Ons List<String> - layer String
- service
Negate Boolean - services List<String>
- source
Negate Boolean - sources List<String>
- times List<String>
- track Map<String,String>
- user
Checks List<GetManagement Data Access Rule User Check> - vpn String
- vpn
Communities List<String> - vpn
Directionals List<GetManagement Data Access Rule Vpn Directional> - fields
With List<String>Uid Identifiers - name String
- uid String
- action string
- action
Settings {[key: string]: string} - comments string
- content
Direction string - content
Negate boolean - contents string[]
- custom
Fields {[key: string]: string} - destination
Negate boolean - destinations string[]
- enabled boolean
- id string
- inline
Layer string - install
Ons string[] - layer string
- service
Negate boolean - services string[]
- source
Negate boolean - sources string[]
- times string[]
- track {[key: string]: string}
- user
Checks GetManagement Data Access Rule User Check[] - vpn string
- vpn
Communities string[] - vpn
Directionals GetManagement Data Access Rule Vpn Directional[] - fields
With string[]Uid Identifiers - name string
- uid string
- action str
- action_
settings Mapping[str, str] - comments str
- content_
direction str - content_
negate bool - contents Sequence[str]
- custom_
fields Mapping[str, str] - destination_
negate bool - destinations Sequence[str]
- enabled bool
- id str
- inline_
layer str - install_
ons Sequence[str] - layer str
- service_
negate bool - services Sequence[str]
- source_
negate bool - sources Sequence[str]
- times Sequence[str]
- track Mapping[str, str]
- user_
checks Sequence[GetManagement Data Access Rule User Check] - vpn str
- vpn_
communities Sequence[str] - vpn_
directionals Sequence[GetManagement Data Access Rule Vpn Directional] - fields_
with_ Sequence[str]uid_ identifiers - name str
- uid str
- action String
- action
Settings Map<String> - comments String
- content
Direction String - content
Negate Boolean - contents List<String>
- custom
Fields Map<String> - destination
Negate Boolean - destinations List<String>
- enabled Boolean
- id String
- inline
Layer String - install
Ons List<String> - layer String
- service
Negate Boolean - services List<String>
- source
Negate Boolean - sources List<String>
- times List<String>
- track Map<String>
- user
Checks List<Property Map> - vpn String
- vpn
Communities List<String> - vpn
Directionals List<Property Map> - fields
With List<String>Uid Identifiers - name String
- uid String
Supporting Types
GetManagementDataAccessRuleUserCheck
- Confirm string
- Custom
Frequencies List<GetManagement Data Access Rule User Check Custom Frequency> - Custom Frequency blocks are documented below.
- Frequency string
- Interaction string
- Confirm string
- Custom
Frequencies []GetManagement Data Access Rule User Check Custom Frequency - Custom Frequency blocks are documented below.
- Frequency string
- Interaction string
- confirm String
- custom
Frequencies List<GetManagement Data Access Rule User Check Custom Frequency> - Custom Frequency blocks are documented below.
- frequency String
- interaction String
- confirm string
- custom
Frequencies GetManagement Data Access Rule User Check Custom Frequency[] - Custom Frequency blocks are documented below.
- frequency string
- interaction string
- confirm str
- custom_
frequencies Sequence[GetManagement Data Access Rule User Check Custom Frequency] - Custom Frequency blocks are documented below.
- frequency str
- interaction str
- confirm String
- custom
Frequencies List<Property Map> - Custom Frequency blocks are documented below.
- frequency String
- interaction String
GetManagementDataAccessRuleUserCheckCustomFrequency
GetManagementDataAccessRuleVpnDirectional
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpointTerraform Provider.
checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw
