Skip to main content

CheckPoint Firewall v2

This Integration is part of the Check Point Firewall Pack.#

Supported versions

Available on Cortex XSOAR and Cortex XSIAM.

Overview#


Integration Overview Manage Check Point Firewall. Read information and to send commands to the Check Point Firewall server. This integration was integrated and tested with version R80.30 of CheckPoint SmartConsole.

Product Name: Check Point Firewall Product Type: Network Security Product Version: R80.30

How to configure the integration#

In the Smart Console, enable the web api: Management & Setting โ†’ Blades โ†’ Management API, Advanced Setting โ†’ All IP address

Enable sftp on your server Check Point guide to walk you through: https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk82281

ParameterDescriptionRequired
serverServer URL (e.g. example.net or 8.8.8.8)True
portServer Port (e.g. 4434)True
domainDomain (used in Multi Domain Server)False
usernameUsernameTrue
insecureTrust any certificate (not secure)False
proxyUse system proxy settingsFalse

Commands#

You can execute these commands from the CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

checkpoint-host-list#


Show all host objects

Base Command#

checkpoint-host-list

Input#

Argument NameDescriptionRequired
limitThe maximum number of results to return.Optional
offsetThe number of results to initially skip.Optional
session_idThe session ID with which to execute the command.Optional
details_levelThe level of detail for the results. Possible values are "standard", "full", or "uid".Optional
domains_to_processA comma-separated list of domains to process the commands on. Cannot be used with details-level set to full. Must be run from the System Domain only with ignore-warnings set to true. Possible values are: "CURRENT_DOMAIN", "ALL_DOMAINS_ON_THIS_SERVER".Optional

Context Output#

PathTypeDescription
CheckPoint.Host.nameStringObject name.
CheckPoint.Host.uidStringObject UID.
CheckPoint.Host.typeStringObject type.
CheckPoint.Host.ipv4StringIPv4 address of the host.
CheckPoint.Host.ipv6StringIPv6 address of the host.
CheckPoint.Host.domain-nameStringDomain name.
CheckPoint.Host.domain-uidStringDomain UID.
CheckPoint.Host.domain-typeStringDomain type.
CheckPoint.Host.colorStringColor of the object.

Command Example#

!checkpoint-host-list limit=5

Context Example#

{
"CheckPoint": {
"Host": [
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": "18.88.8.7",
"ipv6-address": "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
"last-modifier": null,
"name": "18.88.8.7",
"read-only": null,
"type": "host",
"uid": "f083d3ce-8e95-460f-a386-0bc4eca1214a"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": "18.88.8.8",
"ipv6-address": "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
"last-modifier": null,
"name": "18.88.8.8",
"read-only": null,
"type": "host",
"uid": "b032c0a7-096c-4b27-9a09-8d9437312135"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": "192.168.30.2",
"ipv6-address": "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
"last-modifier": null,
"name": "192.168.30.2",
"read-only": null,
"type": "host",
"uid": "5bd98c85-f848-45ab-aa4c-c729fb8b1723"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": "200.200.200.112",
"ipv6-address": "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
"last-modifier": null,
"name": "200.200.200.112",
"read-only": null,
"type": "host",
"uid": "23c4b2cf-0adc-4282-8f15-262cfec7f5f5"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": "192.192.10.10",
"ipv6-address": "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
"last-modifier": null,
"name": "Demisto - 2096",
"read-only": null,
"type": "host",
"uid": "cded0c90-3402-4766-ad1b-adaf972b254f"
}
]
}
}

Human Readable Output#

CheckPoint data for all hosts#

nameuidtypeipv4-addressipv6-address
18.88.8.7f083d3ce-8e95-460f-a386-0bc4eca1214ahost18.88.8.72001:0db8:85a3:0000:0000:8a2e:0370:7334
18.88.8.8b032c0a7-096c-4b27-9a09-8d9437312135host18.88.8.82001:0db8:85a3:0000:0000:8a2e:0370:7334
192.168.30.25bd98c85-f848-45ab-aa4c-c729fb8b1723host192.168.30.22001:0db8:85a3:0000:0000:8a2e:0370:7334
200.200.200.11223c4b2cf-0adc-4282-8f15-262cfec7f5f5host200.200.200.1122001:0db8:85a3:0000:0000:8a2e:0370:7334
Demisto - 2096cded0c90-3402-4766-ad1b-adaf972b254fhost192.192.10.102001:0db8:85a3:0000:0000:8a2e:0370:7334

checkpoint-host-get#


get all data of a given host

Base Command#

checkpoint-host-get

Input#

Argument NameDescriptionRequired
identifierThe unique identifier (UID) or name of the object to get data for.Required
session_idExecutes the command with the specified session ID.Optional
details_levelThe level of detail for the results. Possible values are "standard", "full", or "uid".Optional

Context Output#

PathTypeDescription
CheckPoint.Host.nameStringHost name.
CheckPoint.Host.uidStringObject UID.
CheckPoint.Host.typeStringObject type.
CheckPoint.Host.domain-nameStringDomain name.
CheckPoint.Host.domain-uidStringDomain UID.
CheckPoint.Host.ipv4-addressStringHost IPv4 address.
CheckPoint.Host.ipv6-addressStringIP address.
CheckPoint.Host.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.Host.creatorStringThe creator of the object.
CheckPoint.Host.last-modifierStringThe user that last modified the object.
CheckPoint.Host.groups-nameStringThe name of the group object linked to the current host object.
CheckPoint.Host.groups-uidUnknownThe UID of the group object linked to the current host object.
CheckPoint.Host.colorStringColor of the object.
CheckPoint.Host.commentsStringComments string.
CheckPoint.Host.tagsUnknownCollection of tag objects associated with the host.
CheckPoint.Host.nat-auto-ruleBooleanWhether NAT automatic rules are enabled.
CheckPoint.Host.nat-methodStringNAT method (hide or static).
CheckPoint.Host.nat-ipv4-addressStringNAT IPv4 address.
CheckPoint.Host.nat-install-onStringGateway for NAT rule installation.
CheckPoint.Host.nat-hide-behindStringHide behind method (gateway or ip-address).
CheckPoint.Host.interfacesUnknownHost interfaces.

Command Example#

!checkpoint-host-get identifier=host_test

Context Example#

{
"CheckPoint": {
"Host": {
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"groups": [],
"ipv4-address": "1.1.1.1",
"last-modifier": "adminsh",
"name": "host_test",
"read-only": false,
"type": "host",
"uid": "11c194c4-db5f-46de-a9e2-95b8e858b98f"
}
}
}

Human Readable Output#

CheckPoint data of host object host_test#

nameuidtypeipv4-addressdomain-namedomain-uidread-onlycreatorlast-modifier
host_test11c194c4-db5f-46de-a9e2-95b8e858b98fhost1.1.1.1SMC User41e821a0-3720-11e3-aa6e-0800200c9fdefalseadminshadminsh

checkpoint-host-add#


Add new host

Base Command#

checkpoint-host-add

Input#

Argument NameDescriptionRequired
nameA comma-separated list of names for the new hosts.Required
ip_addressA comma-separated list of IP addresses for the new hosts.Required
groupsA comma-separated list of group identifiers.Optional
session_idExecutes the command with the specified session ID.Required
ignore_warningsWhether to ignore warnings when adding a host.Optional
ignore_errorsWhether to ignore errors when adding a host.Optional
commentsComment string.Optional
nat_auto_ruleRequired only when any nat_* argument is provided; otherwise omitted.Optional
colorObject color.Optional
nat_methodNAT method.Optional
nat_ipThe IPv4 address. This parameter is not required if nat_method is set to "hide" and nat_hide_behind is set to "gateway".Optional
nat_install_onGateway for NAT rule.Optional
nat_hide_behindThe hide behind method. This parameter value must not be provided if nat_method is set to "static".Optional
interfaces_nameThe name of the network interface.Optional
interfaces_subnetThe IPv4 subnet mask of the interface.Optional
interfaces_mask_lengthThe IPv4 network mask length. Required only when defining interfaces (when any interfaces_* arg is provided).Optional
tagsA comma-separated list of tags to assign.Optional

Context Output#

PathTypeDescription
CheckPoint.Host.nameStringObject name.
CheckPoint.Host.uidStringObject UID.
CheckPoint.Host.typeStringObject type.
CheckPoint.Host.domain-nameStringDomain name.
CheckPoint.Host.domain-uidStringDomain UID.
CheckPoint.Host.domain-typeStringDomain type.
CheckPoint.Host.creatorStringThe creator of the object.
CheckPoint.Host.last-modifierStringThe user that last modified the object.
CheckPoint.Host.ipv4-addressStringHost IPv4 address.
CheckPoint.Host.ipv6-addressStringHost IPv6 address.
CheckPoint.Host.read-onlyStringIndicates if the object is read-only.
CheckPoint.Host.groupsStringCollection of group identifiers.
CheckPoint.Host.colorStringColor of the object.
CheckPoint.Host.commentsStringComments string.
CheckPoint.Host.tagsUnknownCollection of tag objects associated with the host.
CheckPoint.Host.nat-auto-ruleBooleanWhether NAT automatic rules are enabled.
CheckPoint.Host.nat-methodStringNAT method (hide or static).
CheckPoint.Host.nat-ipv4-addressStringNAT IPv4 address.
CheckPoint.Host.nat-install-onStringGateway for NAT rule installation.
CheckPoint.Host.nat-hide-behindStringHide behind method (gateway or ip-address).
CheckPoint.Host.interfacesUnknownHost interfaces.

Command Example#

!checkpoint-host-add name=test_host_1 ip_address=18.18.18.18 session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"Host": {
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"groups": [],
"ipv4-address": "18.18.18.18",
"ipv6-address": null,
"last-modifier": "adminsh",
"name": "test_host_1",
"read-only": true,
"type": "host",
"uid": "7290f66a-fdd4-40fb-a639-774e3f387113"
}
}
}

Human Readable Output#

CheckPoint data for adding host#

nameuidtypedomain-namedomain-uidcreatorlast-modifieripv4-addressread-only
test_host_17290f66a-fdd4-40fb-a639-774e3f387113hostSMC User41e821a0-3720-11e3-aa6e-0800200c9fdeadminshadminsh18.18.18.18true

checkpoint-host-update#


update host changes

Base Command#

checkpoint-host-update

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
ip_addressIPv4 or IPv6 address.Optional
new_nameNew name of the object.Optional
commentsComments string.Optional
ignore_warningsWhether to ignore warnings when applying the updates. Can be "True" or "False". Default is "False".Optional
ignore_errorsWhether to ignore errors when applying the updates. Can be "True" or "False". Default is "False".Optional
groupsA comma-separated list of group identifiers.Optional
session_idExecutes the command with the specified session ID.Required
nat_auto_ruleRequired only when any nat_* argument is provided; otherwise omitted.Optional
colorObject color.Optional
nat_methodNAT method.Optional
nat_ipThe IPv4 address. This parameter must not be provided if nat_method is set to "hide" and nat_hide_behind is set to "gateway".Optional
nat_install_onThe gateway for the NAT rule.Optional
nat_hide_behindThe hide behind method. This parameter must not be provided if nat_method is set to "static".Optional
interfaces_nameThe name of the network interface. Required only when defining interfaces (when any interfaces_* arg is provided).Optional
interfaces_subnetThe IPv4 subnet of the interface. Required only when defining interfaces (when any interfaces_* arg is provided).Optional
interfaces_mask_lengthThe IPv4 network mask length. Required only when defining interfaces (when any interfaces_* arg is provided).Optional
tagsA comma-separated list of tags to assign.Optional

Context Output#

PathTypeDescription
CheckPoint.Host.nameStringObject name.
CheckPoint.Host.uidStringObject UID.
CheckPoint.Host.typeStringObject type.
CheckPoint.Host.domain-nameStringDomain name.
CheckPoint.Host.domain-uidStringDomain UID.
CheckPoint.Host.domain-typeStringDomain type.
CheckPoint.Host.creatorStringThe creator of the object.
CheckPoint.Host.last-modifierStringThe user that last modified the object.
CheckPoint.Host.ipv4-addressStringHost IPv4 address.
CheckPoint.Host.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.Host.group-nameStringThe name of the group object linked to the host.
CheckPoint.Host.group-uidStringThe UID of the group object linked to the host.
CheckPoint.Host.colorStringColor of the object.
CheckPoint.Host.commentsStringComments string.
CheckPoint.Host.tagsUnknownCollection of tag objects associated with the host.
CheckPoint.Host.nat-auto-ruleBooleanWhether NAT automatic rules are enabled.
CheckPoint.Host.nat-methodStringNAT method (hide or static).
CheckPoint.Host.nat-ipv4-addressStringNAT IPv4 address.
CheckPoint.Host.nat-install-onStringGateway for NAT rule installation.
CheckPoint.Host.nat-hide-behindStringHide behind method (gateway or ip-address).
CheckPoint.Host.interfacesUnknownHost interfaces.

Command Example#

!checkpoint-host-update identifier=host_test session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"Host": {
"comments": "",
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"ipv4-address": "1.1.1.1",
"last-modifier": "adminsh",
"name": "host_test",
"read-only": false,
"type": "host",
"uid": "11c194c4-db5f-46de-a9e2-95b8e858b98f"
}
}
}

Human Readable Output#

CheckPoint data for updating a host#

nameuidtypedomain-namedomain-uidcreatoripv4-addresslast-modifierread-only
host_test11c194c4-db5f-46de-a9e2-95b8e858b98fhostSMC User41e821a0-3720-11e3-aa6e-0800200c9fdeadminsh1.1.1.1adminshfalse

checkpoint-host-delete#


delete host

Base Command#

checkpoint-host-delete

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID.Required

Context Output#

PathTypeDescription
CheckPoint.Host.messageStringoperation status

Command Example#

!checkpoint-host-delete identifier=host_test session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"Host": {
"message": "OK"
}
}
}

Human Readable Output#

CheckPoint data for deleting host_test#

message
OK

checkpoint-group-list#


Show a list of all groups

Base Command#

checkpoint-group-list

Input#

