Skip to content

Commit 8a9553f

Browse files
authored
Merge pull request #53 from chkp-ameera/master
new release 6.0.0
2 parents 2329632 + 8768834 commit 8a9553f

38 files changed

+2828
-52
lines changed

CHANGELOG.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ v6.0.0
1111
Release Summary
1212
---------------
1313

14-
this release 6.0.0 of ``check_point.gaia``, released on 2025-1-6.
14+
this release 6.0.0 of ``check_point.gaia``, released on 2025-1-22.
1515

1616
New Modules
1717
-----------
@@ -30,6 +30,18 @@ New Modules
3030
- check_point.gaia.cp_gaia_virtual_gateway – manages virtual-gateway objects on Check Point machine over Web Services API.
3131
- check_point.gaia.cp_gaia_virtual_gateway_facts – get virtual-gateway objects facts on Check Point machine over Web Services API.
3232
- check_point.gaia.cp_gaia_virtual_vsnext_state_facts – get the VSNext state on Check Point machine over Web Services API.
33+
- check_point.gaia.cp_gaia_grub_password – manage grub password of a Check Point machine over Web Services API.
34+
- check_point.gaia.cp_gaia_grub_password_facts – get grub hash password of a Check Point machine over Web Services API.
35+
- check_point.gaia.cp_gaia_snmp – manage SNMP configuration of a Check Point machine over Web Services API.
36+
- check_point.gaia.cp_gaia_snmp_facts – get SNMP configuration of a Check Point machine over Web Services API.
37+
- check_point.gaia.cp_gaia_snmp_custom_trap – manage SNMP custom trap configuration of a Check Point machine over Web Services API.
38+
- check_point.gaia.cp_gaia_snmp_custom_trap_facts – get SNMP custom trap configuration of a Check Point machine over Web Services API.
39+
- check_point.gaia.cp_gaia_snmp_pre_defined_traps – manage SNMP pre defined traps configuration of a Check Point machine over Web Services API.
40+
- check_point.gaia.cp_gaia_snmp_pre_defined_traps_facts – get SNMP pre defined traps configuration of a Check Point machine over Web Services API.
41+
- check_point.gaia.cp_gaia_snmp_trap_receiver – manage SNMP trap receiver configuration of a Check Point machine over Web Services API.
42+
- check_point.gaia.cp_gaia_snmp_trap_receiver_facts – get SNMP trap receiver configuration of a Check Point machine over Web Services API.
43+
- check_point.gaia.cp_gaia_snmp_user – manage SNMP USM user configuration of a Check Point machine over Web Services API.
44+
- check_point.gaia.cp_gaia_snmp_user_facts – get SNMP USM user configuration of a Check Point machine over Web Services API.
3345

3446
Major Changes
3547
---------------

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,18 @@ Modules
135135
* `cp_gaia_alias_interface_facts` – Get information about alias interfaces of a Check Point machine over Web Services API.
136136
* `cp_gaia_system_group` – Manage system groups of a Check Point machine over Web Services API.
137137
* `cp_gaia_system_group_facts` – Get information about system groups of a Check Point machine over Web Services API.
138+
* `cp_gaia_grub_password` – manage grub password of a Check Point machine over Web Services API.
139+
* `cp_gaia_grub_password_facts` – get grub hash password of a Check Point machine over Web Services API.
140+
* `cp_gaia_snmp` – manage SNMP configuration of a Check Point machine over Web Services API.
141+
* `cp_gaia_snmp_facts` – get SNMP configuration of a Check Point machine over Web Services API.
142+
* `cp_gaia_snmp_custom_trap` – manage SNMP custom trap configuration of a Check Point machine over Web Services API.
143+
* `cp_gaia_snmp_custom_trap_facts` – get SNMP custom trap configuration of a Check Point machine over Web Services API.
144+
* `cp_gaia_snmp_pre_defined_traps` – manage SNMP pre defined traps configuration of a Check Point machine over Web Services API.
145+
* `cp_gaia_snmp_pre_defined_traps_facts` – get SNMP pre defined traps configuration of a Check Point machine over Web Services API.
146+
* `cp_gaia_snmp_trap_receiver` – manage SNMP trap receiver configuration of a Check Point machine over Web Services API.
147+
* `cp_gaia_snmp_trap_receiver_facts` – get SNMP trap receiver configuration of a Check Point machine over Web Services API.
148+
* `cp_gaia_snmp_user` – manage SNMP USM user configuration of a Check Point machine over Web Services API.
149+
* `cp_gaia_snmp_user_facts` – get SNMP USM user configuration of a Check Point machine over Web Services API.
138150

139151

140152
### Code of Conduct

