Skip to main content

Checkpoint - Block IP - Custom Block Rule

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

This playbook blocks IP addresses using Custom Block Rules in Check Point Firewall. The playbook receives malicious IP addresses as inputs, creates a custom bi-directional rule to block them, and publishes the configuration.

Dependencies#

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks#

  • Checkpoint - Publish&Install configuration

Integrations#

  • CheckPointFirewallV2

Scripts#

  • Print
  • CompareLists

Commands#

  • checkpoint-access-rule-add
  • checkpoint-logout
  • checkpoint-login-and-get-session-id
  • checkpoint-access-rule-list
  • checkpoint-group-update
  • checkpoint-show-objects
  • checkpoint-host-add
  • checkpoint-group-add

Playbook Inputs#


NameDescriptionDefault ValueRequired
IPAn array of malicious IPs to block (Can be also provided as a context path. e.g. ${IP} ).
Example: 1.1.1.1,2.2.2.2
Required
install_policyWhether the playbook should continue install policy process for Check Point Firewall.FalseRequired
policy_packageThe name of the policy package to be installed.StandardRequired
block_IP_error_handlingIf one of the actions for the Block IP playbook fails due to issues on the Check Point Firewall, this input determines whether the playbook continues or stops for manual review. If the playbook continues, the session ID logs out and all Check Point changes are discarded.
Values are "Continue" or "Stop".
The default value is "Stop".
StopOptional
checkpoint_error_handlingIf one of the actions for publish/install policy fails due to issues on the Check Point side, this input determines whether the playbook continues or stops for manual review. If the playbook continues, the session ID logs out and all Check Point changes are discarded.
Values are "Continue" or "Stop".
The default value is "Stop".
StopRequired
rule_layerDetermines which Check Point Firewall rule layer is used.
By default, the "Network" layer is used, but this can be changed.
NetworkRequired
rule_positionDetermines which Check Point Firewall rule position is used.
By default, the "top" position is used, but this can be changed.
topRequired
rule_nameCreates a new blocking rule using this Check Point Firewall group.
Use this option if you have not assigned the appended group to a rule in your firewall policy.
XSOAR - ${incident.id}Required

Playbook Outputs#


There are no outputs for this playbook.

Playbook Image#


Checkpoint - Block IP - Custom Block Rule