Argument NameDescriptionRequired
limitThe maximum number of results to return. Default is 50.Optional
offsetNumber of results to initially skip. Default is 0.Optional
session_idExecutes the command with the specified session ID.Optional
details_levelThe level of detail for the results.Optional
domains_to_processA comma-separated list of domains to process the commands on.Optional
filterSearch expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The logical operators in the expression ('AND', 'OR') should be provided in capital letters. The search involves both a IP search and a textual search in name, comment, tags etc.Optional

Context Output#

PathTypeDescription
CheckPoint.Group.nameStringObject name.
CheckPoint.Group.uidStringObject UID.
CheckPoint.Group.typeStringObject type.
CheckPoint.Group.domain-nameStringDomain name.
CheckPoint.Group.domain-uidStringDomain UID.
CheckPoint.Group.domain-typeStringDomain type.
CheckPoint.Group.colorStringColor of the object.
CheckPoint.Group.commentsStringComments string.
CheckPoint.Group.tagsUnknownCollection of tag objects associated with the group.

Command Example#

!checkpoint-group-list limit=5

Context Example#

{
"CheckPoint": {
"Group": [
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "bensar",
"read-only": null,
"type": "group",
"uid": "fe26adc1-c0e1-4424-9a9e-f74f511a7f28"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "group10",
"read-only": null,
"type": "group",
"uid": "cf069504-5ea5-4eb2-9b97-ccdc500db118"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "group9",
"read-only": null,
"type": "group",
"uid": "c4635886-15c9-4416-8160-5c70d68462cd"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "group_test",
"read-only": null,
"type": "group",
"uid": "35a46b01-47f5-496f-9329-d55c7d2ab083"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "Group_test_for_demisto",
"read-only": null,
"type": "group",
"uid": "1deaead0-136c-4791-8d58-9229c143b8c5"
}
]
}
}

Human Readable Output#

CheckPoint data for all groups#

nameuidtype
bensarfe26adc1-c0e1-4424-9a9e-f74f511a7f28group
group10cf069504-5ea5-4eb2-9b97-ccdc500db118group
group9c4635886-15c9-4416-8160-5c70d68462cdgroup
group_test35a46b01-47f5-496f-9329-d55c7d2ab083group
Group_test_for_demisto1deaead0-136c-4791-8d58-9229c143b8c5group

checkpoint-group-get#


Get all data of a given group

Base Command#

checkpoint-group-get

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID.Optional
details_levelThe level of detail for the results.Optional

Context Output#

PathTypeDescription
CheckPoint.Group.nameStringObject name.
CheckPoint.Group.uidStringObject UID.
CheckPoint.Group.typeStringObject type.
CheckPoint.Group.domain-nameStringDomain name.
CheckPoint.Group.domain-uidStringDomain UID.
CheckPoint.Group.domain-typeStringDomain type.
CheckPoint.Group.creatorStringThe creator of the object.
CheckPoint.Group.last-modifierStringThe user that last modified the object.
CheckPoint.Group.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.Group.ipv4-addressstringGroup IPv4 addresses.
CheckPoint.Group.ipv6-addressstringGroup IPv6 addresses.
CheckPoint.Group.groupsUnknownCollection of group identifiers.
CheckPoint.Group.members.member-ipv4-addressstringGroup members IPv4 addresses.
CheckPoint.Group.members.member-ipv6-addressstringGroup members IPv6 addresses.
CheckPoint.Group.members.member-domain-namestringGroup members domain name.
CheckPoint.Group.members.member-domain-uidstringGroup members domain UID.
CheckPoint.Group.members.member-domain-typestringGroup members domain type.
CheckPoint.Group.members.member-namestringGroup member name.
CheckPoint.Group.members.member-uidstringGroup member UID.
CheckPoint.Group.members.member-typestringGroup member type.

Command Example#

!checkpoint-group-get identifier=group_test

Context Example#

{
"CheckPoint": {
"Group": {
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"groups": [],
"ipv4-address": null,
"last-modifier": "adminsh",
"name": "group_test",
"read-only": false,
"type": "group",
"uid": "35a46b01-47f5-496f-9329-d55c7d2ab083"
}
}
}

Human Readable Output#

CheckPoint for group_test group#

nameuidtypedomain-namedomain-uidread-onlycreatorlast-modifier
group_test35a46b01-47f5-496f-9329-d55c7d2ab083groupSMC User41e821a0-3720-11e3-aa6e-0800200c9fdefalseadminshadminsh

checkpoint-group-add#


add a group

Base Command#

checkpoint-group-add

Input#

Argument NameDescriptionRequired
nameA comma-separated list of object names. Must be unique in the domain.Required
session_idExecutes the command with the specified session ID.Required
membersA comma-separated list of group identifiers (names or UIDs).Optional
commentsThe comment string.Optional
colorPossible values: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default: black.Optional
tagsA comma-separated list of tags to assign.Optional
ignore_warningsApply changes, ignoring warnings.Optional
ignore_errorsApply changes, ignoring errors.Optional

Context Output#

PathTypeDescription
CheckPoint.Group.nameStringObject name.
CheckPoint.Group.uidStringObject UID.
CheckPoint.Group.typeUnknownObject type.
CheckPoint.Group.domain-nameStringDomain name.
CheckPoint.Group.domain-uidStringDomain UID.
CheckPoint.Group.domain-typeStringDomain type.
CheckPoint.Group.creatorStringThe creator of the object.
CheckPoint.Group.last-modifierStringThe user that last modified the object.
CheckPoint.Group.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.Group.groups-nameUnknownGroups name.
CheckPoint.Group.colorStringColor of the object.
CheckPoint.Group.commentsStringComments string.
CheckPoint.Group.tagsUnknownCollection of tag objects associated with the group.

Command Example#

!checkpoint-group-add name=test_group_1 session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"Group": {
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"last-modifier": "adminsh",
"name": "test_group_1",
"type": "group",
"uid": "11e751da-a0e7-499a-bcde-5bc638c73fb5"
}
}
}

Human Readable Output#

CheckPoint data for adding Group#

creatordomain-namedomain-uidlast-modifiernametypeuid
adminshSMC User41e821a0-3720-11e3-aa6e-0800200c9fdeadminshtest_group_1group11e751da-a0e7-499a-bcde-5bc638c73fb5

checkpoint-group-update#


update group object

Base Command#

checkpoint-group-update

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
new_nameNew name of the object.Optional
commentsThe update comments.Optional
ignore_warningsWhether to ignore warnings when applying the updates. Can be "True" or "False". Default is "True".Optional
ignore_errorsWhether to ignore errors when applying the updates. Can be "True" or "False". Default is "False".

Note: you won't be able to publish such these changes. If the ignore-warnings flag was omitted, warnings will also be ignored. | Optional | | session_id | Executes the command with the specified session ID. | Required | | members | A comma-separated list of network objects identified by the name or UID. | Optional | | action | The action that should be taken towards the values. | Optional | | color | Possible values: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default: black. | Optional | | tags | A comma-separated list of updated tags. | Optional | | details_level | The level of detail for the results. Possible values are "standard", "full", or "uid". | Optional |

Context Output#

PathTypeDescription
CheckPoint.Group.nameStringObject name.
CheckPoint.Group.uidStringObject UID.
CheckPoint.Group.typeStringObject type.
CheckPoint.Group.domain-nameStringDomain name.
CheckPoint.Group.domain-uidStringDomain UID.
CheckPoint.Group.domain-typeStringDomain type.
CheckPoint.Group.creatorStringThe creator of the object.
CheckPoint.Group.last-modifierStringThe user that last modified the object.
CheckPoint.Group.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.Group.colorStringColor of the object.
CheckPoint.Group.commentsStringComments string.
CheckPoint.Group.tagsUnknownCollection of tag objects associated with the group.

Command Example#

!checkpoint-group-update identifier=group_test session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"Group": {
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"last-modifier": "adminsh",
"name": "group_test",
"read-only": false,
"type": "group",
"uid": "35a46b01-47f5-496f-9329-d55c7d2ab083"
}
}
}

Human Readable Output#

CheckPoint data for updating a group#

nameuidtypedomain-namedomain-uidcreatorlast-modifierread-only
group_test35a46b01-47f5-496f-9329-d55c7d2ab083groupSMC User41e821a0-3720-11e3-aa6e-0800200c9fdeadminshadminshfalse

checkpoint-group-delete#


delete a group object

Base Command#

checkpoint-group-delete

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID.Required

Context Output#

PathTypeDescription
CheckPoint.Group.messageStringOperation massege

Command Example#

!checkpoint-group-delete identifier=group_test session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"Group": {
"message": "OK"
}
}
}

Human Readable Output#

CheckPoint data for deleting group_test#

message
OK

checkpoint-address-range-list#


List all address range objects

Base Command#

checkpoint-address-range-list

Input#

Argument NameDescriptionRequired
limitThe maximum number of results to return. Default is 50.Optional
offsetNumber of results to initially skip. Default is 0.Optional
session_idExecutes the command with the specified session ID.Optional
details_levelThe level of detail for the results. Possible values are "standard", "full", or "uid".Optional
domains_to_processA comma-separated list of domains to process the commands on.Optional

Context Output#

PathTypeDescription
CheckPoint.AddressRange.nameStringObject name.
CheckPoint.AddressRange.uidStringObject UID.
CheckPoint.AddressRange.typeStringObject type.
CheckPoint.AddressRange.domain-nameStringDomain name.
CheckPoint.AddressRange.domain-uidStringDomain UID.
CheckPoint.AddressRange.domain-typeStringDomain type.

Command Example#

!checkpoint-address-range-list limit=5

Context Example#

{
"CheckPoint": {
"AddressRange": [
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "address_range_1",
"read-only": null,
"type": "address-range",
"uid": "d4543195-8744-4592-906e-1cdcd534a564"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "address_range_test",
"read-only": null,
"type": "address-range",
"uid": "26887214-d639-4acd-ab48-508d900cdfc2"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "address_range_test_1",
"read-only": null,
"type": "address-range",
"uid": "46800cfe-e3ff-4101-867c-27772ade9d72"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "All_Internet",
"read-only": null,
"type": "address-range",
"uid": "f90e0a2b-f166-427a-b47f-a107b6fe43b9"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "LocalMachine_Loopback",
"read-only": null,
"type": "address-range",
"uid": "5d3b2752-4072-41e1-9aa0-488813b02a40"
}
]
}
}

Human Readable Output#

CheckPoint data for all address ranges#

nameuidtype
address_range_1d4543195-8744-4592-906e-1cdcd534a564address-range
address_range_test26887214-d639-4acd-ab48-508d900cdfc2address-range
address_range_test_146800cfe-e3ff-4101-867c-27772ade9d72address-range
All_Internetf90e0a2b-f166-427a-b47f-a107b6fe43b9address-range
LocalMachine_Loopback5d3b2752-4072-41e1-9aa0-488813b02a40address-range

checkpoint-address-range-add#


Add address range object

Base Command#

checkpoint-address-range-add

Input#

Argument NameDescriptionRequired
nameName for the new address range object.Required
ip_address_firstFirst IP address in the range.Required
ip_address_lastLast IP address in the range.Required
set_if_existsWhether to update objects with the same identifier. Can be "true" or "false". Default is "false".Optional
ignore_warningsWhether to ignore warnings when applying the updates. Can be "True" or "False". Default is "True".Optional
ignore_errorsWhether to ignore errors when applying the updates. Can be "True" or "False". Default is "False".

Note: you won't be able to publish such these changes. If the ignore-warnings flag was omitted, warnings will also be ignored. | Optional | | sessionid | Executes the command with the specified session ID. | Required | | groups | A comma-separated list of group identifiers. | Optional | | comments | Comment string. | Optional | | color | Object color. | Optional | | nat_auto_rule | Required only when any nat* argument is provided; otherwise omitted. | Optional | | nat_method | NAT method. | Optional | | nat_ip | The IPv4 address. This parameter value must not be provided if nat_method is set to "hide" and nat_hide_behind is set to "gateway". | Optional | | nat_install_on | The gateway for the NAT rule. | Optional | | nat_hide_behind | The hide behind method. This parameter value must not be provided if nat_method is set to "static". | Optional | | tags | A comma-separated list of tags to assign. | Optional |

Context Output#

PathTypeDescription
CheckPoint.AddressRange.nameStringObject name.
CheckPoint.AddressRange.uidStringObject UID.
CheckPoint.AddressRange.typeStringObject type.
CheckPoint.AddressRange.domain-nameStringDomain name.
CheckPoint.AddressRange.domain-uidStringDomain UID.
CheckPoint.AddressRange.domain-typeStringDomain type.
CheckPoint.AddressRange.ipv4-address-firstStringFirst IPv4 address in the range.
CheckPoint.AddressRange.ipv4-address-lastStringLast IPv4 address in the range.
CheckPoint.AddressRange.ipv6-address-firstStringFirst IPv6 address in the range.
CheckPoint.AddressRange.ipv6-address-lastStringLast IPv6 address in the range.
CheckPoint.AddressRange.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.AddressRange.creatorStringThe creator of the object.
CheckPoint.AddressRange.last-modifierStringIndicates the user that last modified the object.
CheckPoint.AddressRange.groupsStringName of the group object.
CheckPoint.AddressRange.colorStringColor of the object.
CheckPoint.AddressRange.commentsStringComments string.
CheckPoint.AddressRange.tagsUnknownCollection of tag objects associated with the address range.
CheckPoint.AddressRange.nat-auto-ruleBooleanWhether NAT automatic rules are enabled.
CheckPoint.AddressRange.nat-methodStringNAT method (hide or static).
CheckPoint.AddressRange.nat-ipv4-addressStringNAT IPv4 address.
CheckPoint.AddressRange.nat-install-onStringGateway for NAT rule installation.
CheckPoint.AddressRange.nat-hide-behindStringHide behind method (gateway or ip-address).

Command Example#

!checkpoint-address-range-add name=address_range_test_2 ip_address_first=8.8.8.8 ip_address_last=9.9.9.9 session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"AddressRange": {
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"ipv4-address-first": "8.8.8.8",
"ipv4-address-last": "9.9.9.9",
"ipv6-address-first": "",
"ipv6-address-last": "",
"last-modifier": "adminsh",
"name": "address_range_test_2",
"read-only": true,
"type": "address-range",
"uid": "4fb8174d-89db-42f8-88b8-525c8fe818be"
}
}
}

Human Readable Output#

CheckPoint data for adding an address range#

