check_point.mgmt.cp_mgmt_threat_protection_override module – Edit existing object using object name or uid.

Note

This module is part of the check_point.mgmt collection (version 6.2.1).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install check_point.mgmt.

To use it in a playbook, specify: check_point.mgmt.cp_mgmt_threat_protection_override.

New in check_point.mgmt 1.0.0

Synopsis

  • Edit existing object using object name or uid.

  • All operations are performed over Web Services API.

Parameters

Parameter

Comments

auto_publish_session

boolean

Publish the current session if changes have been performed after task completes.

Choices:

  • false ← (default)

  • true

comments

string

Protection comments.

details_level

string

The 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.

Choices:

  • "uid"

  • "standard"

  • "full"

follow_up

boolean

Tag the protection with pre-defined follow-up flag.

Choices:

  • false

  • true

name

string

Object name.

overrides

list / elements=dictionary

Overrides per profile for this protection<br> Note, Remove override for Core protections removes only the action’s override. Remove override for Threat Cloud protections removes the action, track and packet captures.

action

string

Protection action.

Choices:

  • "Threat Cloud: Inactive"

  • "Detect"

  • "Prevent <br> Core: Drop"

  • "Inactive"

  • "Accept"

capture_packets

boolean

Capture packets.

Choices:

  • false

  • true

profile

string

Profile name.

track

string

Tracking method for protection.

Choices:

  • "none"

  • "log"

  • "alert"

  • "mail"

  • "snmp trap"

  • "user alert"

  • "user alert 1"

  • "user alert 2"

version

string

Version of checkpoint. If not given one, the latest version taken.

wait_for_task

boolean

Wait for the task to end. Such as publish task.

Choices:

  • false

  • true ← (default)

wait_for_task_timeout

integer

How many minutes to wait until throwing a timeout error.

Default: 30

Examples

- name: threat_protection_override
  cp_mgmt_threat_protection_override:
    name: FTP Commands
    overrides:
    - action: inactive
      capture_packets: true
      profile: New Profile 1
      track: None
    state: present

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

cp_mgmt_threat_protection_override

dictionary

The checkpoint threat_protection_override output.

Returned: always.

Authors

  • Or Soffer (@chkp-orso)