docs/cp_gaia_grub_password.rst

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
.. _cp_gaia_grub_password_module:
2+
3+
4+
cp_gaia_grub_password -- Sets GRUB password.
5+
============================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
Sets GRUB password.
16+
17+
18+
19+
Requirements
20+
------------
21+
The below requirements are needed on the host that executes this module.
22+
23+
- supported starting from gaia\_api \>= 1.7
24+
25+
26+
27+
Parameters
28+
----------
29+
30+
version (False, str, None)
31+
Gaia API version for example 1.7.
32+
33+
34+
password (False, str, None)
35+
GRUB new password.
36+
37+
38+
password_hash (False, str, None)
39+
An encrypted representation of the password.
40+
41+
42+
43+
44+
45+
Notes
46+
-----
47+
48+
.. note::
49+
- Supports \ :literal:`check\_mode`\ .
50+
51+
52+
53+
54+
Examples
55+
--------
56+
57+
.. code-block:: yaml+jinja
58+
59+
60+
- name: Setting GRUB new password
61+
check_point.gaia.cp_gaia_grub_password:
62+
password: newpass
63+
64+
65+
66+
Return Values
67+
-------------
68+
69+
grub_password (always., dict, )
70+
The checkpoint object updated.
71+
72+
73+
74+
75+
76+
Status
77+
------
78+
79+
80+
81+
82+
83+
Authors
84+
~~~~~~~
85+
86+
- Ameer Asli (@chkp-ameera)
87+

docs/cp_gaia_grub_password_facts.rst

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
.. _cp_gaia_grub_password_facts_module:
2+
3+
4+
cp_gaia_grub_password_facts -- Show GRUB hash password.
5+
=======================================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
Show the GRUB hash password.
16+
17+
18+
19+
Requirements
20+
------------
21+
The below requirements are needed on the host that executes this module.
22+
23+
- supported starting from gaia\_api \>= 1.7
24+
25+
26+
27+
Parameters
28+
----------
29+
30+
version (False, str, None)
31+
Gaia API version for example 1.7.
32+
33+
34+
35+
36+
37+
Notes
38+
-----
39+
40+
.. note::
41+
- Supports \ :literal:`check\_mode`\ .
42+
43+
44+
45+
46+
Examples
47+
--------
48+
49+
.. code-block:: yaml+jinja
50+
51+
52+
- name: Show GRUB hash password
53+
check_point.gaia.cp_gaia_grub_password_facts:
54+
55+
56+
57+
58+
59+
Return Values
60+
-------------
61+
62+
ansible_facts (always., dict, )
63+
The checkpoint object facts.
64+
65+
66+
password_hash (always, str, )
67+
An encrypted representation of the password.
68+
69+
70+
71+
72+
73+
74+
Status
75+
------
76+
77+
78+
79+
80+
81+
Authors
82+
~~~~~~~
83+
84+
- Ameer Asli (@chkp-ameera)
85+

docs/cp_gaia_snmp.rst

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
.. _cp_gaia_snmp_module:
2+
3+
4+
cp_gaia_snmp -- SNMP agent configuration.
5+
=========================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
SNMP agent configuration.
16+
17+
18+
19+
Requirements
20+
------------
21+
The below requirements are needed on the host that executes this module.
22+
23+
- supported starting from gaia\_api \>= 1.6
24+
25+
26+
27+
Parameters
28+
----------
29+
30+
version (False, str, None)
31+
Gaia API version for example 1.6.
32+
33+
34+
enabled (False, bool, None)
35+
Enables/Disables the SNMP Agent.
36+
37+
38+
ver (False, str, None)
39+
Configures the supported SNMP version v1, v2 and v3.
40+
41+
42+
trap_usm (False, str, None)
43+
The user which will generate the SNMP traps, should be existed usm user
44+
45+
46+
contact (False, str, None)
47+
SNMP contact string
48+
49+
50+
location (False, str, None)
51+
SNMP location string Specifies a string that contains the location for the device.
52+
53+
54+
read_only_community (False, str, None)
55+
SNMP read-only community password, Where read-only lets you only read the values of SNMP objects
56+
57+
58+
read_write_community (False, str, None)
59+
SNMP read-write community password, Where read-write read and set the values as well
60+
61+
62+
interfaces (False, str, None)
63+
Adds a local interface to the list of local interfaces, on which the SNMP daemon listens
64+
65+
66+
pre_defined_traps_settings (optional, dict, None)
67+
Pre-defined traps settings.
68+
69+
70+
custom_traps_settings (optional, dict, None)
71+
Custom traps settings.
72+
73+
74+
vsx_settings (optional, dict, None)
75+
VSX settings.
76+
77+
78+
79+
80+
81+
Notes
82+
-----
83+
84+
.. note::
85+
- Supports \ :literal:`check\_mode`\ .
86+
87+
88+
89+
90+
Examples
91+
--------
92+
93+
.. code-block:: yaml+jinja
94+
95+
96+
- name: Set SNMP status
97+
check_point.gaia.cp_gaia_snmp:
98+
enabled: true
99+
100+
101+
102+
103+
Return Values
104+
-------------
105+
106+
snmp (always., dict, )
107+
The checkpoint object updated.
108+
109+
110+
111+
112+
113+
Status
114+
------
115+
116+
117+
118+
119+
120+
Authors
121+
~~~~~~~
122+
123+
- Ameer Asli (@chkp-ameera)
124+

0 commit comments

Comments
 (0)