nameuidtypedomain-namedomain-uidcreatoripv4-address-firstipv4-address-lastlast-modifierread-only
address_range_test_24fb8174d-89db-42f8-88b8-525c8fe818beaddress-rangeSMC User41e821a0-3720-11e3-aa6e-0800200c9fdeadminsh8.8.8.89.9.9.9adminshtrue

checkpoint-address-range-update#


Update an address range object

Base Command#

checkpoint-address-range-update

Input#

Argument NameDescriptionRequired
identifierName for the new address range object.Required
ip_address_firstFirst IP address in the range. Can be an IPv4 or IPv6 address.Optional
ip_address_lastLast IP address in the range. Can be an IPv4 or IPv6 address.Optional
new_nameNew name of the object.Optional
commentsThe update comments.Optional
ignore_warningsWhether to ignore warnings when applying the updates. Can be "True" or "False". Default is "True".Optional
ignore_errorsWhether to ignore errors when applying the updates. Can be "True" or "False". Default is "False".

Note: you won't be able to publish such these changes. If the ignore-warnings flag was omitted, warnings will also be ignored. | Optional | | groups | A comma-separated list of group identifiers. | Optional | | session_id | Executes the command with the specified session ID. | Required | | color | The update color. | Optional | | nat_method | Update NAT method. | Optional | | nat_ip | The updated IPv4 address. This parameter value must not be provided if nat_method is set to "hide" and nat_hide_behind is set to "gateway". | Optional | | nat_install_on | Update NAT gateway. | Optional | | nat_hide_behind | The hide behind method. This parameter value must not be provided if nat_method is set to "static". | Optional | | tags | A comma-separated list of updated tags. | Optional |

Context Output#

PathTypeDescription
CheckPoint.AddressRange.nameStringObject name.
CheckPoint.AddressRange.uidStringObject UID.
CheckPoint.AddressRange.typeStringObject type.
CheckPoint.AddressRange.domain-nameStringDomain name.
CheckPoint.AddressRange.domain-uidStringDomain UID.
CheckPoint.AddressRange.domain-typeStringDomain type.
CheckPoint.AddressRange.ipv4-address-firstStringFirst IPv4 address in the range.
CheckPoint.AddressRange.ipv4-address-lastStringLast IPv4 address in the range.
CheckPoint.AddressRange.ipv6-address-firstStringFirst IPv6 address in the range.
CheckPoint.AddressRange.ipv6-address-lastStringLast IPv6 address in the range.
CheckPoint.AddressRange.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.AddressRange.groupsStringList of all groups the address range is linked to.
CheckPoint.AddressRange.colorStringColor of the object.
CheckPoint.AddressRange.commentsStringComments string.
CheckPoint.AddressRange.tagsUnknownCollection of tag objects associated with the address range.
CheckPoint.AddressRange.nat-auto-ruleBooleanWhether NAT automatic rules are enabled.
CheckPoint.AddressRange.nat-methodStringNAT method (hide or static).
CheckPoint.AddressRange.nat-ipv4-addressStringNAT IPv4 address.
CheckPoint.AddressRange.nat-install-onStringGateway for NAT rule installation.
CheckPoint.AddressRange.nat-hide-behindStringHide behind method (gateway or ip-address).

Command Example#

!checkpoint-address-range-update identifier=address_range_test layer=Network session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"AddressRange": {
"comments": "",
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"ipv4-address": null,
"last-modifier": "adminsh",
"name": "address_range_test",
"read-only": false,
"type": "address-range",
"uid": "26887214-d639-4acd-ab48-508d900cdfc2"
}
}
}

Human Readable Output#

CheckPoint data for updating an address range#

nameuidtypedomain-namedomain-uidcreatorlast-modifierread-only
address_range_test26887214-d639-4acd-ab48-508d900cdfc2address-rangeSMC User41e821a0-3720-11e3-aa6e-0800200c9fdeadminshadminshfalse

checkpoint-address-range-delete#


Delete a given address range

Base Command#

checkpoint-address-range-delete

Input#

Argument NameDescriptionRequired
identifierName for the new address range object.Required
session_idExecutes the command with the specified session ID.Required

Context Output#

PathTypeDescription
CheckPoint.AddressRange.messageStringOperation status

Command Example#

!checkpoint-address-range-delete identifier=address_range_test session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"AddressRange": {
"message": "OK"
}
}
}

Human Readable Output#

CheckPoint data for deleting address range#

message
OK

checkpoint-threat-indicator-list#


List all threat indicators

Base Command#

checkpoint-threat-indicator-list

Input#

Argument NameDescriptionRequired
limitThe maximum number of results to return.Optional
offsetNumber of results to initially skip. Default is 0.Optional
session_idExecutes the command with the specified session ID.Optional
domain_namesA comma-separated list of domains to process.Optional
details_levelThe level of detail for the results. Possible values are "standard", "full", or "uid".Optional
filterSearch expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The logical operators in the expression ('AND', 'OR') should be provided in capital letters. The search involves both a IP search and a textual search in name, comment, tags etc.Optional

Context Output#

PathTypeDescription
CheckPoint.ThreatIndicator.nameStringObject name.
CheckPoint.ThreatIndicator.uidStringObject UID.
CheckPoint.ThreatIndicator.typeStringObject type.
CheckPoint.ThreatIndicator.domain-nameStringDomain name.
CheckPoint.ThreatIndicator.domain-uidStringDomain UID.
CheckPoint.ThreatIndicator.domain-typeStringDomain type.

Command Example#

!checkpoint-threat-indicator-list limit=5

Context Example#

{
"CheckPoint": {
"ThreatIndicator": [
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "My_Indicator!",
"read-only": null,
"type": "threat-indicator",
"uid": "a40ec97c-e286-474b-bff7-b922e3b3294d"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "test_indicator",
"read-only": null,
"type": "threat-indicator",
"uid": "3e6a22c0-0416-4a2d-b7c0-f81df12916e1"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "threat_test_1",
"read-only": null,
"type": "threat-indicator",
"uid": "88e502f1-2bd5-4ad4-ba6b-dbbb2fef8260"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "threat_test_2",
"read-only": null,
"type": "threat-indicator",
"uid": "f34c89f1-b18f-4cf2-b2bb-672462178b9d"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "threat_test_3",
"read-only": null,
"type": "threat-indicator",
"uid": "ee17772c-94aa-4e42-93e4-f0ba49de339b"
}
]
}
}

Human Readable Output#

CheckPoint data for all threat indicators#

nameuidtype
My_Indicator!a40ec97c-e286-474b-bff7-b922e3b3294dthreat-indicator
test_indicator3e6a22c0-0416-4a2d-b7c0-f81df12916e1threat-indicator
threat_test_188e502f1-2bd5-4ad4-ba6b-dbbb2fef8260threat-indicator
threat_test_2f34c89f1-b18f-4cf2-b2bb-672462178b9dthreat-indicator
threat_test_3ee17772c-94aa-4e42-93e4-f0ba49de339bthreat-indicator

checkpoint-threat-indicator-get#


Get data for a given list indicator

Base Command#

checkpoint-threat-indicator-get

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID.Optional

Context Output#

PathTypeDescription
CheckPoint.ThreatIndicator.nameStringobject name
CheckPoint.ThreatIndicator.uidStringobject uid
CheckPoint.ThreatIndicator.typeStringobject type
CheckPoint.ThreatIndicator.domain-nameStringDomain name
CheckPoint.ThreatIndicator.domain-uidStringobject uid
CheckPoint.ThreatIndicator.domain-typeUnknowndomain type
CheckPoint.ThreatIndicator.creatorStringcreator
CheckPoint.ThreatIndicator.last-modifierStringIndicates the last user modified the object
CheckPoint.ThreatIndicator.read-onlyBooleanIndicates whether the object is read-only.

Command Example#

!checkpoint-threat-indicator-get identifier=threat_test_1

Context Example#

{
"CheckPoint": {
"ThreatIndicator": {
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"groups": null,
"ipv4-address": null,
"last-modifier": "adminsh",
"name": "threat_test_1",
"number-of-observables": 1,
"read-only": false,
"type": "threat-indicator",
"uid": "88e502f1-2bd5-4ad4-ba6b-dbbb2fef8260"
}
}
}

Human Readable Output#

CheckPoint data for threat_test_1 threat indicator#

nameuidtypedomain-namedomain-uidread-onlycreatorlast-modifiernumber-of-observables
threat_test_188e502f1-2bd5-4ad4-ba6b-dbbb2fef8260threat-indicatorSMC User41e821a0-3720-11e3-aa6e-0800200c9fdefalseadminshadminsh1

checkpoint-threat-indicator-add#


Add a threat indicator

Base Command#

checkpoint-threat-indicator-add

Input#

Argument NameDescriptionRequired
nameName for the new threat indicator.Required
observablesA comma-separated list of the indicator's observables, or the contents of a file containing the indicator's observables.Required
session_idExecutes the command with the specified session ID.Required
actionThe action for the indicator.Optional
profile_actionA comma-separated list of profiles the indicator is applied to and the specific action to be performed, in the format "Profile_Action".Optional
commentsComment string.Optional
colorThe object color.Optional
tagsA comma-separated list of tags to assign.Optional
ignore_warningsApply changes, ignoring warnings.Optional

Context Output#

PathTypeDescription
CheckPoint.ThreatIndicator.task-idStringAsynchronous task unique identifier.

Command Example#

!checkpoint-threat-indicator-add name=threat_test2 observables=[] session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"ThreatIndicator": {
'task-id': 'c3b11fff-c58d-4242-af44-f549c40b0af5'
}
}
}

Human Readable Output#

checkpoint-threat-indicator-update#


Update a given indicator

Base Command#

checkpoint-threat-indicator-update

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
actionThe action to set for the indicator.Optional
new_nameNew name of the object.Optional
commentsComments for the object.Optional
session_idExecutes the command with the specified session ID.Required
profile_actionA comma-separated list of profiles the indicator is applied to and the specific action to be performed, in the format "Profile_Action".Optional
colorThe update color.Optional
tagsA comma-separated list of updated tags.Optional

Context Output#

PathTypeDescription
CheckPoint.ThreatIndicator.nameStringObject name.
CheckPoint.ThreatIndicator.uidStringObject UID.
CheckPoint.ThreatIndicator.typeStringObject type.
CheckPoint.ThreatIndicator.actionStringThe indicator's action.
CheckPoint.ThreatIndicator.domain-nameStringDomain name.
CheckPoint.ThreatIndicator.domain-uidStringDomain UID.
CheckPoint.ThreatIndicator.domain-typeStringDomain type.
CheckPoint.ThreatIndicator.creatorStringThe creator of the object.
CheckPoint.ThreatIndicator.last-modifierStringThe user that last modified the object.
CheckPoint.ThreatIndicator.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.ThreatIndicator.colorStringColor of the object.
CheckPoint.ThreatIndicator.tagsUnknownCollection of tag objects associated with the indicator.
CheckPoint.ThreatIndicator.profile-overridesUnknownA list of profiles where the default action of this indicator is overridden, along with the overriding action.

Command Example#

!checkpoint-threat-indicator-update identifier=threat_test_1 session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"ThreatIndicator": {
"comments": "",
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"ipv4-address": null,
"last-modifier": "adminsh",
"name": "threat_test_1",
"read-only": false,
"type": "threat-indicator",
"uid": "88e502f1-2bd5-4ad4-ba6b-dbbb2fef8260"
}
}
}

Human Readable Output#

CheckPoint data for update threat_test_1 threat indicator#

nameuidtypedomain-namedomain-uidcreatorlast-modifierread-only
threat_test_188e502f1-2bd5-4ad4-ba6b-dbbb2fef8260threat-indicatorSMC User41e821a0-3720-11e3-aa6e-0800200c9fdeadminshadminshfalse

checkpoint-address-range-get#


Get all date of a given address range object

Base Command#

checkpoint-address-range-get

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID.Optional

Context Output#

PathTypeDescription
CheckPoint.AddressRange.nameStringObject name.
CheckPoint.AddressRange.uidStringObject UID.
CheckPoint.AddressRange.typeStringObject type.
CheckPoint.AddressRange.domain-nameStringDomain name.
CheckPoint.AddressRange.domain-uidStringDomain UID.
CheckPoint.AddressRange.domain-typeStringDomain type.
CheckPoint.AddressRange.groups-nameStringThe name of the group object linked to current host object.
CheckPoint.AddressRange.groups-uidStringThe UID of the group object linked to current host object.

Command Example#

!checkpoint-address-range-get identifier=address_range_test

Context Example#

{
"CheckPoint": {
"AddressRange": {
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"groups": [],
"ipv4-address": null,
"last-modifier": "adminsh",
"name": "address_range_test",
"read-only": false,
"type": "address-range",
"uid": "26887214-d639-4acd-ab48-508d900cdfc2"
}
}
}

Human Readable Output#

CheckPoint data for address_range_test address range#

nameuidtypedomain-namedomain-uidread-onlycreatorlast-modifier
address_range_test26887214-d639-4acd-ab48-508d900cdfc2address-rangeSMC User41e821a0-3720-11e3-aa6e-0800200c9fdefalseadminshadminsh

checkpoint-threat-indicator-delete#


delete threat indicator

Base Command#

checkpoint-threat-indicator-delete

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID.Required

Context Output#

PathTypeDescription
CheckPoint.ThreatIndicator.messageStringOperation status

Command Example#

!checkpoint-threat-indicator-delete identifier=threat_test_1 session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"ThreatIndicator": {
"message": "OK"
}
}
}

Human Readable Output#

CheckPoint status for deleting threat_test_1threat indicator#

message
OK

checkpoint-access-rule-list#


Shows the entire Access Rules layer. This layer is divided into sections. An Access Rule may be within a section, or independent of a section.

Base Command#

checkpoint-access-rule-list

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
limitThe maximum number of results to return. Default is 50.Optional
offsetNumber of results to initially skip. Default is 0.Optional
session_idExecutes the command with the specified session ID.Optional
details_levelThe level of detail for the results. Possible values are "standard", "full", or "uid".Optional
show_hitsIncludes hit count data in the output.Optional

Context Output#

