Debian Codegraph @

ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_firewall_sslsshprofile.py

raw symbols SCIP
1 #!/usr/bin/python
2 from __future__ import absolute_import, division, print_function
3 # Copyright 2019-2024 Fortinet, Inc.
4 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
5
6 __metaclass__ = type
7
8 ANSIBLE_METADATA = {'status': ['preview'],
9 'supported_by': 'community',
10 'metadata_version': '1.1'}
11
12 DOCUMENTATION = '''
13 ---
14 module: fmgr_firewall_sslsshprofile
15 short_description: Configure SSL/SSH protocol options.
16 version_added: "1.0.0"
17 extends_documentation_fragment:
18 - fortinet.fortimanager.general
19 - fortinet.fortimanager.general.full_crud
20 options:
21 revision_note:
22 description: The change note that can be specified when an object is created or updated.
23 type: str
24 adom:
25 description: The parameter (adom) in requested url.
26 type: str
27 required: true
28 firewall_sslsshprofile:
29 description: The top level parameters set.
30 required: false
31 type: dict
32 suboptions:
33 caname:
34 type: str
35 description: CA certificate used by SSL Inspection.
36 comment:
37 type: str
38 description: Optional comments.
39 mapi_over_https:
40 aliases: ['mapi-over-https']
41 type: str
42 description: Enable/disable inspection of MAPI over HTTPS.
43 choices: ['disable', 'enable']
44 name:
45 type: str
46 description: Name.
47 required: true
48 rpc_over_https:
49 aliases: ['rpc-over-https']
50 type: str
51 description: Enable/disable inspection of RPC over HTTPS.
52 choices: ['disable', 'enable']
53 server_cert:
54 aliases: ['server-cert']
55 type: raw
56 description: (list or str) Certificate used by SSL Inspection to replace server certificate.
57 server_cert_mode:
58 aliases: ['server-cert-mode']
59 type: str
60 description: Re-sign or replace the servers certificate.
61 choices: ['re-sign', 'replace']
62 ssl_anomalies_log:
63 aliases: ['ssl-anomalies-log']
64 type: str
65 description: Enable/disable logging SSL anomalies.
66 choices: ['disable', 'enable']
67 ssl_exempt:
68 aliases: ['ssl-exempt']
69 type: list
70 elements: dict
71 description: Ssl exempt.
72 suboptions:
73 address:
74 type: str
75 description: IPv4 address object.
76 address6:
77 type: str
78 description: IPv6 address object.
79 fortiguard_category:
80 aliases: ['fortiguard-category']
81 type: str
82 description: FortiGuard category ID.
83 id:
84 type: int
85 description: ID number.
86 regex:
87 type: str
88 description: Exempt servers by regular expression.
89 type:
90 type: str
91 description: Type of address object
92 choices: ['fortiguard-category', 'address', 'address6', 'wildcard-fqdn',
93 'regex', 'finger-print']
94 wildcard_fqdn:
95 aliases: ['wildcard-fqdn']
96 type: str
97 description: Exempt servers by wildcard FQDN.
98 finger_print_category:
99 aliases: ['finger-print-category']
100 type: str
101 description: Finger print platform.
102 choices: ['unknown', 'firefox', 'chrome', 'safari', 'edge', 'ie',
103 'android', 'ios', 'windows']
104 ssl_exemptions_log:
105 aliases: ['ssl-exemptions-log']
106 type: str
107 description: Enable/disable logging SSL exemptions.
108 choices: ['disable', 'enable']
109 ssl_server:
110 aliases: ['ssl-server']
111 type: list
112 elements: dict
113 description: Ssl server.
114 suboptions:
115 ftps_client_cert_request:
116 aliases: ['ftps-client-cert-request']
117 type: str
118 description: Action based on client certificate request during the FTPS handshake.
119 choices: ['bypass', 'inspect', 'block']
120 https_client_cert_request:
121 aliases: ['https-client-cert-request']
122 type: str
123 description: Action based on client certificate request during the HTTPS handshake.
124 choices: ['bypass', 'inspect', 'block']
125 id:
126 type: int
127 description: SSL server ID.
128 imaps_client_cert_request:
129 aliases: ['imaps-client-cert-request']
130 type: str
131 description: Action based on client certificate request during the IMAPS handshake.
132 choices: ['bypass', 'inspect', 'block']
133 ip:
134 type: str
135 description: IPv4 address of the SSL server.
136 pop3s_client_cert_request:
137 aliases: ['pop3s-client-cert-request']
138 type: str
139 description: Action based on client certificate request during the POP3S handshake.
140 choices: ['bypass', 'inspect', 'block']
141 smtps_client_cert_request:
142 aliases: ['smtps-client-cert-request']
143 type: str
144 description: Action based on client certificate request during the SMTPS handshake.
145 choices: ['bypass', 'inspect', 'block']
146 ssl_other_client_cert_request:
147 aliases: ['ssl-other-client-cert-request']
148 type: str
149 description: Action based on client certificate request during an SSL protocol handshake.
150 choices: ['bypass', 'inspect', 'block']
151 ftps_client_certificate:
152 aliases: ['ftps-client-certificate']
153 type: str
154 description: Action based on received client certificate during the FTPS handshake.
155 choices: ['bypass', 'inspect', 'block']
156 https_client_certificate:
157 aliases: ['https-client-certificate']
158 type: str
159 description: Action based on received client certificate during the HTTPS handshake.
160 choices: ['bypass', 'inspect', 'block']
161 imaps_client_certificate:
162 aliases: ['imaps-client-certificate']
163 type: str
164 description: Action based on received client certificate during the IMAPS handshake.
165 choices: ['bypass', 'inspect', 'block']
166 pop3s_client_certificate:
167 aliases: ['pop3s-client-certificate']
168 type: str
169 description: Action based on received client certificate during the POP3S handshake.
170 choices: ['bypass', 'inspect', 'block']
171 smtps_client_certificate:
172 aliases: ['smtps-client-certificate']
173 type: str
174 description: Action based on received client certificate during the SMTPS handshake.
175 choices: ['bypass', 'inspect', 'block']
176 ssl_other_client_certificate:
177 aliases: ['ssl-other-client-certificate']
178 type: str
179 description: Action based on received client certificate during an SSL protocol handshake.
180 choices: ['bypass', 'inspect', 'block']
181 untrusted_caname:
182 aliases: ['untrusted-caname']
183 type: str
184 description: Untrusted CA certificate used by SSL Inspection.
185 use_ssl_server:
186 aliases: ['use-ssl-server']
187 type: str
188 description: Enable/disable the use of SSL server table for SSL offloading.
189 choices: ['disable', 'enable']
190 whitelist:
191 type: str
192 description: Enable/disable exempting servers by FortiGuard whitelist.
193 choices: ['disable', 'enable']
194 block_blacklisted_certificates:
195 aliases: ['block-blacklisted-certificates']
196 type: str
197 description: Enable/disable blocking SSL-based botnet communication by FortiGuard certificate blacklist.
198 choices: ['disable', 'enable']
199 certname:
200 type: str
201 description: Certificate containing the key to use when re-signing server certificates for SSL inspection.
202 ssl_invalid_server_cert_log:
203 aliases: ['ssl-invalid-server-cert-log']
204 type: str
205 description: Enable/disable SSL server certificate validation logging.
206 choices: ['disable', 'enable']
207 ssl_negotiation_log:
208 aliases: ['ssl-negotiation-log']
209 type: str
210 description: Enable/disable logging SSL negotiation.
211 choices: ['disable', 'enable']
212 ftps:
213 type: dict
214 description: Ftps.
215 suboptions:
216 cert_validation_failure:
217 aliases: ['cert-validation-failure']
218 type: str
219 description: Action based on certificate validation failure.
220 choices: ['allow', 'block', 'ignore']
221 cert_validation_timeout:
222 aliases: ['cert-validation-timeout']
223 type: str
224 description: Action based on certificate validation timeout.
225 choices: ['allow', 'block', 'ignore']
226 client_certificate:
227 aliases: ['client-certificate']
228 type: str
229 description: Action based on received client certificate.
230 choices: ['bypass', 'inspect', 'block', 'bypass-on-cert-req']
231 expired_server_cert:
232 aliases: ['expired-server-cert']
233 type: str
234 description: Action based on server certificate is expired.
235 choices: ['allow', 'block', 'ignore']
236 ports:
237 type: raw
238 description: (list) Ports to use for scanning
239 revoked_server_cert:
240 aliases: ['revoked-server-cert']
241 type: str
242 description: Action based on server certificate is revoked.
243 choices: ['allow', 'block', 'ignore']
244 sni_server_cert_check:
245 aliases: ['sni-server-cert-check']
246 type: str
247 description: Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.
248 choices: ['disable', 'enable', 'strict']
249 status:
250 type: str
251 description: Configure protocol inspection status.
252 choices: ['disable', 'deep-inspection']
253 unsupported_ssl_cipher:
254 aliases: ['unsupported-ssl-cipher']
255 type: str
256 description: Action based on the SSL cipher used being unsupported.
257 choices: ['allow', 'block']
258 unsupported_ssl_negotiation:
259 aliases: ['unsupported-ssl-negotiation']
260 type: str
261 description: Action based on the SSL negotiation used being unsupported.
262 choices: ['allow', 'block']
263 untrusted_server_cert:
264 aliases: ['untrusted-server-cert']
265 type: str
266 description: Action based on server certificate is not issued by a trusted CA.
267 choices: ['allow', 'block', 'ignore']
268 unsupported_ssl:
269 aliases: ['unsupported-ssl']
270 type: str
271 description: Action based on the SSL encryption used being unsupported.
272 choices: ['bypass', 'inspect', 'block']
273 client_cert_request:
274 aliases: ['client-cert-request']
275 type: str
276 description: Action based on client certificate request.
277 choices: ['bypass', 'inspect', 'block']
278 invalid_server_cert:
279 aliases: ['invalid-server-cert']
280 type: str
281 description: Allow or block the invalid SSL session server certificate.
282 choices: ['allow', 'block']
283 allow_invalid_server_cert:
284 aliases: ['allow-invalid-server-cert']
285 type: str
286 description: When enabled, allows SSL sessions whose server certificate validation failed.
287 choices: ['disable', 'enable']
288 untrusted_cert:
289 aliases: ['untrusted-cert']
290 type: str
291 description: Allow, ignore, or block the untrusted SSL session server certificate.
292 choices: ['allow', 'block', 'ignore']
293 min_allowed_ssl_version:
294 aliases: ['min-allowed-ssl-version']
295 type: str
296 description: Minimum SSL version to be allowed.
297 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
298 unsupported_ssl_version:
299 aliases: ['unsupported-ssl-version']
300 type: str
301 description: Action based on the SSL version used being unsupported.
302 choices: ['block', 'allow', 'inspect']
303 https:
304 type: dict
305 description: Https.
306 suboptions:
307 cert_validation_failure:
308 aliases: ['cert-validation-failure']
309 type: str
310 description: Action based on certificate validation failure.
311 choices: ['allow', 'block', 'ignore']
312 cert_validation_timeout:
313 aliases: ['cert-validation-timeout']
314 type: str
315 description: Action based on certificate validation timeout.
316 choices: ['allow', 'block', 'ignore']
317 client_certificate:
318 aliases: ['client-certificate']
319 type: str
320 description: Action based on received client certificate.
321 choices: ['bypass', 'inspect', 'block', 'bypass-on-cert-req']
322 expired_server_cert:
323 aliases: ['expired-server-cert']
324 type: str
325 description: Action based on server certificate is expired.
326 choices: ['allow', 'block', 'ignore']
327 ports:
328 type: raw
329 description: (list) Ports to use for scanning
330 proxy_after_tcp_handshake:
331 aliases: ['proxy-after-tcp-handshake']
332 type: str
333 description: Proxy traffic after the TCP 3-way handshake has been established
334 choices: ['disable', 'enable']
335 revoked_server_cert:
336 aliases: ['revoked-server-cert']
337 type: str
338 description: Action based on server certificate is revoked.
339 choices: ['allow', 'block', 'ignore']
340 sni_server_cert_check:
341 aliases: ['sni-server-cert-check']
342 type: str
343 description: Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.
344 choices: ['disable', 'enable', 'strict']
345 status:
346 type: str
347 description: Configure protocol inspection status.
348 choices: ['disable', 'certificate-inspection', 'deep-inspection']
349 unsupported_ssl_cipher:
350 aliases: ['unsupported-ssl-cipher']
351 type: str
352 description: Action based on the SSL cipher used being unsupported.
353 choices: ['allow', 'block']
354 unsupported_ssl_negotiation:
355 aliases: ['unsupported-ssl-negotiation']
356 type: str
357 description: Action based on the SSL negotiation used being unsupported.
358 choices: ['allow', 'block']
359 untrusted_server_cert:
360 aliases: ['untrusted-server-cert']
361 type: str
362 description: Action based on server certificate is not issued by a trusted CA.
363 choices: ['allow', 'block', 'ignore']
364 unsupported_ssl:
365 aliases: ['unsupported-ssl']
366 type: str
367 description: Action based on the SSL encryption used being unsupported.
368 choices: ['bypass', 'inspect', 'block']
369 client_cert_request:
370 aliases: ['client-cert-request']
371 type: str
372 description: Action based on client certificate request.
373 choices: ['bypass', 'inspect', 'block']
374 invalid_server_cert:
375 aliases: ['invalid-server-cert']
376 type: str
377 description: Allow or block the invalid SSL session server certificate.
378 choices: ['allow', 'block']
379 allow_invalid_server_cert:
380 aliases: ['allow-invalid-server-cert']
381 type: str
382 description: When enabled, allows SSL sessions whose server certificate validation failed.
383 choices: ['disable', 'enable']
384 untrusted_cert:
385 aliases: ['untrusted-cert']
386 type: str
387 description: Allow, ignore, or block the untrusted SSL session server certificate.
388 choices: ['allow', 'block', 'ignore']
389 cert_probe_failure:
390 aliases: ['cert-probe-failure']
391 type: str
392 description: Action based on certificate probe failure.
393 choices: ['block', 'allow']
394 min_allowed_ssl_version:
395 aliases: ['min-allowed-ssl-version']
396 type: str
397 description: Minimum SSL version to be allowed.
398 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
399 unsupported_ssl_version:
400 aliases: ['unsupported-ssl-version']
401 type: str
402 description: Action based on the SSL version used being unsupported.
403 choices: ['block', 'allow', 'inspect']
404 quic:
405 type: str
406 description: Enable/disable QUIC inspection
407 choices: ['disable', 'enable', 'bypass', 'block', 'inspect']
408 encrypted_client_hello:
409 aliases: ['encrypted-client-hello']
410 type: str
411 description: Block/allow session based on existence of encrypted-client-hello.
412 choices: ['block', 'allow']
413 udp_not_quic:
414 aliases: ['udp-not-quic']
415 type: str
416 description: Action to be taken when matched UDP packet is not QUIC.
417 choices: ['block', 'allow']
418 imaps:
419 type: dict
420 description: Imaps.
421 suboptions:
422 cert_validation_failure:
423 aliases: ['cert-validation-failure']
424 type: str
425 description: Action based on certificate validation failure.
426 choices: ['allow', 'block', 'ignore']
427 cert_validation_timeout:
428 aliases: ['cert-validation-timeout']
429 type: str
430 description: Action based on certificate validation timeout.
431 choices: ['allow', 'block', 'ignore']
432 client_certificate:
433 aliases: ['client-certificate']
434 type: str
435 description: Action based on received client certificate.
436 choices: ['bypass', 'inspect', 'block', 'bypass-on-cert-req']
437 expired_server_cert:
438 aliases: ['expired-server-cert']
439 type: str
440 description: Action based on server certificate is expired.
441 choices: ['allow', 'block', 'ignore']
442 ports:
443 type: raw
444 description: (list) Ports to use for scanning
445 proxy_after_tcp_handshake:
446 aliases: ['proxy-after-tcp-handshake']
447 type: str
448 description: Proxy traffic after the TCP 3-way handshake has been established
449 choices: ['disable', 'enable']
450 revoked_server_cert:
451 aliases: ['revoked-server-cert']
452 type: str
453 description: Action based on server certificate is revoked.
454 choices: ['allow', 'block', 'ignore']
455 sni_server_cert_check:
456 aliases: ['sni-server-cert-check']
457 type: str
458 description: Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.
459 choices: ['disable', 'enable', 'strict']
460 status:
461 type: str
462 description: Configure protocol inspection status.
463 choices: ['disable', 'deep-inspection']
464 unsupported_ssl_cipher:
465 aliases: ['unsupported-ssl-cipher']
466 type: str
467 description: Action based on the SSL cipher used being unsupported.
468 choices: ['allow', 'block']
469 unsupported_ssl_negotiation:
470 aliases: ['unsupported-ssl-negotiation']
471 type: str
472 description: Action based on the SSL negotiation used being unsupported.
473 choices: ['allow', 'block']
474 untrusted_server_cert:
475 aliases: ['untrusted-server-cert']
476 type: str
477 description: Action based on server certificate is not issued by a trusted CA.
478 choices: ['allow', 'block', 'ignore']
479 unsupported_ssl:
480 aliases: ['unsupported-ssl']
481 type: str
482 description: Action based on the SSL encryption used being unsupported.
483 choices: ['bypass', 'inspect', 'block']
484 client_cert_request:
485 aliases: ['client-cert-request']
486 type: str
487 description: Action based on client certificate request.
488 choices: ['bypass', 'inspect', 'block']
489 invalid_server_cert:
490 aliases: ['invalid-server-cert']
491 type: str
492 description: Allow or block the invalid SSL session server certificate.
493 choices: ['allow', 'block']
494 allow_invalid_server_cert:
495 aliases: ['allow-invalid-server-cert']
496 type: str
497 description: When enabled, allows SSL sessions whose server certificate validation failed.
498 choices: ['disable', 'enable']
499 untrusted_cert:
500 aliases: ['untrusted-cert']
501 type: str
502 description: Allow, ignore, or block the untrusted SSL session server certificate.
503 choices: ['allow', 'block', 'ignore']
504 unsupported_ssl_version:
505 aliases: ['unsupported-ssl-version']
506 type: str
507 description: Action based on the SSL version used being unsupported.
508 choices: ['block', 'allow', 'inspect']
509 min_allowed_ssl_version:
510 aliases: ['min-allowed-ssl-version']
511 type: str
512 description: Min allowed ssl version.
513 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
514 pop3s:
515 type: dict
516 description: Pop3s.
517 suboptions:
518 cert_validation_failure:
519 aliases: ['cert-validation-failure']
520 type: str
521 description: Action based on certificate validation failure.
522 choices: ['allow', 'block', 'ignore']
523 cert_validation_timeout:
524 aliases: ['cert-validation-timeout']
525 type: str
526 description: Action based on certificate validation timeout.
527 choices: ['allow', 'block', 'ignore']
528 client_certificate:
529 aliases: ['client-certificate']
530 type: str
531 description: Action based on received client certificate.
532 choices: ['bypass', 'inspect', 'block', 'bypass-on-cert-req']
533 expired_server_cert:
534 aliases: ['expired-server-cert']
535 type: str
536 description: Action based on server certificate is expired.
537 choices: ['allow', 'block', 'ignore']
538 ports:
539 type: raw
540 description: (list) Ports to use for scanning
541 proxy_after_tcp_handshake:
542 aliases: ['proxy-after-tcp-handshake']
543 type: str
544 description: Proxy traffic after the TCP 3-way handshake has been established
545 choices: ['disable', 'enable']
546 revoked_server_cert:
547 aliases: ['revoked-server-cert']
548 type: str
549 description: Action based on server certificate is revoked.
550 choices: ['allow', 'block', 'ignore']
551 sni_server_cert_check:
552 aliases: ['sni-server-cert-check']
553 type: str
554 description: Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.
555 choices: ['disable', 'enable', 'strict']
556 status:
557 type: str
558 description: Configure protocol inspection status.
559 choices: ['disable', 'deep-inspection']
560 unsupported_ssl_cipher:
561 aliases: ['unsupported-ssl-cipher']
562 type: str
563 description: Action based on the SSL cipher used being unsupported.
564 choices: ['allow', 'block']
565 unsupported_ssl_negotiation:
566 aliases: ['unsupported-ssl-negotiation']
567 type: str
568 description: Action based on the SSL negotiation used being unsupported.
569 choices: ['allow', 'block']
570 untrusted_server_cert:
571 aliases: ['untrusted-server-cert']
572 type: str
573 description: Action based on server certificate is not issued by a trusted CA.
574 choices: ['allow', 'block', 'ignore']
575 unsupported_ssl:
576 aliases: ['unsupported-ssl']
577 type: str
578 description: Action based on the SSL encryption used being unsupported.
579 choices: ['bypass', 'inspect', 'block']
580 client_cert_request:
581 aliases: ['client-cert-request']
582 type: str
583 description: Action based on client certificate request.
584 choices: ['bypass', 'inspect', 'block']
585 invalid_server_cert:
586 aliases: ['invalid-server-cert']
587 type: str
588 description: Allow or block the invalid SSL session server certificate.
589 choices: ['allow', 'block']
590 allow_invalid_server_cert:
591 aliases: ['allow-invalid-server-cert']
592 type: str
593 description: When enabled, allows SSL sessions whose server certificate validation failed.
594 choices: ['disable', 'enable']
595 untrusted_cert:
596 aliases: ['untrusted-cert']
597 type: str
598 description: Allow, ignore, or block the untrusted SSL session server certificate.
599 choices: ['allow', 'block', 'ignore']
600 unsupported_ssl_version:
601 aliases: ['unsupported-ssl-version']
602 type: str
603 description: Action based on the SSL version used being unsupported.
604 choices: ['block', 'allow', 'inspect']
605 min_allowed_ssl_version:
606 aliases: ['min-allowed-ssl-version']
607 type: str
608 description: Min allowed ssl version.
609 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
610 smtps:
611 type: dict
612 description: Smtps.
613 suboptions:
614 cert_validation_failure:
615 aliases: ['cert-validation-failure']
616 type: str
617 description: Action based on certificate validation failure.
618 choices: ['allow', 'block', 'ignore']
619 cert_validation_timeout:
620 aliases: ['cert-validation-timeout']
621 type: str
622 description: Action based on certificate validation timeout.
623 choices: ['allow', 'block', 'ignore']
624 client_certificate:
625 aliases: ['client-certificate']
626 type: str
627 description: Action based on received client certificate.
628 choices: ['bypass', 'inspect', 'block', 'bypass-on-cert-req']
629 expired_server_cert:
630 aliases: ['expired-server-cert']
631 type: str
632 description: Action based on server certificate is expired.
633 choices: ['allow', 'block', 'ignore']
634 ports:
635 type: raw
636 description: (list) Ports to use for scanning
637 proxy_after_tcp_handshake:
638 aliases: ['proxy-after-tcp-handshake']
639 type: str
640 description: Proxy traffic after the TCP 3-way handshake has been established
641 choices: ['disable', 'enable']
642 revoked_server_cert:
643 aliases: ['revoked-server-cert']
644 type: str
645 description: Action based on server certificate is revoked.
646 choices: ['allow', 'block', 'ignore']
647 sni_server_cert_check:
648 aliases: ['sni-server-cert-check']
649 type: str
650 description: Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.
651 choices: ['disable', 'enable', 'strict']
652 status:
653 type: str
654 description: Configure protocol inspection status.
655 choices: ['disable', 'deep-inspection']
656 unsupported_ssl_cipher:
657 aliases: ['unsupported-ssl-cipher']
658 type: str
659 description: Action based on the SSL cipher used being unsupported.
660 choices: ['allow', 'block']
661 unsupported_ssl_negotiation:
662 aliases: ['unsupported-ssl-negotiation']
663 type: str
664 description: Action based on the SSL negotiation used being unsupported.
665 choices: ['allow', 'block']
666 untrusted_server_cert:
667 aliases: ['untrusted-server-cert']
668 type: str
669 description: Action based on server certificate is not issued by a trusted CA.
670 choices: ['allow', 'block', 'ignore']
671 unsupported_ssl:
672 aliases: ['unsupported-ssl']
673 type: str
674 description: Action based on the SSL encryption used being unsupported.
675 choices: ['bypass', 'inspect', 'block']
676 client_cert_request:
677 aliases: ['client-cert-request']
678 type: str
679 description: Action based on client certificate request.
680 choices: ['bypass', 'inspect', 'block']
681 invalid_server_cert:
682 aliases: ['invalid-server-cert']
683 type: str
684 description: Allow or block the invalid SSL session server certificate.
685 choices: ['allow', 'block']
686 allow_invalid_server_cert:
687 aliases: ['allow-invalid-server-cert']
688 type: str
689 description: When enabled, allows SSL sessions whose server certificate validation failed.
690 choices: ['disable', 'enable']
691 untrusted_cert:
692 aliases: ['untrusted-cert']
693 type: str
694 description: Allow, ignore, or block the untrusted SSL session server certificate.
695 choices: ['allow', 'block', 'ignore']
696 unsupported_ssl_version:
697 aliases: ['unsupported-ssl-version']
698 type: str
699 description: Action based on the SSL version used being unsupported.
700 choices: ['block', 'allow', 'inspect']
701 min_allowed_ssl_version:
702 aliases: ['min-allowed-ssl-version']
703 type: str
704 description: Min allowed ssl version.
705 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
706 ssh:
707 type: dict
708 description: Ssh.
709 suboptions:
710 inspect_all:
711 aliases: ['inspect-all']
712 type: str
713 description: Level of SSL inspection.
714 choices: ['disable', 'deep-inspection']
715 ports:
716 type: raw
717 description: (list) Ports to use for scanning
718 proxy_after_tcp_handshake:
719 aliases: ['proxy-after-tcp-handshake']
720 type: str
721 description: Proxy traffic after the TCP 3-way handshake has been established
722 choices: ['disable', 'enable']
723 ssh_algorithm:
724 aliases: ['ssh-algorithm']
725 type: str
726 description: Relative strength of encryption algorithms accepted during negotiation.
727 choices: ['compatible', 'high-encryption']
728 ssh_tun_policy_check:
729 aliases: ['ssh-tun-policy-check']
730 type: str
731 description: Enable/disable SSH tunnel policy check.
732 choices: ['disable', 'enable']
733 status:
734 type: str
735 description: Configure protocol inspection status.
736 choices: ['disable', 'deep-inspection']
737 unsupported_version:
738 aliases: ['unsupported-version']
739 type: str
740 description: Action based on SSH version being unsupported.
741 choices: ['block', 'bypass']
742 ssh_policy_check:
743 aliases: ['ssh-policy-check']
744 type: str
745 description: Enable/disable SSH policy check.
746 choices: ['disable', 'enable']
747 block:
748 type: list
749 elements: str
750 description: SSH blocking options.
751 choices: ['x11-filter', 'ssh-shell', 'exec', 'port-forward']
752 log:
753 type: list
754 elements: str
755 description: SSH logging options.
756 choices: ['x11-filter', 'ssh-shell', 'exec', 'port-forward']
757 ssl:
758 type: dict
759 description: Ssl.
760 suboptions:
761 cert_validation_failure:
762 aliases: ['cert-validation-failure']
763 type: str
764 description: Action based on certificate validation failure.
765 choices: ['allow', 'block', 'ignore']
766 cert_validation_timeout:
767 aliases: ['cert-validation-timeout']
768 type: str
769 description: Action based on certificate validation timeout.
770 choices: ['allow', 'block', 'ignore']
771 client_certificate:
772 aliases: ['client-certificate']
773 type: str
774 description: Action based on received client certificate.
775 choices: ['bypass', 'inspect', 'block', 'bypass-on-cert-req']
776 expired_server_cert:
777 aliases: ['expired-server-cert']
778 type: str
779 description: Action based on server certificate is expired.
780 choices: ['allow', 'block', 'ignore']
781 inspect_all:
782 aliases: ['inspect-all']
783 type: str
784 description: Level of SSL inspection.
785 choices: ['disable', 'certificate-inspection', 'deep-inspection']
786 revoked_server_cert:
787 aliases: ['revoked-server-cert']
788 type: str
789 description: Action based on server certificate is revoked.
790 choices: ['allow', 'block', 'ignore']
791 sni_server_cert_check:
792 aliases: ['sni-server-cert-check']
793 type: str
794 description: Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.
795 choices: ['disable', 'enable', 'strict']
796 unsupported_ssl_cipher:
797 aliases: ['unsupported-ssl-cipher']
798 type: str
799 description: Action based on the SSL cipher used being unsupported.
800 choices: ['allow', 'block']
801 unsupported_ssl_negotiation:
802 aliases: ['unsupported-ssl-negotiation']
803 type: str
804 description: Action based on the SSL negotiation used being unsupported.
805 choices: ['allow', 'block']
806 untrusted_server_cert:
807 aliases: ['untrusted-server-cert']
808 type: str
809 description: Action based on server certificate is not issued by a trusted CA.
810 choices: ['allow', 'block', 'ignore']
811 unsupported_ssl:
812 aliases: ['unsupported-ssl']
813 type: str
814 description: Action based on the SSL encryption used being unsupported.
815 choices: ['bypass', 'inspect', 'block']
816 client_cert_request:
817 aliases: ['client-cert-request']
818 type: str
819 description: Action based on client certificate request.
820 choices: ['bypass', 'inspect', 'block']
821 invalid_server_cert:
822 aliases: ['invalid-server-cert']
823 type: str
824 description: Allow or block the invalid SSL session server certificate.
825 choices: ['allow', 'block']
826 allow_invalid_server_cert:
827 aliases: ['allow-invalid-server-cert']
828 type: str
829 description: When enabled, allows SSL sessions whose server certificate validation failed.
830 choices: ['disable', 'enable']
831 untrusted_cert:
832 aliases: ['untrusted-cert']
833 type: str
834 description: Allow, ignore, or block the untrusted SSL session server certificate.
835 choices: ['allow', 'block', 'ignore']
836 cert_probe_failure:
837 aliases: ['cert-probe-failure']
838 type: str
839 description: Action based on certificate probe failure.
840 choices: ['block', 'allow']
841 min_allowed_ssl_version:
842 aliases: ['min-allowed-ssl-version']
843 type: str
844 description: Minimum SSL version to be allowed.
845 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
846 unsupported_ssl_version:
847 aliases: ['unsupported-ssl-version']
848 type: str
849 description: Action based on the SSL version used being unsupported.
850 choices: ['block', 'allow', 'inspect']
851 encrypted_client_hello:
852 aliases: ['encrypted-client-hello']
853 type: str
854 description: Block/allow session based on existence of encrypted-client-hello.
855 choices: ['block', 'allow']
856 allowlist:
857 type: str
858 description: Enable/disable exempting servers by FortiGuard allowlist.
859 choices: ['disable', 'enable']
860 block_blocklisted_certificates:
861 aliases: ['block-blocklisted-certificates']
862 type: str
863 description: Enable/disable blocking SSL-based botnet communication by FortiGuard certificate blocklist.
864 choices: ['disable', 'enable']
865 dot:
866 type: dict
867 description: Dot.
868 suboptions:
869 cert_validation_failure:
870 aliases: ['cert-validation-failure']
871 type: str
872 description: Action based on certificate validation failure.
873 choices: ['allow', 'block', 'ignore']
874 cert_validation_timeout:
875 aliases: ['cert-validation-timeout']
876 type: str
877 description: Action based on certificate validation timeout.
878 choices: ['allow', 'block', 'ignore']
879 client_certificate:
880 aliases: ['client-certificate']
881 type: str
882 description: Action based on received client certificate.
883 choices: ['bypass', 'inspect', 'block', 'bypass-on-cert-req']
884 expired_server_cert:
885 aliases: ['expired-server-cert']
886 type: str
887 description: Action based on server certificate is expired.
888 choices: ['allow', 'block', 'ignore']
889 proxy_after_tcp_handshake:
890 aliases: ['proxy-after-tcp-handshake']
891 type: str
892 description: Proxy traffic after the TCP 3-way handshake has been established
893 choices: ['disable', 'enable']
894 revoked_server_cert:
895 aliases: ['revoked-server-cert']
896 type: str
897 description: Action based on server certificate is revoked.
898 choices: ['allow', 'block', 'ignore']
899 sni_server_cert_check:
900 aliases: ['sni-server-cert-check']
901 type: str
902 description: Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.
903 choices: ['enable', 'strict', 'disable']
904 status:
905 type: str
906 description: Configure protocol inspection status.
907 choices: ['disable', 'deep-inspection']
908 unsupported_ssl_cipher:
909 aliases: ['unsupported-ssl-cipher']
910 type: str
911 description: Action based on the SSL cipher used being unsupported.
912 choices: ['block', 'allow']
913 unsupported_ssl_negotiation:
914 aliases: ['unsupported-ssl-negotiation']
915 type: str
916 description: Action based on the SSL negotiation used being unsupported.
917 choices: ['block', 'allow']
918 untrusted_server_cert:
919 aliases: ['untrusted-server-cert']
920 type: str
921 description: Action based on server certificate is not issued by a trusted CA.
922 choices: ['allow', 'block', 'ignore']
923 unsupported_ssl_version:
924 aliases: ['unsupported-ssl-version']
925 type: str
926 description: Action based on the SSL version used being unsupported.
927 choices: ['block', 'allow', 'inspect']
928 min_allowed_ssl_version:
929 aliases: ['min-allowed-ssl-version']
930 type: str
931 description: Min allowed ssl version.
932 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
933 quic:
934 type: str
935 description: Enable/disable QUIC inspection
936 choices: ['disable', 'enable', 'bypass', 'block', 'inspect']
937 udp_not_quic:
938 aliases: ['udp-not-quic']
939 type: str
940 description: Action to be taken when matched UDP packet is not QUIC.
941 choices: ['block', 'allow']
942 supported_alpn:
943 aliases: ['supported-alpn']
944 type: str
945 description: Configure ALPN option.
946 choices: ['none', 'http1-1', 'http2', 'all']
947 ssl_anomaly_log:
948 aliases: ['ssl-anomaly-log']
949 type: str
950 description: Enable/disable logging of SSL anomalies.
951 choices: ['disable', 'enable']
952 ssl_exemption_ip_rating:
953 aliases: ['ssl-exemption-ip-rating']
954 type: str
955 description: Enable/disable IP based URL rating.
956 choices: ['disable', 'enable']
957 ssl_exemption_log:
958 aliases: ['ssl-exemption-log']
959 type: str
960 description: Enable/disable logging SSL exemptions.
961 choices: ['disable', 'enable']
962 ssl_handshake_log:
963 aliases: ['ssl-handshake-log']
964 type: str
965 description: Enable/disable logging of TLS handshakes.
966 choices: ['disable', 'enable']
967 ssl_server_cert_log:
968 aliases: ['ssl-server-cert-log']
969 type: str
970 description: Enable/disable logging of server certificate information.
971 choices: ['disable', 'enable']
972 ech_outer_sni:
973 aliases: ['ech-outer-sni']
974 type: list
975 elements: dict
976 description: Ech outer sni.
977 suboptions:
978 name:
979 type: str
980 description: ClientHelloOuter SNI name.
981 sni:
982 type: str
983 description: ClientHelloOuter SNI to be blocked.
984 ssl_client_certificate:
985 aliases: ['ssl-client-certificate']
986 type: dict
987 description: Ssl client certificate.
988 suboptions:
989 caname:
990 type: raw
991 description: (list) Caname.
992 cert:
993 type: raw
994 description: (list) Cert.
995 keyring_list:
996 aliases: ['keyring-list']
997 type: raw
998 description: (list) Keyring list.
999 status:
1000 type: str
1001 description: Status.
1002 choices: ['do-not-offer', 'keyring-list', 'ca-sign', 'static']
1003 '''
1004
1005 EXAMPLES = '''
1006 - name: Example playbook
1007 hosts: fortimanagers
1008 gather_facts: false
1009 connection: httpapi
1010 vars:
1011 ansible_httpapi_use_ssl: true
1012 ansible_httpapi_validate_certs: false
1013 ansible_httpapi_port: 443
1014 tasks:
1015 - name: Configure SSL/SSH protocol options.
1016 fortinet.fortimanager.fmgr_firewall_sslsshprofile:
1017 bypass_validation: false
1018 adom: ansible
1019 state: present
1020 firewall_sslsshprofile:
1021 comment: "ansible-comment1"
1022 mapi_over_https: disable # <value in [disable, enable]>
1023 name: "ansible-test"
1024 use_ssl_server: disable # <value in [disable, enable]>
1025 whitelist: enable # <value in [disable, enable]>
1026
1027 - name: Gathering fortimanager facts
1028 hosts: fortimanagers
1029 gather_facts: false
1030 connection: httpapi
1031 vars:
1032 ansible_httpapi_use_ssl: true
1033 ansible_httpapi_validate_certs: false
1034 ansible_httpapi_port: 443
1035 tasks:
1036 - name: Retrieve all the SSL/SSH protocol options
1037 fortinet.fortimanager.fmgr_fact:
1038 facts:
1039 selector: "firewall_sslsshprofile"
1040 params:
1041 adom: "ansible"
1042 ssl_ssh_profile: "your_value"
1043 '''
1044
1045 RETURN = '''
1046 meta:
1047 description: The result of the request.
1048 type: dict
1049 returned: always
1050 contains:
1051 request_url:
1052 description: The full url requested.
1053 returned: always
1054 type: str
1055 sample: /sys/login/user
1056 response_code:
1057 description: The status of api request.
1058 returned: always
1059 type: int
1060 sample: 0
1061 response_data:
1062 description: The api response.
1063 type: list
1064 returned: always
1065 response_message:
1066 description: The descriptive message of the api response.
1067 type: str
1068 returned: always
1069 sample: OK.
1070 system_information:
1071 description: The information of the target system.
1072 type: dict
1073 returned: always
1074 rc:
1075 description: The status the request.
1076 type: int
1077 returned: always
1078 sample: 0
1079 version_check_warning:
1080 description: Warning if the parameters used in the playbook are not supported by the current FortiManager version.
1081 type: list
1082 returned: complex
1083 '''
1084 from ansible.module_utils.basic import AnsibleModule
1085 from ansible.module_utils.connection import Connection
1086 from ansible_collections.fortinet.fortimanager.plugins.module_utils.napi import NAPIManager, check_galaxy_version, check_parameter_bypass
1087 from ansible_collections.fortinet.fortimanager.plugins.module_utils.common import get_module_arg_spec
1088
1089
1090 def main():
1091 urls_list = [
1092 '/pm/config/adom/{adom}/obj/firewall/ssl-ssh-profile',
1093 '/pm/config/global/obj/firewall/ssl-ssh-profile'
1094 ]
1095 module_arg_spec = {
1096 'adom': {'required': True, 'type': 'str'},
1097 'revision_note': {'type': 'str'},
1098 'firewall_sslsshprofile': {
1099 'type': 'dict', 'v_range': [['6.0.0', '']],
1100 'options': {
1101 'caname': {'type': 'str'},
1102 'comment': {'type': 'str'},
1103 'mapi-over-https': {'choices': ['disable', 'enable'], 'type': 'str'},
1104 'name': {'required': True, 'type': 'str'},
1105 'rpc-over-https': {'choices': ['disable', 'enable'], 'type': 'str'},
1106 'server-cert': {'type': 'raw'},
1107 'server-cert-mode': {'choices': ['re-sign', 'replace'], 'type': 'str'},
1108 'ssl-anomalies-log': {'choices': ['disable', 'enable'], 'type': 'str'},
1109 'ssl-exempt': {
1110 'type': 'list',
1111 'options': {
1112 'address': {'type': 'str'},
1113 'address6': {'type': 'str'},
1114 'fortiguard-category': {'type': 'str'},
1115 'id': {'type': 'int'},
1116 'regex': {'type': 'str'},
1117 'type': {'choices': ['fortiguard-category', 'address', 'address6', 'wildcard-fqdn', 'regex', 'finger-print'], 'type': 'str'},
1118 'wildcard-fqdn': {'type': 'str'},
1119 'finger-print-category': {
1120 'v_range': [['7.4.8', '7.4.10'], ['7.6.4', '']],
1121 'choices': ['unknown', 'firefox', 'chrome', 'safari', 'edge', 'ie', 'android', 'ios', 'windows'],
1122 'type': 'str'
1123 }
1124 },
1125 'elements': 'dict'
1126 },
1127 'ssl-exemptions-log': {'choices': ['disable', 'enable'], 'type': 'str'},
1128 'ssl-server': {
1129 'type': 'list',
1130 'options': {
1131 'ftps-client-cert-request': {'v_range': [['6.0.0', '7.6.2']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'},
1132 'https-client-cert-request': {'v_range': [['6.0.0', '7.6.2']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'},
1133 'id': {'type': 'int'},
1134 'imaps-client-cert-request': {'v_range': [['6.0.0', '7.6.2']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'},
1135 'ip': {'type': 'str'},
1136 'pop3s-client-cert-request': {'v_range': [['6.0.0', '7.6.2']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'},
1137 'smtps-client-cert-request': {'v_range': [['6.0.0', '7.6.2']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'},
1138 'ssl-other-client-cert-request': {'v_range': [['6.0.0', '7.6.2']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'},
1139 'ftps-client-certificate': {'v_range': [['6.4.0', '']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'},
1140 'https-client-certificate': {'v_range': [['6.4.0', '']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'},
1141 'imaps-client-certificate': {'v_range': [['6.4.0', '']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'},
1142 'pop3s-client-certificate': {'v_range': [['6.4.0', '']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'},
1143 'smtps-client-certificate': {'v_range': [['6.4.0', '']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'},
1144 'ssl-other-client-certificate': {'v_range': [['6.4.0', '']], 'choices': ['bypass', 'inspect', 'block'], 'type': 'str'}
1145 },
1146 'elements': 'dict'
1147 },
1148 'untrusted-caname': {'type': 'str'},
1149 'use-ssl-server': {'choices': ['disable', 'enable'], 'type': 'str'},
1150 'whitelist': {'choices': ['disable', 'enable'], 'type': 'str'},
1151 'block-blacklisted-certificates': {'v_range': [['6.2.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1152 'certname': {'v_range': [['6.2.0', '6.2.13']], 'type': 'str'},
1153 'ssl-invalid-server-cert-log': {'v_range': [['6.2.0', '6.2.13']], 'choices': ['disable', 'enable'], 'type': 'str'},
1154 'ssl-negotiation-log': {'v_range': [['6.4.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1155 'ftps': {
1156 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1157 'type': 'dict',
1158 'options': {
1159 'cert-validation-failure': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1160 'cert-validation-timeout': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1161 'client-certificate': {'v_range': [['6.4.5', '']], 'choices': ['bypass', 'inspect', 'block', 'bypass-on-cert-req'], 'type': 'str'},
1162 'expired-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1163 'ports': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'type': 'raw'},
1164 'revoked-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1165 'sni-server-cert-check': {
1166 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1167 'choices': ['disable', 'enable', 'strict'],
1168 'type': 'str'
1169 },
1170 'status': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['disable', 'deep-inspection'], 'type': 'str'},
1171 'unsupported-ssl-cipher': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1172 'unsupported-ssl-negotiation': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1173 'untrusted-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1174 'unsupported-ssl': {
1175 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1176 'choices': ['bypass', 'inspect', 'block'],
1177 'type': 'str'
1178 },
1179 'client-cert-request': {
1180 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1181 'choices': ['bypass', 'inspect', 'block'],
1182 'type': 'str'
1183 },
1184 'invalid-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']], 'choices': ['allow', 'block'], 'type': 'str'},
1185 'allow-invalid-server-cert': {
1186 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1187 'choices': ['disable', 'enable'],
1188 'type': 'str'
1189 },
1190 'untrusted-cert': {
1191 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1192 'choices': ['allow', 'block', 'ignore'],
1193 'type': 'str'
1194 },
1195 'min-allowed-ssl-version': {
1196 'v_range': [['7.0.3', '']],
1197 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'],
1198 'type': 'str'
1199 },
1200 'unsupported-ssl-version': {'v_range': [['7.0.1', '']], 'choices': ['block', 'allow', 'inspect'], 'type': 'str'}
1201 }
1202 },
1203 'https': {
1204 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1205 'type': 'dict',
1206 'options': {
1207 'cert-validation-failure': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1208 'cert-validation-timeout': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1209 'client-certificate': {'v_range': [['6.4.5', '']], 'choices': ['bypass', 'inspect', 'block', 'bypass-on-cert-req'], 'type': 'str'},
1210 'expired-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1211 'ports': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'type': 'raw'},
1212 'proxy-after-tcp-handshake': {'v_range': [['6.4.5', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1213 'revoked-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1214 'sni-server-cert-check': {
1215 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1216 'choices': ['disable', 'enable', 'strict'],
1217 'type': 'str'
1218 },
1219 'status': {
1220 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1221 'choices': ['disable', 'certificate-inspection', 'deep-inspection'],
1222 'type': 'str'
1223 },
1224 'unsupported-ssl-cipher': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1225 'unsupported-ssl-negotiation': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1226 'untrusted-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1227 'unsupported-ssl': {
1228 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1229 'choices': ['bypass', 'inspect', 'block'],
1230 'type': 'str'
1231 },
1232 'client-cert-request': {
1233 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1234 'choices': ['bypass', 'inspect', 'block'],
1235 'type': 'str'
1236 },
1237 'invalid-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']], 'choices': ['allow', 'block'], 'type': 'str'},
1238 'allow-invalid-server-cert': {
1239 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1240 'choices': ['disable', 'enable'],
1241 'type': 'str'
1242 },
1243 'untrusted-cert': {
1244 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1245 'choices': ['allow', 'block', 'ignore'],
1246 'type': 'str'
1247 },
1248 'cert-probe-failure': {'v_range': [['7.0.0', '']], 'choices': ['block', 'allow'], 'type': 'str'},
1249 'min-allowed-ssl-version': {
1250 'v_range': [['7.0.3', '']],
1251 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'],
1252 'type': 'str'
1253 },
1254 'unsupported-ssl-version': {'v_range': [['7.0.1', '']], 'choices': ['block', 'allow', 'inspect'], 'type': 'str'},
1255 'quic': {'v_range': [['7.4.1', '']], 'choices': ['disable', 'enable', 'bypass', 'block', 'inspect'], 'type': 'str'},
1256 'encrypted-client-hello': {'v_range': [['7.4.3', '']], 'choices': ['block', 'allow'], 'type': 'str'},
1257 'udp-not-quic': {'v_range': [['7.6.2', '']], 'choices': ['block', 'allow'], 'type': 'str'}
1258 }
1259 },
1260 'imaps': {
1261 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1262 'type': 'dict',
1263 'options': {
1264 'cert-validation-failure': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1265 'cert-validation-timeout': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1266 'client-certificate': {'v_range': [['6.4.5', '']], 'choices': ['bypass', 'inspect', 'block', 'bypass-on-cert-req'], 'type': 'str'},
1267 'expired-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1268 'ports': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'type': 'raw'},
1269 'proxy-after-tcp-handshake': {'v_range': [['6.4.5', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1270 'revoked-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1271 'sni-server-cert-check': {
1272 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1273 'choices': ['disable', 'enable', 'strict'],
1274 'type': 'str'
1275 },
1276 'status': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['disable', 'deep-inspection'], 'type': 'str'},
1277 'unsupported-ssl-cipher': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1278 'unsupported-ssl-negotiation': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1279 'untrusted-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1280 'unsupported-ssl': {
1281 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1282 'choices': ['bypass', 'inspect', 'block'],
1283 'type': 'str'
1284 },
1285 'client-cert-request': {
1286 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1287 'choices': ['bypass', 'inspect', 'block'],
1288 'type': 'str'
1289 },
1290 'invalid-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']], 'choices': ['allow', 'block'], 'type': 'str'},
1291 'allow-invalid-server-cert': {
1292 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1293 'choices': ['disable', 'enable'],
1294 'type': 'str'
1295 },
1296 'untrusted-cert': {
1297 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1298 'choices': ['allow', 'block', 'ignore'],
1299 'type': 'str'
1300 },
1301 'unsupported-ssl-version': {'v_range': [['7.0.1', '']], 'choices': ['block', 'allow', 'inspect'], 'type': 'str'},
1302 'min-allowed-ssl-version': {
1303 'v_range': [['7.0.3', '']],
1304 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'],
1305 'type': 'str'
1306 }
1307 }
1308 },
1309 'pop3s': {
1310 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1311 'type': 'dict',
1312 'options': {
1313 'cert-validation-failure': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1314 'cert-validation-timeout': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1315 'client-certificate': {'v_range': [['6.4.5', '']], 'choices': ['bypass', 'inspect', 'block', 'bypass-on-cert-req'], 'type': 'str'},
1316 'expired-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1317 'ports': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'type': 'raw'},
1318 'proxy-after-tcp-handshake': {'v_range': [['6.4.5', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1319 'revoked-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1320 'sni-server-cert-check': {
1321 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1322 'choices': ['disable', 'enable', 'strict'],
1323 'type': 'str'
1324 },
1325 'status': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['disable', 'deep-inspection'], 'type': 'str'},
1326 'unsupported-ssl-cipher': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1327 'unsupported-ssl-negotiation': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1328 'untrusted-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1329 'unsupported-ssl': {
1330 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1331 'choices': ['bypass', 'inspect', 'block'],
1332 'type': 'str'
1333 },
1334 'client-cert-request': {
1335 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1336 'choices': ['bypass', 'inspect', 'block'],
1337 'type': 'str'
1338 },
1339 'invalid-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']], 'choices': ['allow', 'block'], 'type': 'str'},
1340 'allow-invalid-server-cert': {
1341 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1342 'choices': ['disable', 'enable'],
1343 'type': 'str'
1344 },
1345 'untrusted-cert': {
1346 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1347 'choices': ['allow', 'block', 'ignore'],
1348 'type': 'str'
1349 },
1350 'unsupported-ssl-version': {'v_range': [['7.0.1', '']], 'choices': ['block', 'allow', 'inspect'], 'type': 'str'},
1351 'min-allowed-ssl-version': {
1352 'v_range': [['7.0.3', '']],
1353 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'],
1354 'type': 'str'
1355 }
1356 }
1357 },
1358 'smtps': {
1359 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1360 'type': 'dict',
1361 'options': {
1362 'cert-validation-failure': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1363 'cert-validation-timeout': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1364 'client-certificate': {'v_range': [['6.4.5', '']], 'choices': ['bypass', 'inspect', 'block', 'bypass-on-cert-req'], 'type': 'str'},
1365 'expired-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1366 'ports': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'type': 'raw'},
1367 'proxy-after-tcp-handshake': {'v_range': [['6.4.5', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1368 'revoked-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1369 'sni-server-cert-check': {
1370 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1371 'choices': ['disable', 'enable', 'strict'],
1372 'type': 'str'
1373 },
1374 'status': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['disable', 'deep-inspection'], 'type': 'str'},
1375 'unsupported-ssl-cipher': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1376 'unsupported-ssl-negotiation': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1377 'untrusted-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1378 'unsupported-ssl': {
1379 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1380 'choices': ['bypass', 'inspect', 'block'],
1381 'type': 'str'
1382 },
1383 'client-cert-request': {
1384 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1385 'choices': ['bypass', 'inspect', 'block'],
1386 'type': 'str'
1387 },
1388 'invalid-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']], 'choices': ['allow', 'block'], 'type': 'str'},
1389 'allow-invalid-server-cert': {
1390 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1391 'choices': ['disable', 'enable'],
1392 'type': 'str'
1393 },
1394 'untrusted-cert': {
1395 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1396 'choices': ['allow', 'block', 'ignore'],
1397 'type': 'str'
1398 },
1399 'unsupported-ssl-version': {'v_range': [['7.0.1', '']], 'choices': ['block', 'allow', 'inspect'], 'type': 'str'},
1400 'min-allowed-ssl-version': {
1401 'v_range': [['7.0.3', '']],
1402 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'],
1403 'type': 'str'
1404 }
1405 }
1406 },
1407 'ssh': {
1408 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1409 'type': 'dict',
1410 'options': {
1411 'inspect-all': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['disable', 'deep-inspection'], 'type': 'str'},
1412 'ports': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'type': 'raw'},
1413 'proxy-after-tcp-handshake': {'v_range': [['6.4.5', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1414 'ssh-algorithm': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['compatible', 'high-encryption'], 'type': 'str'},
1415 'ssh-tun-policy-check': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1416 'status': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['disable', 'deep-inspection'], 'type': 'str'},
1417 'unsupported-version': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['block', 'bypass'], 'type': 'str'},
1418 'ssh-policy-check': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1']], 'choices': ['disable', 'enable'], 'type': 'str'},
1419 'block': {
1420 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '6.4.15']],
1421 'type': 'list',
1422 'choices': ['x11-filter', 'ssh-shell', 'exec', 'port-forward'],
1423 'elements': 'str'
1424 },
1425 'log': {
1426 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '6.4.15']],
1427 'type': 'list',
1428 'choices': ['x11-filter', 'ssh-shell', 'exec', 'port-forward'],
1429 'elements': 'str'
1430 }
1431 }
1432 },
1433 'ssl': {
1434 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1435 'type': 'dict',
1436 'options': {
1437 'cert-validation-failure': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1438 'cert-validation-timeout': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1439 'client-certificate': {'v_range': [['6.4.5', '']], 'choices': ['bypass', 'inspect', 'block', 'bypass-on-cert-req'], 'type': 'str'},
1440 'expired-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1441 'inspect-all': {
1442 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1443 'choices': ['disable', 'certificate-inspection', 'deep-inspection'],
1444 'type': 'str'
1445 },
1446 'revoked-server-cert': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1447 'sni-server-cert-check': {
1448 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']],
1449 'choices': ['disable', 'enable', 'strict'],
1450 'type': 'str'
1451 },
1452 'unsupported-ssl-cipher': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1453 'unsupported-ssl-negotiation': {'v_range': [['6.4.5', '']], 'choices': ['allow', 'block'], 'type': 'str'},
1454 'untrusted-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1455 'unsupported-ssl': {
1456 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1457 'choices': ['bypass', 'inspect', 'block'],
1458 'type': 'str'
1459 },
1460 'client-cert-request': {
1461 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']],
1462 'choices': ['bypass', 'inspect', 'block'],
1463 'type': 'str'
1464 },
1465 'invalid-server-cert': {'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.6.2']], 'choices': ['allow', 'block'], 'type': 'str'},
1466 'allow-invalid-server-cert': {
1467 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1468 'choices': ['disable', 'enable'],
1469 'type': 'str'
1470 },
1471 'untrusted-cert': {
1472 'v_range': [['6.2.8', '6.2.13'], ['6.4.5', '7.2.1'], ['7.4.8', '7.4.10']],
1473 'choices': ['allow', 'block', 'ignore'],
1474 'type': 'str'
1475 },
1476 'cert-probe-failure': {'v_range': [['7.0.1', '']], 'choices': ['block', 'allow'], 'type': 'str'},
1477 'min-allowed-ssl-version': {
1478 'v_range': [['7.0.3', '']],
1479 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'],
1480 'type': 'str'
1481 },
1482 'unsupported-ssl-version': {'v_range': [['7.0.1', '']], 'choices': ['block', 'allow', 'inspect'], 'type': 'str'},
1483 'encrypted-client-hello': {'v_range': [['7.4.3', '']], 'choices': ['block', 'allow'], 'type': 'str'}
1484 }
1485 },
1486 'allowlist': {'v_range': [['7.0.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1487 'block-blocklisted-certificates': {'v_range': [['7.0.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1488 'dot': {
1489 'v_range': [['7.0.0', '']],
1490 'type': 'dict',
1491 'options': {
1492 'cert-validation-failure': {'v_range': [['7.0.0', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1493 'cert-validation-timeout': {'v_range': [['7.0.0', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1494 'client-certificate': {'v_range': [['7.0.0', '']], 'choices': ['bypass', 'inspect', 'block', 'bypass-on-cert-req'], 'type': 'str'},
1495 'expired-server-cert': {'v_range': [['7.0.0', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1496 'proxy-after-tcp-handshake': {'v_range': [['7.0.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1497 'revoked-server-cert': {'v_range': [['7.0.0', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1498 'sni-server-cert-check': {'v_range': [['7.0.0', '']], 'choices': ['enable', 'strict', 'disable'], 'type': 'str'},
1499 'status': {'v_range': [['7.0.0', '']], 'choices': ['disable', 'deep-inspection'], 'type': 'str'},
1500 'unsupported-ssl-cipher': {'v_range': [['7.0.0', '']], 'choices': ['block', 'allow'], 'type': 'str'},
1501 'unsupported-ssl-negotiation': {'v_range': [['7.0.0', '']], 'choices': ['block', 'allow'], 'type': 'str'},
1502 'untrusted-server-cert': {'v_range': [['7.0.0', '']], 'choices': ['allow', 'block', 'ignore'], 'type': 'str'},
1503 'unsupported-ssl-version': {'v_range': [['7.0.1', '']], 'choices': ['block', 'allow', 'inspect'], 'type': 'str'},
1504 'min-allowed-ssl-version': {
1505 'v_range': [['7.0.3', '']],
1506 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'],
1507 'type': 'str'
1508 },
1509 'quic': {'v_range': [['7.4.1', '']], 'choices': ['disable', 'enable', 'bypass', 'block', 'inspect'], 'type': 'str'},
1510 'udp-not-quic': {'v_range': [['7.6.2', '']], 'choices': ['block', 'allow'], 'type': 'str'}
1511 }
1512 },
1513 'supported-alpn': {'v_range': [['7.0.0', '']], 'choices': ['none', 'http1-1', 'http2', 'all'], 'type': 'str'},
1514 'ssl-anomaly-log': {'v_range': [['7.0.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1515 'ssl-exemption-ip-rating': {'v_range': [['7.0.4', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1516 'ssl-exemption-log': {'v_range': [['7.0.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1517 'ssl-handshake-log': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1518 'ssl-server-cert-log': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1519 'ech-outer-sni': {
1520 'v_range': [['7.4.3', '']],
1521 'type': 'list',
1522 'options': {'name': {'v_range': [['7.4.3', '']], 'type': 'str'}, 'sni': {'v_range': [['7.4.3', '']], 'type': 'str'}},
1523 'elements': 'dict'
1524 },
1525 'ssl-client-certificate': {
1526 'v_range': [['7.4.8', '7.4.10'], ['7.6.4', '']],
1527 'type': 'dict',
1528 'options': {
1529 'caname': {'v_range': [['7.4.8', '7.4.10'], ['7.6.4', '']], 'type': 'raw'},
1530 'cert': {'v_range': [['7.4.8', '7.4.10'], ['7.6.4', '']], 'type': 'raw'},
1531 'keyring-list': {'v_range': [['7.4.8', '7.4.10'], ['7.6.4', '']], 'no_log': True, 'type': 'raw'},
1532 'status': {
1533 'v_range': [['7.4.8', '7.4.10'], ['7.6.4', '']],
1534 'choices': ['do-not-offer', 'keyring-list', 'ca-sign', 'static'],
1535 'type': 'str'
1536 }
1537 }
1538 }
1539 }
1540 }
1541 }
1542
1543 module_option_spec = get_module_arg_spec('full crud')
1544 module_arg_spec.update(module_option_spec)
1545 check_galaxy_version(module_arg_spec)
1546 module = AnsibleModule(argument_spec=check_parameter_bypass(module_arg_spec, 'firewall_sslsshprofile'),
1547 supports_check_mode=True)
1548 if not module._socket_path:
1549 module.fail_json(msg='MUST RUN IN HTTPAPI MODE')
1550 connection = Connection(module._socket_path)
1551 fmgr = NAPIManager('full crud', module_arg_spec, urls_list,
1552 'name', 'data', module, connection)
1553 fmgr.process_crud()
1554 module.exit_json(meta=module.params)
1555
1556
1557 if __name__ == '__main__':
1558 main()