community.general.checkpoint_session (0.1.1) — module

Manages session objects 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

Manages session objects on Check Point devices performing actions like publish and discard. All operations are performed over Web Services API.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Publish session
  checkpoint_session:
    uid: 7a13a360-9b24-40d7-acd3-5b50247be33e
    state: published
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Discard session
  checkpoint_session:
    uid: 7a13a360-9b24-40d7-acd3-5b50247be33e
    state: discarded

Inputs

    
uid:
    description:
    - UID of the session.
    required: true
    type: str

state:
    choices:
    - published
    - discarded
    default: published
    description:
    - Action to perform on the session object. Valid choices are published and discarded.
    type: str

Outputs

checkpoint_session:
  description: The checkpoint session output per return from API. It will differ depending
    on action.
  returned: always.
  type: list