PathTypeDescription
CheckPoint.AccessRule.nameStringObject name.
CheckPoint.AccessRule.uidStringObject UID.
CheckPoint.AccessRule.typeStringObject type.
CheckPoint.AccessRule.ipv4-addressStringIPv4 address of the specified object.
CheckPoint.AccessRule.ipv6-addressStringIPv6 address of the specified object.
CheckPoint.AccessRule.domain-nameStringDomain name.
CheckPoint.AccessRule.domain-uidStringDomain UID.
CheckPoint.AccessRule.creatorStringThe creator of the object.
CheckPoint.AccessRule.last-modifierStringThe user that last modified the object.
CheckPoint.AccessRule.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.AccessRule.groupsUnknownCollection of group identifiers.

Command Example#

!checkpoint-access-rule-list identifier=Network limit=5

Context Example#

{
"CheckPoint": {
"AccessRule": [
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": null,
"read-only": null,
"type": "access-rule",
"uid": "6521b7b9-d340-44ec-a104-17d5ea669bc0"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": null,
"read-only": null,
"type": "access-rule",
"uid": "bb6016e3-36e8-4214-b17f-89623160dd10"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "test_access_rule_8",
"read-only": null,
"type": "access-rule",
"uid": "0c71cc44-a5ad-43cd-9af0-79e5f153f62f"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "None",
"read-only": null,
"type": "access-rule",
"uid": "c44add02-0f02-4b29-8ab3-d5ac687d31f7"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "est_access_rule",
"read-only": null,
"type": "access-rule",
"uid": "e5bc5918-7155-493e-89ce-5562586d3acc"
}
]
}
}

Human Readable Output#

CheckPoint data for all access rule bases#

nameuidtype
6521b7b9-d340-44ec-a104-17d5ea669bc0access-rule
bb6016e3-36e8-4214-b17f-89623160dd10access-rule
test_access_rule_80c71cc44-a5ad-43cd-9af0-79e5f153f62faccess-rule
Nonec44add02-0f02-4b29-8ab3-d5ac687d31f7access-rule
est_access_rulee5bc5918-7155-493e-89ce-5562586d3accaccess-rule

checkpoint-access-rule-add#


Create new access rule

Base Command#

checkpoint-access-rule-add

Input#

Argument NameDescriptionRequired
layerLayer to which to assign the rule, identified by the name or UID.Required
positionPosition in the rulebase.Required
nameRule name.Optional
actionAction settings. Valid values are: Accept, Drop, Apply Layer, Ask and Info. Default value is Drop.Optional
vpnCommunities or Directional. Valid values: Any or All_GwToGw.Optional
destinationCollection of network objects identified by the name or UID.Optional
serviceCollection of network objects identified by the name or UID.Optional
sourceCollection of network objects identified by the name or UID.Optional
session_idExecutes the command with the specified session ID.Required
commentsComment string.Optional
install_onA comma-separated list of installation targets.Optional
enabledWhether to enable/disable the rule.Optional
track_typeTrack settings for the rule. Possible values: "Log", "Extended Log", "Detailed Log", "None".Optional
track_accountingWhether to enable/disable track accounting.Optional
track_per_sessionWhether to generate a log per session.Optional

Context Output#

PathTypeDescription
CheckPoint.AccessRule.nameStringObject name.
CheckPoint.AccessRule.uidStringObject UID.
CheckPoint.AccessRule.typeStringObject type.
CheckPoint.AccessRule.domain-nameStringDomain name.
CheckPoint.AccessRule.domain-uidStringDomain UID.
CheckPoint.AccessRule.domain-typeStringDomain type.
CheckPoint.AccessRule.enabledBooleanIndicates if the rule is enabled or disabled.
CheckPoint.AccessRule.layerStringLayer to which the rule was assigned, identified by the name or UID.
CheckPoint.AccessRule.creatorStringThe object creator.
CheckPoint.AccessRule.last-modifierStringThe user that last modified the object.

Command Example#

!checkpoint-access-rule-add name=test_access_rule layer=Network position=top session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"AccessRule": {
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"enabled": true,
"last-modifier": "adminsh",
"layer": "c0264a80-1832-4fce-8a90-d0849dc4ba33",
"name": "test_access_rule",
"type": "access-rule",
"uid": "a9f00b65-bb3b-4548-b06a-6c5672df6c8b"
}
}
}

Human Readable Output#

CheckPoint data for adding access rule#

nameuidtypedomain-namedomain-uidenabledlayercreatorlast-modifier
test_access_rulea9f00b65-bb3b-4548-b06a-6c5672df6c8baccess-ruleSMC User41e821a0-3720-11e3-aa6e-0800200c9fdetruec0264a80-1832-4fce-8a90-d0849dc4ba33adminshadminsh

checkpoint-access-rule-update#


Edit existing access rule using object name or uid.

Base Command#

checkpoint-access-rule-update

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID), rule name, or rule number.Required
layerLayer to which the rule belongs, identified by the name or UID.Required
actionAction to be taken on the rule.Optional
enabledIf "true", the rule is enabled. Default is "true".Optional
new_nameNew name of the object.Optional
new_positionNew position in the rulebase. Value can be "int" to set a specific position, or str- 'top' or 'bottom'.Optional
ignore_warningsWhether to ignore warnings when applying the updates. Can be "True" or "False". Default is "True".Optional
ignore_errorsWhether to ignore errors when applying the updates. Can be "True" or "False". Default is "False".

Note: you won't be able to publish such these changes. If the ignore-warnings flag was omitted, warnings will also be ignored. | Optional | | session_id | Executes the command with the specified session ID. | Required | | comments | Update comments. | Optional | | track_type | Track settings for the rule. Possible values: "Log", "Extended Log", "Detailed Log", "None". | Optional | | track_accounting | Whether to enable/disable track accounting. | Optional | | track_per_session | Whether to generate a log per session. | Optional | | install_on | A comma-separated list of updated targets. | Optional | | source_add | A comma-separated list of sources to add to the existing sources. | Optional | | source_remove | A comma-separated list of sources to remove from the existing sources. | Optional | | service_add | A comma-separated list of services to add to the existing services. | Optional | | service_remove | A comma-separated list of services to remove from the existing services. | Optional | | destination_add | A comma-separated list of destinations to add to the existing destinations. | Optional | | destination_remove | A comma-separated list of destinations to remove from the existing destinations. | Optional |

Context Output#

PathTypeDescription
CheckPoint.AccessRule.nameStringObject name.
CheckPoint.AccessRule.uidStringObject UID.
CheckPoint.AccessRule.typeStringObject type.
CheckPoint.AccessRule.action-nameStringAction name.
CheckPoint.AccessRule.action-uidStringAction UID.
CheckPoint.AccessRule.action-typeUnknownAction type.
CheckPoint.AccessRule.action-domain-nameStringAction domain name.
CheckPoint.AccessRule.content-directionStringThe direction on which the file types processing is applied.
CheckPoint.AccessRule.domain-nameStringDomain name.
CheckPoint.AccessRule.domain-uidStringDomain UID.
CheckPoint.AccessRule.domain-typeStringDomain type.
CheckPoint.AccessRule.enabledBooleanIndicates if the rule is enabled or disabled.
CheckPoint.AccessRule.layerStringLayer to which the rule belongs, identified by the name or UID.
CheckPoint.AccessRule.creatorStringThe creator of the object.
CheckPoint.AccessRule.last-modifierStringThe user that last modified the object.

Command Example#

!checkpoint-access-rule-update identifier=7867e584-0e68-42b4-ba18-2dd16cdbd436 layer=Network session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"AccessRule": {
"action-name": "Drop",
"action-type": "RulebaseAction",
"action-uid": "6c488338-8eec-4103-ad21-cd461ac2c473",
"content-direction": "any",
"creator": "adminsh",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"enabled": true,
"last-modifier": "adminsh",
"name": "None",
"type": "access-rule",
"uid": "7867e584-0e68-42b4-ba18-2dd16cdbd436"
}
}
}

Human Readable Output#

CheckPoint data for updating an access rule#

nameuidtypedomain-namedomain-uidaction-nameaction-uidaction-typecontent-directioncreatorenabledlast-modifier
None7867e584-0e68-42b4-ba18-2dd16cdbd436access-ruleSMC User41e821a0-3720-11e3-aa6e-0800200c9fdeDrop6c488338-8eec-4103-ad21-cd461ac2c473RulebaseActionanyadminshtrueadminsh

checkpoint-access-rule-delete#


Delete access rule

Base Command#

checkpoint-access-rule-delete

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID), rule name, or rule number.Required
layerLayer to which the rule belongs, identified by the name or UID.Required
session_idExecutes the command with the specified session ID.Required

Context Output#

PathTypeDescription
CheckPoint.AccessRule.messageStringOperation status

Command Example#

!checkpoint-access-rule-delete identifier=7867e584-0e68-42b4-ba18-2dd16cdbd436 layer=Network session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"AccessRule": {
"message": "OK"
}
}
}

Human Readable Output#

CheckPoint data for deleting access rule range: 7867e584-0e68-42b4-ba18-2dd16cdbd436#

message
OK

checkpoint-application-site-list#


Retrieve all objects.

Base Command#

checkpoint-application-site-list

Input#

Argument NameDescriptionRequired
limitThe maximum number of results to return. Default is 50.Optional
offsetNumber of results to initially skip. Default is 0.Optional
session_idExecutes the command with the specified session ID.Optional
details_levelThe level of detail for results.Optional
domains_to_processA comma-separated list of domains to process.Optional

Context Output#

PathTypeDescription
CheckPoint.ApplicationSite.nameStringObject names.
CheckPoint.ApplicationSite.uidStringObjects UIDs.
CheckPoint.ApplicationSite.typeStringObject types.

Command Example#

!checkpoint-application-site-list limit=5

Context Example#

{
"CheckPoint": {
"ApplicationSite": [
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "#hashtags",
"read-only": null,
"type": "application-site",
"uid": "00fa9e3c-36ef-0f65-e053-08241dc22da2"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "050 Plus",
"read-only": null,
"type": "application-site",
"uid": "00fa9e44-4035-0f65-e053-08241dc22da2"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "0test_application_site_10",
"read-only": null,
"type": "application-site",
"uid": "446cff2c-7e1f-4dbc-a943-66740e890d67"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "1000keyboards",
"read-only": null,
"type": "application-site",
"uid": "00fa9e3d-a077-0f65-e053-08241dc22da2"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "1000memories",
"read-only": null,
"type": "application-site",
"uid": "00fa9e43-56d7-0f65-e053-08241dc22da2"
}
]
}
}

Human Readable Output#

CheckPoint data for all access rule bases#

nameuidtype
#hashtags00fa9e3c-36ef-0f65-e053-08241dc22da2application-site
050 Plus00fa9e44-4035-0f65-e053-08241dc22da2application-site
0test_application_site_10446cff2c-7e1f-4dbc-a943-66740e890d67application-site
1000keyboards00fa9e3d-a077-0f65-e053-08241dc22da2application-site
1000memories00fa9e43-56d7-0f65-e053-08241dc22da2application-site

checkpoint-application-site-add#


Add application site

Base Command#

checkpoint-application-site-add

Input#

Argument NameDescriptionRequired
nameObject name. Must be unique in the domain.Required
primary_categoryEach application is assigned to one primary category based on its most defining aspect.Required
identifierA comma-separated list of identifiers. Can be:

url-list(str): URLs that determine this particular application. application-signature(str): Application signature generated by Signature Tool. | Required | | session_id | Executes the command with the specified session ID. | Required | | groups | A comma-separated list of group identifiers. | Optional | | description | Description of the application site. | Optional | | comments | Comment string. | Optional | | color | The object color. | Optional | | tags | A comma-separated list of tags to assign. | Optional |

Context Output#

PathTypeDescription
CheckPoint.ApplicationSite.nameStringObject name.
CheckPoint.ApplicationSite.uidStringObject UID.
CheckPoint.ApplicationSite.typeStringObject type.
CheckPoint.ApplicationSite.application-idNumberApplication ID.
CheckPoint.ApplicationSite.descriptionStringA description of the application.
CheckPoint.ApplicationSite.domain-nameStringDomain name.
CheckPoint.ApplicationSite.domain-uidStringDomain UID.
CheckPoint.ApplicationSite.domain-typeStringDomain type.
CheckPoint.ApplicationSite.url-listStringURLs that determine this application.
CheckPoint.ApplicationSite.creatorStringThe creator of the object.
CheckPoint.ApplicationSite.last-modifierStringThe user that last modified this object.
CheckPoint.ApplicationSite.groupsUnknownCollection of group identifiers.
CheckPoint.ApplicationSite.colorStringColor of the object.
CheckPoint.ApplicationSite.commentsStringComments string.
CheckPoint.ApplicationSite.tagsUnknownCollection of tag objects associated with the application site.

Command Example#

!checkpoint-application-site-add name="test_application_site_1" primary_category="Test Category" identifier="qmasters.co" session_id="TEAK9kWnZ9Dhql9hYP5IR4aZEw1mrKdPjw3lRnxvp88"

Context Example#

{
"CheckPoint": {
"ApplicationSite": {
'name': 'test_application_site_1',
'uid': '452f6cff-e7fb-47b8-abfe-53c668dc0038',
'type': 'application-site',
'domain-name': 'SMC User',
'domain-uid': '41e821a0-3720-11e3-aa6e-0800200c9fde',
'domain-type': None,
'creator': 'adminsh',
'last-modifier': 'adminsh',
'application-id': 0,
'description': '',
'url-list': [
'qmasters.co'
]
}
}

Human Readable Output#

CheckPoint data for adding application site#

application-idcreatordomain-namedomain-uidlast-modifiernametypeuidurl-list
0adminshSMC User41e821a0-3720-11e3-aa6e-0800200c9fdeadminshtest_application_site_1application-site452f6cff-e7fb-47b8-abfe-53c668dc0038qmasters.co

checkpoint-application-site-update#


Edit existing application using object name or uid. It's impossible to set 'application-signature' when the application was initialized with 'url-list' and vice-verse.

Base Command#

checkpoint-application-site-update

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
descriptionA description of the application.Optional
primary_categoryEach application is assigned to one primary category based on its most defining aspect.Optional
application_signatureA comma-separated list of application signatures generated by Signature Tool.Optional
new_nameNew name of the object.Optional
urls_defined_as_regular_expressionIf "True", the URL is defined as a Regular Expression. Default is "True".Optional
url_listA comma-separated list of URLs that determine this particular application. This will replace the current URL collection.Optional
url_list_to_addA comma-separated list of URLs to add to the collection.Optional
url_list_to_removeRemoves a URL from the comma-separated list of URLs.Optional
groupsA comma-separated list of groups to update membership.Optional
session_idExecutes the command with the specified session ID.Required
commentsUpdate comments.Optional
colorUpdate color.Optional
tagsA comma-separated list of update tags.Optional

Context Output#

PathTypeDescription
CheckPoint.ApplicationSite.nameStringObject name.
CheckPoint.ApplicationSite.uidStringObject UID.
CheckPoint.ApplicationSite.typeStringObject type.
CheckPoint.ApplicationSite.application-idNumberApplication ID.
CheckPoint.ApplicationSite.descriptionStringA description for the application.
CheckPoint.ApplicationSite.domain-nameStringDomain name.
CheckPoint.ApplicationSite.domain-uidStringDomain UID.
CheckPoint.ApplicationSite.domain-typeStringDomain type.
CheckPoint.ApplicationSite.url-listStringURLs that determine this application.
CheckPoint.ApplicationSite.groupsStringCollection of group identifiers.
CheckPoint.ApplicationSite.primary-categoryStringObjects primary category.
CheckPoint.ApplicationSite.colorStringColor of the object.
CheckPoint.ApplicationSite.commentsStringComments string.
CheckPoint.ApplicationSite.tagsUnknownCollection of tag objects associated with the application site.

Command Example#

!checkpoint-application-site-update identifier=test_application_site session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"ApplicationSite": {
"application-id": 1073741861,
"description": "",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"groups": [],
"name": "test_application_site",
"primary-category": "Test Category",
"type": "application-site",
"uid": "ccc788d1-b798-4e5c-8530-a6c375853730",
"url-list": [
"qmasters.co"
]
}
}
}

Human Readable Output#

CheckPoint data for updating an application site#

nameuidtypeapplication-idprimary-categoryurl-listdomain-namedomain-uid
test_application_siteccc788d1-b798-4e5c-8530-a6c375853730application-site1073741861Test Categoryqmasters.coSMC User41e821a0-3720-11e3-aa6e-0800200c9fde

checkpoint-application-site-delete#


Delete existing application site object using object name or uid.

Base Command#

checkpoint-application-site-delete

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID.Required

Context Output#

PathTypeDescription
CheckPoint.ApplicationSite.messageStringOperation status.

Command Example#

!checkpoint-application-site-delete identifier=test_application_site session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"ApplicationSite": {
"message": "OK"
}
}
}

Human Readable Output#

CheckPoint data for deleting application site : test_application_site#

message
OK

checkpoint-publish#


publish changes

Base Command#

checkpoint-publish

Input#

Argument NameDescriptionRequired
session_idExecutes the command with the specified session ID.Required

Context Output#

PathTypeDescription
CheckPoint.Publish.task-idStringTask id of the publish command.

Command Example#

!checkpoint-publish session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"Publish": {
"task-id": "01234567-89ab-cdef-9338-e44df5384ac3"
}
}
}

Human Readable Output#

CheckPoint data for publishing current session#

task-id
01234567-89ab-cdef-9338-e44df5384ac3

checkpoint-install-policy#


Intsalling policy

Base Command#

checkpoint-install-policy

Input#

Argument NameDescriptionRequired
policy_packageThe name of the Policy Package to install.Required
targetsThe targets on which to execute this command. Targets can be identified by their name, or object unique identifier.Required
accessIf "True", will install the Access Control policy.Optional
session_idExecutes the command with the specified session ID.Required

Context Output#

PathTypeDescription
CheckPoint.InstallPolicy.task-idStringOperation task ID.

Command Example#

!checkpoint-install-policy policy_package=standard targets=test-gw session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"InstallPolicy": {
"task-id": "d461078b-cc1e-41b6-869b-096438673323"
}
}
}

Human Readable Output#

CheckPoint data for installing policy#

task-id
d461078b-cc1e-41b6-869b-096438673323

checkpoint-verify-policy#


Verifies the policy of the selected package.

Base Command#

checkpoint-verify-policy

Input#

Argument NameDescriptionRequired
policy_packageThe name of the Policy Package to verify.Required
session_idExecutes the command with the specified session ID.Required

Context Output#

PathTypeDescription
CheckPoint.VerifyPolicy.task-idStringOperation task ID.

Command Example#

!checkpoint-policy-verify policy_package=standard session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Human Readable Output#

checkpoint-show-task#


Show task progress and details.

Base Command#

checkpoint-show-task

Input#

Argument NameDescriptionRequired
task_idUnique identifier of one or more tasks.Required
session_idExecutes the command with the specified session ID.Optional

Context Output#

PathTypeDescription
CheckPoint.ShowTask.task-idStringTask ID
CheckPoint.ShowTask.task-nameStringTask name
CheckPoint.ShowTask.statusStringTask status
CheckPoint.ShowTask.progress-percentageUnknownTask prograss in percentage
CheckPoint.ShowTask.suppressedBooleanIndicates if the task is suppressed

Command Example#

!checkpoint-show-task task_id=01234567-89ab-cdef-997f-2e3e3b4b2541

Context Example#

{
"CheckPoint": {
"ShowTask": {
"progress-percentage": 100,
"status": "succeeded",
"suppressed": false,
"task-id": "01234567-89ab-cdef-997f-2e3e3b4b2541",
"task-name": "Publish operation"
}
}
}

Human Readable Output#

CheckPoint data for tasks#

task-nametask-idstatussuppressedprogress-percentage
Publish operation01234567-89ab-cdef-997f-2e3e3b4b2541succeededfalse100

checkpoint-login-and-get-session-id#


Login to CheckPoint and get the session id

Base Command#

checkpoint-login-and-get-session-id

Input#

Argument NameDescriptionRequired
session_timeoutSession expiration timeout in seconds. Default is 600 seconds. Session timeout range is between 600 to 3600 seconds.Optional
domainOptional domain to start session in, for use with MDS login only.Optional

Context Output#

PathTypeDescription
CheckPoint.Login.session-idStringSession ID

Command Example#

!checkpoint-login-and-get-session-id
!checkpoint-login-and-get-session-id domain='Corp'

Context Example#

{
"CheckPoint": {
"Login": {
"session-id": "LoUhF29pRkJsBiIWlMdBFy1LhHWXzE0VJT_lWpz4v0k"
}
}
}

Human Readable Output#

CheckPoint session data#

session-id
LoUhF29pRkJsBiIWlMdBFy1LhHWXzE0VJT_lWpz4v0k

checkpoint-logout#


Logout from a given session

Base Command#

checkpoint-logout

Input#

Argument NameDescriptionRequired
session_idSession ID to log out from.Required

Context Output#

There is no context output for this command.

Command Example#

!checkpoint-logout session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{}

Human Readable Output#

OK

checkpoint-packages-list#


List all packages.

Base Command#

checkpoint-packages-list

Input#

Argument NameDescriptionRequired
limitThe maximum number of results to return. Default is 50.Optional
offsetNumber of the results to initially skip. Default is 0.Optional
session_idExecutes the command with the specified session ID.Optional

Context Output#

PathTypeDescription
CheckPoint.Packages.nameStringName of the package
CheckPoint.Packages.uidStringUID of the package
CheckPoint.Packages.typeStringType of the package
CheckPoint.Packages.domain-nameStringDomain name
CheckPoint.Packages.domain-uidStringDomain uid
CheckPoint.Packages.domain-typeStringDomain type

Command Example#

!checkpoint-packages-list session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"Packages": [
{
"name": "BenLayer",
"type": "package",
"uid": "9daac370-ad2d-4a21-a503-a312755aceaf"
},
{
"name": "Standard",
"type": "package",
"uid": "ca4e32a8-bee0-423c-84f0-19bab6751d5e"
}
]
}
}

Human Readable Output#

CheckPoint data for all packages#

nameuidtype
BenLayer9daac370-ad2d-4a21-a503-a312755aceafpackage
Standardca4e32a8-bee0-423c-84f0-19bab6751d5epackage

checkpoint-gateways-list#


Retrieve all gateways and servers

Base Command#

checkpoint-gateways-list

Input#

Argument NameDescriptionRequired
limitThe maximum number of results to return. Default is 50.Optional
offsetNumber of the results to initially skip. Default is 0.Optional
session_idExecutes the command with the specified session ID.Optional

Context Output#

PathTypeDescription
CheckPoint.Gateways.nameStringGateway name
CheckPoint.Gateways.uidStringGateway uid
CheckPoint.Gateways.typeStringGateway type
CheckPoint.Gateways.versionStringGateway vesion
CheckPoint.Gateways.network-security-bladesStringGateway network security blades
CheckPoint.Gateways.management-bladesStringGateway management blades
CheckPoint.Gateways.domain-nameStringDomain name
CheckPoint.Gateways.domain-uidStringDomain UID
CheckPoint.Gateways.domain-typeStringDoamin type

Command Example#

!checkpoint-gateways-list session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"Gateways": [
{
"management-blades": {
"logging-and-status": true,
"network-policy-management": true
},
"name": "gw-88a290",
"network-security-blades": {},
"type": "CpmiHostCkp",
"uid": "98bee60f-23ab-bf41-ba29-4c574b9d6f7c",
"version": "R80.30"
},
{
"management-blades": {},
"name": "test-gw",
"network-security-blades": {
"firewall": true
},
"type": "simple-gateway",
"uid": "3b83b6cb-d3cb-4596-8d90-ba9735d7d53c",
"version": "R80.30"
}
]
}
}

Human Readable Output#

CheckPoint data for all gateways#

nameuidtypeversionnetwork-security-bladesmanagement-blades
gw-88a29098bee60f-23ab-bf41-ba29-4c574b9d6f7cCpmiHostCkpR80.30network-policy-management: true
logging-and-status: true
test-gw3b83b6cb-d3cb-4596-8d90-ba9735d7d53csimple-gatewayR80.30firewall: true

checkpoint-application-site-category-list#


Retrieve all application site category.

Base Command#

checkpoint-application-site-category-list

Input#

Argument NameDescriptionRequired
limitThe maximum number of results to return. Default is 50.Optional
offsetNumber of the results to initially skip. Default is 0.Optional
session_idExecutes the command with the specified session ID.Optional

Context Output#

PathTypeDescription
CheckPoint.ApplicationSiteCategory.nameStringName of the package
CheckPoint.ApplicationSiteCategory.uidStringUID of the package
CheckPoint.ApplicationSiteCategory.typeStringType of the package
CheckPoint.ApplicationSiteCategory.domain-nameStringDomain name
CheckPoint.ApplicationSiteCategory.domain-uidStringDomain uid
CheckPoint.ApplicationSiteCategory.domain-typeStringDomain type

Command Example#

!checkpoint-application-site-category-list limit=5

Context Example#

{
"CheckPoint": {
"ApplicationSiteCategory": [
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "0new_app_site_category",
"read-only": null,
"type": "application-site-category",
"uid": "d42e14e7-1c50-48d5-9412-2306dc8e5219"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "0new_category_1",
"read-only": null,
"type": "application-site-category",
"uid": "13e91cb3-1025-41a5-8203-89e28102f82f"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "0new_category_2",
"read-only": null,
"type": "application-site-category",
"uid": "f49849de-9132-479d-b73a-56696976c235"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "0new_category_3",
"read-only": null,
"type": "application-site-category",
"uid": "51ebf347-290f-4d8c-b99d-7aba73a5698c"
},
{
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "0new_category_4",
"read-only": null,
"type": "application-site-category",
"uid": "6b996605-099c-41fa-a4c6-1733ff895bac"
}
]
}
}

Human Readable Output#

CheckPoint data for all application site category#

nameuidtype
0new_app_site_categoryd42e14e7-1c50-48d5-9412-2306dc8e5219application-site-category
0new_category_113e91cb3-1025-41a5-8203-89e28102f82fapplication-site-category
0new_category_2f49849de-9132-479d-b73a-56696976c235application-site-category
0new_category_351ebf347-290f-4d8c-b99d-7aba73a5698capplication-site-category
0new_category_46b996605-099c-41fa-a4c6-1733ff895bacapplication-site-category

checkpoint-application-site-category-add#


Add new application site category

Base Command#

checkpoint-application-site-category-add

Input#

Argument NameDescriptionRequired
identifierObject name or uid. Must be unique in the domain.Required
groupsCollection of group identifiers.Optional
session_idExecutes the command with the specified session ID.Required

Context Output#

PathTypeDescription
CheckPoint.ApplicationSiteCategory.nameStringobject name
CheckPoint.ApplicationSiteCategory.uidStringobject uid
CheckPoint.ApplicationSiteCategory.typeStringobject type
CheckPoint.ApplicationSiteCategory.descriptionStringA description for the application.
CheckPoint.ApplicationSiteCategory.domain-nameStringdomain name
CheckPoint.ApplicationSiteCategory.domain-uidStringdomain uid
CheckPoint.ApplicationSiteCategory.domain-typeStringdomain name
CheckPoint.ApplicationSiteCategory.creatorStringIndicates the creator of the object
CheckPoint.ApplicationSiteCategory.last-modifierStringIndicates the last user modified this object
CheckPoint.ApplicationSiteCategory.groupsUnknownCollection of group identifiers

Command Example#

!checkpoint-application-site-category-add identifier=application_site_category_0101 session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"ApplicationSite": {
"application-id": null,
"creator": "adminsh",
"description": "",
"domain-name": "SMC User",
"domain-type": null,
"domain-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde",
"groups": [],
"last-modifier": "adminsh",
"name": "application_site_category_0101",
"type": "application-site-category",
"uid": "5fb2e946-7e9c-42db-8b0a-cf5056f427d8",
"url-list": null
}
}
}

Human Readable Output#

CheckPoint data for adding application site category application_site_category_0101#

nameuidtypedomain-namedomain-uidcreatorlast-modifier
application_site_category_01015fb2e946-7e9c-42db-8b0a-cf5056f427d8application-site-categorySMC User41e821a0-3720-11e3-aa6e-0800200c9fdeadminshadminsh

checkpoint-application-site-category-get#


Retrieve application site category object using object name or uid.

