ansible.builtin.checkpoint_session (v2.9.27) — module

Manages session objects on Check Point over Web Services API

| "added in version" 2.8 of ansible.builtin"

Authors: Ansible by Red Hat (@rcarrillocruz)

preview | supported by network

Install Ansible via pip

Install with pip install ansible==2.9.27

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