Skip to content

Commit

Permalink
Merge pull request #168 from chkp-dorbe/master
Browse files Browse the repository at this point in the history
minor version release 6.4.0
  • Loading branch information
chkp-dorbe authored Feb 20, 2025
2 parents 486b210 + e292390 commit 10d8687
Show file tree
Hide file tree
Showing 99 changed files with 1,347 additions and 344 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ Check_Point.Mgmt Release Notes

.. contents:: Topics

v6.4.0
======

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

This is release 6.4.0 of "check_point.mgmt", released on 2025-02-20.

Minor Changes
-------------

- added missing parameters such as 'filter', 'domains_to_process' and 'async_response' to the relevant resources modules.

New Modules
-----------

- check_point.mgmt.cp_mgmt_user_template - Manages user-template objects on Checkpoint over Web Services API
- check_point.mgmt.cp_mgmt_user_template_facts - Get user-template objects facts on Checkpoint over Web Services API

v6.3.0
======

Expand Down
16 changes: 16 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1283,3 +1283,19 @@ releases:
name: cp_mgmt_user_facts
namespace: ''
release_date: '2025-01-03'
6.4.0:
changes:
minor_changes:
- added missing parameters such as 'filter', 'domains_to_process' and 'async_response'
to the relevant resources modules.
release_summary: This is release 6.4.0 of "check_point.mgmt", released on 2025-02-20.
fragments:
- 6.4.0.yml
modules:
- description: Manages user-template objects on Checkpoint over Web Services API
name: cp_mgmt_user_template
namespace: ''
- description: Get user-template objects facts on Checkpoint over Web Services API
name: cp_mgmt_user_template_facts
namespace: ''
release_date: '2025-02-20'
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: 6.3.0
version: 6.4.0

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
16 changes: 16 additions & 0 deletions plugins/modules/cp_mgmt_access_layer_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@
representation of the object.
type: str
choices: ['uid', 'standard', 'full']
filter:
description:
- Search expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The
logical operators in the expression ('AND', 'OR') should be provided in capital letters. The search involves both a IP search and a textual search in
name, comment, tags etc.
type: str
version_added: "6.4.0"
limit:
description:
- No more than that many results will be returned.
Expand Down Expand Up @@ -77,6 +84,13 @@
- Sorts results by the given field in descending order.
type: str
choices: ['name']
domains_to_process:
description:
- Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and
with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
type: list
elements: str
version_added: "6.4.0"
extends_documentation_fragment: check_point.mgmt.checkpoint_facts
"""

Expand Down Expand Up @@ -110,6 +124,7 @@ def main():
argument_spec = dict(
name=dict(type="str"),
details_level=dict(type="str", choices=["uid", "standard", "full"]),
filter=dict(type='str'),
limit=dict(type="int"),
offset=dict(type="int"),
order=dict(
Expand All @@ -120,6 +135,7 @@ def main():
DESC=dict(type="str", choices=["name"]),
),
),
domains_to_process=dict(type='list', elements="str")
)
argument_spec.update(checkpoint_argument_spec_for_facts)

Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/cp_mgmt_access_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
mobile_access: true
shared: false
tags:
- test_layer
- test_layer
color: aquamarine
comments: test description
details_level: full
Expand Down Expand Up @@ -246,7 +246,7 @@
mobile_access: true
shared: true
tags:
- test_layer_replaced
- test_layer_replaced
color: cyan
comments: test REPLACE description
details_level: full
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/cp_mgmt_access_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@
- name: set-access-role
cp_mgmt_access_role:
users_list:
- source: "Internal User Groups"
selection: usersGroup
- source: "Internal User Groups"
selection: usersGroup
name: New Access Role 1
state: present
Expand Down
16 changes: 16 additions & 0 deletions plugins/modules/cp_mgmt_access_role_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@
representation of the object.
type: str
choices: ['uid', 'standard', 'full']
filter:
description:
- Search expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The
logical operators in the expression ('AND', 'OR') should be provided in capital letters. The search involves both a IP search and a textual search in
name, comment, tags etc.
type: str
version_added: "6.4.0"
limit:
description:
- No more than that many results will be returned.
Expand Down Expand Up @@ -77,6 +84,13 @@
- Sorts results by the given field in descending order.
type: str
choices: ['name']
domains_to_process:
description:
- Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and
with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
type: list
elements: str
version_added: "6.4.0"
extends_documentation_fragment: check_point.mgmt.checkpoint_facts
"""

