Debian Codegraph @

ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_set_global_properties.py

raw
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3 #
4 # Ansible module to manage CheckPoint Firewall (c) 2019
5 #
6 # Ansible is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # Ansible is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
18 #
19
20 from __future__ import absolute_import, division, print_function
21
22 __metaclass__ = type
23
24 ANSIBLE_METADATA = {
25 "metadata_version": "1.1",
26 "status": ["preview"],
27 "supported_by": "community",
28 }
29
30 DOCUMENTATION = """
31 ---
32 module: cp_mgmt_set_global_properties
33 short_description: Edit Global Properties.
34 description:
35 - Edit Global Properties.
36 - All operations are performed over Web Services API.
37 - Available from R81.20 management version.
38 version_added: "3.0.0"
39 author: "Eden Brillant (@chkp-edenbr)"
40 options:
41 firewall:
42 description:
43 - Add implied rules to or remove them from the Firewall Rule Base. Determine the position of the implied rules in the Rule Base, and whether or
44 not to log them.
45 type: dict
46 suboptions:
47 accept_control_connections:
48 description:
49 - Used for,<br>&nbsp;&nbsp;&nbsp;&nbsp; <ul><li> Installing the security policy from the Security Management server to the
50 gateways.</li><br>&nbsp;&nbsp;&nbsp;&nbsp; <li> Sending logs from the gateways to the Security Management server.</li><br>&nbsp;&nbsp;&nbsp;&nbsp;
51 <li> Communication between SmartConsole clients and the Security Management Server</li><br>&nbsp;&nbsp;&nbsp;&nbsp; <li> Communication between
52 Firewall daemons on different machines (Security Management Server, Security Gateway).</li><br>&nbsp;&nbsp;&nbsp;&nbsp; <li> Connecting to OPSEC
53 applications such as RADIUS and TACACS authentication servers.</li></ul>If you disable Accept Control Connections and you want Check Point
54 components to communicate with each other and with OPSEC components, you must explicitly allow these connections in the Rule Base.
55 type: bool
56 accept_ips1_management_connections:
57 description:
58 - Accepts IPS-1 connections.<br>Available only if accept-control-connections is true.
59 type: bool
60 accept_remote_access_control_connections:
61 description:
62 - Accepts Remote Access connections.<br>Available only if accept-control-connections is true.
63 type: bool
64 accept_smart_update_connections:
65 description:
66 - Accepts SmartUpdate connections.
67 type: bool
68 accept_outgoing_packets_originating_from_gw:
69 description:
70 - Accepts all packets from connections that originate at the Check Point Security Gateway.
71 type: bool
72 accept_outgoing_packets_originating_from_gw_position:
73 description:
74 - The position of the implied rules in the Rule Base.<br>Available only if accept-outgoing-packets-originating-from-gw is false.
75 type: str
76 choices: ['first', 'last', 'before last']
77 accept_outgoing_packets_originating_from_connectra_gw:
78 description:
79 - Accepts outgoing packets originating from Connectra gateway.<br>Available only if accept-outgoing-packets-originating-from-gw is false.
80 type: bool
81 accept_outgoing_packets_to_cp_online_services:
82 description:
83 - Allow Security Gateways to access Check Point online services. Supported for R80.10 Gateway and higher.<br>Available only if
84 accept-outgoing-packets-originating-from-gw is false.
85 type: bool
86 accept_outgoing_packets_to_cp_online_services_position:
87 description:
88 - The position of the implied rules in the Rule Base.<br>Available only if accept-outgoing-packets-to-cp-online-services is true.
89 type: str
90 choices: ['first', 'last', 'before last']
91 accept_domain_name_over_tcp:
92 description:
93 - Accepts Domain Name (DNS) queries and replies over TCP, to allow downloading of the domain name-resolving tables used for zone
94 transfers between servers. For clients, DNS over TCP is only used if the tables to be transferred are very large.
95 type: bool
96 accept_domain_name_over_tcp_position:
97 description:
98 - The position of the implied rules in the Rule Base.<br>Available only if accept-domain-name-over-tcp is true.
99 type: str
100 choices: ['first', 'last', 'before last']
101 accept_domain_name_over_udp:
102 description:
103 - Accepts Domain Name (DNS) queries and replies over UDP.
104 type: bool
105 accept_domain_name_over_udp_position:
106 description:
107 - The position of the implied rules in the Rule Base.<br>Available only if accept-domain-name-over-udp is true.
108 type: str
109 choices: ['first', 'last', 'before last']
110 accept_dynamic_addr_modules_outgoing_internet_connections:
111 description:
112 - Accept Dynamic Address modules' outgoing internet connections.Accepts DHCP traffic for DAIP (Dynamically Assigned IP Address)
113 gateways. In Small Office Appliance gateways, this rule allows outgoing DHCP, PPP, PPTP and L2TP Internet connections (regardless of whether it is
114 or is not a DAIP gateway).
115 type: bool
116 accept_icmp_requests:
117 description:
118 - Accepts Internet Control Message Protocol messages.
119 type: bool
120 accept_icmp_requests_position:
121 description:
122 - The position of the implied rules in the Rule Base.<br>Available only if accept-icmp-requests is true.
123 type: str
124 choices: ['first', 'last', 'before last']
125 accept_identity_awareness_control_connections:
126 description:
127 - Accepts traffic between Security Gateways in distributed environment configurations of Identity Awareness.
128 type: bool
129 accept_identity_awareness_control_connections_position:
130 description:
131 - The position of the implied rules in the Rule Base.<br>Available only if accept-identity-awareness-control-connections is true.
132 type: str
133 choices: ['first', 'last', 'before last']
134 accept_incoming_traffic_to_dhcp_and_dns_services_of_gws:
135 description:
136 - Allows the Small Office Appliance gateway to provide DHCP relay, DHCP server and DNS proxy services regardless of the rule base.
137 type: bool
138 accept_rip:
139 description:
140 - Accepts Routing Information Protocol (RIP), using UDP on port 520.
141 type: bool
142 accept_rip_position:
143 description:
144 - The position of the implied rules in the Rule Base.<br>Available only if accept-rip is true.
145 type: str
146 choices: ['first', 'last', 'before last']
147 accept_vrrp_packets_originating_from_cluster_members:
148 description:
149 - Selecting this option creates an implied rule in the security policy Rule Base that accepts VRRP inbound and outbound traffic to and
150 from the members of the cluster.
151 type: bool
152 accept_web_and_ssh_connections_for_gw_administration:
153 description:
154 - Accepts Web and SSH connections for Small Office Appliance gateways.
155 type: bool
156 log_implied_rules:
157 description:
158 - Produces log records for communications that match the implied rules that are generated in the Rule Base from the properties defined
159 in this window.
160 type: bool
161 security_server:
162 description:
163 - Control the welcome messages that users will see when logging in to servers behind Check Point Security Gateways.
164 type: dict
165 suboptions:
166 client_auth_welcome_file:
167 description:
168 - Client authentication welcome file is the name of a file whose contents are to be displayed when a user begins a Client
169 Authenticated session (optional) using the Manual Sign On Method. Client Authenticated Sessions initiated by Manual Sign On are not mediated
170 by a security server.
171 type: str
172 ftp_welcome_msg_file:
173 description:
174 - FTP welcome message file is the name of a file whose contents are to be displayed when a user begins an Authenticated FTP session.
175 type: str
176 rlogin_welcome_msg_file:
177 description:
178 - Rlogin welcome message file is the name of a file whose contents are to be displayed when a user begins an Authenticated RLOGIN session.
179 type: str
180 telnet_welcome_msg_file:
181 description:
182 - Telnet welcome message file is the name of a file whose contents are to be displayed when a user begins an Authenticated Telnet session.
183 type: str
184 mdq_welcome_msg:
185 description:
186 - MDQ Welcome Message is the message to be displayed when a user begins an MDQ session. The MDQ Welcome Message should contain
187 characters according to RFC 1035 and it must follow the ARPANET host name rules,<br> - This message must begin with a number or letter.
188 After the first letter or number character the remaining characters can be a letter, number, space, tab or hyphen.<br> - This message must
189 not end with a space or a tab and is limited to 63 characters.
190 type: str
191 smtp_welcome_msg:
192 description:
193 - SMTP Welcome Message is the message to be displayed when a user begins an SMTP session.
194 type: str
195 http_next_proxy_host:
196 description:
197 - HTTP next proxy host is the host name of the HTTP proxy behind the Check Point Security Gateway HTTP security server (if there
198 is one). Changing the HTTP Next Proxy fields takes effect after the Security Gateway database is downloaded to the authenticating gateway, or
199 after the security policy is re-installed. <br>These settings apply only to firewalled gateways prior to NG. For later versions, these
200 settings should be defined in the Node Properties window.
201 - Available from R82 management version.
202 type: str
203 http_next_proxy_port:
204 description:
205 - HTTP next proxy port is the port of the HTTP proxy behind the Check Point Security Gateway HTTP security server (if there is
206 one). Changing the HTTP Next Proxy fields takes effect after the Security Gateway database is downloaded to the authenticating gateway, or
207 after the security policy is re-installed. <br>These settings apply only to firewalled gateways prior to NG. For later versions, these
208 settings should be defined in the Node Properties window.
209 - Available from R82 management version.
210 type: int
211 http_servers:
212 description:
213 - This list specifies the HTTP servers. Defining HTTP servers allows you to restrict incoming HTTP.
214 type: list
215 elements: dict
216 suboptions:
217 logical_name:
218 description:
219 - Unique Logical Name of the HTTP Server.
220 type: str
221 host:
222 description:
223 - Host name of the HTTP Server.
224 type: str
225 port:
226 description:
227 - Port number of the HTTP Server.
228 type: int
229 reauthentication:
230 description:
231 - Specify whether users must reauthenticate when accessing a specific server.
232 type: str
233 choices: ['standard', 'post request', 'every request']
234 server_for_null_requests:
235 description:
236 - The Logical Name of a Null Requests Server from http-servers.
237 type: str
238 nat:
239 description:
240 - Configure settings that apply to all NAT connections.
241 type: dict
242 suboptions:
243 allow_bi_directional_nat:
244 description:
245 - Applies to automatic NAT rules in the NAT Rule Base, and allows two automatic NAT rules to match a connection. Without Bidirectional
246 NAT, only one automatic NAT rule can match a connection.
247 type: bool
248 auto_arp_conf:
249 description:
250 - Ensures that ARP requests for a translated (NATed) machine, network or address range are answered by the Check Point Security Gateway.
251 type: bool
252 merge_manual_proxy_arp_conf:
253 description:
254 - Merges the automatic and manual ARP configurations. Manual proxy ARP configuration is required for manual Static NAT
255 rules.<br>Available only if auto-arp-conf is true.
256 type: bool
257 auto_translate_dest_on_client_side:
258 description:
259 - Applies to packets originating at the client, with the server as its destination. Static NAT for the server is performed on the client side.
260 type: bool
261 manually_translate_dest_on_client_side:
262 description:
263 - Applies to packets originating at the client, with the server as its destination. Static NAT for the server is performed on the client side.
264 type: bool
265 enable_ip_pool_nat:
266 description:
267 - Applies to packets originating at the client, with the server as its destination. Static NAT for the server is performed on the client side.
268 type: bool
269 addr_alloc_and_release_track:
270 description:
271 - Specifies whether to log each allocation and release of an IP address from the IP Pool.<br>Available only if enable-ip-pool-nat is true.
272 type: str
273 choices: ['ip allocation log', 'none']
274 addr_exhaustion_track:
275 description:
276 - Specifies the action to take if the IP Pool is exhausted.<br>Available only if enable-ip-pool-nat is true.
277 type: str
278 choices: ['ip exhaustion alert', 'none', 'ip exhaustion log']
279 authentication:
280 description:
281 - Define Authentication properties that are common to all users and to the various ways that the Check Point Security Gateway asks for passwords
282 (User, Client and Session Authentication).
283 type: dict
284 suboptions:
285 auth_internal_users_with_specific_suffix:
286 description:
287 - Enforce suffix for internal users authentication.
288 type: bool
289 allowed_suffix_for_internal_users:
290 description:
291 - Suffix for internal users authentication.
292 type: str
293 max_days_before_expiration_of_non_pulled_user_certificates:
294 description:
295 - Users certificates which were initiated but not pulled will expire after the specified number of days. Any value from 1 to 60 days can
296 be entered in this field.
297 type: int
298 max_client_auth_attempts_before_connection_termination:
299 description:
300 - Allowed Number of Failed Client Authentication Attempts Before Session Termination. Any value from 1 to 800 attempts can be entered in this field.
301 type: int
302 max_rlogin_attempts_before_connection_termination:
303 description:
304 - Allowed Number of Failed rlogin Attempts Before Session Termination. Any value from 1 to 800 attempts can be entered in this field.
305 type: int
306 max_session_auth_attempts_before_connection_termination:
307 description:
308 - Allowed Number of Failed Session Authentication Attempts Before Session Termination. Any value from 1 to 800 attempts can be entered in this field.
309 type: int
310 max_telnet_attempts_before_connection_termination:
311 description:
312 - Allowed Number of Failed telnet Attempts Before Session Termination. Any value from 1 to 800 attempts can be entered in this field.
313 type: int
314 enable_delayed_auth:
315 description:
316 - all authentications other than certificate-based authentications will be delayed by the specified time. Applying this delay will stall
317 brute force authentication attacks. The delay is applied for both failed and successful authentication attempts.
318 type: bool
319 delay_each_auth_attempt_by:
320 description:
321 - Delay each authentication attempt by the specified number of milliseconds. Any value from 1 to 25000 can be entered in this field.
322 type: int
323 vpn:
324 description:
325 - Configure settings relevant to VPN.
326 type: dict
327 suboptions:
328 vpn_conf_method:
329 description:
330 - Decide on Simplified or Traditional mode for all new security policies or decide which mode to use on a policy by policy basis.
331 type: str
332 choices: ['simplified', 'traditional', 'per policy']
333 domain_name_for_dns_resolving:
334 description:
335 - Enter the domain name that will be used for gateways DNS lookup. The DNS host name that is used is "gateway_name.domain_name".
336 type: str
337 enable_backup_gw:
338 description:
339 - Enable Backup Gateway.
340 type: bool
341 enable_decrypt_on_accept_for_gw_to_gw_traffic:
342 description:
343 - Enable decrypt on accept for gateway to gateway traffic. This is only relevant for policies in traditional mode. In Traditional Mode,
344 the 'Accept' action determines that a connection is allowed, while the 'Encrypt' action determines that a connection is allowed and encrypted.
345 Select whether VPN accepts an encrypted packet that matches a rule with an 'Accept' action or drops it.
346 type: bool
347 enable_load_distribution_for_mep_conf:
348 description:
349 - Enable load distribution for Multiple Entry Points configurations (Site To Site connections). The VPN Multiple Entry Point (MEP)
350 feature supplies high availability and load distribution for Check Point Security Gateways. MEP works in four modes,<br>&nbsp;&nbsp;&nbsp;&nbsp;
351 <ul><li> First to Respond, in which the first gateway to reply to the peer gateway is chosen. An organization would choose this option if, for
352 example, the organization has two gateways in a MEPed configuration - one in London, the other in New York. It makes sense for Check Point
353 Security Gateway peers located in England to try the London gateway first and the NY gateway second. Being geographically closer to Check Point
354 Security Gateway peers in England, the London gateway will be the first to respond, and becomes the entry point to the internal
355 network.</li><br>&nbsp;&nbsp;&nbsp;&nbsp; <li> VPN Domain, is when the destination IP belongs to a particular VPN domain, the gateway of that
356 domain becomes the chosen entry point. This gateway becomes the primary gateway while other gateways in the MEP configuration become its backup
357 gateways.</li><br>&nbsp;&nbsp;&nbsp;&nbsp; <li> Random Selection, in which the remote Check Point Security Gateway peer randomly selects a gateway
358 with which to open a VPN connection. For each IP source/destination address pair, a new gateway is randomly selected. An organization might have a
359 number of machines with equal performance abilities. In this case, it makes sense to enable load distribution. The machines are used in a random
360 and equal way.</li><br>&nbsp;&nbsp;&nbsp;&nbsp; <li> Manually set priority list, gateway priorities can be set manually for the entire community
361 or for individual satellite gateways.</li></ul>.
362 type: bool
363 enable_vpn_directional_match_in_vpn_column:
364 description:
365 - Enable VPN Directional Match in VPN Column.<br>Note, VPN Directional Match is supported only on Gaia, SecurePlatform, Linux and IPSO.
366 type: bool
367 grace_period_after_the_crl_is_not_valid:
368 description:
369 - When establishing VPN tunnels, the peer presents its certificate for authentication. The clock on the gateway machine must be
370 synchronized with the clock on the Certificate Authority machine. Otherwise, the Certificate Revocation List (CRL) used for validating the peer's
371 certificate may be considered invalid and thus the authentication fails. To resolve the issue of differing clock times, a Grace Period permits a
372 wider window for CRL validity.
373 type: int
374 grace_period_before_the_crl_is_valid:
375 description:
376 - When establishing VPN tunnels, the peer presents its certificate for authentication. The clock on the gateway machine must be
377 synchronized with the clock on the Certificate Authority machine. Otherwise, the Certificate Revocation List (CRL) used for validating the peer's
378 certificate may be considered invalid and thus the authentication fails. To resolve the issue of differing clock times, a Grace Period permits a
379 wider window for CRL validity.
380 type: int
381 grace_period_extension_for_secure_remote_secure_client:
382 description:
383 - When dealing with remote clients the Grace Period needs to be extended. The remote client sometimes relies on the peer gateway to
384 supply the CRL. If the client's clock is not synchronized with the gateway's clock, a CRL that is considered valid by the gateway may be
385 considered invalid by the client.
386 type: int
387 support_ike_dos_protection_from_identified_src:
388 description:
389 - When the number of IKE negotiations handled simultaneously exceeds a threshold above VPN's capacity, a gateway concludes that it is
390 either under a high load or experiencing a Denial of Service attack. VPN can filter out peers that are the probable source of the potential Denial
391 of Service attack. There are two kinds of protection,<br>&nbsp;&nbsp;&nbsp;&nbsp; <ul><li> Stateless - the peer has to respond to an IKE
392 notification in a way that proves the peer's IP address is not spoofed. If the peer cannot prove this, VPN does not allocate resources for the IKE
393 negotiation</li><br>&nbsp;&nbsp;&nbsp;&nbsp; <li> Puzzles - this is the same as Stateless, but in addition, the peer has to solve a mathematical
394 puzzle. Solving this puzzle consumes peer CPU resources in a way that makes it difficult to initiate multiple IKE negotiations
395 simultaneously.</li></ul>Puzzles is more secure then Stateless, but affects performance.<br>Since these kinds of attacks involve a new proprietary
396 addition to the IKE protocol, enabling these protection mechanisms may cause difficulties with non Check Point VPN products or older versions of
397 VPN.
398 type: str
399 choices: ['puzzles', 'stateless', 'none']
400 support_ike_dos_protection_from_unidentified_src:
401 description:
402 - When the number of IKE negotiations handled simultaneously exceeds a threshold above VPN's capacity, a gateway concludes that it is
403 either under a high load or experiencing a Denial of Service attack. VPN can filter out peers that are the probable source of the potential Denial
404 of Service attack. There are two kinds of protection,<br>&nbsp;&nbsp;&nbsp;&nbsp; <ul><li> Stateless - the peer has to respond to an IKE
405 notification in a way that proves the peer's IP address is not spoofed. If the peer cannot prove this, VPN does not allocate resources for the IKE
406 negotiation</li><br>&nbsp;&nbsp;&nbsp;&nbsp; <li> Puzzles - this is the same as Stateless, but in addition, the peer has to solve a mathematical
407 puzzle. Solving this puzzle consumes peer CPU resources in a way that makes it difficult to initiate multiple IKE negotiations
408 simultaneously.</li></ul>Puzzles is more secure then Stateless, but affects performance.<br>Since these kinds of attacks involve a new proprietary
409 addition to the IKE protocol, enabling these protection mechanisms may cause difficulties with non Check Point VPN products or older versions of
410 VPN.
411 type: str
412 choices: ['puzzles', 'stateless', 'none']
413 remote_access:
414 description:
415 - Configure Remote Access properties.
416 type: dict
417 suboptions:
418 enable_back_connections:
419 description:
420 - Usually communication with remote clients must be initialized by the clients. However, once a client has opened a connection, the
421 hosts behind VPN can open a return or back connection to the client. For a back connection, the client's details must be maintained on all the
422 devices between the client and the gateway, and on the gateway itself. Determine whether the back connection is enabled.
423 type: bool
424 keep_alive_packet_to_gw_interval:
425 description:
426 - Usually communication with remote clients must be initialized by the clients. However, once a client has opened a connection, the
427 hosts behind VPN can open a return or back connection to the client. For a back connection, the client's details must be maintained on all the
428 devices between the client and the gateway, and on the gateway itself. Determine frequency (in seconds) of the Keep Alive packets sent by the
429 client in order to maintain the connection with the gateway.<br>Available only if enable-back-connections is true.
430 type: int
431 encrypt_dns_traffic:
432 description:
433 - You can decide whether DNS queries sent by the remote client to a DNS server located on the corporate LAN are passed through the VPN
434 tunnel or not. Disable this option if the client has to make DNS queries to the DNS server on the corporate LAN while connecting to the
435 organization but without using the SecuRemote client.
436 type: bool
437 simultaneous_login_mode:
438 description:
439 - Select the simultaneous login mode.
440 type: str
441 choices: ['allowonlysinglelogintouser', 'allowseverallogintouser']
442 vpn_authentication_and_encryption:
443 description:
444 - configure supported Encryption and Authentication methods for Remote Access clients.
445 type: dict
446 suboptions:
447 encryption_algorithms:
448 description:
449 - Select the methods negotiated in IKE phase 2 and used in IPSec connections.
450 type: dict
451 suboptions:
452 ike:
453 description:
454 - Configure the IKE Phase 1 settings.
455 type: dict
456 suboptions:
457 support_encryption_algorithms:
458 description:
459 - Select the encryption algorithms that will be supported with remote hosts.
460 type: dict
461 suboptions:
462 tdes:
463 description:
464 - Select whether the Triple DES encryption algorithm will be supported with remote hosts.
465 type: bool
466 aes_128:
467 description:
468 - Select whether the AES-128 encryption algorithm will be supported with remote hosts.
469 type: bool
470 aes_256:
471 description:
472 - Select whether the AES-256 encryption algorithm will be supported with remote hosts.
473 type: bool
474 des:
475 description:
476 - Select whether the DES encryption algorithm will be supported with remote hosts.
477 type: bool
478 use_encryption_algorithm:
479 description:
480 - Choose the encryption algorithm that will have the highest priority of the selected algorithms. If given a
481 choice of more that one encryption algorithm to use, the algorithm selected in this field will be used.
482 type: str
483 choices: ['AES-256', 'DES', 'AES-128', 'TDES']
484 support_data_integrity:
485 description:
486 - Select the hash algorithms that will be supported with remote hosts to ensure data integrity.
487 type: dict
488 suboptions:
489 aes_xcbc:
490 description:
491 - Select whether the AES-XCBC hash algorithm will be supported with remote hosts to ensure data integrity.
492 type: bool
493 md5:
494 description:
495 - Select whether the MD5 hash algorithm will be supported with remote hosts to ensure data integrity.
496 type: bool
497 sha1:
498 description:
499 - Select whether the SHA1 hash algorithm will be supported with remote hosts to ensure data integrity.
500 type: bool
501 sha256:
502 description:
503 - Select whether the SHA256 hash algorithm will be supported with remote hosts to ensure data integrity.
504 type: bool
505 sha384:
506 description:
507 - Select whether the SHA384 hash algorithm will be supported with remote hosts to ensure data integrity.
508 - Available from R82 management version.
509 type: bool
510 sha512:
511 description:
512 - Select whether the SHA512 hash algorithm will be supported with remote hosts to ensure data integrity.
513 - Available from R82 management version.
514 type: bool
515 use_data_integrity:
516 description:
517 - The hash algorithm chosen here will be given the highest priority if more than one choice is offered.
518 type: str
519 choices: ['aes-xcbc', 'sha256', 'sha1', 'md5', 'sha384', 'sha512']
520 support_diffie_hellman_groups:
521 description:
522 - Select the Diffie-Hellman groups that will be supported with remote hosts.
523 type: dict
524 suboptions:
525 group1:
526 description:
527 - Select whether Diffie-Hellman Group 1 (768 bit) will be supported with remote hosts.
528 type: bool
529 group14:
530 description:
531 - Select whether Diffie-Hellman Group 14 (2048 bit) will be supported with remote hosts.
532 type: bool
533 group2:
534 description:
535 - Select whether Diffie-Hellman Group 2 (1024 bit) will be supported with remote hosts.
536 type: bool
537 group5:
538 description:
539 - Select whether Diffie-Hellman Group 5 (1536 bit) will be supported with remote hosts.
540 type: bool
541 use_diffie_hellman_group:
542 description:
543 - SecureClient users utilize the Diffie-Hellman group selected in this field.
544 type: str
545 choices: ['group 1', 'group 2', 'group 5', 'group 14']
546 ipsec:
547 description:
548 - Configure the IPSEC Phase 2 settings.
549 type: dict
550 suboptions:
551 support_encryption_algorithms:
552 description:
553 - Select the encryption algorithms that will be supported with remote hosts.
554 type: dict
555 suboptions:
556 tdes:
557 description:
558 - Select whether the Triple DES encryption algorithm will be supported with remote hosts.
559 type: bool
560 aes_128:
561 description:
562 - Select whether the AES-128 encryption algorithm will be supported with remote hosts.
563 type: bool
564 aes_256:
565 description:
566 - Select whether the AES-256 encryption algorithm will be supported with remote hosts.
567 type: bool
568 des:
569 description:
570 - Select whether the DES encryption algorithm will be supported with remote hosts.
571 type: bool
572 use_encryption_algorithm:
573 description:
574 - Choose the encryption algorithm that will have the highest priority of the selected algorithms. If given a
575 choice of more that one encryption algorithm to use, the algorithm selected in this field will be used.
576 type: str
577 choices: ['AES-256', 'DES', 'AES-128', 'TDES']
578 support_data_integrity:
579 description:
580 - Select the hash algorithms that will be supported with remote hosts to ensure data integrity.
581 type: dict
582 suboptions:
583 aes_xcbc:
584 description:
585 - Select whether the AES-XCBC hash algorithm will be supported with remote hosts to ensure data integrity.
586 type: bool
587 md5:
588 description:
589 - Select whether the MD5 hash algorithm will be supported with remote hosts to ensure data integrity.
590 type: bool
591 sha1:
592 description:
593 - Select whether the SHA1 hash algorithm will be supported with remote hosts to ensure data integrity.
594 type: bool
595 sha256:
596 description:
597 - Select whether the SHA256 hash algorithm will be supported with remote hosts to ensure data integrity.
598 type: bool
599 sha384:
600 description:
601 - Select whether the SHA384 hash algorithm will be supported with remote hosts to ensure data integrity.
602 - Available from R82 management version.
603 type: bool
604 sha512:
605 description:
606 - Select whether the SHA512 hash algorithm will be supported with remote hosts to ensure data integrity.
607 - Available from R82 management version.
608 type: bool
609 use_data_integrity:
610 description:
611 - The hash algorithm chosen here will be given the highest priority if more than one choice is offered.
612 type: str
613 choices: ['aes-xcbc', 'sha1', 'sha256', 'sha384', 'sha512', 'md5']
614 enforce_encryption_alg_and_data_integrity_on_all_users:
615 description:
616 - Enforce Encryption Algorithm and Data Integrity on all users.
617 type: bool
618 encryption_method:
619 description:
620 - Select the encryption method.
621 type: str
622 choices: ['prefer_ikev2_support_ikev1', 'ike_v2_only', 'ike_v1_only']
623 pre_shared_secret:
624 description:
625 - the user password is specified in the Authentication tab in the user's IKE properties (in the user properties window, Encryption tab > Edit).
626 type: bool
627 support_legacy_auth_for_sc_l2tp_nokia_clients:
628 description:
629 - Support Legacy Authentication for SC (hybrid mode), L2TP (PAP) and Nokia clients (CRACK).
630 type: bool
631 support_legacy_eap:
632 description:
633 - Support Legacy EAP (Extensible Authentication Protocol).
634 type: bool
635 support_l2tp_with_pre_shared_key:
636 description:
637 - Use a centrally managed pre-shared key for IKE.
638 type: bool
639 l2tp_pre_shared_key:
640 description:
641 - Type in the pre-shared key.<br>Available only if support-l2tp-with-pre-shared-key is set to true.
642 type: str
643 vpn_advanced:
644 description:
645 - Configure encryption methods and interface resolution for remote access clients.
646 type: dict
647 suboptions:
648 allow_clear_traffic_to_encryption_domain_when_disconnected:
649 description:
650 - SecuRemote/SecureClient behavior while disconnected - How traffic to the VPN domain is handled when the Remote Access VPN
651 client is not connected to the site. Traffic can either be dropped or sent in clear without encryption.
652 type: bool
653 enable_load_distribution_for_mep_conf:
654 description:
655 - Load distribution for Multiple Entry Points configurations - Remote access clients will randomly select a gateway from the
656 list of entry points. Make sure to define the same VPN domain for all the Security Gateways you want to be entry points.
657 type: bool
658 use_first_allocated_om_ip_addr_for_all_conn_to_the_gws_of_the_site:
659 description:
660 - Use first allocated Office Mode IP Address for all connections to the Gateways of the site.After a remote user connects and
661 receives an Office Mode IP address from a gateway, every connection to that gateways encryption domain will go out with the Office Mode IP as
662 the internal source IP. The Office Mode IP is what hosts in the encryption domain will recognize as the remote user's IP address. The Office
663 Mode IP address assigned by a specific gateway can be used in its own encryption domain and in neighboring encryption domains as well. The
664 neighboring encryption domains should reside behind gateways that are members of the same VPN community as the assigning gateway. Since the
665 remote hosts connections are dependant on the Office Mode IP address it received, should the gateway that issued the IP become unavailable,
666 all the connections to the site will terminate.
667 type: bool
668 scv:
669 description:
670 - Define properties of the Secure Configuration Verification process.
671 type: dict
672 suboptions:
673 apply_scv_on_simplified_mode_fw_policies:
674 description:
675 - Determine whether the gateway verifies that remote access clients are securely configured. This is set here only if the
676 security policy is defined in the Simplified Mode. If the security policy is defined in the Traditional Mode, verification takes place per
677 rule.
678 type: bool
679 exceptions:
680 description:
681 - Specify the hosts that can be accessed using the selected services even if the client is not verified.<br>Available only if
682 apply-scv-on-simplified-mode-fw-policies is true.
683 type: list
684 elements: dict
685 suboptions:
686 hosts:
687 description:
688 - Specify the Hosts to be excluded from SCV.
689 type: list
690 elements: str
691 services:
692 description:
693 - Specify the services to be accessed.
694 type: list
695 elements: str
696 no_scv_for_unsupported_cp_clients:
697 description:
698 - Do not apply Secure Configuration Verification for connections from Check Point VPN clients that don't support it, such as SSL
699 Network Extender, GO, Capsule VPN / Connect, Endpoint Connects lower than R75, or L2TP clients.<br>Available only if
700 apply-scv-on-simplified-mode-fw-policies is true.
701 type: bool
702 upon_verification_accept_and_log_client_connection:
703 description:
704 - If the gateway verifies the client's configuration, decide how the gateway should handle connections with clients that fail
705 the Security Configuration Verification. It is possible to either drop the connection or Accept the connection and log it.
706 type: bool
707 only_tcp_ip_protocols_are_used:
708 description:
709 - Most SCV checks are configured via the SCV policy. Specify whether to verify that only TCP/IP protocols are used.
710 type: bool
711 policy_installed_on_all_interfaces:
712 description:
713 - Most SCV checks are configured via the SCV policy. Specify whether to verify that the Desktop Security Policy is installed on
714 all the interfaces of the client.
715 type: bool
716 generate_log:
717 description:
718 - If the client identifies that the secure configuration has been violated, select whether a log is generated by the remote
719 access client and sent to the Security Management server.
720 type: bool
721 notify_user:
722 description:
723 - If the client identifies that the secure configuration has been violated, select whether to user should be notified.
724 type: bool
725 ssl_network_extender:
726 description:
727 - Define properties for SSL Network Extender users.
728 type: dict
729 suboptions:
730 user_auth_method:
731 description:
732 - Wide Impact, Also applies for SecureClient Mobile devices and Check Point GO clients!<br>User authentication method indicates
733 how the user will be authenticated by the gateway. Changes made here will also apply for SSL clients.<br>Legacy - Username and password
734 only.<br>Certificate - Certificate only with an existing certificate.<br>Certificate with Enrollment - Allows you to obtain a new certificate
735 and then use certificate authentication only.<br>Mixed - Can use either username and password or certificate.
736 type: str
737 choices: ['certificate_with_enrollment', 'certificate', 'mixed', 'legacy']
738 supported_encryption_methods:
739 description:
740 - Wide Impact, Also applies to SecureClient Mobile devices!<br>Select the encryption algorithms that will be supported for
741 remote users. Changes made here will also apply for all SSL clients.
742 type: str
743 choices: ['3des_or_rc4', '3des_only']
744 client_upgrade_upon_connection:
745 description:
746 - When a client connects to the gateway with SSL Network Extender, the client automatically checks for upgrade. Select whether
747 the client should automatically upgrade.
748 type: str
749 choices: ['force_upgrade', 'ask_user', 'no_upgrade']
750 client_uninstall_upon_disconnection:
751 description:
752 - Select whether the client should automatically uninstall SSL Network Extender when it disconnects from the gateway.
753 type: str
754 choices: ['force_uninstall', 'ask_user', 'dont_uninstall']
755 re_auth_user_interval:
756 description:
757 - Wide Impact, Applies for the SecureClient Mobile!<br>Select the interval that users will need to reauthenticate.
758 type: int
759 scan_ep_machine_for_compliance_with_ep_compliance_policy:
760 description:
761 - Set to true if you want endpoint machines to be scanned for compliance with the Endpoint Compliance Policy.
762 type: bool
763 client_outgoing_keep_alive_packets_frequency:
764 description:
765 - Select the interval which the keep-alive packets are sent.
766 type: int
767 secure_client_mobile:
768 description:
769 - Define properties for SecureClient Mobile.
770 type: dict
771 suboptions:
772 user_auth_method:
773 description:
774 - Wide Impact, Also applies for SSL Network Extender clients and Check Point GO clients.<br>How the user will be authenticated by the gateway.
775 type: str
776 choices: ['certificate_with_enrollment', 'certificate', 'mixed', 'legacy']
777 enable_password_caching:
778 description:
779 - If the password entered to authenticate is saved locally on the user's machine.
780 type: str
781 choices: ['client_decide', 'true', 'false']
782 cache_password_timeout:
783 description:
784 - Cached password timeout (in minutes).
785 type: int
786 re_auth_user_interval:
787 description:
788 - Wide Impact, Also applies for SSL Network Extender clients!<br>The length of time (in minutes) until the user's credentials
789 are resent to the gateway to verify authorization.
790 type: int
791 connect_mode:
792 description:
793 - Methods by which a connection to the gateway will be initiated,<br>Configured On Endpoint Client - the method used for
794 initiating a connection to a gateway is determined by the endpoint client<br>Manual - VPN connections will not be initiated
795 automatically.<br>Always connected - SecureClient Mobile will automatically establish a connection to the last connected gateway under the
796 following circumstances, (a) the device has a valid IP address, (b) when the device "wakes up" from a low-power state or a soft-reset, or (c)
797 after a condition that caused the device to automatically disconnect ceases to exist (for example, Device is out of PC Sync, Disconnect is not
798 idle.).<br>On application request - Applications requiring access to resources through the VPN will be able to initiate a VPN connection.
799 type: str
800 choices: ['manual', 'always connected', 'on application request', 'configured on endpoint client']
801 automatically_initiate_dialup:
802 description:
803 - When selected, the client will initiate a GPRS dialup connection before attempting to establish the VPN connection. Note that
804 if a local IP address is already available through another network interface, then the GPRS dialup is not initiated.
805 type: str
806 choices: ['client_decide', 'true', 'false']
807 disconnect_when_device_is_idle:
808 description:
809 - Enabling this feature will disconnect users from the gateway if there is no traffic sent during the defined time period.
810 type: str
811 choices: ['client_decide', 'true', 'false']
812 supported_encryption_methods:
813 description:
814 - Wide Impact, Also applies for SSL Network Extender clients!<br>Select the encryption algorithms that will be supported with remote users.
815 type: str
816 choices: ['3des_or_rc4', '3des_only']
817 route_all_traffic_to_gw:
818 description:
819 - Operates the client in Hub Mode, sending all traffic to the VPN server for routing, filtering, and processing.
820 type: str
821 choices: ['client_decide', 'true', 'false']
822 endpoint_connect:
823 description:
824 - Configure global settings for Endpoint Connect. These settings apply to all gateways.
825 type: dict
826 suboptions:
827 enable_password_caching:
828 description:
829 - If the password entered to authenticate is saved locally on the user's machine.
830 type: str
831 choices: ['client_decide', 'true', 'false']
832 cache_password_timeout:
833 description:
834 - Cached password timeout (in minutes).
835 type: int
836 re_auth_user_interval:
837 description:
838 - The length of time (in minutes) until the user's credentials are resent to the gateway to verify authorization.
839 type: int
840 connect_mode:
841 description:
842 - Methods by which a connection to the gateway will be initiated,<br>Manual - VPN connections will not be initiated
843 automatically.<br>Always connected - Endpoint Connect will automatically establish a connection to the last connected gateway under the
844 following circumstances, (a) the device has a valid IP address, (b) when the device "wakes up" from a low-power state or a soft-reset, or (c)
845 after a condition that caused the device to automatically disconnect ceases to exist (for example, Device is out of PC Sync, Disconnect is not
846 idle.).<br>Configured on endpoint client - the method used for initiating a connection to a gateway is determined by the endpoint client.
847 type: str
848 choices: ['Manual', 'Always Connected', 'Configured On Endpoint Client']
849 network_location_awareness:
850 description:
851 - Wide Impact, Also applies for Check Point GO clients!<br>Endpoint Connect intelligently detects whether it is inside or
852 outside of the VPN domain (Enterprise LAN), and automatically connects or disconnects as required. Select true and edit
853 network-location-awareness-conf to configure this capability.
854 type: str
855 choices: ['client_decide', 'true', 'false']
856 network_location_awareness_conf:
857 description:
858 - Configure how the client determines its location in relation to the internal network.
859 type: dict
860 suboptions:
861 vpn_clients_are_considered_inside_the_internal_network_when_the_client:
862 description:
863 - When a VPN client is within the internal network, the internal resources are available and the VPN tunnel should be
864 disconnected. Determine when VPN clients are considered inside the internal network,<br>Connects to GW through internal interface - The
865 client connects to the gateway through one of its internal interfaces (recommended).<br>Connects from network or group - The client
866 connects from a network or group specified in network-or-group-of-conn-vpn-client.<br>Runs on computer with access to Active Directory
867 domain - The client runs on a computer that can access its Active Directory domain.<br>Note, The VPN tunnel will resume automatically when
868 the VPN client is no longer in the internal network and the client is set to "Always connected" mode.
869 type: str
870 choices: ['connects to gw through internal interface', 'connects from network or group',
871 'runs on computer with access to active directory domain']
872 network_or_group_of_conn_vpn_client:
873 description:
874 - Name or UID of Network or Group the VPN client is connected from.<br>Available only if
875 vpn-clients-are-considered-inside-the-internal-network-when-the-client is set to "Connects from network or group".
876 type: str
877 consider_wireless_networks_as_external:
878 description:
879 - The speed at which locations are classified as internal or external can be increased by creating a list of wireless
880 networks that are known to be external. A wireless network is identified by its Service Set Identifier (SSID) a name used to identify a
881 particular 802.11 wireless LAN.
882 type: bool
883 excluded_internal_wireless_networks:
884 description:
885 - Excludes the specified internal networks names (SSIDs).<br>Available only if consider-wireless-networks-as-external is set to true.
886 type: list
887 elements: str
888 consider_undefined_dns_suffixes_as_external:
889 description:
890 - The speed at which locations are classified as internal or external can be increased by creating a list of DNS
891 suffixes that are known to be external. Enable this to be able to define DNS suffixes which won't be considered external.
892 type: bool
893 dns_suffixes:
894 description:
895 - DNS suffixes not defined here will be considered as external. If this list is empty
896 consider-undefined-dns-suffixes-as-external will automatically be set to false.<br>Available only if
897 consider-undefined-dns-suffixes-as-external is set to true.
898 type: list
899 elements: str
900 remember_previously_detected_external_networks:
901 description:
902 - The speed at which locations are classified as internal or external can be increased by caching (on the client side)
903 names of networks that were previously determined to be external.
904 type: bool
905 disconnect_when_conn_to_network_is_lost:
906 description:
907 - Enabling this feature disconnects users from the gateway when connectivity to the network is lost.
908 type: str
909 choices: ['client_decide', 'true', 'false']
910 disconnect_when_device_is_idle:
911 description:
912 - Enabling this feature will disconnect users from the gateway if there is no traffic sent during the defined time period.
913 type: str
914 choices: ['client_decide', 'true', 'false']
915 route_all_traffic_to_gw:
916 description:
917 - Operates the client in Hub Mode, sending all traffic to the VPN server for routing, filtering, and processing.
918 type: str
919 choices: ['client_decide', 'true', 'false']
920 client_upgrade_mode:
921 description:
922 - Select an option to determine how the client is upgraded.
923 type: str
924 choices: ['force_upgrade', 'ask_user', 'no_upgrade']
925 hot_spot_and_hotel_registration:
926 description:
927 - Configure the settings for Wireless Hot Spot and Hotel Internet access registration.
928 type: dict
929 suboptions:
930 enable_registration:
931 description:
932 - Set Enable registration to true in order to configure settings. Set Enable registration to false in order to cancel
933 registration (the configurations below won't be available). When the feature is enabled, you have several minutes to complete registration.
934 type: bool
935 local_subnets_access_only:
936 description:
937 - Local subnets access only.
938 type: bool
939 registration_timeout:
940 description:
941 - Maximum time (in seconds) to complete registration.
942 type: int
943 track_log:
944 description:
945 - Track log.
946 type: bool
947 max_ip_access_during_registration:
948 description:
949 - Maximum number of addresses to allow access to during registration.
950 type: int
951 ports:
952 description:
953 - Ports to be opened during registration (up to 10 ports).
954 type: list
955 elements: str
956 user_directory:
957 description:
958 - User can enable LDAP User Directory as well as specify global parameters for LDAP. If LDAP User Directory is enabled, this means that users
959 are managed on an external LDAP server and not on the internal Check Point Security Gateway users databases.
960 type: dict
961 suboptions:
962 enable_password_change_when_user_active_directory_expires:
963 description:
964 - For organizations using MS Active Directory, this setting enables users whose passwords have expired to automatically create new passwords.
965 type: bool
966 cache_size:
967 description:
968 - The maximum number of cached users allowed. The cache is FIFO (first-in, first-out). When a new user is added to a full cache, the
969 first user is deleted to make room for the new user. The Check Point Security Gateway does not query the LDAP server for users already in the
970 cache, unless the cache has timed out.
971 type: int
972 enable_password_expiration_configuration:
973 description:
974 - Enable configuring of the number of days during which the password is valid.<br>If
975 enable-password-change-when-user-active-directory-expires is true, the password expiration time is determined by the Active Directory. In this
976 case it is recommended not to set this to true.
977 type: bool
978 password_expires_after:
979 description:
980 - Specifies the number of days during which the password is valid. Users are authenticated using a special LDAP password. Should this
981 password expire, a new password must be defined.<br>Available only if enable-password-expiration-configuration is true.
982 type: int
983 timeout_on_cached_users:
984 description:
985 - The period of time in which a cached user is timed out and will need to be fetched again from the LDAP server.
986 type: int
987 display_user_dn_at_login:
988 description:
989 - Decide whether or not you would like to display the user's DN when logging in. If you choose to display the user DN, you can select
990 whether to display it, when the user is prompted for the password at login, or on the request of the authentication scheme. This property is a
991 useful diagnostic tool when there is more than one user with the same name in an Account Unit. In this case, the first one is chosen and the
992 others are ignored.
993 type: str
994 choices: ['no display', 'display upon request', 'display']
995 enforce_rules_for_user_mgmt_admins:
996 description:
997 - Enforces password strength rules on LDAP users when you create or modify a Check Point Password.
998 type: bool
999 min_password_length:
1000 description:
1001 - Specifies the minimum length (in characters) of the password.
1002 type: int
1003 password_must_include_a_digit:
1004 description:
1005 - Password must include a digit.
1006 type: bool
1007 password_must_include_a_symbol:
1008 description:
1009 - Password must include a symbol.
1010 type: bool
1011 password_must_include_lowercase_char:
1012 description:
1013 - Password must include a lowercase character.
1014 type: bool
1015 password_must_include_uppercase_char:
1016 description:
1017 - Password must include an uppercase character.
1018 type: bool
1019 qos:
1020 description:
1021 - Define the general parameters of Quality of Service (QoS) and apply them to QoS rules.
1022 type: dict
1023 suboptions:
1024 default_weight_of_rule:
1025 description:
1026 - Define a Weight at which bandwidth will be guaranteed. Set a default weight for a rule.<br>Note, Value will be applied to new rules only.
1027 type: int
1028 max_weight_of_rule:
1029 description:
1030 - Define a Weight at which bandwidth will be guaranteed. Set a maximum weight for a rule.
1031 type: int
1032 unit_of_measure:
1033 description:
1034 - Define the Rate at which packets are transmitted, for which bandwidth will be guaranteed. Set a Unit of measure.
1035 type: str
1036 choices: ['bits-per-sec', 'bytes-per-sec', 'kbits-per-sec', 'kbytes-per-sec', 'mbits-per-sec', 'mbytes-per-sec']
1037 authenticated_ip_expiration:
1038 description:
1039 - Define the Authentication time-out for QoS. This timeout is set in minutes. In an Authenticated IP all connections which are open in a
1040 specified time limit will be guaranteed bandwidth, but will not be guaranteed bandwidth after the time limit.
1041 type: int
1042 non_authenticated_ip_expiration:
1043 description:
1044 - Define the Authentication time-out for QoS. This timeout is set in minutes.
1045 type: int
1046 unanswered_queried_ip_expiration:
1047 description:
1048 - Define the Authentication time-out for QoS. This timeout is set in minutes.
1049 type: int
1050 carrier_security:
1051 description:
1052 - Specify system-wide properties. Select GTP intra tunnel inspection options, including anti-spoofing; tracking and logging options, and integrity tests.
1053 type: dict
1054 suboptions:
1055 block_gtp_in_gtp:
1056 description:
1057 - Prevents GTP packets from being encapsulated inside GTP tunnels. When this option is checked, such packets are dropped and logged.
1058 type: bool
1059 enforce_gtp_anti_spoofing:
1060 description:
1061 - verifies that G-PDUs are using the end user IP address that has been agreed upon in the PDP context activation process. When this
1062 option is checked, packets that do not use this IP address are dropped and logged.
1063 type: bool
1064 produce_extended_logs_on_unmatched_pdus:
1065 description:
1066 - logs GTP packets not matched by previous rules with Carrier Security's extended GTP-related log fields. These logs are brown and their
1067 Action attribute is empty. The default setting is checked.
1068 type: bool
1069 produce_extended_logs_on_unmatched_pdus_position:
1070 description:
1071 - Choose to place this implicit rule Before Last or as the Last rule.<br>Available only if produce-extended-logs-on-unmatched-pdus is true.
1072 type: str
1073 choices: ['before last', 'last']
1074 protocol_violation_track_option:
1075 description:
1076 - Set the appropriate track or alert option to be used when a protocol violation (malformed packet) is detected.
1077 type: str
1078 choices: ['none', 'log', 'popup alert', 'mail alert', 'snmp trap alert', 'user defined alert no.1', 'user defined alert no.2',
1079 'user defined alert no.3']
1080 enable_g_pdu_seq_number_check_with_max_deviation:
1081 description:
1082 - If set to false, sequence checking is not enforced and all out-of-sequence G-PDUs will be accepted.<br>To enhance performance, disable
1083 this extended integrity test.
1084 type: bool
1085 g_pdu_seq_number_check_max_deviation:
1086 description:
1087 - specifies that a G-PDU is accepted only if the difference between its sequence number and the expected sequence number is less than or
1088 equal to the allowed deviation.<br>Available only ifenable-g-pdu-seq-number-check-with-max-deviation is true.
1089 type: int
1090 verify_flow_labels:
1091 description:
1092 - See that each packet's flow label matches the flow labels defined by GTP signaling. This option is relevant for GTP version 0
1093 only.<br>To enhance performance, disable this extended integrity test.
1094 type: bool
1095 allow_ggsn_replies_from_multiple_interfaces:
1096 description:
1097 - Allows GTP signaling replies from an IP address different from the IP address to which the requests are sent (Relevant only for
1098 gateways below R80).
1099 type: bool
1100 enable_reverse_connections:
1101 description:
1102 - Allows Carrier Security gateways to accept PDUs sent from the GGSN to the SGSN, on a previously established PDP context, even if these
1103 PDUs are sent over ports that do not match the ports of the established PDP context.
1104 type: bool
1105 gtp_signaling_rate_limit_sampling_interval:
1106 description:
1107 - Works in correlation with the property Enforce GTP Signal packet rate limit found in the Carrier Security window of the GSN network
1108 object. For example, with the rate limit sampling interval default of 1 second, and the network object enforced a GTP signal packet rate limit of
1109 the default 2048 PDU per second, sampling will occur one time per second, or 2048 signaling PDUs between two consecutive samplings.
1110 type: int
1111 one_gtp_echo_on_each_path_frequency:
1112 description:
1113 - sets the number of GTP Echo exchanges per path allowed per configured time period. Echo requests exceeding this rate are dropped and
1114 logged. Setting the value to 0 disables the feature and allows an unlimited number of echo requests per path at any interval.
1115 type: int
1116 aggressive_aging:
1117 description:
1118 - If true, enables configuring aggressive aging thresholds and time out value.
1119 type: bool
1120 aggressive_timeout:
1121 description:
1122 - Aggressive timeout. Available only if aggressive-aging is true.
1123 type: int
1124 memory_activation_threshold:
1125 description:
1126 - Memory activation threshold. Available only if aggressive-aging is true.
1127 type: int
1128 memory_deactivation_threshold:
1129 description:
1130 - Memory deactivation threshold. Available only if aggressive-aging is true.
1131 type: int
1132 tunnel_activation_threshold:
1133 description:
1134 - Tunnel activation threshold. Available only if aggressive-aging is true.
1135 type: int
1136 tunnel_deactivation_threshold:
1137 description:
1138 - Tunnel deactivation threshold. Available only if aggressive-aging is true.
1139 type: int
1140 user_accounts:
1141 description:
1142 - Set the expiration for a user account and configure "about to expire" warnings.
1143 type: dict
1144 suboptions:
1145 expiration_date_method:
1146 description:
1147 - Select an Expiration Date Method.<br>Expire at - Account expires on the date that you select.<br>Expire after - Account expires after
1148 the number of days that you select.
1149 type: str
1150 choices: ['expire after', 'expire at']
1151 expiration_date:
1152 description:
1153 - Specify an Expiration Date in the following format, YYYY-MM-DD.<br>Available only if expiration-date-method is set to "expire at".
1154 type: str
1155 days_until_expiration:
1156 description:
1157 - Account expires after the number of days that you select.<br>Available only if expiration-date-method is set to "expire after".
1158 type: int
1159 show_accounts_expiration_indication_days_in_advance:
1160 description:
1161 - Activates the Expired Accounts link, to open the Expired Accounts window.
1162 type: bool
1163 user_authority:
1164 description:
1165 - Decide whether to display and access the WebAccess rule base. This policy defines which users (that is, which Windows Domains) have access to
1166 the internal sites of the organization.
1167 type: dict
1168 suboptions:
1169 display_web_access_view:
1170 description:
1171 - Specify whether or not to display the WebAccess rule base. This rule base is used for UserAuthority.
1172 type: bool
1173 windows_domains_to_trust:
1174 description:
1175 - When matching Firewall usernames to Windows Domains usernames for Single Sign on, selectwhether to trust all or specify which Windows
1176 Domain should be trusted.<br>ALL - Enables you to allow all Windows domains to access the internal sites of the organization.<br>SELECTIVELY -
1177 Enables you to specify which Windows domains will have access to the internal sites of the organization.
1178 type: str
1179 choices: ['selectively', 'all']
1180 trust_only_following_windows_domains:
1181 description:
1182 - Specify which Windows domains will have access to the internal sites of the organization.<br>Available only if
1183 windows-domains-to-trust is set to SELECTIVELY.
1184 type: list
1185 elements: str
1186 connect_control:
1187 description:
1188 - Configure settings that relate to ConnectControl server load balancing.
1189 type: dict
1190 suboptions:
1191 load_agents_port:
1192 description:
1193 - Sets the port number on which load measuring agents communicate with ConnectControl.
1194 type: int
1195 load_measurement_interval:
1196 description:
1197 - sets how often (in seconds) the load measuring agents report their load status to ConnectControl.
1198 type: int
1199 persistence_server_timeout:
1200 description:
1201 - Sets the amount of time (in seconds) that a client, once directed to a particular server, will continue to be directed to that same server.
1202 type: int
1203 server_availability_check_interval:
1204 description:
1205 - Sets how often (in seconds) ConnectControl checks to make sure the load balanced servers are running and responding to service requests.
1206 type: int
1207 server_check_retries:
1208 description:
1209 - Sets how many times ConnectControl attempts to contact a server before ceasing to direct traffic to it.
1210 type: int
1211 stateful_inspection:
1212 description:
1213 - Adjust Stateful Inspection parameters.
1214 type: dict
1215 suboptions:
1216 tcp_start_timeout:
1217 description:
1218 - A TCP connection will be timed out if the interval between the arrival of the first packet and establishment of the connection (TCP
1219 three-way handshake) exceeds TCP start timeout seconds.
1220 type: int
1221 tcp_session_timeout:
1222 description:
1223 - The length of time (in seconds) an idle connection will remain in the Security Gateway connections table.
1224 type: int
1225 tcp_end_timeout:
1226 description:
1227 - A TCP connection will only terminate TCP end timeout seconds after two FIN packets (one in each direction, client-to-server, and
1228 server-to-client) or an RST packet. When a TCP connection ends (FIN packets sent or connection reset) the Check Point Security Gateway will keep
1229 the connection in the connections table for another TCP end timeout seconds, to allow for stray ACKs of the connection that arrive late.
1230 type: int
1231 tcp_end_timeout_r8020_gw_and_above:
1232 description:
1233 - A TCP connection will only terminate TCP end timeout seconds after two FIN packets (one in each direction, client-to-server, and
1234 server-to-client) or an RST packet. When a TCP connection ends (FIN packets sent or connection reset) the Check Point Security Gateway will keep
1235 the connection in the connections table for another TCP end timeout seconds, to allow for stray ACKs of the connection that arrive late.
1236 type: int
1237 udp_virtual_session_timeout:
1238 description:
1239 - Specifies the amount of time (in seconds) a UDP reply channel may remain open without any packets being returned.
1240 type: int
1241 icmp_virtual_session_timeout:
1242 description:
1243 - An ICMP virtual session will be considered to have timed out after this time period (in seconds).
1244 type: int
1245 other_ip_protocols_virtual_session_timeout:
1246 description:
1247 - A virtual session of services which are not explicitly configured here will be considered to have timed out after this time period (in seconds).
1248 type: int
1249 sctp_start_timeout:
1250 description:
1251 - SCTP connections will be timed out if the interval between the arrival of the first packet and establishment of the connection exceeds
1252 this value (in seconds).
1253 type: int
1254 sctp_session_timeout:
1255 description:
1256 - Time (in seconds) an idle connection will remain in the Security Gateway connections table.
1257 type: int
1258 sctp_end_timeout:
1259 description:
1260 - SCTP connections end after this number of seconds, after the connection ends or is reset, to allow for stray ACKs of the connection
1261 that arrive late.
1262 type: int
1263 accept_stateful_udp_replies_for_unknown_services:
1264 description:
1265 - Specifies if UDP replies are to be accepted for unknown services.
1266 type: bool
1267 accept_stateful_icmp_errors:
1268 description:
1269 - Accept ICMP error packets which refer to another non-ICMP connection (for example, to an ongoing TCP or UDP connection) that was
1270 accepted by the Rule Base.
1271 type: bool
1272 accept_stateful_icmp_replies:
1273 description:
1274 - Accept ICMP reply packets for ICMP requests that were accepted by the Rule Base.
1275 type: bool
1276 accept_stateful_other_ip_protocols_replies_for_unknown_services:
1277 description:
1278 - Accept reply packets for other undefined services (that is, services which are not one of the following, TCP, UDP, ICMP).
1279 type: bool
1280 drop_out_of_state_tcp_packets:
1281 description:
1282 - Drop TCP packets which are not consistent with the current state of the connection.
1283 type: bool
1284 log_on_drop_out_of_state_tcp_packets:
1285 description:
1286 - Generates a log entry when these out of state TCP packets are dropped.<br>Available only if drop-out-of-state-tcp-packets is true.
1287 type: bool
1288 tcp_out_of_state_drop_exceptions:
1289 description:
1290 - Name or uid of the gateways and clusters for which Out of State packets are allowed.
1291 type: list
1292 elements: str
1293 drop_out_of_state_icmp_packets:
1294 description:
1295 - Drop ICMP packets which are not consistent with the current state of the connection.
1296 type: bool
1297 log_on_drop_out_of_state_icmp_packets:
1298 description:
1299 - Generates a log entry when these out of state ICMP packets are dropped.<br>Available only if drop-out-of-state-icmp-packets is true.
1300 type: bool
1301 drop_out_of_state_sctp_packets:
1302 description:
1303 - Drop SCTP packets which are not consistent with the current state of the connection.
1304 type: bool
1305 log_on_drop_out_of_state_sctp_packets:
1306 description:
1307 - Generates a log entry when these out of state SCTP packets are dropped.<br>Available only if drop-out-of-state-sctp-packets is true.
1308 type: bool
1309 log_and_alert:
1310 description:
1311 - Define system-wide logging and alerting parameters.
1312 type: dict
1313 suboptions:
1314 administrative_notifications:
1315 description:
1316 - Administrative notifications specifies the action to be taken when an administrative event (for example, when a certificate is about
1317 to expire) occurs.
1318 type: str
1319 choices: ['none', 'log', 'popup alert', 'mail alert', 'snmp trap alert', 'user defined alert no.1', 'user defined alert no.2',
1320 'user defined alert no.3']
1321 connection_matched_by_sam:
1322 description:
1323 - Connection matched by SAM specifies the action to be taken when a connection is blocked by SAM (Suspicious Activities Monitoring).
1324 type: str
1325 choices: ['Popup Alert', 'Mail Alert', 'SNMP Trap Alert', 'User Defined Alert no.1', 'User Defined Alert no.2', 'User Defined Alert no.3']
1326 dynamic_object_resolution_failure:
1327 description:
1328 - Dynamic object resolution failure specifies the action to be taken when a dynamic object cannot be resolved.
1329 type: str
1330 choices: ['none', 'log', 'popup alert', 'mail alert', 'snmp trap alert', 'user defined alert no.1', 'user defined alert no.2',
1331 'user defined alert no.3']
1332 ip_options_drop:
1333 description:
1334 - IP Options drop specifies the action to take when a packet with IP Options is encountered. The Check Point Security Gateway always
1335 drops these packets, but you can log them or issue an alert.
1336 type: str
1337 choices: ['none', 'log', 'popup alert', 'mail alert', 'snmp trap alert', 'user defined alert no.1', 'user defined alert no.2',
1338 'user defined alert no.3']
1339 packet_is_incorrectly_tagged:
1340 description:
1341 - Packet is incorrectly tagged.
1342 type: str
1343 choices: ['none', 'log', 'popup alert', 'mail alert', 'snmp trap alert', 'user defined alert no.1', 'user defined alert no.2',
1344 'user defined alert no.3']
1345 packet_tagging_brute_force_attack:
1346 description:
1347 - Packet tagging brute force attack.
1348 type: str
1349 choices: ['none', 'log', 'popup alert', 'mail alert', 'snmp trap alert', 'user defined alert no.1', 'user defined alert no.2',
1350 'user defined alert no.3']
1351 sla_violation:
1352 description:
1353 - SLA violation specifies the action to be taken when an SLA violation occurs, as defined in the Virtual Links window.
1354 type: str
1355 choices: ['none', 'log', 'popup alert', 'mail alert', 'snmp trap alert', 'user defined alert no.1', 'user defined alert no.2',
1356 'user defined alert no.3']
1357 vpn_conf_and_key_exchange_errors:
1358 description:
1359 - VPN configuration & key exchange errors specifies the action to be taken when logging configuration or key exchange errors occur, for
1360 example, when attempting to establish encrypted communication with a network object inside the same encryption domain.
1361 type: str
1362 choices: ['none', 'log', 'popup alert', 'mail alert', 'snmp trap alert', 'user defined alert no.1', 'user defined alert no.2',
1363 'user defined alert no.3']
1364 vpn_packet_handling_error:
1365 description:
1366 - VPN packet handling errors specifies the action to be taken when encryption or decryption errors occurs. A log entry contains the
1367 action performed (Drop or Reject) and a short description of the error cause, for example, scheme or method mismatch.
1368 type: str
1369 choices: ['none', 'log', 'popup alert', 'mail alert', 'snmp trap alert', 'user defined alert no.1', 'user defined alert no.2',
1370 'user defined alert no.3']
1371 vpn_successful_key_exchange:
1372 description:
1373 - VPN successful key exchange specifies the action to be taken when VPN keys are successfully exchanged.
1374 type: str
1375 choices: ['none', 'log', 'popup alert', 'mail alert', 'snmp trap alert', 'user defined alert no.1', 'user defined alert no.2',
1376 'user defined alert no.3']
1377 log_every_authenticated_http_connection:
1378 description:
1379 - Log every authenticated HTTP connection specifies that a log entry should be generated for every authenticated HTTP connection.
1380 type: bool
1381 log_traffic:
1382 description:
1383 - Log Traffic specifies whether or not to log traffic.
1384 type: str
1385 choices: ['none', 'log']
1386 alerts:
1387 description:
1388 - Define the behavior of alert logs and the type of alert used for System Alert logs.
1389 type: dict
1390 suboptions:
1391 send_popup_alert_to_smartview_monitor:
1392 description:
1393 - Send popup alert to SmartView Monitor when an alert is issued, it is also sent to SmartView Monitor.
1394 type: bool
1395 popup_alert_script:
1396 description:
1397 - Run popup alert script the operating system script to be executed when an alert is issued. For example, set another form of
1398 notification, such as an email or a user-defined command.
1399 type: str
1400 send_mail_alert_to_smartview_monitor:
1401 description:
1402 - Send mail alert to SmartView Monitor when a mail alert is issued, it is also sent to SmartView Monitor.
1403 type: bool
1404 mail_alert_script:
1405 description:
1406 - Run mail alert script the operating system script to be executed when Mail is specified as the Track in a rule. The default is
1407 internal_sendmail, which is not a script but an internal Security Gateway command.
1408 type: str
1409 send_snmp_trap_alert_to_smartview_monitor:
1410 description:
1411 - Send SNMP trap alert to SmartView Monitor when an SNMP trap alert is issued, it is also sent to SmartView Monitor.
1412 type: bool
1413 snmp_trap_alert_script:
1414 description:
1415 - Run SNMP trap alert script command to be executed when SNMP Trap is specified as the Track in a rule. By default the
1416 internal_snmp_trap is used. This command is executed by the fwd process.
1417 type: str
1418 send_user_defined_alert_num1_to_smartview_monitor:
1419 description:
1420 - Send user defined alert no. 1 to SmartView Monitor when an alert is issued, it is also sent to SmartView Monitor.
1421 type: bool
1422 user_defined_script_num1:
1423 description:
1424 - Run user defined script the operating system script to be run when User-Defined is specified as the Track in a rule, or when
1425 User Defined Alert no. 1 is selected as a Track Option.
1426 type: str
1427 send_user_defined_alert_num2_to_smartview_monitor:
1428 description:
1429 - Send user defined alert no. 2 to SmartView Monitor when an alert is issued, it is also sent to SmartView Monitor.
1430 type: bool
1431 user_defined_script_num2:
1432 description:
1433 - Run user defined 2 script the operating system script to be run when User-Defined is specified as the Track in a rule, or when
1434 User Defined Alert no. 2 is selected as a Track Option.
1435 type: str
1436 send_user_defined_alert_num3_to_smartview_monitor:
1437 description:
1438 - Send user defined alert no. 3 to SmartView Monitor when an alert is issued, it is also sent to SmartView Monitor.
1439 type: bool
1440 user_defined_script_num3:
1441 description:
1442 - Run user defined 3 script the operating system script to be run when User-Defined is specified as the Track in a rule, or when
1443 User Defined Alert no. 3 is selected as a Track Option.
1444 type: str
1445 default_track_option_for_system_alerts:
1446 description:
1447 - Set the default track option for System Alerts.
1448 type: str
1449 choices: ['Popup Alert', 'Mail Alert', 'SNMP Trap Alert', 'User Defined Alert no.1', 'User Defined Alert no.2', 'User Defined Alert no.3']
1450 time_settings:
1451 description:
1452 - Configure the time settings associated with system-wide logging and alerting parameters.
1453 type: dict
1454 suboptions:
1455 excessive_log_grace_period:
1456 description:
1457 - Specifies the minimum amount of time (in seconds) between consecutive logs of similar packets. Two packets are considered
1458 similar if they have the same source address, source port, destination address, and destination port; and the same protocol was used. After
1459 the first packet, similar packets encountered in the grace period will be acted upon according to the security policy, but only the first
1460 packet generates a log entry or an alert. Any value from 0 to 90 seconds can be entered in this field.<br>Note, This option only applies for
1461 DROP rules with logging.
1462 type: int
1463 logs_resolving_timeout:
1464 description:
1465 - Specifies the amount of time (in seconds), after which the log page is displayed without resolving names and while showing
1466 only IP addresses. Any value from 0 to 90 seconds can be entered in this field.
1467 type: int
1468 status_fetching_interval:
1469 description:
1470 - Specifies the frequency at which the Security Management server queries the Check Point Security gateway, Check Point QoS and
1471 other gateways it manages for status information. Any value from 30 to 900 seconds can be entered in this field.
1472 type: int
1473 virtual_link_statistics_logging_interval:
1474 description:
1475 - Specifies the frequency (in seconds) with which Virtual Link statistics will be logged. This parameter is relevant only for
1476 Virtual Links defined with SmartView Monitor statistics enabled in the SLA Parameters tab of the Virtual Link window. Any value from 60 to
1477 3600 seconds can be entered in this field.
1478 type: int
1479 data_access_control:
1480 description:
1481 - Configure automatic downloads from Check Point and anonymously share product data. Options selected here apply to all Security Gateways,
1482 Clusters and VSX devices managed by this management server.
1483 type: dict
1484 suboptions:
1485 auto_download_important_data:
1486 description:
1487 - Automatically download and install Software Blade Contracts, security updates and other important data (highly recommended).
1488 type: bool
1489 auto_download_sw_updates_and_new_features:
1490 description:
1491 - Automatically download software updates and new features (highly recommended).<br>Available only if auto-download-important-data is set to true.
1492 type: bool
1493 send_anonymous_info:
1494 description:
1495 - Help Check Point improve the product by sending anonymous information.
1496 type: bool
1497 share_sensitive_info:
1498 description:
1499 - Approve sharing core dump files and other relevant crash data which might contain personal information. All shared data will be
1500 processed in accordance with Check Point's Privacy Policy.<br>Available only if send-anonymous-info is set to true.
1501 type: bool
1502 non_unique_ip_address_ranges:
1503 description:
1504 - Specify Non Unique IP Address Ranges.
1505 type: list
1506 elements: dict
1507 suboptions:
1508 address_type:
1509 description:
1510 - The type of the IP Address.
1511 type: str
1512 choices: ['IPv4', 'IPv6']
1513 first_ipv4_address:
1514 description:
1515 - The first IPV4 Address in the range.
1516 type: str
1517 first_ipv6_address:
1518 description:
1519 - The first IPV6 Address in the range.
1520 type: str
1521 last_ipv4_address:
1522 description:
1523 - The last IPV4 Address in the range.
1524 type: str
1525 last_ipv6_address:
1526 description:
1527 - The last IPV6 Address in the range.
1528 type: str
1529 proxy:
1530 description:
1531 - Select whether a proxy server is used when servers, gateways, or clients need to access the internet for certain Check Point features and set
1532 the default proxy server that will be used.
1533 type: dict
1534 suboptions:
1535 use_proxy_server:
1536 description:
1537 - If set to true, a proxy server is used when features need to access the internet.
1538 type: bool
1539 proxy_address:
1540 description:
1541 - Specify the URL or IP address of the proxy server.<br>Available only if use-proxy-server is set to true.
1542 type: str
1543 proxy_port:
1544 description:
1545 - Specify the Port on which the server will be accessed.<br>Available only if use-proxy-server is set to true.
1546 type: int
1547 user_check:
1548 description:
1549 - Set a language for the UserCheck message if the language setting in the user's browser cannot be determined.
1550 type: dict
1551 suboptions:
1552 preferred_language:
1553 description:
1554 - The preferred language for new UserCheck message.
1555 type: str
1556 choices: ['Afrikaans', 'Albanian', 'Amharic', 'Arabic', 'Armenian', 'Basque', 'Belarusian', 'Bosnian', 'Bulgarian', 'Catalan',
1557 'Chinese', 'Croatian', 'Czech', 'Danish', 'Dutch', 'English', 'Estonian', 'Finnish', 'French', 'Gaelic', 'Georgian', 'German', 'Greek',
1558 'Hebrew', 'Hindi', 'Hungarian', 'Icelandic', 'Indonesian', 'Irish', 'Italian', 'Japanese', 'Korean', 'Latvian', 'Lithuanian', 'Macedonia',
1559 'Maltese', 'Nepali', 'Norwegian', 'Polish', 'Portuguese', 'Romanian', 'Russian', 'Serbian', 'Slovak', 'Slovenian', 'Sorbian', 'Spanish',
1560 'Swahili', 'Swedish', 'Thai', 'Turkish', 'Ukrainian', 'Vietnamese', 'Welsh']
1561 send_emails_using_mail_server:
1562 description:
1563 - Name or UID of mail server to send emails to.
1564 type: str
1565 hit_count:
1566 description:
1567 - Enable the Hit Count feature that tracks the number of connections that each rule matches.
1568 type: dict
1569 suboptions:
1570 enable_hit_count:
1571 description:
1572 - Select to enable or clear to disable all Security Gateways to monitor the number of connections each rule matches.
1573 type: bool
1574 keep_hit_count_data_up_to:
1575 description:
1576 - Select one of the time range options. Data is kept in the Security Management Server database for this period and is shown in the Hits column.
1577 type: str
1578 choices: ['3 months', '6 months', '1 year', '2 years']
1579 advanced_conf:
1580 description:
1581 - Configure advanced global attributes. It's highly recommended to consult with Check Point's Technical Support before modifying these values.
1582 type: dict
1583 suboptions:
1584 certs_and_pki:
1585 description:
1586 - Configure Certificates and PKI properties.
1587 type: dict
1588 suboptions:
1589 cert_validation_enforce_key_size:
1590 description:
1591 - Enforce key length in certificate validation (R80+ gateways only).
1592 type: str
1593 choices: ['off', 'alert', 'fail']
1594 host_certs_ecdsa_key_size:
1595 description:
1596 - Select the key size for ECDSA of the host certificate.
1597 type: str
1598 choices: ['p-256', 'p-384', 'p-521']
1599 host_certs_key_size:
1600 description:
1601 - Select the key size of the host certificate.
1602 type: str
1603 choices: ['4096', '1024', '2048']
1604 allow_remote_registration_of_opsec_products:
1605 description:
1606 - After installing an OPSEC application, the remote administration (RA) utility enables an OPSEC product to finish registering itself without
1607 having to access the SmartConsole. If set to true, any host including the application host can run the utility. Otherwise, the RA utility can only be
1608 run from the Security Management host.
1609 type: bool
1610 num_spoofing_errs_that_trigger_brute_force:
1611 description:
1612 - Indicates how many incorrectly signed packets will be tolerated before assuming that there is an attack on the packet tagging and revoking the
1613 client's key.
1614 type: int
1615 details_level:
1616 description:
1617 - The level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed
1618 representation of the object.
1619 type: str
1620 choices: ['uid', 'standard', 'full']
1621 domains_to_process:
1622 description:
1623 - 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
1624 with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
1625 type: list
1626 elements: str
1627 ignore_warnings:
1628 description:
1629 - Apply changes ignoring warnings.
1630 type: bool
1631 ignore_errors:
1632 description:
1633 - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
1634 type: bool
1635 auto_publish_session:
1636 description:
1637 - Publish the current session if changes have been performed after task completes.
1638 type: bool
1639 extends_documentation_fragment: check_point.mgmt.checkpoint_commands
1640 """
1641
1642 EXAMPLES = """
1643 - name: set-global-properties
1644 cp_mgmt_set_global_properties:
1645 firewall:
1646 security_server:
1647 http_servers:
1648 - host: host name of server
1649 logical_name: unique logical name
1650 port: 8080
1651 reauthentication: post request
1652 """
1653
1654 RETURN = """
1655 cp_mgmt_set_global_properties:
1656 description: The checkpoint set-global-properties output.
1657 returned: always.
1658 type: dict
1659 """
1660
1661 from ansible.module_utils.basic import AnsibleModule
1662 from ansible_collections.check_point.mgmt.plugins.module_utils.checkpoint import (
1663 checkpoint_argument_spec_for_commands,
1664 api_command,
1665 )
1666
1667
1668 def main():
1669 argument_spec = dict(
1670 firewall=dict(
1671 type="dict",
1672 options=dict(
1673 accept_control_connections=dict(type="bool"),
1674 accept_ips1_management_connections=dict(type="bool"),
1675 accept_remote_access_control_connections=dict(type="bool"),
1676 accept_smart_update_connections=dict(type="bool"),
1677 accept_outgoing_packets_originating_from_gw=dict(type="bool"),
1678 accept_outgoing_packets_originating_from_gw_position=dict(
1679 type="str", choices=["first", "last", "before last"]
1680 ),
1681 accept_outgoing_packets_originating_from_connectra_gw=dict(
1682 type="bool"
1683 ),
1684 accept_outgoing_packets_to_cp_online_services=dict(
1685 type="bool"
1686 ),
1687 accept_outgoing_packets_to_cp_online_services_position=dict(
1688 type="str", choices=["first", "last", "before last"]
1689 ),
1690 accept_domain_name_over_tcp=dict(type="bool"),
1691 accept_domain_name_over_tcp_position=dict(
1692 type="str", choices=["first", "last", "before last"]
1693 ),
1694 accept_domain_name_over_udp=dict(type="bool"),
1695 accept_domain_name_over_udp_position=dict(
1696 type="str", choices=["first", "last", "before last"]
1697 ),
1698 accept_dynamic_addr_modules_outgoing_internet_connections=dict(
1699 type="bool"
1700 ),
1701 accept_icmp_requests=dict(type="bool"),
1702 accept_icmp_requests_position=dict(
1703 type="str", choices=["first", "last", "before last"]
1704 ),
1705 accept_identity_awareness_control_connections=dict(
1706 type="bool"
1707 ),
1708 accept_identity_awareness_control_connections_position=dict(
1709 type="str", choices=["first", "last", "before last"]
1710 ),
1711 accept_incoming_traffic_to_dhcp_and_dns_services_of_gws=dict(
1712 type="bool"
1713 ),
1714 accept_rip=dict(type="bool"),
1715 accept_rip_position=dict(
1716 type="str", choices=["first", "last", "before last"]
1717 ),
1718 accept_vrrp_packets_originating_from_cluster_members=dict(
1719 type="bool"
1720 ),
1721 accept_web_and_ssh_connections_for_gw_administration=dict(
1722 type="bool"
1723 ),
1724 log_implied_rules=dict(type="bool"),
1725 security_server=dict(
1726 type="dict",
1727 options=dict(
1728 client_auth_welcome_file=dict(type="str"),
1729 ftp_welcome_msg_file=dict(type="str"),
1730 rlogin_welcome_msg_file=dict(type="str"),
1731 telnet_welcome_msg_file=dict(type="str"),
1732 mdq_welcome_msg=dict(type="str"),
1733 smtp_welcome_msg=dict(type="str"),
1734 http_next_proxy_host=dict(type="str"),
1735 http_next_proxy_port=dict(type="int"),
1736 http_servers=dict(
1737 type="list",
1738 elements="dict",
1739 options=dict(
1740 logical_name=dict(type="str"),
1741 host=dict(type="str"),
1742 port=dict(type="int"),
1743 reauthentication=dict(
1744 type="str",
1745 choices=[
1746 "standard",
1747 "post request",
1748 "every request",
1749 ],
1750 ),
1751 ),
1752 ),
1753 server_for_null_requests=dict(type="str"),
1754 ),
1755 ),
1756 ),
1757 ),
1758 nat=dict(
1759 type="dict",
1760 options=dict(
1761 allow_bi_directional_nat=dict(type="bool"),
1762 auto_arp_conf=dict(type="bool"),
1763 merge_manual_proxy_arp_conf=dict(type="bool"),
1764 auto_translate_dest_on_client_side=dict(type="bool"),
1765 manually_translate_dest_on_client_side=dict(type="bool"),
1766 enable_ip_pool_nat=dict(type="bool"),
1767 addr_alloc_and_release_track=dict(
1768 type="str", choices=["ip allocation log", "none"]
1769 ),
1770 addr_exhaustion_track=dict(
1771 type="str",
1772 choices=[
1773 "ip exhaustion alert",
1774 "none",
1775 "ip exhaustion log",
1776 ],
1777 ),
1778 ),
1779 ),
1780 authentication=dict(
1781 type="dict",
1782 options=dict(
1783 auth_internal_users_with_specific_suffix=dict(type="bool"),
1784 allowed_suffix_for_internal_users=dict(type="str"),
1785 max_days_before_expiration_of_non_pulled_user_certificates=dict(
1786 type="int"
1787 ),
1788 max_client_auth_attempts_before_connection_termination=dict(
1789 type="int"
1790 ),
1791 max_rlogin_attempts_before_connection_termination=dict(
1792 type="int"
1793 ),
1794 max_session_auth_attempts_before_connection_termination=dict(
1795 type="int"
1796 ),
1797 max_telnet_attempts_before_connection_termination=dict(
1798 type="int"
1799 ),
1800 enable_delayed_auth=dict(type="bool"),
1801 delay_each_auth_attempt_by=dict(type="int"),
1802 ),
1803 ),
1804 vpn=dict(
1805 type="dict",
1806 options=dict(
1807 vpn_conf_method=dict(
1808 type="str",
1809 choices=["simplified", "traditional", "per policy"],
1810 ),
1811 domain_name_for_dns_resolving=dict(type="str"),
1812 enable_backup_gw=dict(type="bool"),
1813 enable_decrypt_on_accept_for_gw_to_gw_traffic=dict(
1814 type="bool"
1815 ),
1816 enable_load_distribution_for_mep_conf=dict(type="bool"),
1817 enable_vpn_directional_match_in_vpn_column=dict(type="bool"),
1818 grace_period_after_the_crl_is_not_valid=dict(type="int"),
1819 grace_period_before_the_crl_is_valid=dict(type="int"),
1820 grace_period_extension_for_secure_remote_secure_client=dict(
1821 type="int"
1822 ),
1823 support_ike_dos_protection_from_identified_src=dict(
1824 type="str", choices=["puzzles", "stateless", "none"]
1825 ),
1826 support_ike_dos_protection_from_unidentified_src=dict(
1827 type="str", choices=["puzzles", "stateless", "none"]
1828 ),
1829 ),
1830 ),
1831 remote_access=dict(
1832 type="dict",
1833 options=dict(
1834 enable_back_connections=dict(type="bool"),
1835 keep_alive_packet_to_gw_interval=dict(type="int"),
1836 encrypt_dns_traffic=dict(type="bool"),
1837 simultaneous_login_mode=dict(
1838 type="str",
1839 choices=[
1840 "allowonlysinglelogintouser",
1841 "allowseverallogintouser",
1842 ],
1843 ),
1844 vpn_authentication_and_encryption=dict(
1845 type="dict",
1846 options=dict(
1847 encryption_algorithms=dict(
1848 type="dict",
1849 options=dict(
1850 ike=dict(
1851 type="dict",
1852 options=dict(
1853 support_encryption_algorithms=dict(
1854 type="dict",
1855 options=dict(
1856 tdes=dict(type="bool"),
1857 aes_128=dict(type="bool"),
1858 aes_256=dict(type="bool"),
1859 des=dict(type="bool"),
1860 ),
1861 ),
1862 use_encryption_algorithm=dict(
1863 type="str",
1864 choices=[
1865 "AES-256",
1866 "DES",
1867 "AES-128",
1868 "TDES",
1869 ],
1870 ),
1871 support_data_integrity=dict(
1872 type="dict",
1873 options=dict(
1874 aes_xcbc=dict(type="bool"),
1875 md5=dict(type="bool"),
1876 sha1=dict(type="bool"),
1877 sha256=dict(type="bool"),
1878 sha384=dict(type="bool"),
1879 sha512=dict(type="bool"),
1880 ),
1881 ),
1882 use_data_integrity=dict(
1883 type="str",
1884 choices=[
1885 "aes-xcbc",
1886 "sha256",
1887 "sha1",
1888 "md5",
1889 "sha384",
1890 "sha512",
1891 ],
1892 ),
1893 support_diffie_hellman_groups=dict(
1894 type="dict",
1895 options=dict(
1896 group1=dict(type="bool"),
1897 group14=dict(type="bool"),
1898 group2=dict(type="bool"),
1899 group5=dict(type="bool"),
1900 ),
1901 ),
1902 use_diffie_hellman_group=dict(
1903 type="str",
1904 choices=[
1905 "group 1",
1906 "group 2",
1907 "group 5",
1908 "group 14",
1909 ],
1910 ),
1911 ),
1912 ),
1913 ipsec=dict(
1914 type="dict",
1915 options=dict(
1916 support_encryption_algorithms=dict(
1917 type="dict",
1918 options=dict(
1919 tdes=dict(type="bool"),
1920 aes_128=dict(type="bool"),
1921 aes_256=dict(type="bool"),
1922 des=dict(type="bool"),
1923 ),
1924 ),
1925 use_encryption_algorithm=dict(
1926 type="str",
1927 choices=[
1928 "AES-256",
1929 "DES",
1930 "AES-128",
1931 "TDES",
1932 ],
1933 ),
1934 support_data_integrity=dict(
1935 type="dict",
1936 options=dict(
1937 aes_xcbc=dict(type="bool"),
1938 md5=dict(type="bool"),
1939 sha1=dict(type="bool"),
1940 sha256=dict(type="bool"),
1941 sha384=dict(type="bool"),
1942 sha512=dict(type="bool"),
1943 ),
1944 ),
1945 use_data_integrity=dict(
1946 type="str",
1947 choices=[
1948 "aes-xcbc",
1949 "sha1",
1950 "sha256",
1951 "sha384",
1952 "sha512",
1953 "md5",
1954 ],
1955 ),
1956 enforce_encryption_alg_and_data_integrity_on_all_users=dict(
1957 type="bool"
1958 ),
1959 ),
1960 ),
1961 ),
1962 ),
1963 encryption_method=dict(
1964 type="str",
1965 choices=[
1966 "prefer_ikev2_support_ikev1",
1967 "ike_v2_only",
1968 "ike_v1_only",
1969 ],
1970 ),
1971 pre_shared_secret=dict(type="bool"),
1972 support_legacy_auth_for_sc_l2tp_nokia_clients=dict(
1973 type="bool"
1974 ),
1975 support_legacy_eap=dict(type="bool"),
1976 support_l2tp_with_pre_shared_key=dict(type="bool"),
1977 l2tp_pre_shared_key=dict(type="str", no_log=True),
1978 ),
1979 ),
1980 vpn_advanced=dict(
1981 type="dict",
1982 options=dict(
1983 allow_clear_traffic_to_encryption_domain_when_disconnected=dict(
1984 type="bool"
1985 ),
1986 enable_load_distribution_for_mep_conf=dict(
1987 type="bool"
1988 ),
1989 use_first_allocated_om_ip_addr_for_all_conn_to_the_gws_of_the_site=dict(
1990 type="bool"
1991 ),
1992 ),
1993 ),
1994 scv=dict(
1995 type="dict",
1996 options=dict(
1997 apply_scv_on_simplified_mode_fw_policies=dict(
1998 type="bool"
1999 ),
2000 exceptions=dict(
2001 type="list",
2002 elements="dict",
2003 options=dict(
2004 hosts=dict(type="list", elements="str"),
2005 services=dict(type="list", elements="str"),
2006 ),
2007 ),
2008 no_scv_for_unsupported_cp_clients=dict(type="bool"),
2009 upon_verification_accept_and_log_client_connection=dict(
2010 type="bool"
2011 ),
2012 only_tcp_ip_protocols_are_used=dict(type="bool"),
2013 policy_installed_on_all_interfaces=dict(type="bool"),
2014 generate_log=dict(type="bool"),
2015 notify_user=dict(type="bool"),
2016 ),
2017 ),
2018 ssl_network_extender=dict(
2019 type="dict",
2020 options=dict(
2021 user_auth_method=dict(
2022 type="str",
2023 choices=[
2024 "certificate_with_enrollment",
2025 "certificate",
2026 "mixed",
2027 "legacy",
2028 ],
2029 ),
2030 supported_encryption_methods=dict(
2031 type="str", choices=["3des_or_rc4", "3des_only"]
2032 ),
2033 client_upgrade_upon_connection=dict(
2034 type="str",
2035 choices=[
2036 "force_upgrade",
2037 "ask_user",
2038 "no_upgrade",
2039 ],
2040 ),
2041 client_uninstall_upon_disconnection=dict(
2042 type="str",
2043 choices=[
2044 "force_uninstall",
2045 "ask_user",
2046 "dont_uninstall",
2047 ],
2048 ),
2049 re_auth_user_interval=dict(type="int"),
2050 scan_ep_machine_for_compliance_with_ep_compliance_policy=dict(
2051 type="bool"
2052 ),
2053 client_outgoing_keep_alive_packets_frequency=dict(
2054 type="int"
2055 ),
2056 ),
2057 ),
2058 secure_client_mobile=dict(
2059 type="dict",
2060 options=dict(
2061 user_auth_method=dict(
2062 type="str",
2063 choices=[
2064 "certificate_with_enrollment",
2065 "certificate",
2066 "mixed",
2067 "legacy",
2068 ],
2069 ),
2070 enable_password_caching=dict(
2071 type="str",
2072 choices=["client_decide", "true", "false"],
2073 ),
2074 cache_password_timeout=dict(type="int"),
2075 re_auth_user_interval=dict(type="int"),
2076 connect_mode=dict(
2077 type="str",
2078 choices=[
2079 "manual",
2080 "always connected",
2081 "on application request",
2082 "configured on endpoint client",
2083 ],
2084 ),
2085 automatically_initiate_dialup=dict(
2086 type="str",
2087 choices=["client_decide", "true", "false"],
2088 ),
2089 disconnect_when_device_is_idle=dict(
2090 type="str",
2091 choices=["client_decide", "true", "false"],
2092 ),
2093 supported_encryption_methods=dict(
2094 type="str", choices=["3des_or_rc4", "3des_only"]
2095 ),
2096 route_all_traffic_to_gw=dict(
2097 type="str",
2098 choices=["client_decide", "true", "false"],
2099 ),
2100 ),
2101 ),
2102 endpoint_connect=dict(
2103 type="dict",
2104 options=dict(
2105 enable_password_caching=dict(
2106 type="str",
2107 choices=["client_decide", "true", "false"],
2108 ),
2109 cache_password_timeout=dict(type="int"),
2110 re_auth_user_interval=dict(type="int"),
2111 connect_mode=dict(
2112 type="str",
2113 choices=[
2114 "Manual",
2115 "Always Connected",
2116 "Configured On Endpoint Client",
2117 ],
2118 ),
2119 network_location_awareness=dict(
2120 type="str",
2121 choices=["client_decide", "true", "false"],
2122 ),
2123 network_location_awareness_conf=dict(
2124 type="dict",
2125 options=dict(
2126 vpn_clients_are_considered_inside_the_internal_network_when_the_client=dict(
2127 type="str",
2128 choices=[
2129 "connects to gw through internal interface",
2130 "connects from network or group",
2131 "runs on computer with access to active directory domain",
2132 ],
2133 ),
2134 network_or_group_of_conn_vpn_client=dict(
2135 type="str"
2136 ),
2137 consider_wireless_networks_as_external=dict(
2138 type="bool"
2139 ),
2140 excluded_internal_wireless_networks=dict(
2141 type="list", elements="str"
2142 ),
2143 consider_undefined_dns_suffixes_as_external=dict(
2144 type="bool"
2145 ),
2146 dns_suffixes=dict(type="list", elements="str"),
2147 remember_previously_detected_external_networks=dict(
2148 type="bool"
2149 ),
2150 ),
2151 ),
2152 disconnect_when_conn_to_network_is_lost=dict(
2153 type="str",
2154 choices=["client_decide", "true", "false"],
2155 ),
2156 disconnect_when_device_is_idle=dict(
2157 type="str",
2158 choices=["client_decide", "true", "false"],
2159 ),
2160 route_all_traffic_to_gw=dict(
2161 type="str",
2162 choices=["client_decide", "true", "false"],
2163 ),
2164 client_upgrade_mode=dict(
2165 type="str",
2166 choices=[
2167 "force_upgrade",
2168 "ask_user",
2169 "no_upgrade",
2170 ],
2171 ),
2172 ),
2173 ),
2174 hot_spot_and_hotel_registration=dict(
2175 type="dict",
2176 options=dict(
2177 enable_registration=dict(type="bool"),
2178 local_subnets_access_only=dict(type="bool"),
2179 registration_timeout=dict(type="int"),
2180 track_log=dict(type="bool"),
2181 max_ip_access_during_registration=dict(type="int"),
2182 ports=dict(type="list", elements="str"),
2183 ),
2184 ),
2185 ),
2186 ),
2187 user_directory=dict(
2188 type="dict",
2189 options=dict(
2190 enable_password_change_when_user_active_directory_expires=dict(
2191 type="bool"
2192 ),
2193 cache_size=dict(type="int"),
2194 enable_password_expiration_configuration=dict(type="bool"),
2195 password_expires_after=dict(type="int", no_log=False),
2196 timeout_on_cached_users=dict(type="int"),
2197 display_user_dn_at_login=dict(
2198 type="str",
2199 choices=["no display", "display upon request", "display"],
2200 ),
2201 enforce_rules_for_user_mgmt_admins=dict(type="bool"),
2202 min_password_length=dict(type="int", no_log=False),
2203 password_must_include_a_digit=dict(type="bool"),
2204 password_must_include_a_symbol=dict(type="bool"),
2205 password_must_include_lowercase_char=dict(type="bool"),
2206 password_must_include_uppercase_char=dict(type="bool"),
2207 ),
2208 ),
2209 qos=dict(
2210 type="dict",
2211 options=dict(
2212 default_weight_of_rule=dict(type="int"),
2213 max_weight_of_rule=dict(type="int"),
2214 unit_of_measure=dict(
2215 type="str",
2216 choices=[
2217 "bits-per-sec",
2218 "bytes-per-sec",
2219 "kbits-per-sec",
2220 "kbytes-per-sec",
2221 "mbits-per-sec",
2222 "mbytes-per-sec",
2223 ],
2224 ),
2225 authenticated_ip_expiration=dict(type="int"),
2226 non_authenticated_ip_expiration=dict(type="int"),
2227 unanswered_queried_ip_expiration=dict(type="int"),
2228 ),
2229 ),
2230 carrier_security=dict(
2231 type="dict",
2232 options=dict(
2233 block_gtp_in_gtp=dict(type="bool"),
2234 enforce_gtp_anti_spoofing=dict(type="bool"),
2235 produce_extended_logs_on_unmatched_pdus=dict(type="bool"),
2236 produce_extended_logs_on_unmatched_pdus_position=dict(
2237 type="str", choices=["before last", "last"]
2238 ),
2239 protocol_violation_track_option=dict(
2240 type="str",
2241 choices=[
2242 "none",
2243 "log",
2244 "popup alert",
2245 "mail alert",
2246 "snmp trap alert",
2247 "user defined alert no.1",
2248 "user defined alert no.2",
2249 "user defined alert no.3",
2250 ],
2251 ),
2252 enable_g_pdu_seq_number_check_with_max_deviation=dict(
2253 type="bool"
2254 ),
2255 g_pdu_seq_number_check_max_deviation=dict(type="int"),
2256 verify_flow_labels=dict(type="bool"),
2257 allow_ggsn_replies_from_multiple_interfaces=dict(type="bool"),
2258 enable_reverse_connections=dict(type="bool"),
2259 gtp_signaling_rate_limit_sampling_interval=dict(type="int"),
2260 one_gtp_echo_on_each_path_frequency=dict(type="int"),
2261 aggressive_aging=dict(type="bool"),
2262 aggressive_timeout=dict(type="int"),
2263 memory_activation_threshold=dict(type="int"),
2264 memory_deactivation_threshold=dict(type="int"),
2265 tunnel_activation_threshold=dict(type="int"),
2266 tunnel_deactivation_threshold=dict(type="int"),
2267 ),
2268 ),
2269 user_accounts=dict(
2270 type="dict",
2271 options=dict(
2272 expiration_date_method=dict(
2273 type="str", choices=["expire after", "expire at"]
2274 ),
2275 expiration_date=dict(type="str"),
2276 days_until_expiration=dict(type="int"),
2277 show_accounts_expiration_indication_days_in_advance=dict(
2278 type="bool"
2279 ),
2280 ),
2281 ),
2282 user_authority=dict(
2283 type="dict",
2284 options=dict(
2285 display_web_access_view=dict(type="bool"),
2286 windows_domains_to_trust=dict(
2287 type="str", choices=["selectively", "all"]
2288 ),
2289 trust_only_following_windows_domains=dict(
2290 type="list", elements="str"
2291 ),
2292 ),
2293 ),
2294 connect_control=dict(
2295 type="dict",
2296 options=dict(
2297 load_agents_port=dict(type="int"),
2298 load_measurement_interval=dict(type="int"),
2299 persistence_server_timeout=dict(type="int"),
2300 server_availability_check_interval=dict(type="int"),
2301 server_check_retries=dict(type="int"),
2302 ),
2303 ),
2304 stateful_inspection=dict(
2305 type="dict",
2306 options=dict(
2307 tcp_start_timeout=dict(type="int"),
2308 tcp_session_timeout=dict(type="int"),
2309 tcp_end_timeout=dict(type="int"),
2310 tcp_end_timeout_r8020_gw_and_above=dict(type="int"),
2311 udp_virtual_session_timeout=dict(type="int"),
2312 icmp_virtual_session_timeout=dict(type="int"),
2313 other_ip_protocols_virtual_session_timeout=dict(type="int"),
2314 sctp_start_timeout=dict(type="int"),
2315 sctp_session_timeout=dict(type="int"),
2316 sctp_end_timeout=dict(type="int"),
2317 accept_stateful_udp_replies_for_unknown_services=dict(
2318 type="bool"
2319 ),
2320 accept_stateful_icmp_errors=dict(type="bool"),
2321 accept_stateful_icmp_replies=dict(type="bool"),
2322 accept_stateful_other_ip_protocols_replies_for_unknown_services=dict(
2323 type="bool"
2324 ),
2325 drop_out_of_state_tcp_packets=dict(type="bool"),
2326 log_on_drop_out_of_state_tcp_packets=dict(type="bool"),
2327 tcp_out_of_state_drop_exceptions=dict(
2328 type="list", elements="str"
2329 ),
2330 drop_out_of_state_icmp_packets=dict(type="bool"),
2331 log_on_drop_out_of_state_icmp_packets=dict(type="bool"),
2332 drop_out_of_state_sctp_packets=dict(type="bool"),
2333 log_on_drop_out_of_state_sctp_packets=dict(type="bool"),
2334 ),
2335 ),
2336 log_and_alert=dict(
2337 type="dict",
2338 options=dict(
2339 administrative_notifications=dict(
2340 type="str",
2341 choices=[
2342 "none",
2343 "log",
2344 "popup alert",
2345 "mail alert",
2346 "snmp trap alert",
2347 "user defined alert no.1",
2348 "user defined alert no.2",
2349 "user defined alert no.3",
2350 ],
2351 ),
2352 connection_matched_by_sam=dict(
2353 type="str",
2354 choices=[
2355 "Popup Alert",
2356 "Mail Alert",
2357 "SNMP Trap Alert",
2358 "User Defined Alert no.1",
2359 "User Defined Alert no.2",
2360 "User Defined Alert no.3",
2361 ],
2362 ),
2363 dynamic_object_resolution_failure=dict(
2364 type="str",
2365 choices=[
2366 "none",
2367 "log",
2368 "popup alert",
2369 "mail alert",
2370 "snmp trap alert",
2371 "user defined alert no.1",
2372 "user defined alert no.2",
2373 "user defined alert no.3",
2374 ],
2375 ),
2376 ip_options_drop=dict(
2377 type="str",
2378 choices=[
2379 "none",
2380 "log",
2381 "popup alert",
2382 "mail alert",
2383 "snmp trap alert",
2384 "user defined alert no.1",
2385 "user defined alert no.2",
2386 "user defined alert no.3",
2387 ],
2388 ),
2389 packet_is_incorrectly_tagged=dict(
2390 type="str",
2391 choices=[
2392 "none",
2393 "log",
2394 "popup alert",
2395 "mail alert",
2396 "snmp trap alert",
2397 "user defined alert no.1",
2398 "user defined alert no.2",
2399 "user defined alert no.3",
2400 ],
2401 ),
2402 packet_tagging_brute_force_attack=dict(
2403 type="str",
2404 choices=[
2405 "none",
2406 "log",
2407 "popup alert",
2408 "mail alert",
2409 "snmp trap alert",
2410 "user defined alert no.1",
2411 "user defined alert no.2",
2412 "user defined alert no.3",
2413 ],
2414 ),
2415 sla_violation=dict(
2416 type="str",
2417 choices=[
2418 "none",
2419 "log",
2420 "popup alert",
2421 "mail alert",
2422 "snmp trap alert",
2423 "user defined alert no.1",
2424 "user defined alert no.2",
2425 "user defined alert no.3",
2426 ],
2427 ),
2428 vpn_conf_and_key_exchange_errors=dict(
2429 type="str",
2430 choices=[
2431 "none",
2432 "log",
2433 "popup alert",
2434 "mail alert",
2435 "snmp trap alert",
2436 "user defined alert no.1",
2437 "user defined alert no.2",
2438 "user defined alert no.3",
2439 ],
2440 ),
2441 vpn_packet_handling_error=dict(
2442 type="str",
2443 choices=[
2444 "none",
2445 "log",
2446 "popup alert",
2447 "mail alert",
2448 "snmp trap alert",
2449 "user defined alert no.1",
2450 "user defined alert no.2",
2451 "user defined alert no.3",
2452 ],
2453 ),
2454 vpn_successful_key_exchange=dict(
2455 type="str",
2456 choices=[
2457 "none",
2458 "log",
2459 "popup alert",
2460 "mail alert",
2461 "snmp trap alert",
2462 "user defined alert no.1",
2463 "user defined alert no.2",
2464 "user defined alert no.3",
2465 ],
2466 ),
2467 log_every_authenticated_http_connection=dict(type="bool"),
2468 log_traffic=dict(type="str", choices=["none", "log"]),
2469 alerts=dict(
2470 type="dict",
2471 options=dict(
2472 send_popup_alert_to_smartview_monitor=dict(
2473 type="bool"
2474 ),
2475 popup_alert_script=dict(type="str"),
2476 send_mail_alert_to_smartview_monitor=dict(type="bool"),
2477 mail_alert_script=dict(type="str"),
2478 send_snmp_trap_alert_to_smartview_monitor=dict(
2479 type="bool"
2480 ),
2481 snmp_trap_alert_script=dict(type="str"),
2482 send_user_defined_alert_num1_to_smartview_monitor=dict(
2483 type="bool"
2484 ),
2485 user_defined_script_num1=dict(type="str"),
2486 send_user_defined_alert_num2_to_smartview_monitor=dict(
2487 type="bool"
2488 ),
2489 user_defined_script_num2=dict(type="str"),
2490 send_user_defined_alert_num3_to_smartview_monitor=dict(
2491 type="bool"
2492 ),
2493 user_defined_script_num3=dict(type="str"),
2494 default_track_option_for_system_alerts=dict(
2495 type="str",
2496 choices=[
2497 "Popup Alert",
2498 "Mail Alert",
2499 "SNMP Trap Alert",
2500 "User Defined Alert no.1",
2501 "User Defined Alert no.2",
2502 "User Defined Alert no.3",
2503 ],
2504 ),
2505 ),
2506 ),
2507 time_settings=dict(
2508 type="dict",
2509 options=dict(
2510 excessive_log_grace_period=dict(type="int"),
2511 logs_resolving_timeout=dict(type="int"),
2512 status_fetching_interval=dict(type="int"),
2513 virtual_link_statistics_logging_interval=dict(
2514 type="int"
2515 ),
2516 ),
2517 ),
2518 ),
2519 ),
2520 data_access_control=dict(
2521 type="dict",
2522 options=dict(
2523 auto_download_important_data=dict(type="bool"),
2524 auto_download_sw_updates_and_new_features=dict(type="bool"),
2525 send_anonymous_info=dict(type="bool"),
2526 share_sensitive_info=dict(type="bool"),
2527 ),
2528 ),
2529 non_unique_ip_address_ranges=dict(
2530 type="list",
2531 elements="dict",
2532 options=dict(
2533 address_type=dict(type="str", choices=["IPv4", "IPv6"]),
2534 first_ipv4_address=dict(type="str"),
2535 first_ipv6_address=dict(type="str"),
2536 last_ipv4_address=dict(type="str"),
2537 last_ipv6_address=dict(type="str"),
2538 ),
2539 ),
2540 proxy=dict(
2541 type="dict",
2542 options=dict(
2543 use_proxy_server=dict(type="bool"),
2544 proxy_address=dict(type="str"),
2545 proxy_port=dict(type="int"),
2546 ),
2547 ),
2548 user_check=dict(
2549 type="dict",
2550 options=dict(
2551 preferred_language=dict(
2552 type="str",
2553 choices=[
2554 "Afrikaans",
2555 "Albanian",
2556 "Amharic",
2557 "Arabic",
2558 "Armenian",
2559 "Basque",
2560 "Belarusian",
2561 "Bosnian",
2562 "Bulgarian",
2563 "Catalan",
2564 "Chinese",
2565 "Croatian",
2566 "Czech",
2567 "Danish",
2568 "Dutch",
2569 "English",
2570 "Estonian",
2571 "Finnish",
2572 "French",
2573 "Gaelic",
2574 "Georgian",
2575 "German",
2576 "Greek",
2577 "Hebrew",
2578 "Hindi",
2579 "Hungarian",
2580 "Icelandic",
2581 "Indonesian",
2582 "Irish",
2583 "Italian",
2584 "Japanese",
2585 "Korean",
2586 "Latvian",
2587 "Lithuanian",
2588 "Macedonia",
2589 "Maltese",
2590 "Nepali",
2591 "Norwegian",
2592 "Polish",
2593 "Portuguese",
2594 "Romanian",
2595 "Russian",
2596 "Serbian",
2597 "Slovak",
2598 "Slovenian",
2599 "Sorbian",
2600 "Spanish",
2601 "Swahili",
2602 "Swedish",
2603 "Thai",
2604 "Turkish",
2605 "Ukrainian",
2606 "Vietnamese",
2607 "Welsh",
2608 ],
2609 ),
2610 send_emails_using_mail_server=dict(type="str"),
2611 ),
2612 ),
2613 hit_count=dict(
2614 type="dict",
2615 options=dict(
2616 enable_hit_count=dict(type="bool"),
2617 keep_hit_count_data_up_to=dict(
2618 type="str",
2619 choices=["3 months", "6 months", "1 year", "2 years"],
2620 ),
2621 ),
2622 ),
2623 advanced_conf=dict(
2624 type="dict",
2625 options=dict(
2626 certs_and_pki=dict(
2627 type="dict",
2628 options=dict(
2629 cert_validation_enforce_key_size=dict(
2630 type="str", choices=["off", "alert", "fail"]
2631 ),
2632 host_certs_ecdsa_key_size=dict(
2633 type="str", choices=["p-256", "p-384", "p-521"]
2634 ),
2635 host_certs_key_size=dict(
2636 type="str", choices=["4096", "1024", "2048"]
2637 ),
2638 ),
2639 )
2640 ),
2641 ),
2642 allow_remote_registration_of_opsec_products=dict(type="bool"),
2643 num_spoofing_errs_that_trigger_brute_force=dict(type="int"),
2644 details_level=dict(type="str", choices=["uid", "standard", "full"]),
2645 domains_to_process=dict(type="list", elements="str"),
2646 ignore_warnings=dict(type="bool"),
2647 ignore_errors=dict(type="bool"),
2648 auto_publish_session=dict(type="bool"),
2649 )
2650 argument_spec.update(checkpoint_argument_spec_for_commands)
2651
2652 module = AnsibleModule(argument_spec=argument_spec)
2653
2654 command = "set-global-properties"
2655
2656 result = api_command(module, command)
2657 module.exit_json(**result)
2658
2659
2660 if __name__ == "__main__":
2661 main()