Base Command#

checkpoint-application-site-category-get

Input#

Argument NameDescriptionRequired
identifierapplication site category object name or UID.Required
session_idExecutes the command with the specified session ID.Optional

Context Output#

PathTypeDescription
CheckPoint.ApplicationSiteCategory.nameUnknownhost name
CheckPoint.ApplicationSiteCategory.uidStringobject uid
CheckPoint.ApplicationSiteCategory.typeUnknownobject type
CheckPoint.ApplicationSiteCategory.domain-nameStringdomain name
CheckPoint.ApplicationSiteCategory.domain-uidStringdomain uid
CheckPoint.ApplicationSiteCategory.read-onlyBooleanindicates if the object is read only
CheckPoint.ApplicationSiteCategory.creatorStringindicates the creator of the object
CheckPoint.ApplicationSiteCategory.last-modifierStringindicates the last user modified the object

Command Example#

!checkpoint-application-site-category-get identifier=Alcohol

Context Example#

{
"CheckPoint": {
"ApplicationSiteCategory": {
"creator": "System",
"domain-name": "APPI Data",
"domain-type": null,
"domain-uid": "8bf4ac51-2df7-40e1-9bce-bedbedbedbed",
"groups": [],
"ipv4-address": null,
"last-modifier": "System",
"name": "Alcohol",
"read-only": false,
"type": "application-site-category",
"uid": "00fa9e44-409e-0f65-e053-08241dc22da2"
}
}
}

Human Readable Output#

CheckPoint data for adding application site category#

nameuidtypedomain-namedomain-uidread-onlycreatorlast-modifier
Alcohol00fa9e44-409e-0f65-e053-08241dc22da2application-site-categoryAPPI Data8bf4ac51-2df7-40e1-9bce-bedbedbedbedfalseSystemSystem

checkpoint-show-objects#


Retrieve data about objects.

Base Command#

checkpoint-show-objects

Input#

Argument NameDescriptionRequired
limitThe maximum number of results to return. Default is 50.Optional
offsetNumber of the results to initially skip. Default is 0.Optional
filter_searchSearch expression to filter objects by. 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. By default, the search involves both a textual search and a IP search. To use IP search only, set the "ip-only" parameter to true.Optional
ip_onlyIf using "filter", use this field to search objects by their IP address only, without involving the textual search.Optional
object_typeThe object type, e.g.: host, service-tcp, network, address-range. Default value is object.Optional
session_idExecutes the command with the specified session ID.Optional

Context Output#

PathTypeDescription
CheckPoint.Objects.nameStringObject name.
CheckPoint.Objects.uidStringObject UID.
CheckPoint.Objects.typeStringObject type.
CheckPoint.Objects.ipv4-addressStringIPv4 address of the specified object.
CheckPoint.Objects.ipv6-addressStringIPv6 address of the specified object.
CheckPoint.Objects.domain-nameStringDomain name.
CheckPoint.Objects.domain-uidStringDomain UID.
CheckPoint.Objects.creatorStringThe creator of the object.
CheckPoint.Objects.last-modifierStringThe user that last modified the object.
CheckPoint.Objects.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.Objects.groupsUnknownCollection of group identifiers.

Command Example#

!checkpoint-show-objects limit=3 filter_search=1.2.3.4 ip_only=true

Context Example#

{
"CheckPoint": {
"Objects": {
"creator": null,
"domain-name": null,
"domain-uid": null,
"groups": null,
"ipv4-address": null,
"last-modifier": null,
"name": "All_Internet",
"read-only": null,
"type": "address-range",
"uid": "f90e0a2b-f166-427a-b47f-a107b6fe43b9"
}
}
}

Human Readable Output#

CheckPoint data for objects#

nameuidtype
All_Internetf90e0a2b-f166-427a-b47f-a107b6fe43b9address-range

checkpoint-package-list#


Get checkpoint-packages details.

Base Command#

checkpoint-package-list

Input#

Argument NameDescriptionRequired
identifierThe object unique identifier or name.Required
session_idThe session ID used to execute the command.Optional

Context Output#

PathTypeDescription
CheckPoint.Package.nameStringThe name of the package.
CheckPoint.Package.target-nameStringThe name of the targe.
CheckPoint.Package.target-uidStringThe UID of the target.
CheckPoint.Package.revision.domain.domain-typeStringThe type of the domain.
CheckPoint.Package.revision.domain.nameStringThe name of the domain.
CheckPoint.Package.revision.domain.uidStringThe UID of the domain.
CheckPoint.Package.revision.typeStringThe type of the revision.
CheckPoint.Package.revision.uidStringThe UID of the revision.

Command Example#

!checkpoint-package-list identifier=Standard session_id=GFcJQ9N-Zv8eG33qc4WQ7d4zmdsNvK_l3GcnOUqo8ew

Context Example#

{
"CheckPoint": {
"Package": {
"name": "Standard",
"target-name": "Host1",
"target-uid": "41e821a0-3720-11e3-aa6e-0800200c9fde"
"revision": {
"domain": {
"name": "test",
"domain-type": "domain",
"uid": "41e821a0-3720-11e3-aa6e-0800200c9fde"
},
"type": "session",
"uid", "41e821a0-3720-11e3-aa6e-0800200c9fde"
}
}
}
}

Human Readable Output#

CheckPoint data for objects#

target-namenametarget-uidrevision
Host1Standard41e821a0-3720-11e3-aa6e-0800200c9fde"domain": {
"name": "test",
"domain-type": "domain",
"uid": "41e821a0-3720-11e3-aa6e-0800200c9fde"
},
"type": "session",
"uid", "41e821a0-3720-11e3-aa6e-0800200c9fde"

checkpoint-add-objects-batch#


Creates new objects in batch. To achieve optimum performance when adding more than one object, use this API. Note: Errors and warnings are ignored when using this API, operation will apply changes while ignoring errors. It is not possible to publish changes that contain validations errors.

Base Command#

checkpoint-add-objects-batch

Input#

Argument NameDescriptionRequired
session_idExecutes the command with the specified session ID.Required
object_typeType of objects to be created.Required
ipaddressip addresses to be added.Required
namenames of the ip objects to be added.Required

Context Output#

PathTypeDescription
CheckPoint.AddObjectBatch.task-idstringTask id of the add-objects-batch command.

checkpoint-delete-objects-batch#


Deletes existing objects in batch using object name or uid. To achieve optimum performance when deleting more than one object, use this API.

Base Command#

checkpoint-delete-objects-batch

Input#

Argument NameDescriptionRequired
session_idExecutes the command with the specified session ID.Required
namea comma separated list of names of the ip objects to be deleted.Required
object_typeType of objects to be deleted.Required

Context Output#

PathTypeDescription
CheckPoint.DeleteObjectsBatch.task-idstringTask id of the delete-objects-batch command.

checkpoint-show-threat-protection#


Shows an existing threat protection using object name or uid

Base Command#

checkpoint-show-threat-protection

Input#

Argument NameDescriptionRequired
uidOptional
nameOptional
showProfilesOptional
additionalPropertiesOptional

Context Output#

PathTypeDescription
CheckPoint.ShowThreatProtectionunknown

checkpoint-show-threat-protections#


Shows existing threat protections using a filter

Base Command#

checkpoint-show-threat-protections

Input#

Argument NameDescriptionRequired
filterOptional
limitOptional
offsetOptional
orderOptional

Context Output#

PathTypeDescription
CheckPoint.ShowThreatProtectionsunknown

checkpoint-set-threat-protection#


Edit existing object using object name or uid.

Base Command#

checkpoint-set-threat-protection

Input#

Argument NameDescriptionRequired
uidOptional
nameOptional
commentsOptional
follow_upOptional
actionOptional
trackOptional
capturePacketsOptional
profilesOptional

Context Output#

PathTypeDescription
CheckPoint.SetThreatProtectionsunknown

checkpoint-add-threat-profile#


Add a new threat profile

Base Command#

checkpoint-add-threat-profile

Input#

Argument NameDescriptionRequired
nameRequired
active_protections_performance_impactOptional
active_protections_severityOptional
confidence_level_highOptional
confidence_level_lowOptional
confidence_level_mediumOptional
ips_settingsOptional
tagsOptional
use_indicatorsOptional
anti_botOptional
anti_virusOptional
ipsOptional
threat_emulationOptional
exclude_protection_with_performance_impactOptional
exclude_protection_with_performance_impact_modeOptional
exclude_protection_with_severityOptional
exclude_protection_with_severity_modeOptional
newly_updated_protectionsOptional

Context Output#

PathTypeDescription
CheckPoint.AddedThreatProfilesunknown

checkpoint-delete-threat-protections#


Deletes threat protections.

Base Command#

checkpoint-delete-threat-protections

Input#

Argument NameDescriptionRequired
packageFormatValid response is "snort".Required

Context Output#

PathTypeDescription
CheckPoint.DeletedThreatProtectionsunknown

checkpoint-service-group-delete#


Deletes the specified service group object.

Base Command#

checkpoint-service-group-delete

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: uid, standard, full. Default is standard.Optional
ignore_warningsApply changes ignoring warnings. Possible values are: true, false. Default is false.Optional
ignore_errorsApply changes ignoring errors. You won't be able to publish such changes.
If ignore-warnings flag was omitted - warnings will also be ignored. Possible values are: true, false. Default is false.
Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

There is no context output for this command.

checkpoint-service-group-list#


Gets a list of all service group objects.

Base Command#

checkpoint-service-group-list

Input#

Argument NameDescriptionRequired
filterSearch expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The logical operators in the expression ('AND', 'OR') should be provided in capital letters. The search involves both a IP search and a textual search in name, comment, tags etc.Optional
limitThe maximum number of results to return. API default is 50.Optional
offsetNumber of results to initially skip. API default is 0.Optional
orderDefine the sort order using a single string made of comma-separated direction:field pairs. The direction can be ASC or DESC. Example: "ASC:type,ASC:name,DESC:uid". Automatically sorts the results by Name, in the ascending order.Optional
show_as_rangesWhen true, the service group's matched content is displayed as ranges of port numbers rather than service objects. Objects that are not represented using port numbers are presented as objects. The 'members' parameter is omitted from the response and instead the 'ranges' parameter is displayed. Possible values are: true, false. Default is false.Optional
dereference_group_membersIndicates whether to dereference "members" field by details level for every object in reply. Possible values are: true, false. Default is false.Optional
show_membershipIndicates whether to calculate and show "groups" field for every object in reply. Possible values are: true, false. Default is false.Optional
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: uid, standard, full. Default is standard.Optional
domains_to_processIndicates which domains to process the commands on. It cannot be used with details_level set to 'full'. Must be run from the System Domain. Possible values are: CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.ServiceGroup.nameStringObject name.
CheckPoint.ServiceGroup.uidStringObject unique identifier.
CheckPoint.ServiceGroup.typeStringObject type.
CheckPoint.ServiceGroup.domain.nameStringDomain name.
CheckPoint.ServiceGroup.domain.uidStringDomain UID.
CheckPoint.ServiceGroup.domain.domain-typeStringDomain type.

checkpoint-access-section-add#


Adds a new access section.

Base Command#

checkpoint-access-section-add

Input#

Argument NameDescriptionRequired
layerLayer that the rule belongs to identified by the name or UID.Required
position_ruleRule name. Add rule relatively to another rule or section.Optional
positionThe position of the rule. Possible values are: top, above, below, bottom.Required
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: uid, standard, full. Default is standard.Optional
nameObject name. Must be unique in the domain.Optional
tagsCollection of tag identifiers.Optional
ignore_warningsApply changes ignoring warnings. Possible values are: true, false. Default is false.Optional
ignore_errorsApply changes ignoring errors. You won't be able to publish such changes.
If ignore-warnings flag was omitted - warnings will also be ignored. Possible values are: true, false. Default is false.
Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.AccessSection.nameStringObject name.
CheckPoint.AccessSection.uidStringObject unique identifier.
CheckPoint.AccessSection.typeStringObject type.
CheckPoint.AccessSection.domain.nameStringDomain name.
CheckPoint.AccessSection.domain.uidStringDomain UID.
CheckPoint.AccessSection.domain.domain-typeStringDomain type.

checkpoint-service-group-add#


Adds a new service group object.

Base Command#

checkpoint-service-group-add

Input#

Argument NameDescriptionRequired
nameObject name. Must be unique in the domain.Required
membersCollection of Network objects identified by the name or UID.Optional
colorColor of the object. Should be one of existing colors. Possible values are: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default is black.Optional
commentsComments string.Optional
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: uid, standard, full. Default is standard.Optional
groupsCollection of group identifiers.Optional
tagsCollection of tag identifiers.Optional
ignore_warningsApply changes ignoring warnings. Possible values are: true, false. Default is false.Optional
ignore_errorsApply changes ignoring errors. You won't be able to publish such changes.
If ignore-warnings flag was omitted - warnings will also be ignored. Possible values are: true, false. Default is false.
Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.ServiceGroup.nameStringObject name.
CheckPoint.ServiceGroup.uidStringObject unique identifier.
CheckPoint.ServiceGroup.typeStringObject type.
CheckPoint.ServiceGroup.domain.nameStringDomain name.
CheckPoint.ServiceGroup.domain.uidStringDomain UID.
CheckPoint.ServiceGroup.domain.domain-typeStringDomain type.
CheckPoint.ServiceGroup.members.nameStringMember object name.
CheckPoint.ServiceGroup.members.uidStringMember object UID.
CheckPoint.ServiceGroup.members.typeStringMember object type.
CheckPoint.ServiceGroup.groups.nameStringGroup name.
CheckPoint.ServiceGroup.groups.uidStringGroup UID.
CheckPoint.ServiceGroup.tags.nameStringTag name.
CheckPoint.ServiceGroup.tags.uidStringTag UID.

checkpoint-access-section-delete#


Deletes the specified access section.

Base Command#

checkpoint-access-section-delete

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
layerLayer that the rule belongs to identified by the name or UID.Required
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: uid, standard, full. Default is standard.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

There is no context output for this command.

checkpoint-service-group-get#


Shows an existing service group object using object name or uid.

Base Command#

