Skip to content

Commit

Permalink
v5.1.3 (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-edenbr authored Dec 10, 2023
1 parent ef3f631 commit e0e9a6e
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 7 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,31 @@ Check_Point.Mgmt Release Notes

.. contents:: Topics

v5.1.3
======

Release Summary
---------------

This is release 5.1.3 of ``check_point.mgmt``, released on 2023-12-13.

Bugfixes
--------

- httpapi/checkpoint.py - Raise a fatal error if login wasn't successful.

v5.1.2
======

Release Summary
---------------

This is release 5.1.2 of ``check_point.mgmt``, released on 2023-12-12.

Minor Changes
--------

- meta/runtime.yml - update minimum Ansible version required to 2.14.0.

v5.1.1
======
Expand Down
18 changes: 18 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1035,3 +1035,21 @@ releases:
fragments:
- 5.1.1.yml
release_date: '2022-07-17'
5.1.2:
changes:
minor_changes:
- meta/runtime.yml - update minimum Ansible version required to 2.14.0.
release_summary: This is release 5.1.2 of ``check_point.mgmt``, released on
2023-12-12.
fragments:
- 5.1.2.yml
release_date: '2022-12-12'
5.1.3:
changes:
bugfixes:
- httpapi/checkpoint.py - Raise a fatal error if login wasn't successful.
release_summary: This is release 5.1.3 of ``check_point.mgmt``, released on
2023-12-13.
fragments:
- 5.1.2.yml
release_date: '2022-12-13'
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace: check_point
name: mgmt

# The version of the collection. Must be compatible with semantic versioning
version: 5.1.1
version: 5.1.3

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
3 changes: 2 additions & 1 deletion plugins/httpapi/checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def login(self, username, password):
)
url = "/web_api/login"
response, response_data = self.send_request(url, payload)

if response != 200:
raise ConnectionError("Login to server failed: %s" % response_data)
try:
self.connection._auth = {"X-chkp-sid": response_data["sid"]}
except KeyError:
Expand Down
7 changes: 3 additions & 4 deletions plugins/modules/cp_mgmt_get_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@
short_description: Get physical interfaces with or without their topology from a Gaia Security Gateway or Cluster.
description:
- Get physical interfaces with or without their topology from a Gaia Security Gateway or Cluster.
Note: The fetched topology is based on static routes.
Prerequisites:
- SIC must be established in the Security Gateway or Cluster Member object.
- Security Gateway or Cluster Members must be up and running.
- The fetched topology is based on static routes.
- SIC must be established in the Security Gateway or Cluster Member object.
- Security Gateway or Cluster Members must be up and running.
- All operations are performed over Web Services API.
version_added: "5.0.0"
author: "Eden Brillant (@chkp-edenbr)"
Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/cp_mgmt_vsx_run_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
module: cp_mgmt_vsx_run_operation
short_description: Run the VSX operation by its name and parameters.
description:
- Run the VSX operation by its name and parameters. <br><b>Important note:</b> An automatic session publish is part of all the operations in this API.
- Run the VSX operation by its name and parameters.
- An automatic session publish is part of all the operations in this API.
- All operations are performed over Web Services API.
version_added: "5.0.0"
author: "Eden Brillant (@chkp-edenbr)"
Expand Down

0 comments on commit e0e9a6e

Please sign in to comment.