Expand Down Expand Up @@ -108,6 +122,7 @@ def main():
argument_spec = dict(
name=dict(type="str"),
details_level=dict(type="str", choices=["uid", "standard", "full"]),
filter=dict(type='str'),
limit=dict(type="int"),
offset=dict(type="int"),
order=dict(
Expand All @@ -118,6 +133,7 @@ def main():
DESC=dict(type="str", choices=["name"]),
),
),
domains_to_process=dict(type='list', elements="str")
)
argument_spec.update(checkpoint_argument_spec_for_facts)

Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/cp_mgmt_access_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@
name: Rule 1
position: 1
service:
- SMTP
- AOL
- SMTP
- AOL
vpn: All_GwToGw
state: present
Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/cp_mgmt_access_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,12 +281,12 @@
rules:
- name: Rule 1
service:
- SMTP
- AOL
- SMTP
- AOL
state: present
- name: Rule 2
service:
- SMTP
- SMTP
state: present
layer: Network
auto_publish_session: true
Expand Down
22 changes: 11 additions & 11 deletions plugins/modules/cp_mgmt_add_custom_trusted_ca_certificate.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@
- name: add-custom-trusted-ca-certificate
cp_mgmt_add_custom_trusted_ca_certificate:
base64_certificate:
"MIIEkzCCAnugAwIBAgIVAO5SRZQELwNNhWF+8st6ox9uXYgeMA0GCSqGSIb3DQEBCwUAMIGrMQswCQYDVQQGEwJJTDEPMA0GA1UECBMGSXNyYWVsMS4wLAYDVQQKEyVDaGVja1BvaW50IFNvZnR3YXJlIF
lY2hub2xvZ2llcyBMVEQuMQwwCgYDVQQLEwNNSVMxIjAgBgNVBAMTGUNoZWNrUG9pbnQtU1NMLUluc3BlY3Rpb24xKTAnBgkqhkiG9w0BCQEWGmlsX3NlY3VyaXR5QGNoZWNrcG9pbnQuY29tMB4XDTIzM
MxMzAwMDAwMFoXDTIzMDYxMTIzNTk1OVowbzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExEzARBgNVBAcTCk1lbmxvIFBhcmsxHTAbBgNVBAoTFE1ldGEgUGxhdGZvcm1zLCBJbmMuMRcw
QYDVQQDDA4qLndoYXRzYXBwLm5ldDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABPjo05vRHAJYYWx55SOu2b1ZIQPOOtJNipSBXf1BFBDQhrkp20YTA296MzKii2j3TgVi/1t44cW5mD1RWobfAQujgbM
gbAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMHQGA1UdEQRtMGuCDioud2hhdHNhcHAubmV0ghIqLmNkbi53aGF0c2FwcC5uZXSCEiouc25yLndoYXRzYXBwLm5ldIIOKi53aGF0c2FwcC5jb2
CBXdhLm1lggx3aGF0c2FwcC5jb22CDHdoYXRzYXBwLm5ldDAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAgEAA/sIadLr9ahEVq8h9HuofHODUuzxVFulAZu8uSiyY4ACb
Hcvm36MYQCzYV56t4fe+I++ls8KAESZgdE0KoD5/6efzK05Ufok+y15QexAR5AxZ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="
"""

RETURN = """
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/cp_mgmt_add_nat_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
comments: comment example1 nat999
enabled: false
install_on:
- Policy Targets
- Policy Targets
original_destination: All_Internet
original_source: Any
package: standard
Expand Down
41 changes: 20 additions & 21 deletions plugins/modules/cp_mgmt_add_rules_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,27 +80,26 @@
- name: add-rules-batch
cp_mgmt_add_rules_batch:
objects:
- first_position: top
layer: Network
list:
- action: accept
name: access rule 1
- action: accept
name: access rule 2
type: access-rule
- first_position: top
layer: Standard
list:
- name: nat rule 1
- name: nat rule 2
type: nat-rule
- first_position: top
layer: Default Layer
list:
- name: https rule 1
- name: https rule 2
type: https-rule
- first_position: top
layer: Network
list:
- action: accept
name: access rule 1
- action: accept
name: access rule 2
type: access-rule
- first_position: top
layer: Standard
list:
- name: nat rule 1
- name: nat rule 2
type: nat-rule
- first_position: top
layer: Default Layer
list:
- name: https rule 1
- name: https rule 2
type: https-rule
"""

RETURN = """
Expand Down
16 changes: 16 additions & 0 deletions plugins/modules/cp_mgmt_address_range_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@
representation of the object.
type: str
choices: ['uid', 'standard', 'full']
filter:
description:
- Search expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The
logical operators in the expression ('AND', 'OR') should be provided in capital letters. The search involves both a IP search and a textual search in
name, comment, tags etc.
type: str
version_added: "6.4.0"
limit:
description:
- No more than that many results will be returned.
Expand Down Expand Up @@ -81,6 +88,13 @@
description:
- Indicates whether to calculate and show "groups" field for every object in reply.
type: bool
domains_to_process:
description:
- Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and
with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
type: list
elements: str
version_added: "6.4.0"
extends_documentation_fragment: check_point.mgmt.checkpoint_facts
"""

Expand Down Expand Up @@ -114,6 +128,7 @@ def main():
argument_spec = dict(
name=dict(type="str"),
details_level=dict(type="str", choices=["uid", "standard", "full"]),
filter=dict(type='str'),
limit=dict(type="int"),
offset=dict(type="int"),
order=dict(
Expand All @@ -125,6 +140,7 @@ def main():
),
),
show_membership=dict(type="bool"),
domains_to_process=dict(type='list', elements="str")
)
argument_spec.update(checkpoint_argument_spec_for_facts)

Expand Down
16 changes: 16 additions & 0 deletions plugins/modules/cp_mgmt_administrator_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@
representation of the object.
type: str
choices: ['uid', 'standard', 'full']
filter:
description:
- Search expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The
logical operators in the expression ('AND', 'OR') should be provided in capital letters. The search involves both a IP search and a textual search in
name, comment, tags etc.
type: str
version_added: "6.4.0"
limit:
description:
- The maximal number of returned results.
Expand Down Expand Up @@ -77,6 +84,13 @@
- Sorts results by the given field in descending order.
type: str
choices: ['name']
domains_to_process:
description:
- Indicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and
with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
type: list
elements: str
version_added: "6.4.0"
extends_documentation_fragment: check_point.mgmt.checkpoint_facts
"""

Expand Down Expand Up @@ -110,6 +124,7 @@ def main():
argument_spec = dict(
name=dict(type="str"),
details_level=dict(type="str", choices=["uid", "standard", "full"]),
filter=dict(type='str'),
limit=dict(type="int"),
offset=dict(type="int"),
order=dict(
Expand All @@ -120,6 +135,7 @@ def main():
DESC=dict(type="str", choices=["name"]),
),
),
domains_to_process=dict(type='list', elements="str")
)
argument_spec.update(checkpoint_argument_spec_for_facts)

Expand Down
10 changes: 5 additions & 5 deletions plugins/modules/cp_mgmt_application_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,16 @@
- name: add-application-site
cp_mgmt_application_site:
additional_categories:
- Instant Chat
- Supports Streaming
- New Application Site Category 1
- Instant Chat
- Supports Streaming
- New Application Site Category 1
description: My Application Site
name: New Application Site 1
primary_category: Social Networking
state: present
url_list:
- www.cnet.com
- www.stackoverflow.com
- www.cnet.com
- www.stackoverflow.com
urls_defined_as_regular_expression: false
- name: set-application-site
Expand Down
Loading

0 comments on commit 10d8687

Please sign in to comment.