check_point.gaia.cp_gaia_allowed_clients (5.0.1) — module

Modify the configuration of allowed clients.

| "added in version" 3.0.0 of check_point.gaia"

Authors: Ameer Asli (@chkp-ameera)

Install collection

Install with ansible-galaxy collection install check_point.gaia:==5.0.1


Add to requirements.yml

  collections:
    - name: check_point.gaia
      version: 5.0.1

Description

Modify the configuration of allowed clients.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set allowed clients
  check_point.gaia.cp_gaia_allowed_clients:
    allowed_networks: [{"subnet": "44.4.44.0", "mask_length": 24}, {"subnet": "55.4.55.0", "mask_length": 24}]

Inputs

    
version:
    description: Gaia API version for example 1.6.
    required: false
    type: str

allowed_hosts:
    description:
    - Configure allowed clients as hosts, valid valuse are IPv4/Ipv6 addresses.
    elements: str
    required: false
    type: list

allowed_any_host:
    description: Allowed all hosts.
    required: false
    type: bool

allowed_networks:
    description: Configure allowed clients as network.
    elements: dict
    required: false
    suboptions:
      mask_length:
        description: The network mask length.
        required: false
        type: int
      subnet:
        description: The network subnet.
        required: false
        type: str
    type: list

Outputs

allowed_clients:
  description:
  - The checkpoint object updated.
  returned: always.
  type: dict