community.general.checkpoint_object_facts (0.1.1) — module

Get object facts on Check Point over Web Services API

Authors: Ansible by Red Hat (@rcarrillocruz)

preview | supported by network

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

Description

Get object facts on Check Point devices. All operations are performed over Web Services API.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get object facts
  checkpoint_object_facts:
    object_filter: 192.168.30.30
    ip_only: yes

Inputs

    
uid:
    description:
    - UID of the object. If UID is not provided, it will do a full search which can be
      filtered with the filter argument.

ip_only:
    default: false
    description:
    - Filter only by IP address.
    type: bool

object_type:
    description:
    - Type of the object to search. Must be a valid API resource name
    type: str

object_filter:
    description:
    - Filter expression for search. It accepts AND/OR logical operators and performs a
      textual and IP address search. To search only by IP address, set ip_only argument
      to True. which can be filtered with the filter argument.

Outputs

ansible_hosts:
  description: The checkpoint object facts.
  returned: always.
  type: list