checkpoint-service-group-get

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
show_as_rangesWhen true, the service group's matched content is displayed as ranges of port numbers rather than service objects. Objects that are not represented using port numbers are presented as objects. The 'members' parameter is omitted from the response and instead the 'ranges' parameter is displayed. Possible values are: true, false. Default is false.Optional
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: uid, standard, full. Default is standard.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.ServiceGroup.nameStringObject name.
CheckPoint.ServiceGroup.uidStringObject unique identifier.
CheckPoint.ServiceGroup.typeStringObject type.
CheckPoint.ServiceGroup.domain.nameStringDomain name.
CheckPoint.ServiceGroup.domain.uidStringDomain UID.
CheckPoint.ServiceGroup.domain.domain-typeStringDomain type.
CheckPoint.ServiceGroup.members.nameStringMember object name.
CheckPoint.ServiceGroup.members.uidStringMember object UID.
CheckPoint.ServiceGroup.members.typeStringMember object type.
CheckPoint.ServiceGroup.groups.nameStringGroup name.
CheckPoint.ServiceGroup.groups.uidStringGroup UID.
CheckPoint.ServiceGroup.tags.nameStringTag name.
CheckPoint.ServiceGroup.tags.uidStringTag UID.

checkpoint-service-group-update#


Updates the specified service group object.

Base Command#

checkpoint-service-group-update

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
members_actionWhen the action is "add" or "remove", the members list is wrapped as {members_action: members}. Otherwise, members are sent without an action. Possible values are: add, remove.Optional
membersList of Network objects identified by the name or UID.Optional
new_nameNew name of the object.Optional
colorColor of the object. Should be one of existing colors. Possible values are: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default is black.Optional
commentsComments string.Optional
ignore_warningsApply changes ignoring warnings. Possible values are: true, false. Default is false.Optional
ignore_errorsApply changes ignoring errors. You won't be able to publish such changes.
If ignore-warnings flag was omitted - warnings will also be ignored. Possible values are: true, false. Default is false.
Optional
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: uid, standard, full. Default is standard.Optional
groups_actionWhen the action is "add" or "remove", the groups list is wrapped as {groups_action: groups}. Otherwise, groups are sent without an action. Possible values are: add, remove.Optional
groupsList of group identifiers.Optional
tags_actionWhen the action is "add" or "remove", the tags list is wrapped as {tags_action: tags}. Otherwise, tags are sent without an action. Possible values are: add, remove.Optional
tagsList of tag identifiers.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.ServiceGroup.nameStringObject name.
CheckPoint.ServiceGroup.uidStringObject unique identifier.
CheckPoint.ServiceGroup.typeStringObject type.
CheckPoint.ServiceGroup.domain.nameStringDomain name.
CheckPoint.ServiceGroup.domain.uidStringDomain UID.
CheckPoint.ServiceGroup.domain.domain-typeStringDomain type.
CheckPoint.ServiceGroup.members.nameStringMember object name.
CheckPoint.ServiceGroup.members.uidStringMember object UID.
CheckPoint.ServiceGroup.members.typeStringMember object type.
CheckPoint.ServiceGroup.groups.nameStringGroup name.
CheckPoint.ServiceGroup.groups.uidStringGroup UID.
CheckPoint.ServiceGroup.tags.nameStringTag name.
CheckPoint.ServiceGroup.tags.uidStringTag UID.

checkpoint-service-group-clone#


Clones an existing service group object.

Base Command#

checkpoint-service-group-clone

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name of the service group to clone.Required
members_actionWhen the action is "add" or "remove", the members list is wrapped as {members_action: members}. Otherwise, members are sent without an action. Possible values are: add, remove.Optional
membersList of Network objects identified by the name or UID.Optional
new_nameNew name of the object.Optional
colorColor of the object. Should be one of existing colors. Possible values are: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default is black.Optional
commentsComments string.Optional
ignore_warningsApply changes ignoring warnings. Possible values are: true, false. Default is false.Optional
ignore_errorsApply changes ignoring errors. You won't be able to publish such changes.
If ignore-warnings flag was omitted - warnings will also be ignored. Possible values are: true, false. Default is false.
Optional
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: uid, standard, full. Default is standard.Optional
groups_actionWhen the action is "add" or "remove", the groups list is wrapped as {groups_action: groups}. Otherwise, groups are sent without an action. Possible values are: add, remove.Optional
groupsList of group identifiers.Optional
tags_actionWhen the action is "add" or "remove", the tags list is wrapped as {tags_action: tags}. Otherwise, tags are sent without an action. Possible values are: add, remove.Optional
tagsList of tag identifiers.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.ServiceGroup.nameStringObject name.
CheckPoint.ServiceGroup.uidStringObject unique identifier.
CheckPoint.ServiceGroup.typeStringObject type.
CheckPoint.ServiceGroup.domain.nameStringDomain name.
CheckPoint.ServiceGroup.domain.uidStringDomain UID.
CheckPoint.ServiceGroup.domain.domain-typeStringDomain type.
CheckPoint.ServiceGroup.members.nameStringMember object name.
CheckPoint.ServiceGroup.members.uidStringMember object UID.
CheckPoint.ServiceGroup.members.typeStringMember object type.
CheckPoint.ServiceGroup.groups.nameStringGroup name.
CheckPoint.ServiceGroup.groups.uidStringGroup UID.
CheckPoint.ServiceGroup.tags.nameStringTag name.
CheckPoint.ServiceGroup.tags.uidStringTag UID.

checkpoint-access-section-update#


Updates the specified access section.

Base Command#

checkpoint-access-section-update

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
layerLayer that the rule belongs to identified by the name or UID.Required
new_nameNew name of the object.Optional
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: uid, standard, full. Default is standard.Optional
tags_actionWhen the action is "add" or "remove", the tags list is wrapped as {tags_action: tags}. Otherwise, tags are sent without an action. Possible values are: add, remove.Optional
tagsList of tag identifiers.Optional
ignore_warningsApply changes ignoring warnings. Possible values are: true, false. Default is false.Optional
ignore_errorsApply changes ignoring errors. You won't be able to publish such changes.
If ignore-warnings flag was omitted - warnings will also be ignored. Possible values are: true, false. Default is false.
Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.AccessSection.nameStringObject name.
CheckPoint.AccessSection.uidStringObject unique identifier.
CheckPoint.AccessSection.typeStringObject type.
CheckPoint.AccessSection.domain.nameStringDomain name.
CheckPoint.AccessSection.domain.uidStringDomain UID.
CheckPoint.AccessSection.domain.domain-typeStringDomain type.

checkpoint-access-section-get#


Shows an existing access section using object name or uid.

Base Command#

checkpoint-access-section-get

Input#

Argument NameDescriptionRequired
layerLayer that the rule belongs to identified by the name or UID.Required
identifierObject unique identifier (UID) or name.Required
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: uid, standard, full. Default is standard.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.AccessSection.nameStringObject name.
CheckPoint.AccessSection.uidStringObject unique identifier.
CheckPoint.AccessSection.typeStringObject type.
CheckPoint.AccessSection.domain.nameStringDomain name.
CheckPoint.AccessSection.domain.uidStringDomain UID.
CheckPoint.AccessSection.domain.domain-typeStringDomain type.

checkpoint-network-get#


Gets full data for the specified network object.

Base Command#

checkpoint-network-get

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID. Default is None.Optional
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: standard, full, uid.Optional

Context Output#

PathTypeDescription
CheckPoint.Network.nameStringObject name.
CheckPoint.Network.uidStringObject UID.
CheckPoint.Network.typeStringObject type.
CheckPoint.Network.domain.nameStringDomain name.
CheckPoint.Network.domain.uidStringDomain UID.
CheckPoint.Network.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.Network.meta-info.creatorStringThe creator of the object.
CheckPoint.Network.meta-info.last-modifierStringThe user that last modified the object.

checkpoint-network-list#


Retrieve a list of network objects.

Base Command#

checkpoint-network-list

Input#

Argument NameDescriptionRequired
limitThe maximum number of results to return. Default is 50. Max is 500.Optional
offsetNumber of results to initially skip. Default is 0.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional
details_levelThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Possible values are: standard, full, uid.Optional

Context Output#

PathTypeDescription
CheckPoint.Network.nameStringObject name.
CheckPoint.Network.uidStringObject UID.
CheckPoint.Network.typeStringObject type.

checkpoint-network-add#


Create a new network object.

Base Command#

checkpoint-network-add

Input#

Argument NameDescriptionRequired
identifierObject name. Must be unique in the domain.Required
subnetIPv4 network address.Required
mask_lengthIPv4 network mask length (e.g. 24).Optional
subnet_maskIPv4 network mask (e.g. 255.255.255.0).Optional
commentsComments string.Optional
colorColor of the object. Possible values are: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default is black.Optional
tagsCollection of tag identifiers.Optional
broadcastAllow broadcast address inclusion. Possible values are: disallow, allow.Optional
nat_install_onGateway for NAT rule.Optional
nat_hide_behindHide behind method. This parameter is forbidden when nat_method is "static". Possible values are: gateway, ip_address.Optional
nat_settings_auto_ruleWhether to add automatic address translation rules. Possible values are: true, false. Default is false.Optional
nat_settings_ipIPv4 address. This parameter is not required when nat_method is "hide" and nat_hide_behind is "gateway".Optional
nat_methodNAT translation method. Possible values are: hide, static.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.Network.nameStringObject name.
CheckPoint.Network.uidStringObject UID.
CheckPoint.Network.typeStringObject type.
CheckPoint.Network.domain.nameStringDomain name.
CheckPoint.Network.domain.uidStringDomain UID.
CheckPoint.Network.domain.domain-typeStringDomain type.
CheckPoint.Network.meta-info.creatorStringThe creator of the object.
CheckPoint.Network.meta-info.last-modifierStringThe user that last modified the object.
CheckPoint.Network.read-onlyBooleanIndicates if the object is read-only.

checkpoint-network-update#


Update an existing network object.

Base Command#

checkpoint-network-update

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
new_identifierNew name of the object.Optional
subnetIPv4 network address.Optional
subnet_maskIPv4 network mask (e.g. 255.255.255.0).Optional
commentsComments string.Optional
colorColor of the object. Possible values are: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default is black.Optional
tagsCollection of tag identifiers.Optional
broadcastAllow broadcast address inclusion. Possible values are: disallow, allow.Optional
nat_install_onGateway for NAT rule.Optional
nat_hide_behindHide behind method. This parameter is forbidden when nat_method is "static". Possible values are: gateway, ip_address.Optional
nat_settings_auto_ruleWhether to add automatic address translation rules. Possible values are: true, false. Default is false.Optional
nat_settings_ipIPv4 address. This parameter is not required when nat_method is "hide" and nat_hide_behind is "gateway".Optional
nat_methodNAT translation method. Possible values are: hide, static.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.Network.nameStringObject name.
CheckPoint.Network.uidStringObject UID.
CheckPoint.Network.typeStringObject type.
CheckPoint.Network.domain.nameStringDomain name.
CheckPoint.Network.domain.uidStringDomain UID.
CheckPoint.Network.domain.domain-typeStringDomain type.
CheckPoint.Network.meta-info.creatorStringThe creator of the object.
CheckPoint.Network.meta-info.last-modifierStringThe user that last modified the object.
CheckPoint.Network.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.Network.commentsStringComments string.

checkpoint-network-delete#


Delete a network object.

Base Command#

checkpoint-network-delete

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID. Default is None.Optional
ignore_warningsWhether to ignore warnings when deleting the network object. Possible values are: true, false. Default is true.Optional

Context Output#

There is no context output for this command.

checkpoint-service-get#


Gets full data for the specified service object.

Base Command#

checkpoint-service-get

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID. Default is None.Optional
service_typeThe type of service to retrieve. Possible values are: tcp, udp, icmp.Required

Context Output#

PathTypeDescription
CheckPoint.TCPService.nameStringObject name.
CheckPoint.TCPService.uidStringObject UID.
CheckPoint.TCPService.typeStringObject type.
CheckPoint.TCPService.domain.nameStringDomain name.
CheckPoint.TCPService.domain.uidStringDomain UID.
CheckPoint.TCPService.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.TCPService.meta-info.creatorStringThe creator of the object.
CheckPoint.TCPService.meta-info.last-modifierStringThe user that last modified the object.
CheckPoint.TCPService.portStringThe number of the port used to provide this service.
CheckPoint.UDPService.nameStringObject name.
CheckPoint.UDPService.uidStringObject UID.
CheckPoint.UDPService.typeStringObject type.
CheckPoint.UDPService.domain.nameStringDomain name.
CheckPoint.UDPService.domain.uidStringDomain UID.
CheckPoint.UDPService.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.UDPService.meta-info.creatorStringThe creator of the object.
CheckPoint.UDPService.meta-info.last-modifierStringThe user that last modified the object.
CheckPoint.UDPService.portStringThe number of the port used to provide this service.
CheckPoint.ICMPService.nameStringObject name.
CheckPoint.ICMPService.uidStringObject UID.
CheckPoint.ICMPService.typeStringObject type.
CheckPoint.ICMPService.domain.nameStringDomain name.
CheckPoint.ICMPService.domain.uidStringDomain UID.
CheckPoint.ICMPService.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.ICMPService.meta-info.creatorStringThe creator of the object.
CheckPoint.ICMPService.meta-info.last-modifierStringThe user that last modified the object.
CheckPoint.ICMPService.icmp-typeNumberICMP type as listed in RFC 792.
CheckPoint.ICMPService.icmp-codeNumberICMP code as listed in RFC 792.

checkpoint-service-list#


Retrieve a list of service objects. When identifier is provided, returns a single service object.

Base Command#

checkpoint-service-list

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name. When provided, calls the single-object endpoint instead of the list endpoint.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional
service_typeThe type of service to retrieve. Possible values are: tcp, udp, icmp.Required
limitThe maximum number of results to return. Default is 50. Max is 500. Default is 50.Optional
offsetNumber of results to initially skip. Default is 0.Optional

Context Output#

