Skip to content

Config Point API and New Release - #94

Merged
chkp-majds merged 2 commits into
CheckPointSW:masterfrom
chkp-ameera:FMW-133-config-params
Nov 2, 2026
Merged

chkp-majds merged 2 commits into
CheckPointSW:masterfrom
chkp-ameera:FMW-133-config-params

Conversation

@chkp-ameera

Copy link
Copy Markdown
Contributor

…MW-133)

Add modules for the Gaia API set-param and show-param APIs, so Config Point parameters can be managed from Ansible (Gaia API v1.8, R82 and above).

  • cp_gaia_param_facts - show parameters by path or prefix, with filter_by and member_id.
  • cp_gaia_param - set a list of parameters (value, comments, use_default, volatile, per-parameter virtual_system_id), with dry_run and use_regex. changed is taken from the API's changed-params, so a task that sets the current value reports changed=false. Check mode sends the request with dry_run, so nothing is saved.
  • Both modules send virtual_system_id as a string, as these APIs reject an integer.
  • module_utils: show the error returned in the 'errors' field of a failed task instead of "Look at the logs for more details".

Also add unit tests and docs, list the modules in the README, bump the version to 7.1.0, and document in CHANGELOG.rst all changes since v7.0.0.

@chkp-ameera
chkp-ameera force-pushed the FMW-133-config-params branch from 085d311 to c84a8ca Compare November 2, 2026 14:07
chkp-ameera and others added 2 commits November 2, 2026 16:12
…MW-133)

Add modules for the Gaia API set-param and show-param APIs, so Config
Point parameters can be managed from Ansible (Gaia API v1.8, R82 and
above).

- cp_gaia_param_facts - show parameters by path or prefix, with
  filter_by and member_id.
- cp_gaia_param - set a list of parameters (value, comments,
  use_default, volatile, per-parameter virtual_system_id), with
  dry_run and use_regex. changed is taken from the API's
  changed-params, so a task that sets the current value reports
  changed=false. Check mode sends the request with dry_run, so
  nothing is saved.
- Both modules send virtual_system_id as a string, as these APIs
  reject an integer.

Also add unit tests and docs, and list the modules in the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- galaxy.yml: bump the version to 7.1.0.
- CHANGELOG.rst: add the 7.1.0 section with all changes since v7.0.0
  (new Config Point modules, check mode support, Management Proxy
  inventory variable, new module parameters and bug fixes).
- module_utils: show the error returned in the 'errors' field of a
  failed task instead of "Look at the logs for more details".
- Remove the executable bit from CODEOWNERS.txt; ansible-test sanity
  (shebang) fails on an executable file without a shebang.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chkp-ameera
chkp-ameera force-pushed the FMW-133-config-params branch from c84a8ca to ac431da Compare November 2, 2026 14:12
@chkp-ameera chkp-ameera changed the title Add cp_gaia_param and cp_gaia_param_facts modules for Config Point (F… Config Point API and New Release Nov 2, 2026
@chkp-majds
chkp-majds merged commit 3f7618d into CheckPointSW:master Nov 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants