Skip to content

Commit 10d8687

Browse files
authored
Merge pull request #168 from chkp-dorbe/master
minor version release 6.4.0
2 parents 486b210 + e292390 commit 10d8687

File tree

99 files changed

+1347
-344
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+1347
-344
lines changed

CHANGELOG.rst

+19
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@ Check_Point.Mgmt Release Notes
44

55
.. contents:: Topics
66

7+
v6.4.0
8+
======
9+
10+
Release Summary
11+
---------------
12+
13+
This is release 6.4.0 of "check_point.mgmt", released on 2025-02-20.
14+
15+
Minor Changes
16+
-------------
17+
18+
- added missing parameters such as 'filter', 'domains_to_process' and 'async_response' to the relevant resources modules.
19+
20+
New Modules
21+
-----------
22+
23+
- check_point.mgmt.cp_mgmt_user_template - Manages user-template objects on Checkpoint over Web Services API
24+
- check_point.mgmt.cp_mgmt_user_template_facts - Get user-template objects facts on Checkpoint over Web Services API
25+
726
v6.3.0
827
======
928

changelogs/changelog.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -1283,3 +1283,19 @@ releases:
12831283
name: cp_mgmt_user_facts
12841284
namespace: ''
12851285
release_date: '2025-01-03'
1286+
6.4.0:
1287+
changes:
1288+
minor_changes:
1289+
- added missing parameters such as 'filter', 'domains_to_process' and 'async_response'
1290+
to the relevant resources modules.
1291+
release_summary: This is release 6.4.0 of "check_point.mgmt", released on 2025-02-20.
1292+
fragments:
1293+
- 6.4.0.yml
1294+
modules:
1295+
- description: Manages user-template objects on Checkpoint over Web Services API
1296+
name: cp_mgmt_user_template
1297+
namespace: ''
1298+
- description: Get user-template objects facts on Checkpoint over Web Services API
1299+
name: cp_mgmt_user_template_facts
1300+
namespace: ''
1301+
release_date: '2025-02-20'

galaxy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace: check_point
99
name: mgmt
1010

1111
# The version of the collection. Must be compatible with semantic versioning
12-
version: 6.3.0
12+
version: 6.4.0
1313

1414
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
1515
readme: README.md

plugins/modules/cp_mgmt_access_layer_facts.py

+16
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@
5050
representation of the object.
5151
type: str
5252
choices: ['uid', 'standard', 'full']
53+
filter:
54+
description:
55+
- Search expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The
56+
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
57+
name, comment, tags etc.
58+
type: str
59+
version_added: "6.4.0"
5360
limit:
5461
description:
5562
- No more than that many results will be returned.
@@ -77,6 +84,13 @@
7784
- Sorts results by the given field in descending order.
7885
type: str
7986
choices: ['name']
87+
domains_to_process:
88+
description:
89+
- 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
90+
with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
91+
type: list
92+
elements: str
93+
version_added: "6.4.0"
8094
extends_documentation_fragment: check_point.mgmt.checkpoint_facts
8195
"""
8296

@@ -110,6 +124,7 @@ def main():
110124
argument_spec = dict(
111125
name=dict(type="str"),
112126
details_level=dict(type="str", choices=["uid", "standard", "full"]),
127+
filter=dict(type='str'),
113128
limit=dict(type="int"),
114129
offset=dict(type="int"),
115130
order=dict(
@@ -120,6 +135,7 @@ def main():
120135
DESC=dict(type="str", choices=["name"]),
121136
),
122137
),
138+
domains_to_process=dict(type='list', elements="str")
123139
)
124140
argument_spec.update(checkpoint_argument_spec_for_facts)
125141

plugins/modules/cp_mgmt_access_layers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
mobile_access: true
200200
shared: false
201201
tags:
202-
- test_layer
202+
- test_layer
203203
color: aquamarine
204204
comments: test description
205205
details_level: full
@@ -246,7 +246,7 @@
246246
mobile_access: true
247247
shared: true
248248
tags:
249-
- test_layer_replaced
249+
- test_layer_replaced
250250
color: cyan
251251
comments: test REPLACE description
252252
details_level: full

plugins/modules/cp_mgmt_access_role.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@
144144
- name: set-access-role
145145
cp_mgmt_access_role:
146146
users_list:
147-
- source: "Internal User Groups"
148-
selection: usersGroup
147+
- source: "Internal User Groups"
148+
selection: usersGroup
149149
name: New Access Role 1
150150
state: present
151151

plugins/modules/cp_mgmt_access_role_facts.py

+16
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@
5050
representation of the object.
5151
type: str
5252
choices: ['uid', 'standard', 'full']
53+
filter:
54+
description:
55+
- Search expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The
56+
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
57+
name, comment, tags etc.
58+
type: str
59+
version_added: "6.4.0"
5360
limit:
5461
description:
5562
- No more than that many results will be returned.
@@ -77,6 +84,13 @@
7784
- Sorts results by the given field in descending order.
7885
type: str
7986
choices: ['name']
87+
domains_to_process:
88+
description:
89+
- 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
90+
with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
91+
type: list
92+
elements: str
93+
version_added: "6.4.0"
8094
extends_documentation_fragment: check_point.mgmt.checkpoint_facts
8195
"""
8296

@@ -108,6 +122,7 @@ def main():
108122
argument_spec = dict(
109123
name=dict(type="str"),
110124
details_level=dict(type="str", choices=["uid", "standard", "full"]),
125+
filter=dict(type='str'),
111126
limit=dict(type="int"),
112127
offset=dict(type="int"),
113128
order=dict(
@@ -118,6 +133,7 @@ def main():
118133
DESC=dict(type="str", choices=["name"]),
119134
),
120135
),
136+
domains_to_process=dict(type='list', elements="str")
121137
)
122138
argument_spec.update(checkpoint_argument_spec_for_facts)
123139

plugins/modules/cp_mgmt_access_rule.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@
296296
name: Rule 1
297297
position: 1
298298
service:
299-
- SMTP
300-
- AOL
299+
- SMTP
300+
- AOL
301301
vpn: All_GwToGw
302302
state: present
303303

plugins/modules/cp_mgmt_access_rules.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,12 @@
281281
rules:
282282
- name: Rule 1
283283
service:
284-
- SMTP
285-
- AOL
284+
- SMTP
285+
- AOL
286286
state: present
287287
- name: Rule 2
288288
service:
289-
- SMTP
289+
- SMTP
290290
state: present
291291
layer: Network
292292
auto_publish_session: true

plugins/modules/cp_mgmt_add_custom_trusted_ca_certificate.py

+11-11
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@
5252
- name: add-custom-trusted-ca-certificate
5353
cp_mgmt_add_custom_trusted_ca_certificate:
5454
base64_certificate:
55-
"MIIEkzCCAnugAwIBAgIVAO5SRZQELwNNhWF+8st6ox9uXYgeMA0GCSqGSIb3DQEBCwUAMIGrMQswCQYDVQQGEwJJTDEPMA0GA1UECBMGSXNyYWVsMS4wLAYDVQQKEyVDaGVja1BvaW50IFNvZnR3YXJlIF
56-
lY2hub2xvZ2llcyBMVEQuMQwwCgYDVQQLEwNNSVMxIjAgBgNVBAMTGUNoZWNrUG9pbnQtU1NMLUluc3BlY3Rpb24xKTAnBgkqhkiG9w0BCQEWGmlsX3NlY3VyaXR5QGNoZWNrcG9pbnQuY29tMB4XDTIzM
57-
MxMzAwMDAwMFoXDTIzMDYxMTIzNTk1OVowbzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExEzARBgNVBAcTCk1lbmxvIFBhcmsxHTAbBgNVBAoTFE1ldGEgUGxhdGZvcm1zLCBJbmMuMRcw
58-
QYDVQQDDA4qLndoYXRzYXBwLm5ldDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABPjo05vRHAJYYWx55SOu2b1ZIQPOOtJNipSBXf1BFBDQhrkp20YTA296MzKii2j3TgVi/1t44cW5mD1RWobfAQujgbM
59-
gbAwHQYDVR0lBBYwFAYIKwYBBQUH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X/tSgDzkjYWmT26V2OgRklM0aQWvHD3DVpghIJfI2swAAJJ5wvqwcJe
63+
WHAQb3aQZgHXjGF/LyBYCQsohTHUL7rhL8CxNlDTNhN2e+NRFGYGer157RCmM8xKroe3/X9pYifbzyEWInqQ+ycmLsQyAd7pPW+W1K1tlk9Niqk3dNQ10daYGau3IPWF5+iHtOlWjLcQrSj60Uv7Ebi0E+
64+
Oe0tDabunCj6SEauGFxeJhM9xUZnOwb5wqIt+uGqPQ9WRJLehqwdFhiWOqwUfNcksn7l0M6e9Mnkh1J2kGxamQ0bvK7ftpm5O8MTAft0y882IfC++Zuk4gLhQoeE3s6877/rrHRJB/H8ZUaaBxAi2qH0NZ
65+
ParXUxOkil5rVgFqI="
6666
"""
6767

6868
RETURN = """

plugins/modules/cp_mgmt_add_nat_rule.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
comments: comment example1 nat999
115115
enabled: false
116116
install_on:
117-
- Policy Targets
117+
- Policy Targets
118118
original_destination: All_Internet
119119
original_source: Any
120120
package: standard

plugins/modules/cp_mgmt_add_rules_batch.py

+20-21
Original file line numberDiff line numberDiff line change
@@ -80,27 +80,26 @@
8080
- name: add-rules-batch
8181
cp_mgmt_add_rules_batch:
8282
objects:
83-
- first_position: top
84-
layer: Network
85-
list:
86-
- action: accept
87-
name: access rule 1
88-
- action: accept
89-
name: access rule 2
90-
type: access-rule
91-
- first_position: top
92-
layer: Standard
93-
list:
94-
- name: nat rule 1
95-
- name: nat rule 2
96-
type: nat-rule
97-
- first_position: top
98-
layer: Default Layer
99-
list:
100-
- name: https rule 1
101-
- name: https rule 2
102-
type: https-rule
103-
83+
- first_position: top
84+
layer: Network
85+
list:
86+
- action: accept
87+
name: access rule 1
88+
- action: accept
89+
name: access rule 2
90+
type: access-rule
91+
- first_position: top
92+
layer: Standard
93+
list:
94+
- name: nat rule 1
95+
- name: nat rule 2
96+
type: nat-rule
97+
- first_position: top
98+
layer: Default Layer
99+
list:
100+
- name: https rule 1
101+
- name: https rule 2
102+
type: https-rule
104103
"""
105104

106105
RETURN = """

plugins/modules/cp_mgmt_address_range_facts.py

+16
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@
5050
representation of the object.
5151
type: str
5252
choices: ['uid', 'standard', 'full']
53+
filter:
54+
description:
55+
- Search expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The
56+
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
57+
name, comment, tags etc.
58+
type: str
59+
version_added: "6.4.0"
5360
limit:
5461
description:
5562
- No more than that many results will be returned.
@@ -81,6 +88,13 @@
8188
description:
8289
- Indicates whether to calculate and show "groups" field for every object in reply.
8390
type: bool
91+
domains_to_process:
92+
description:
93+
- 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
94+
with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
95+
type: list
96+
elements: str
97+
version_added: "6.4.0"
8498
extends_documentation_fragment: check_point.mgmt.checkpoint_facts
8599
"""
86100

@@ -114,6 +128,7 @@ def main():
114128
argument_spec = dict(
115129
name=dict(type="str"),
116130
details_level=dict(type="str", choices=["uid", "standard", "full"]),
131+
filter=dict(type='str'),
117132
limit=dict(type="int"),
118133
offset=dict(type="int"),
119134
order=dict(
@@ -125,6 +140,7 @@ def main():
125140
),
126141
),
127142
show_membership=dict(type="bool"),
143+
domains_to_process=dict(type='list', elements="str")
128144
)
129145
argument_spec.update(checkpoint_argument_spec_for_facts)
130146

plugins/modules/cp_mgmt_administrator_facts.py

+16
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@
5050
representation of the object.
5151
type: str
5252
choices: ['uid', 'standard', 'full']
53+
filter:
54+
description:
55+
- Search expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The
56+
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
57+
name, comment, tags etc.
58+
type: str
59+
version_added: "6.4.0"
5360
limit:
5461
description:
5562
- The maximal number of returned results.
@@ -77,6 +84,13 @@
7784
- Sorts results by the given field in descending order.
7885
type: str
7986
choices: ['name']
87+
domains_to_process:
88+
description:
89+
- 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
90+
with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
91+
type: list
92+
elements: str
93+
version_added: "6.4.0"
8094
extends_documentation_fragment: check_point.mgmt.checkpoint_facts
8195
"""
8296

@@ -110,6 +124,7 @@ def main():
110124
argument_spec = dict(
111125
name=dict(type="str"),
112126
details_level=dict(type="str", choices=["uid", "standard", "full"]),
127+
filter=dict(type='str'),
113128
limit=dict(type="int"),
114129
offset=dict(type="int"),
115130
order=dict(
@@ -120,6 +135,7 @@ def main():
120135
DESC=dict(type="str", choices=["name"]),
121136
),
122137
),
138+
domains_to_process=dict(type='list', elements="str")
123139
)
124140
argument_spec.update(checkpoint_argument_spec_for_facts)
125141

plugins/modules/cp_mgmt_application_site.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,16 @@
111111
- name: add-application-site
112112
cp_mgmt_application_site:
113113
additional_categories:
114-
- Instant Chat
115-
- Supports Streaming
116-
- New Application Site Category 1
114+
- Instant Chat
115+
- Supports Streaming
116+
- New Application Site Category 1
117117
description: My Application Site
118118
name: New Application Site 1
119119
primary_category: Social Networking
120120
state: present
121121
url_list:
122-
- www.cnet.com
123-
- www.stackoverflow.com
122+
- www.cnet.com
123+
- www.stackoverflow.com
124124
urls_defined_as_regular_expression: false
125125
126126
- name: set-application-site

0 commit comments

Comments
 (0)