PathTypeDescription
CheckPoint.TCPService.nameStringObject name.
CheckPoint.TCPService.uidStringObject UID.
CheckPoint.TCPService.typeStringObject type.
CheckPoint.TCPService.portStringThe number of the port used to provide this service.
CheckPoint.TCPService.domain.nameStringDomain name.
CheckPoint.TCPService.domain.uidStringDomain UID.
CheckPoint.TCPService.domain.domain-typeStringDomain type.
CheckPoint.UDPService.nameStringObject name.
CheckPoint.UDPService.uidStringObject UID.
CheckPoint.UDPService.typeStringObject type.
CheckPoint.UDPService.portStringThe number of the port used to provide this service.
CheckPoint.UDPService.domain.nameStringDomain name.
CheckPoint.UDPService.domain.uidStringDomain UID.
CheckPoint.UDPService.domain.domain-typeStringDomain type.
CheckPoint.ICMPService.nameStringObject name.
CheckPoint.ICMPService.uidStringObject UID.
CheckPoint.ICMPService.typeStringObject type.
CheckPoint.ICMPService.icmp-typeNumberICMP type as listed in RFC 792.
CheckPoint.ICMPService.icmp-codeNumberICMP code as listed in RFC 792.
CheckPoint.ICMPService.domain.nameStringDomain name.
CheckPoint.ICMPService.domain.uidStringDomain UID.
CheckPoint.ICMPService.domain.domain-typeStringDomain type.

checkpoint-tcp-service-add#


Create a new TCP service object.

Base Command#

checkpoint-tcp-service-add

Input#

Argument NameDescriptionRequired
identifierObject name. Must be unique in the domain.Required
session_idExecutes the command with the specified session ID. Default is None.Optional
portThe number of the port used to provide this service. To specify a port range, place a hyphen between the lowest and highest port numbers (for example, 44-55).Optional
commentsComments string.Optional
colorColor of the object. Possible values are: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default is black.Optional
session_timeoutTime (in seconds) before the session times out.Optional
tagsCollection of tag identifiers.Optional

Context Output#

PathTypeDescription
CheckPoint.TCPService.nameStringObject name.
CheckPoint.TCPService.uidStringObject UID.
CheckPoint.TCPService.typeStringObject type.
CheckPoint.TCPService.domain.nameStringDomain name.
CheckPoint.TCPService.domain.uidStringDomain UID.
CheckPoint.TCPService.domain.domain-typeStringDomain type.
CheckPoint.TCPService.meta-info.creatorStringThe creator of the object.
CheckPoint.TCPService.meta-info.last-modifierStringThe user that last modified the object.
CheckPoint.TCPService.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.TCPService.portStringThe number of the port used to provide this service.

checkpoint-udp-service-add#


Create a new UDP service object.

Base Command#

checkpoint-udp-service-add

Input#

Argument NameDescriptionRequired
identifierObject name. Must be unique in the domain.Required
session_idExecutes the command with the specified session ID. Default is None.Optional
portThe number of the port used to provide this service. To specify a port range, place a hyphen between the lowest and highest port numbers (for example, 44-55).Optional
commentsComments string.Optional
colorColor of the object. Possible values are: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default is black.Optional
session_timeoutTime (in seconds) before the session times out.Optional
tagsCollection of tag identifiers.Optional

Context Output#

PathTypeDescription
CheckPoint.UDPService.nameStringObject name.
CheckPoint.UDPService.uidStringObject UID.
CheckPoint.UDPService.typeStringObject type.
CheckPoint.UDPService.domain.nameStringDomain name.
CheckPoint.UDPService.domain.uidStringDomain UID.
CheckPoint.UDPService.domain.domain-typeStringDomain type.
CheckPoint.UDPService.meta-info.creatorStringThe creator of the object.
CheckPoint.UDPService.meta-info.last-modifierStringThe user that last modified the object.
CheckPoint.UDPService.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.UDPService.portStringThe number of the port used to provide this service.

checkpoint-icmp-service-add#


Create a new ICMP service object.

Base Command#

checkpoint-icmp-service-add

Input#

Argument NameDescriptionRequired
identifierObject name. Must be unique in the domain.Required
session_idExecutes the command with the specified session ID. Default is None.Optional
icmp_typeICMP type as listed in RFC 792. (default is 0).Optional
icmp_codeICMP code as listed in RFC 792. (default is 0).Optional
commentsComments string.Optional
colorColor of the object. Possible values are: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default is black.Optional
tagsCollection of tag identifiers.Optional

Context Output#

PathTypeDescription
CheckPoint.ICMPService.nameStringObject name.
CheckPoint.ICMPService.uidStringObject UID.
CheckPoint.ICMPService.typeStringObject type.
CheckPoint.ICMPService.domain.nameStringDomain name.
CheckPoint.ICMPService.domain.uidStringDomain UID.
CheckPoint.ICMPService.domain.domain-typeStringDomain type.
CheckPoint.ICMPService.meta-info.creatorStringThe creator of the object.
CheckPoint.ICMPService.meta-info.last-modifierStringThe user that last modified the object.
CheckPoint.ICMPService.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.ICMPService.icmp-typeNumberICMP type as listed in RFC 792.
CheckPoint.ICMPService.icmp-codeNumberICMP code as listed in RFC 792.

checkpoint-tcp-service-update#


Update an existing TCP service object.

Base Command#

checkpoint-tcp-service-update

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID. Default is None.Optional
new_identifierNew name of the object.Optional
portThe number of the port used to provide this service.Optional
commentsComments string.Optional
colorColor of the object. Possible values are: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default is black.Optional
tagsCollection of tag identifiers.Optional

Context Output#

PathTypeDescription
CheckPoint.TCPService.nameStringObject name.
CheckPoint.TCPService.uidStringObject UID.
CheckPoint.TCPService.typeStringObject type.
CheckPoint.TCPService.domain.nameStringDomain name.
CheckPoint.TCPService.domain.uidStringDomain UID.
CheckPoint.TCPService.domain.domain-typeStringDomain type.
CheckPoint.TCPService.meta-info.creatorStringThe creator of the object.
CheckPoint.TCPService.meta-info.last-modifierStringThe user that last modified the object.
CheckPoint.TCPService.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.TCPService.commentsStringComments string.
CheckPoint.TCPService.portStringThe number of the port used to provide this service.

checkpoint-udp-service-update#


Update an existing UDP service object.

Base Command#

checkpoint-udp-service-update

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID. Default is None.Optional
new_identifierNew name of the object.Optional
portThe number of the port used to provide this service.Optional
commentsComments string.Optional
colorColor of the object. Possible values are: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default is black.Optional
tagsCollection of tag identifiers.Optional

Context Output#

PathTypeDescription
CheckPoint.UDPService.nameStringObject name.
CheckPoint.UDPService.uidStringObject UID.
CheckPoint.UDPService.typeStringObject type.
CheckPoint.UDPService.domain.nameStringDomain name.
CheckPoint.UDPService.domain.uidStringDomain UID.
CheckPoint.UDPService.domain.domain-typeStringDomain type.
CheckPoint.UDPService.meta-info.creatorStringThe creator of the object.
CheckPoint.UDPService.meta-info.last-modifierStringThe user that last modified the object.
CheckPoint.UDPService.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.UDPService.commentsStringComments string.
CheckPoint.UDPService.portStringThe number of the port used to provide this service.

checkpoint-icmp-service-update#


Update an existing ICMP service object.

Base Command#

checkpoint-icmp-service-update

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID. Default is None.Optional
new_identifierNew name of the object.Optional
icmp_typeICMP type as listed in RFC 792.Optional
icmp_codeICMP code as listed in RFC 792.Optional
commentsComments string.Optional
colorColor of the object. Possible values are: aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow. Default is black.Optional
tagsCollection of tag identifiers.Optional

Context Output#

PathTypeDescription
CheckPoint.ICMPService.nameStringObject name.
CheckPoint.ICMPService.uidStringObject UID.
CheckPoint.ICMPService.typeStringObject type.
CheckPoint.ICMPService.domain.nameStringDomain name.
CheckPoint.ICMPService.domain.uidStringDomain UID.
CheckPoint.ICMPService.domain.domain-typeStringDomain type.
CheckPoint.ICMPService.meta-info.creatorStringThe creator of the object.
CheckPoint.ICMPService.meta-info.last-modifierStringThe user that last modified the object.
CheckPoint.ICMPService.read-onlyBooleanIndicates if the object is read-only.
CheckPoint.ICMPService.commentsStringComments string.
CheckPoint.ICMPService.icmp-typeNumberICMP type as listed in RFC 792.
CheckPoint.ICMPService.icmp-codeNumberICMP code as listed in RFC 792.

checkpoint-service-delete#


Delete a service object.

Base Command#

checkpoint-service-delete

Input#

Argument NameDescriptionRequired
identifierObject unique identifier (UID) or name.Required
session_idExecutes the command with the specified session ID. Default is None.Optional
service_typeThe type of service to delete. Possible values are: tcp, udp, icmp.Required
ignore_warningsWhether to ignore warnings when deleting the service object. Possible values are: true, false. Default is false.Optional

Context Output#

There is no context output for this command.

checkpoint-nat-rule-get#


Gets full data for the specified NAT rule.

Base Command#

checkpoint-nat-rule-get

Input#

Argument NameDescriptionRequired
identifierRule name or Rule number.Required
packageName of the package.Required
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.NatRule.uidStringObject unique identifier.
CheckPoint.NatRule.nameStringObject name.
CheckPoint.NatRule.typeStringObject type.
CheckPoint.NatRule.enabledBooleanWhether the rule is enabled.
CheckPoint.NatRule.methodStringNAT translation method.
CheckPoint.NatRule.original-source.nameStringOriginal source object name.
CheckPoint.NatRule.original-destination.nameStringOriginal destination object name.
CheckPoint.NatRule.original-service.nameStringOriginal service object name.
CheckPoint.NatRule.translated-source.nameStringTranslated source object name.
CheckPoint.NatRule.translated-destination.nameStringTranslated destination object name.
CheckPoint.NatRule.translated-service.nameStringTranslated service object name.
CheckPoint.NatRule.commentsStringComments string.
CheckPoint.NatRule.domain.nameStringDomain name.
CheckPoint.NatRule.domain.uidStringDomain UID.
CheckPoint.NatRule.domain.domain-typeStringDomain type.

checkpoint-nat-rule-list#


Retrieve a list of NAT rules from the rulebase.

Base Command#

checkpoint-nat-rule-list

Input#

Argument NameDescriptionRequired
packageName of the package.Required
limitThe maximum number of results to return. Default is 50. Max is 500. Default is 50.Optional
offsetNumber of results to initially skip. Default is 0.Optional
filterSearch 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. Default operator is OR.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.NatRule.uidStringObject unique identifier.
CheckPoint.NatRule.nameStringObject name.

checkpoint-nat-rule-add#


Add a new NAT rule.

Base Command#

checkpoint-nat-rule-add

Input#

Argument NameDescriptionRequired
packageName of the package.Required
positionPosition in the rulebase. Possible values are: top, bottom.Required
nameRule name.Optional
original_sourceOriginal source object.Optional
original_destinationOriginal destination object.Optional
original_serviceOriginal service object.Optional
translated_sourceTranslated source object.Optional
translated_destinationTranslated destination object.Optional
translated_serviceTranslated service object.Optional
install_onWhich Gateways identified by the name or UID to install the policy on.Optional
commentsComments string.Optional
enabledEnable/Disable the rule. Possible values are: true, false.Optional
nat_methodNAT translation method. Possible values are: static, hide, nat64, nat46, cgnat.Optional
tagsCollection of tag identifiers.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.NatRule.uidStringObject unique identifier.
CheckPoint.NatRule.nameStringObject name.
CheckPoint.NatRule.typeStringObject type.
CheckPoint.NatRule.enabledBooleanWhether the rule is enabled.
CheckPoint.NatRule.methodStringNAT translation method.
CheckPoint.NatRule.original-source.nameStringOriginal source object name.
CheckPoint.NatRule.original-destination.nameStringOriginal destination object name.
CheckPoint.NatRule.original-service.nameStringOriginal service object name.
CheckPoint.NatRule.translated-source.nameStringTranslated source object name.
CheckPoint.NatRule.translated-destination.nameStringTranslated destination object name.
CheckPoint.NatRule.translated-service.nameStringTranslated service object name.
CheckPoint.NatRule.commentsStringComments string.
CheckPoint.NatRule.domain.nameStringDomain name.
CheckPoint.NatRule.domain.uidStringDomain UID.
CheckPoint.NatRule.domain.domain-typeStringDomain type.

checkpoint-nat-rule-update#


Update an existing NAT rule.

Base Command#

checkpoint-nat-rule-update

Input#

Argument NameDescriptionRequired
identifierRule name or Rule number.Required
packageName of the package.Required
original_sourceOriginal source object.Optional
original_destinationOriginal destination object.Optional
translated_sourceTranslated source object.Optional
translated_destinationTranslated destination object.Optional
original_serviceOriginal service object.Optional
translated_serviceTranslated service object.Optional
commentsComments string.Optional
enabledEnable/Disable the rule. Possible values are: true, false.Optional
nat_methodNAT translation method. Possible values are: static, hide, nat64, nat46, cgnat.Optional
tagsCollection of tag identifiers.Optional
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

PathTypeDescription
CheckPoint.NatRule.uidStringObject unique identifier.
CheckPoint.NatRule.nameStringObject name.
CheckPoint.NatRule.typeStringObject type.
CheckPoint.NatRule.enabledBooleanWhether the rule is enabled.
CheckPoint.NatRule.methodStringNAT translation method.
CheckPoint.NatRule.original-source.nameStringOriginal source object name.
CheckPoint.NatRule.original-destination.nameStringOriginal destination object name.
CheckPoint.NatRule.original-service.nameStringOriginal service object name.
CheckPoint.NatRule.translated-source.nameStringTranslated source object name.
CheckPoint.NatRule.translated-destination.nameStringTranslated destination object name.
CheckPoint.NatRule.translated-service.nameStringTranslated service object name.
CheckPoint.NatRule.commentsStringComments string.
CheckPoint.NatRule.domain.nameStringDomain name.
CheckPoint.NatRule.domain.uidStringDomain UID.
CheckPoint.NatRule.domain.domain-typeStringDomain type.

checkpoint-nat-rule-delete#


Delete a NAT rule.

Base Command#

checkpoint-nat-rule-delete

Input#

Argument NameDescriptionRequired
identifierRule name or Rule number.Required
packageName of the package.Required
session_idExecutes the command with the specified session ID. Default is None.Optional

Context Output#

There is no context output for this command.