| 1 |
|
| 2 |
from __future__ import absolute_import, division, print_function |
| 3 |
|
| 4 |
|
| 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_pkg_footer_policy |
| 15 |
short_description: Configure IPv4/IPv6 policies. |
| 16 |
version_added: "2.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 |
pkg: |
| 25 |
description: The parameter (pkg) in requested url. |
| 26 |
type: str |
| 27 |
required: true |
| 28 |
pkg_footer_policy: |
| 29 |
description: The top level parameters set. |
| 30 |
required: false |
| 31 |
type: dict |
| 32 |
suboptions: |
| 33 |
action: |
| 34 |
type: str |
| 35 |
description: Action. |
| 36 |
choices: ['deny', 'accept', 'ipsec', 'ssl-vpn', 'redirect', 'isolate'] |
| 37 |
active_auth_method: |
| 38 |
aliases: ['active-auth-method'] |
| 39 |
type: str |
| 40 |
description: Active auth method. |
| 41 |
choices: ['ntlm', 'basic', 'digest', 'form'] |
| 42 |
anti_replay: |
| 43 |
aliases: ['anti-replay'] |
| 44 |
type: str |
| 45 |
description: Anti replay. |
| 46 |
choices: ['disable', 'enable'] |
| 47 |
app_category: |
| 48 |
aliases: ['app-category'] |
| 49 |
type: raw |
| 50 |
description: (list or str) App category. |
| 51 |
app_group: |
| 52 |
aliases: ['app-group'] |
| 53 |
type: raw |
| 54 |
description: (list or str) App group. |
| 55 |
application: |
| 56 |
type: raw |
| 57 |
description: (list) Application. |
| 58 |
application_charts: |
| 59 |
aliases: ['application-charts'] |
| 60 |
type: list |
| 61 |
elements: str |
| 62 |
description: Application charts. |
| 63 |
choices: ['top10-app', 'top10-p2p-user', 'top10-media-user'] |
| 64 |
application_list: |
| 65 |
aliases: ['application-list'] |
| 66 |
type: str |
| 67 |
description: Application list. |
| 68 |
auth_cert: |
| 69 |
aliases: ['auth-cert'] |
| 70 |
type: str |
| 71 |
description: Auth cert. |
| 72 |
auth_method: |
| 73 |
aliases: ['auth-method'] |
| 74 |
type: str |
| 75 |
description: Auth method. |
| 76 |
choices: ['basic', 'digest', 'ntlm', 'fsae', 'form', 'fsso', 'rsso'] |
| 77 |
auth_path: |
| 78 |
aliases: ['auth-path'] |
| 79 |
type: str |
| 80 |
description: Auth path. |
| 81 |
choices: ['disable', 'enable'] |
| 82 |
auth_portal: |
| 83 |
aliases: ['auth-portal'] |
| 84 |
type: str |
| 85 |
description: Auth portal. |
| 86 |
choices: ['disable', 'enable'] |
| 87 |
auth_redirect_addr: |
| 88 |
aliases: ['auth-redirect-addr'] |
| 89 |
type: str |
| 90 |
description: Auth redirect addr. |
| 91 |
auto_asic_offload: |
| 92 |
aliases: ['auto-asic-offload'] |
| 93 |
type: str |
| 94 |
description: Auto asic offload. |
| 95 |
choices: ['disable', 'enable'] |
| 96 |
av_profile: |
| 97 |
aliases: ['av-profile'] |
| 98 |
type: str |
| 99 |
description: Av profile. |
| 100 |
bandwidth: |
| 101 |
type: str |
| 102 |
description: Bandwidth. |
| 103 |
choices: ['disable', 'enable'] |
| 104 |
block_notification: |
| 105 |
aliases: ['block-notification'] |
| 106 |
type: str |
| 107 |
description: Block notification. |
| 108 |
choices: ['disable', 'enable'] |
| 109 |
captive_portal_exempt: |
| 110 |
aliases: ['captive-portal-exempt'] |
| 111 |
type: str |
| 112 |
description: Captive portal exempt. |
| 113 |
choices: ['disable', 'enable'] |
| 114 |
capture_packet: |
| 115 |
aliases: ['capture-packet'] |
| 116 |
type: str |
| 117 |
description: Capture packet. |
| 118 |
choices: ['disable', 'enable'] |
| 119 |
casi_profile: |
| 120 |
aliases: ['casi-profile'] |
| 121 |
type: raw |
| 122 |
description: (list or str) Casi profile. |
| 123 |
central_nat: |
| 124 |
aliases: ['central-nat'] |
| 125 |
type: str |
| 126 |
description: Central nat. |
| 127 |
choices: ['disable', 'enable'] |
| 128 |
cifs_profile: |
| 129 |
aliases: ['cifs-profile'] |
| 130 |
type: str |
| 131 |
description: Cifs profile. |
| 132 |
client_reputation: |
| 133 |
aliases: ['client-reputation'] |
| 134 |
type: str |
| 135 |
description: Client reputation. |
| 136 |
choices: ['disable', 'enable'] |
| 137 |
client_reputation_mode: |
| 138 |
aliases: ['client-reputation-mode'] |
| 139 |
type: str |
| 140 |
description: Client reputation mode. |
| 141 |
choices: ['learning', 'monitoring'] |
| 142 |
comments: |
| 143 |
type: raw |
| 144 |
description: (dict or str) Comments. |
| 145 |
custom_log_fields: |
| 146 |
aliases: ['custom-log-fields'] |
| 147 |
type: raw |
| 148 |
description: (list or str) Custom log fields. |
| 149 |
deep_inspection_options: |
| 150 |
aliases: ['deep-inspection-options'] |
| 151 |
type: raw |
| 152 |
description: (list or str) Deep inspection options. |
| 153 |
delay_tcp_npu_session: |
| 154 |
aliases: ['delay-tcp-npu-session'] |
| 155 |
type: str |
| 156 |
description: Delay tcp npu session. |
| 157 |
choices: ['disable', 'enable'] |
| 158 |
delay_tcp_npu_sessoin: |
| 159 |
aliases: ['delay-tcp-npu-sessoin'] |
| 160 |
type: str |
| 161 |
description: Delay tcp npu sessoin. |
| 162 |
choices: ['disable', 'enable'] |
| 163 |
device_detection_portal: |
| 164 |
aliases: ['device-detection-portal'] |
| 165 |
type: str |
| 166 |
description: Device detection portal. |
| 167 |
choices: ['disable', 'enable'] |
| 168 |
devices: |
| 169 |
type: raw |
| 170 |
description: (list or str) Devices. |
| 171 |
diffserv_forward: |
| 172 |
aliases: ['diffserv-forward'] |
| 173 |
type: str |
| 174 |
description: Diffserv forward. |
| 175 |
choices: ['disable', 'enable'] |
| 176 |
diffserv_reverse: |
| 177 |
aliases: ['diffserv-reverse'] |
| 178 |
type: str |
| 179 |
description: Diffserv reverse. |
| 180 |
choices: ['disable', 'enable'] |
| 181 |
diffservcode_forward: |
| 182 |
aliases: ['diffservcode-forward'] |
| 183 |
type: str |
| 184 |
description: Diffservcode forward. |
| 185 |
diffservcode_rev: |
| 186 |
aliases: ['diffservcode-rev'] |
| 187 |
type: str |
| 188 |
description: Diffservcode rev. |
| 189 |
disclaimer: |
| 190 |
type: str |
| 191 |
description: Disclaimer. |
| 192 |
choices: ['disable', 'enable', 'user', 'domain', 'policy'] |
| 193 |
dlp_sensor: |
| 194 |
aliases: ['dlp-sensor'] |
| 195 |
type: raw |
| 196 |
description: (list or str) Dlp sensor. |
| 197 |
dnsfilter_profile: |
| 198 |
aliases: ['dnsfilter-profile'] |
| 199 |
type: str |
| 200 |
description: Dnsfilter profile. |
| 201 |
dponly: |
| 202 |
type: str |
| 203 |
description: Dponly. |
| 204 |
choices: ['disable', 'enable'] |
| 205 |
dscp_match: |
| 206 |
aliases: ['dscp-match'] |
| 207 |
type: str |
| 208 |
description: Dscp match. |
| 209 |
choices: ['disable', 'enable'] |
| 210 |
dscp_negate: |
| 211 |
aliases: ['dscp-negate'] |
| 212 |
type: str |
| 213 |
description: Dscp negate. |
| 214 |
choices: ['disable', 'enable'] |
| 215 |
dscp_value: |
| 216 |
aliases: ['dscp-value'] |
| 217 |
type: str |
| 218 |
description: Dscp value. |
| 219 |
dsri: |
| 220 |
type: str |
| 221 |
description: Dsri. |
| 222 |
choices: ['disable', 'enable'] |
| 223 |
dstaddr: |
| 224 |
type: raw |
| 225 |
description: (list or str) Dstaddr. |
| 226 |
dstaddr_negate: |
| 227 |
aliases: ['dstaddr-negate'] |
| 228 |
type: str |
| 229 |
description: Dstaddr negate. |
| 230 |
choices: ['disable', 'enable'] |
| 231 |
dstaddr6: |
| 232 |
type: raw |
| 233 |
description: (list or str) Dstaddr6. |
| 234 |
dstintf: |
| 235 |
type: raw |
| 236 |
description: (list or str) Dstintf. |
| 237 |
dynamic_profile: |
| 238 |
aliases: ['dynamic-profile'] |
| 239 |
type: str |
| 240 |
description: Dynamic profile. |
| 241 |
choices: ['disable', 'enable'] |
| 242 |
dynamic_profile_access: |
| 243 |
aliases: ['dynamic-profile-access'] |
| 244 |
type: list |
| 245 |
elements: str |
| 246 |
description: Dynamic profile access. |
| 247 |
choices: ['imap', 'smtp', 'pop3', 'http', 'ftp', 'im', 'nntp', 'imaps', 'smtps', |
| 248 |
'pop3s', 'https', 'ftps', 'ssh'] |
| 249 |
dynamic_profile_fallthrough: |
| 250 |
aliases: ['dynamic-profile-fallthrough'] |
| 251 |
type: str |
| 252 |
description: Dynamic profile fallthrough. |
| 253 |
choices: ['disable', 'enable'] |
| 254 |
dynamic_profile_group: |
| 255 |
aliases: ['dynamic-profile-group'] |
| 256 |
type: raw |
| 257 |
description: (list or str) Dynamic profile group. |
| 258 |
email_collect: |
| 259 |
aliases: ['email-collect'] |
| 260 |
type: str |
| 261 |
description: Email collect. |
| 262 |
choices: ['disable', 'enable'] |
| 263 |
email_collection_portal: |
| 264 |
aliases: ['email-collection-portal'] |
| 265 |
type: str |
| 266 |
description: Email collection portal. |
| 267 |
choices: ['disable', 'enable'] |
| 268 |
emailfilter_profile: |
| 269 |
aliases: ['emailfilter-profile'] |
| 270 |
type: str |
| 271 |
description: Emailfilter profile. |
| 272 |
endpoint_check: |
| 273 |
aliases: ['endpoint-check'] |
| 274 |
type: str |
| 275 |
description: Endpoint check. |
| 276 |
choices: ['disable', 'enable'] |
| 277 |
endpoint_compliance: |
| 278 |
aliases: ['endpoint-compliance'] |
| 279 |
type: str |
| 280 |
description: Endpoint compliance. |
| 281 |
choices: ['disable', 'enable'] |
| 282 |
endpoint_keepalive_interface: |
| 283 |
aliases: ['endpoint-keepalive-interface'] |
| 284 |
type: raw |
| 285 |
description: (list or str) Endpoint keepalive interface. |
| 286 |
endpoint_profile: |
| 287 |
aliases: ['endpoint-profile'] |
| 288 |
type: raw |
| 289 |
description: (list or str) Endpoint profile. |
| 290 |
failed_connection: |
| 291 |
aliases: ['failed-connection'] |
| 292 |
type: str |
| 293 |
description: Failed connection. |
| 294 |
choices: ['disable', 'enable'] |
| 295 |
fall_through_unauthenticated: |
| 296 |
aliases: ['fall-through-unauthenticated'] |
| 297 |
type: str |
| 298 |
description: Fall through unauthenticated. |
| 299 |
choices: ['disable', 'enable'] |
| 300 |
firewall_session_dirty: |
| 301 |
aliases: ['firewall-session-dirty'] |
| 302 |
type: str |
| 303 |
description: Firewall session dirty. |
| 304 |
choices: ['check-all', 'check-new'] |
| 305 |
fixedport: |
| 306 |
type: str |
| 307 |
description: Fixedport. |
| 308 |
choices: ['disable', 'enable'] |
| 309 |
forticlient_compliance_devices: |
| 310 |
aliases: ['forticlient-compliance-devices'] |
| 311 |
type: list |
| 312 |
elements: str |
| 313 |
description: Forticlient compliance devices. |
| 314 |
choices: ['windows-pc', 'mac', 'iphone-ipad', 'android'] |
| 315 |
forticlient_compliance_enforcement_portal: |
| 316 |
aliases: ['forticlient-compliance-enforcement-portal'] |
| 317 |
type: str |
| 318 |
description: Forticlient compliance enforcement portal. |
| 319 |
choices: ['disable', 'enable'] |
| 320 |
fsae: |
| 321 |
type: str |
| 322 |
description: Fsae. |
| 323 |
choices: ['disable', 'enable'] |
| 324 |
fsae_server_for_ntlm: |
| 325 |
aliases: ['fsae-server-for-ntlm'] |
| 326 |
type: raw |
| 327 |
description: (list or str) Fsae server for ntlm. |
| 328 |
fsso: |
| 329 |
type: str |
| 330 |
description: Fsso. |
| 331 |
choices: ['disable', 'enable'] |
| 332 |
fsso_agent_for_ntlm: |
| 333 |
aliases: ['fsso-agent-for-ntlm'] |
| 334 |
type: str |
| 335 |
description: Fsso agent for ntlm. |
| 336 |
geo_location: |
| 337 |
aliases: ['geo-location'] |
| 338 |
type: str |
| 339 |
description: Geo location. |
| 340 |
choices: ['disable', 'enable'] |
| 341 |
geoip_anycast: |
| 342 |
aliases: ['geoip-anycast'] |
| 343 |
type: str |
| 344 |
description: Geoip anycast. |
| 345 |
choices: ['disable', 'enable'] |
| 346 |
global_label: |
| 347 |
aliases: ['global-label'] |
| 348 |
type: str |
| 349 |
description: Global label. |
| 350 |
groups: |
| 351 |
type: raw |
| 352 |
description: (list or str) Groups. |
| 353 |
gtp_profile: |
| 354 |
aliases: ['gtp-profile'] |
| 355 |
type: str |
| 356 |
description: Gtp profile. |
| 357 |
http_policy_redirect: |
| 358 |
aliases: ['http-policy-redirect'] |
| 359 |
type: str |
| 360 |
description: Http policy redirect. |
| 361 |
choices: ['disable', 'enable', 'legacy'] |
| 362 |
icap_profile: |
| 363 |
aliases: ['icap-profile'] |
| 364 |
type: str |
| 365 |
description: Icap profile. |
| 366 |
identity_based: |
| 367 |
aliases: ['identity-based'] |
| 368 |
type: str |
| 369 |
description: Identity based. |
| 370 |
choices: ['disable', 'enable'] |
| 371 |
identity_based_policy: |
| 372 |
aliases: ['identity-based-policy'] |
| 373 |
type: list |
| 374 |
elements: dict |
| 375 |
description: Identity based policy. |
| 376 |
suboptions: |
| 377 |
action: |
| 378 |
type: str |
| 379 |
description: Action. |
| 380 |
choices: ['deny', 'accept'] |
| 381 |
application_charts: |
| 382 |
aliases: ['application-charts'] |
| 383 |
type: list |
| 384 |
elements: str |
| 385 |
description: Application charts. |
| 386 |
choices: ['top10-app', 'top10-p2p-user', 'top10-media-user'] |
| 387 |
application_list: |
| 388 |
aliases: ['application-list'] |
| 389 |
type: str |
| 390 |
description: Application list. |
| 391 |
av_profile: |
| 392 |
aliases: ['av-profile'] |
| 393 |
type: str |
| 394 |
description: Av profile. |
| 395 |
capture_packet: |
| 396 |
aliases: ['capture-packet'] |
| 397 |
type: str |
| 398 |
description: Capture packet. |
| 399 |
choices: ['disable', 'enable'] |
| 400 |
deep_inspection_options: |
| 401 |
aliases: ['deep-inspection-options'] |
| 402 |
type: str |
| 403 |
description: Deep inspection options. |
| 404 |
devices: |
| 405 |
type: str |
| 406 |
description: Devices. |
| 407 |
dlp_sensor: |
| 408 |
aliases: ['dlp-sensor'] |
| 409 |
type: str |
| 410 |
description: Dlp sensor. |
| 411 |
dstaddr: |
| 412 |
type: str |
| 413 |
description: Dstaddr. |
| 414 |
dstaddr_negate: |
| 415 |
aliases: ['dstaddr-negate'] |
| 416 |
type: str |
| 417 |
description: Dstaddr negate. |
| 418 |
choices: ['disable', 'enable'] |
| 419 |
endpoint_compliance: |
| 420 |
aliases: ['endpoint-compliance'] |
| 421 |
type: str |
| 422 |
description: Endpoint compliance. |
| 423 |
choices: ['disable', 'enable'] |
| 424 |
groups: |
| 425 |
type: str |
| 426 |
description: Groups. |
| 427 |
icap_profile: |
| 428 |
aliases: ['icap-profile'] |
| 429 |
type: str |
| 430 |
description: Icap profile. |
| 431 |
id: |
| 432 |
type: int |
| 433 |
description: Id. |
| 434 |
ips_sensor: |
| 435 |
aliases: ['ips-sensor'] |
| 436 |
type: str |
| 437 |
description: Ips sensor. |
| 438 |
logtraffic: |
| 439 |
type: str |
| 440 |
description: Logtraffic. |
| 441 |
choices: ['disable', 'enable', 'all', 'utm'] |
| 442 |
logtraffic_app: |
| 443 |
aliases: ['logtraffic-app'] |
| 444 |
type: str |
| 445 |
description: Logtraffic app. |
| 446 |
choices: ['disable', 'enable'] |
| 447 |
logtraffic_start: |
| 448 |
aliases: ['logtraffic-start'] |
| 449 |
type: str |
| 450 |
description: Logtraffic start. |
| 451 |
choices: ['disable', 'enable'] |
| 452 |
mms_profile: |
| 453 |
aliases: ['mms-profile'] |
| 454 |
type: str |
| 455 |
description: Mms profile. |
| 456 |
per_ip_shaper: |
| 457 |
aliases: ['per-ip-shaper'] |
| 458 |
type: str |
| 459 |
description: Per ip shaper. |
| 460 |
profile_group: |
| 461 |
aliases: ['profile-group'] |
| 462 |
type: str |
| 463 |
description: Profile group. |
| 464 |
profile_protocol_options: |
| 465 |
aliases: ['profile-protocol-options'] |
| 466 |
type: str |
| 467 |
description: Profile protocol options. |
| 468 |
profile_type: |
| 469 |
aliases: ['profile-type'] |
| 470 |
type: str |
| 471 |
description: Profile type. |
| 472 |
choices: ['single', 'group'] |
| 473 |
replacemsg_group: |
| 474 |
aliases: ['replacemsg-group'] |
| 475 |
type: str |
| 476 |
description: Replacemsg group. |
| 477 |
schedule: |
| 478 |
type: str |
| 479 |
description: Schedule. |
| 480 |
send_deny_packet: |
| 481 |
aliases: ['send-deny-packet'] |
| 482 |
type: str |
| 483 |
description: Send deny packet. |
| 484 |
choices: ['disable', 'enable'] |
| 485 |
service: |
| 486 |
type: str |
| 487 |
description: Service. |
| 488 |
service_negate: |
| 489 |
aliases: ['service-negate'] |
| 490 |
type: str |
| 491 |
description: Service negate. |
| 492 |
choices: ['disable', 'enable'] |
| 493 |
spamfilter_profile: |
| 494 |
aliases: ['spamfilter-profile'] |
| 495 |
type: str |
| 496 |
description: Spamfilter profile. |
| 497 |
sslvpn_portal: |
| 498 |
aliases: ['sslvpn-portal'] |
| 499 |
type: str |
| 500 |
description: Sslvpn portal. |
| 501 |
sslvpn_realm: |
| 502 |
aliases: ['sslvpn-realm'] |
| 503 |
type: str |
| 504 |
description: Sslvpn realm. |
| 505 |
traffic_shaper: |
| 506 |
aliases: ['traffic-shaper'] |
| 507 |
type: str |
| 508 |
description: Traffic shaper. |
| 509 |
traffic_shaper_reverse: |
| 510 |
aliases: ['traffic-shaper-reverse'] |
| 511 |
type: str |
| 512 |
description: Traffic shaper reverse. |
| 513 |
users: |
| 514 |
type: str |
| 515 |
description: Users. |
| 516 |
utm_status: |
| 517 |
aliases: ['utm-status'] |
| 518 |
type: str |
| 519 |
description: Utm status. |
| 520 |
choices: ['disable', 'enable'] |
| 521 |
voip_profile: |
| 522 |
aliases: ['voip-profile'] |
| 523 |
type: str |
| 524 |
description: Voip profile. |
| 525 |
webfilter_profile: |
| 526 |
aliases: ['webfilter-profile'] |
| 527 |
type: str |
| 528 |
description: Webfilter profile. |
| 529 |
identity_based_route: |
| 530 |
aliases: ['identity-based-route'] |
| 531 |
type: str |
| 532 |
description: Identity based route. |
| 533 |
identity_from: |
| 534 |
aliases: ['identity-from'] |
| 535 |
type: str |
| 536 |
description: Identity from. |
| 537 |
choices: ['auth', 'device'] |
| 538 |
inbound: |
| 539 |
type: str |
| 540 |
description: Inbound. |
| 541 |
choices: ['disable', 'enable'] |
| 542 |
inspection_mode: |
| 543 |
aliases: ['inspection-mode'] |
| 544 |
type: str |
| 545 |
description: Inspection mode. |
| 546 |
choices: ['proxy', 'flow'] |
| 547 |
internet_service: |
| 548 |
aliases: ['internet-service'] |
| 549 |
type: str |
| 550 |
description: Internet service. |
| 551 |
choices: ['disable', 'enable'] |
| 552 |
internet_service_custom: |
| 553 |
aliases: ['internet-service-custom'] |
| 554 |
type: raw |
| 555 |
description: (list or str) Internet service custom. |
| 556 |
internet_service_custom_group: |
| 557 |
aliases: ['internet-service-custom-group'] |
| 558 |
type: raw |
| 559 |
description: (list or str) Internet service custom group. |
| 560 |
internet_service_group: |
| 561 |
aliases: ['internet-service-group'] |
| 562 |
type: raw |
| 563 |
description: (list or str) Internet service group. |
| 564 |
internet_service_id: |
| 565 |
aliases: ['internet-service-id'] |
| 566 |
type: raw |
| 567 |
description: (list or str) Internet service id. |
| 568 |
internet_service_negate: |
| 569 |
aliases: ['internet-service-negate'] |
| 570 |
type: str |
| 571 |
description: Internet service negate. |
| 572 |
choices: ['disable', 'enable'] |
| 573 |
internet_service_src: |
| 574 |
aliases: ['internet-service-src'] |
| 575 |
type: str |
| 576 |
description: Internet service src. |
| 577 |
choices: ['disable', 'enable'] |
| 578 |
internet_service_src_custom: |
| 579 |
aliases: ['internet-service-src-custom'] |
| 580 |
type: raw |
| 581 |
description: (list or str) Internet service src custom. |
| 582 |
internet_service_src_custom_group: |
| 583 |
aliases: ['internet-service-src-custom-group'] |
| 584 |
type: raw |
| 585 |
description: (list or str) Internet service src custom group. |
| 586 |
internet_service_src_group: |
| 587 |
aliases: ['internet-service-src-group'] |
| 588 |
type: raw |
| 589 |
description: (list or str) Internet service src group. |
| 590 |
internet_service_src_id: |
| 591 |
aliases: ['internet-service-src-id'] |
| 592 |
type: raw |
| 593 |
description: (list or str) Internet service src id. |
| 594 |
internet_service_src_negate: |
| 595 |
aliases: ['internet-service-src-negate'] |
| 596 |
type: str |
| 597 |
description: Internet service src negate. |
| 598 |
choices: ['disable', 'enable'] |
| 599 |
ip_based: |
| 600 |
aliases: ['ip-based'] |
| 601 |
type: str |
| 602 |
description: Ip based. |
| 603 |
choices: ['disable', 'enable'] |
| 604 |
ippool: |
| 605 |
type: str |
| 606 |
description: Ippool. |
| 607 |
choices: ['disable', 'enable'] |
| 608 |
ips_sensor: |
| 609 |
aliases: ['ips-sensor'] |
| 610 |
type: str |
| 611 |
description: Ips sensor. |
| 612 |
label: |
| 613 |
type: str |
| 614 |
description: Label. |
| 615 |
learning_mode: |
| 616 |
aliases: ['learning-mode'] |
| 617 |
type: str |
| 618 |
description: Learning mode. |
| 619 |
choices: ['disable', 'enable'] |
| 620 |
log_unmatched_traffic: |
| 621 |
aliases: ['log-unmatched-traffic'] |
| 622 |
type: str |
| 623 |
description: Log unmatched traffic. |
| 624 |
choices: ['disable', 'enable'] |
| 625 |
logtraffic: |
| 626 |
type: str |
| 627 |
description: Logtraffic. |
| 628 |
choices: ['disable', 'enable', 'all', 'utm'] |
| 629 |
logtraffic_app: |
| 630 |
aliases: ['logtraffic-app'] |
| 631 |
type: str |
| 632 |
description: Logtraffic app. |
| 633 |
choices: ['disable', 'enable'] |
| 634 |
logtraffic_start: |
| 635 |
aliases: ['logtraffic-start'] |
| 636 |
type: str |
| 637 |
description: Logtraffic start. |
| 638 |
choices: ['disable', 'enable'] |
| 639 |
match_vip: |
| 640 |
aliases: ['match-vip'] |
| 641 |
type: str |
| 642 |
description: Match vip. |
| 643 |
choices: ['disable', 'enable'] |
| 644 |
mms_profile: |
| 645 |
aliases: ['mms-profile'] |
| 646 |
type: raw |
| 647 |
description: (list or str) Mms profile. |
| 648 |
name: |
| 649 |
type: str |
| 650 |
description: Name. |
| 651 |
nat: |
| 652 |
type: str |
| 653 |
description: Nat. |
| 654 |
choices: ['disable', 'enable'] |
| 655 |
natinbound: |
| 656 |
type: str |
| 657 |
description: Natinbound. |
| 658 |
choices: ['disable', 'enable'] |
| 659 |
natip: |
| 660 |
type: str |
| 661 |
description: Natip. |
| 662 |
natoutbound: |
| 663 |
type: str |
| 664 |
description: Natoutbound. |
| 665 |
choices: ['disable', 'enable'] |
| 666 |
np_acceleration: |
| 667 |
aliases: ['np-acceleration'] |
| 668 |
type: str |
| 669 |
description: Np acceleration. |
| 670 |
choices: ['disable', 'enable'] |
| 671 |
ntlm: |
| 672 |
type: str |
| 673 |
description: Ntlm. |
| 674 |
choices: ['disable', 'enable'] |
| 675 |
ntlm_enabled_browsers: |
| 676 |
aliases: ['ntlm-enabled-browsers'] |
| 677 |
type: raw |
| 678 |
description: (list) Ntlm enabled browsers. |
| 679 |
ntlm_guest: |
| 680 |
aliases: ['ntlm-guest'] |
| 681 |
type: str |
| 682 |
description: Ntlm guest. |
| 683 |
choices: ['disable', 'enable'] |
| 684 |
outbound: |
| 685 |
type: str |
| 686 |
description: Outbound. |
| 687 |
choices: ['disable', 'enable'] |
| 688 |
per_ip_shaper: |
| 689 |
aliases: ['per-ip-shaper'] |
| 690 |
type: str |
| 691 |
description: Per ip shaper. |
| 692 |
permit_any_host: |
| 693 |
aliases: ['permit-any-host'] |
| 694 |
type: str |
| 695 |
description: Permit any host. |
| 696 |
choices: ['disable', 'enable'] |
| 697 |
permit_stun_host: |
| 698 |
aliases: ['permit-stun-host'] |
| 699 |
type: str |
| 700 |
description: Permit stun host. |
| 701 |
choices: ['disable', 'enable'] |
| 702 |
policyid: |
| 703 |
type: int |
| 704 |
description: Policyid. |
| 705 |
required: true |
| 706 |
poolname: |
| 707 |
type: raw |
| 708 |
description: (list or str) Poolname. |
| 709 |
profile_group: |
| 710 |
aliases: ['profile-group'] |
| 711 |
type: str |
| 712 |
description: Profile group. |
| 713 |
profile_protocol_options: |
| 714 |
aliases: ['profile-protocol-options'] |
| 715 |
type: str |
| 716 |
description: Profile protocol options. |
| 717 |
profile_type: |
| 718 |
aliases: ['profile-type'] |
| 719 |
type: str |
| 720 |
description: Profile type. |
| 721 |
choices: ['single', 'group'] |
| 722 |
radius_mac_auth_bypass: |
| 723 |
aliases: ['radius-mac-auth-bypass'] |
| 724 |
type: str |
| 725 |
description: Radius mac auth bypass. |
| 726 |
choices: ['disable', 'enable'] |
| 727 |
redirect_url: |
| 728 |
aliases: ['redirect-url'] |
| 729 |
type: str |
| 730 |
description: Redirect url. |
| 731 |
replacemsg_group: |
| 732 |
aliases: ['replacemsg-group'] |
| 733 |
type: raw |
| 734 |
description: (list or str) Replacemsg group. |
| 735 |
replacemsg_override_group: |
| 736 |
aliases: ['replacemsg-override-group'] |
| 737 |
type: str |
| 738 |
description: Replacemsg override group. |
| 739 |
reputation_direction: |
| 740 |
aliases: ['reputation-direction'] |
| 741 |
type: str |
| 742 |
description: Reputation direction. |
| 743 |
choices: ['source', 'destination'] |
| 744 |
reputation_minimum: |
| 745 |
aliases: ['reputation-minimum'] |
| 746 |
type: int |
| 747 |
description: Reputation minimum. |
| 748 |
require_tfa: |
| 749 |
aliases: ['require-tfa'] |
| 750 |
type: str |
| 751 |
description: Require tfa. |
| 752 |
choices: ['disable', 'enable'] |
| 753 |
rsso: |
| 754 |
type: str |
| 755 |
description: Rsso. |
| 756 |
choices: ['disable', 'enable'] |
| 757 |
rtp_addr: |
| 758 |
aliases: ['rtp-addr'] |
| 759 |
type: raw |
| 760 |
description: (list or str) Rtp addr. |
| 761 |
rtp_nat: |
| 762 |
aliases: ['rtp-nat'] |
| 763 |
type: str |
| 764 |
description: Rtp nat. |
| 765 |
choices: ['disable', 'enable'] |
| 766 |
scan_botnet_connections: |
| 767 |
aliases: ['scan-botnet-connections'] |
| 768 |
type: str |
| 769 |
description: Scan botnet connections. |
| 770 |
choices: ['disable', 'block', 'monitor'] |
| 771 |
schedule: |
| 772 |
type: str |
| 773 |
description: Schedule. |
| 774 |
schedule_timeout: |
| 775 |
aliases: ['schedule-timeout'] |
| 776 |
type: str |
| 777 |
description: Schedule timeout. |
| 778 |
choices: ['disable', 'enable'] |
| 779 |
send_deny_packet: |
| 780 |
aliases: ['send-deny-packet'] |
| 781 |
type: str |
| 782 |
description: Send deny packet. |
| 783 |
choices: ['disable', 'enable'] |
| 784 |
service: |
| 785 |
type: raw |
| 786 |
description: (list or str) Service. |
| 787 |
service_negate: |
| 788 |
aliases: ['service-negate'] |
| 789 |
type: str |
| 790 |
description: Service negate. |
| 791 |
choices: ['disable', 'enable'] |
| 792 |
session_ttl: |
| 793 |
aliases: ['session-ttl'] |
| 794 |
type: raw |
| 795 |
description: (int or str) Session ttl. |
| 796 |
sessions: |
| 797 |
type: str |
| 798 |
description: Sessions. |
| 799 |
choices: ['disable', 'enable'] |
| 800 |
spamfilter_profile: |
| 801 |
aliases: ['spamfilter-profile'] |
| 802 |
type: raw |
| 803 |
description: (list or str) Spamfilter profile. |
| 804 |
srcaddr: |
| 805 |
type: raw |
| 806 |
description: (list or str) Srcaddr. |
| 807 |
srcaddr_negate: |
| 808 |
aliases: ['srcaddr-negate'] |
| 809 |
type: str |
| 810 |
description: Srcaddr negate. |
| 811 |
choices: ['disable', 'enable'] |
| 812 |
srcaddr6: |
| 813 |
type: raw |
| 814 |
description: (list or str) Srcaddr6. |
| 815 |
srcintf: |
| 816 |
type: raw |
| 817 |
description: (list or str) Srcintf. |
| 818 |
ssh_filter_profile: |
| 819 |
aliases: ['ssh-filter-profile'] |
| 820 |
type: str |
| 821 |
description: Ssh filter profile. |
| 822 |
ssh_policy_redirect: |
| 823 |
aliases: ['ssh-policy-redirect'] |
| 824 |
type: str |
| 825 |
description: Ssh policy redirect. |
| 826 |
choices: ['disable', 'enable'] |
| 827 |
ssl_mirror: |
| 828 |
aliases: ['ssl-mirror'] |
| 829 |
type: str |
| 830 |
description: Ssl mirror. |
| 831 |
choices: ['disable', 'enable'] |
| 832 |
ssl_mirror_intf: |
| 833 |
aliases: ['ssl-mirror-intf'] |
| 834 |
type: raw |
| 835 |
description: (list or str) Ssl mirror intf. |
| 836 |
ssl_ssh_profile: |
| 837 |
aliases: ['ssl-ssh-profile'] |
| 838 |
type: str |
| 839 |
description: Ssl ssh profile. |
| 840 |
sslvpn_auth: |
| 841 |
aliases: ['sslvpn-auth'] |
| 842 |
type: str |
| 843 |
description: Sslvpn auth. |
| 844 |
choices: ['any', 'local', 'radius', 'ldap', 'tacacs+'] |
| 845 |
sslvpn_ccert: |
| 846 |
aliases: ['sslvpn-ccert'] |
| 847 |
type: str |
| 848 |
description: Sslvpn ccert. |
| 849 |
choices: ['disable', 'enable'] |
| 850 |
sslvpn_cipher: |
| 851 |
aliases: ['sslvpn-cipher'] |
| 852 |
type: str |
| 853 |
description: Sslvpn cipher. |
| 854 |
choices: ['any', 'high', 'medium'] |
| 855 |
sso_auth_method: |
| 856 |
aliases: ['sso-auth-method'] |
| 857 |
type: str |
| 858 |
description: Sso auth method. |
| 859 |
choices: ['fsso', 'rsso'] |
| 860 |
status: |
| 861 |
type: str |
| 862 |
description: Status. |
| 863 |
choices: ['disable', 'enable'] |
| 864 |
tags: |
| 865 |
type: raw |
| 866 |
description: (list or str) Tags. |
| 867 |
tcp_mss_receiver: |
| 868 |
aliases: ['tcp-mss-receiver'] |
| 869 |
type: int |
| 870 |
description: Tcp mss receiver. |
| 871 |
tcp_mss_sender: |
| 872 |
aliases: ['tcp-mss-sender'] |
| 873 |
type: int |
| 874 |
description: Tcp mss sender. |
| 875 |
tcp_reset: |
| 876 |
aliases: ['tcp-reset'] |
| 877 |
type: str |
| 878 |
description: Tcp reset. |
| 879 |
choices: ['disable', 'enable'] |
| 880 |
tcp_session_without_syn: |
| 881 |
aliases: ['tcp-session-without-syn'] |
| 882 |
type: str |
| 883 |
description: Tcp session without syn. |
| 884 |
choices: ['all', 'data-only', 'disable'] |
| 885 |
timeout_send_rst: |
| 886 |
aliases: ['timeout-send-rst'] |
| 887 |
type: str |
| 888 |
description: Timeout send rst. |
| 889 |
choices: ['disable', 'enable'] |
| 890 |
tos: |
| 891 |
type: str |
| 892 |
description: Tos. |
| 893 |
tos_mask: |
| 894 |
aliases: ['tos-mask'] |
| 895 |
type: str |
| 896 |
description: Tos mask. |
| 897 |
tos_negate: |
| 898 |
aliases: ['tos-negate'] |
| 899 |
type: str |
| 900 |
description: Tos negate. |
| 901 |
choices: ['disable', 'enable'] |
| 902 |
traffic_shaper: |
| 903 |
aliases: ['traffic-shaper'] |
| 904 |
type: str |
| 905 |
description: Traffic shaper. |
| 906 |
traffic_shaper_reverse: |
| 907 |
aliases: ['traffic-shaper-reverse'] |
| 908 |
type: str |
| 909 |
description: Traffic shaper reverse. |
| 910 |
transaction_based: |
| 911 |
aliases: ['transaction-based'] |
| 912 |
type: str |
| 913 |
description: Transaction based. |
| 914 |
choices: ['disable', 'enable'] |
| 915 |
url_category: |
| 916 |
aliases: ['url-category'] |
| 917 |
type: raw |
| 918 |
description: (list or str) Url category. |
| 919 |
users: |
| 920 |
type: raw |
| 921 |
description: (list or str) Users. |
| 922 |
utm_inspection_mode: |
| 923 |
aliases: ['utm-inspection-mode'] |
| 924 |
type: str |
| 925 |
description: Utm inspection mode. |
| 926 |
choices: ['proxy', 'flow'] |
| 927 |
utm_status: |
| 928 |
aliases: ['utm-status'] |
| 929 |
type: str |
| 930 |
description: Utm status. |
| 931 |
choices: ['disable', 'enable'] |
| 932 |
uuid: |
| 933 |
type: str |
| 934 |
description: Uuid. |
| 935 |
vlan_cos_fwd: |
| 936 |
aliases: ['vlan-cos-fwd'] |
| 937 |
type: int |
| 938 |
description: Vlan cos fwd. |
| 939 |
vlan_cos_rev: |
| 940 |
aliases: ['vlan-cos-rev'] |
| 941 |
type: int |
| 942 |
description: Vlan cos rev. |
| 943 |
vlan_filter: |
| 944 |
aliases: ['vlan-filter'] |
| 945 |
type: str |
| 946 |
description: Vlan filter. |
| 947 |
voip_profile: |
| 948 |
aliases: ['voip-profile'] |
| 949 |
type: str |
| 950 |
description: Voip profile. |
| 951 |
vpntunnel: |
| 952 |
type: str |
| 953 |
description: Vpntunnel. |
| 954 |
waf_profile: |
| 955 |
aliases: ['waf-profile'] |
| 956 |
type: str |
| 957 |
description: Waf profile. |
| 958 |
wanopt: |
| 959 |
type: str |
| 960 |
description: Wanopt. |
| 961 |
choices: ['disable', 'enable'] |
| 962 |
wanopt_detection: |
| 963 |
aliases: ['wanopt-detection'] |
| 964 |
type: str |
| 965 |
description: Wanopt detection. |
| 966 |
choices: ['active', 'passive', 'off'] |
| 967 |
wanopt_passive_opt: |
| 968 |
aliases: ['wanopt-passive-opt'] |
| 969 |
type: str |
| 970 |
description: Wanopt passive opt. |
| 971 |
choices: ['default', 'transparent', 'non-transparent'] |
| 972 |
wanopt_peer: |
| 973 |
aliases: ['wanopt-peer'] |
| 974 |
type: str |
| 975 |
description: Wanopt peer. |
| 976 |
wanopt_profile: |
| 977 |
aliases: ['wanopt-profile'] |
| 978 |
type: str |
| 979 |
description: Wanopt profile. |
| 980 |
wccp: |
| 981 |
type: str |
| 982 |
description: Wccp. |
| 983 |
choices: ['disable', 'enable'] |
| 984 |
web_auth_cookie: |
| 985 |
aliases: ['web-auth-cookie'] |
| 986 |
type: str |
| 987 |
description: Web auth cookie. |
| 988 |
choices: ['disable', 'enable'] |
| 989 |
webcache: |
| 990 |
type: str |
| 991 |
description: Webcache. |
| 992 |
choices: ['disable', 'enable'] |
| 993 |
webcache_https: |
| 994 |
aliases: ['webcache-https'] |
| 995 |
type: str |
| 996 |
description: Webcache https. |
| 997 |
choices: ['disable', 'ssl-server', 'any', 'enable'] |
| 998 |
webfilter_profile: |
| 999 |
aliases: ['webfilter-profile'] |
| 1000 |
type: str |
| 1001 |
description: Webfilter profile. |
| 1002 |
webproxy_forward_server: |
| 1003 |
aliases: ['webproxy-forward-server'] |
| 1004 |
type: str |
| 1005 |
description: Webproxy forward server. |
| 1006 |
webproxy_profile: |
| 1007 |
aliases: ['webproxy-profile'] |
| 1008 |
type: str |
| 1009 |
description: Webproxy profile. |
| 1010 |
wsso: |
| 1011 |
type: str |
| 1012 |
description: Wsso. |
| 1013 |
choices: ['disable', 'enable'] |
| 1014 |
fsso_groups: |
| 1015 |
aliases: ['fsso-groups'] |
| 1016 |
type: raw |
| 1017 |
description: (list or str) Fsso groups. |
| 1018 |
match_vip_only: |
| 1019 |
aliases: ['match-vip-only'] |
| 1020 |
type: str |
| 1021 |
description: Match vip only. |
| 1022 |
choices: ['disable', 'enable'] |
| 1023 |
np_accelation: |
| 1024 |
aliases: ['np-accelation'] |
| 1025 |
type: str |
| 1026 |
description: Np accelation. |
| 1027 |
choices: ['disable', 'enable'] |
| 1028 |
best_route: |
| 1029 |
aliases: ['best-route'] |
| 1030 |
type: str |
| 1031 |
description: Best route. |
| 1032 |
choices: ['disable', 'enable'] |
| 1033 |
decrypted_traffic_mirror: |
| 1034 |
aliases: ['decrypted-traffic-mirror'] |
| 1035 |
type: str |
| 1036 |
description: Decrypted traffic mirror. |
| 1037 |
geoip_match: |
| 1038 |
aliases: ['geoip-match'] |
| 1039 |
type: str |
| 1040 |
description: Geoip match. |
| 1041 |
choices: ['physical-location', 'registered-location'] |
| 1042 |
internet_service_name: |
| 1043 |
aliases: ['internet-service-name'] |
| 1044 |
type: raw |
| 1045 |
description: (list or str) Internet service name. |
| 1046 |
internet_service_src_name: |
| 1047 |
aliases: ['internet-service-src-name'] |
| 1048 |
type: raw |
| 1049 |
description: (list or str) Internet service src name. |
| 1050 |
poolname6: |
| 1051 |
type: raw |
| 1052 |
description: (list or str) Poolname6. |
| 1053 |
src_vendor_mac: |
| 1054 |
aliases: ['src-vendor-mac'] |
| 1055 |
type: raw |
| 1056 |
description: (list or str) Src vendor mac. |
| 1057 |
vendor_mac: |
| 1058 |
aliases: ['vendor-mac'] |
| 1059 |
type: raw |
| 1060 |
description: (list or str) Vendor mac. |
| 1061 |
file_filter_profile: |
| 1062 |
aliases: ['file-filter-profile'] |
| 1063 |
type: str |
| 1064 |
description: File filter profile. |
| 1065 |
cgn_eif: |
| 1066 |
aliases: ['cgn-eif'] |
| 1067 |
type: str |
| 1068 |
description: Enable/Disable CGN endpoint independent filtering. |
| 1069 |
choices: ['disable', 'enable'] |
| 1070 |
cgn_eim: |
| 1071 |
aliases: ['cgn-eim'] |
| 1072 |
type: str |
| 1073 |
description: Enable/Disable CGN endpoint independent mapping |
| 1074 |
choices: ['disable', 'enable'] |
| 1075 |
cgn_log_server_grp: |
| 1076 |
aliases: ['cgn-log-server-grp'] |
| 1077 |
type: raw |
| 1078 |
description: (list or str) NP log server group name |
| 1079 |
cgn_resource_quota: |
| 1080 |
aliases: ['cgn-resource-quota'] |
| 1081 |
type: int |
| 1082 |
description: Resource quota |
| 1083 |
cgn_session_quota: |
| 1084 |
aliases: ['cgn-session-quota'] |
| 1085 |
type: int |
| 1086 |
description: Session quota |
| 1087 |
policy_offload: |
| 1088 |
aliases: ['policy-offload'] |
| 1089 |
type: str |
| 1090 |
description: Enable/Disable hardware session setup for CGNAT. |
| 1091 |
choices: ['disable', 'enable'] |
| 1092 |
dynamic_shaping: |
| 1093 |
aliases: ['dynamic-shaping'] |
| 1094 |
type: str |
| 1095 |
description: Enable/disable dynamic RADIUS defined traffic shaping. |
| 1096 |
choices: ['disable', 'enable'] |
| 1097 |
passive_wan_health_measurement: |
| 1098 |
aliases: ['passive-wan-health-measurement'] |
| 1099 |
type: str |
| 1100 |
description: Enable/disable passive WAN health measurement. |
| 1101 |
choices: ['disable', 'enable'] |
| 1102 |
videofilter_profile: |
| 1103 |
aliases: ['videofilter-profile'] |
| 1104 |
type: str |
| 1105 |
description: Name of an existing VideoFilter profile. |
| 1106 |
ztna_ems_tag: |
| 1107 |
aliases: ['ztna-ems-tag'] |
| 1108 |
type: raw |
| 1109 |
description: (list or str) Source ztna-ems-tag names. |
| 1110 |
ztna_geo_tag: |
| 1111 |
aliases: ['ztna-geo-tag'] |
| 1112 |
type: raw |
| 1113 |
description: (list or str) Source ztna-geo-tag names. |
| 1114 |
ztna_status: |
| 1115 |
aliases: ['ztna-status'] |
| 1116 |
type: str |
| 1117 |
description: Enable/disable zero trust access. |
| 1118 |
choices: ['disable', 'enable'] |
| 1119 |
access_proxy: |
| 1120 |
aliases: ['access-proxy'] |
| 1121 |
type: raw |
| 1122 |
description: (list) Access proxy. |
| 1123 |
dlp_profile: |
| 1124 |
aliases: ['dlp-profile'] |
| 1125 |
type: str |
| 1126 |
description: Name of an existing DLP profile. |
| 1127 |
dynamic_bypass: |
| 1128 |
aliases: ['dynamic-bypass'] |
| 1129 |
type: str |
| 1130 |
description: Dynamic bypass. |
| 1131 |
choices: ['disable', 'enable'] |
| 1132 |
fec: |
| 1133 |
type: str |
| 1134 |
description: Enable/disable Forward Error Correction on traffic matching this policy on a FEC device. |
| 1135 |
choices: ['disable', 'enable'] |
| 1136 |
force_proxy: |
| 1137 |
aliases: ['force-proxy'] |
| 1138 |
type: str |
| 1139 |
description: Force proxy. |
| 1140 |
choices: ['disable', 'enable'] |
| 1141 |
http_tunnel_auth: |
| 1142 |
aliases: ['http-tunnel-auth'] |
| 1143 |
type: str |
| 1144 |
description: Http tunnel auth. |
| 1145 |
choices: ['disable', 'enable'] |
| 1146 |
ia_profile: |
| 1147 |
aliases: ['ia-profile'] |
| 1148 |
type: raw |
| 1149 |
description: (list) Ia profile. |
| 1150 |
isolator_server: |
| 1151 |
aliases: ['isolator-server'] |
| 1152 |
type: raw |
| 1153 |
description: (list) Isolator server. |
| 1154 |
log_http_transaction: |
| 1155 |
aliases: ['log-http-transaction'] |
| 1156 |
type: str |
| 1157 |
description: Log http transaction. |
| 1158 |
choices: ['disable', 'enable', 'all', 'utm'] |
| 1159 |
max_session_per_user: |
| 1160 |
aliases: ['max-session-per-user'] |
| 1161 |
type: int |
| 1162 |
description: Max session per user. |
| 1163 |
nat46: |
| 1164 |
type: str |
| 1165 |
description: Enable/disable NAT46. |
| 1166 |
choices: ['disable', 'enable'] |
| 1167 |
nat64: |
| 1168 |
type: str |
| 1169 |
description: Enable/disable NAT64. |
| 1170 |
choices: ['disable', 'enable'] |
| 1171 |
pass_through: |
| 1172 |
aliases: ['pass-through'] |
| 1173 |
type: str |
| 1174 |
description: Pass through. |
| 1175 |
choices: ['disable', 'enable'] |
| 1176 |
pfcp_profile: |
| 1177 |
aliases: ['pfcp-profile'] |
| 1178 |
type: str |
| 1179 |
description: PFCP profile. |
| 1180 |
policy_expiry: |
| 1181 |
aliases: ['policy-expiry'] |
| 1182 |
type: str |
| 1183 |
description: Enable/disable policy expiry. |
| 1184 |
choices: ['disable', 'enable'] |
| 1185 |
policy_expiry_date: |
| 1186 |
aliases: ['policy-expiry-date'] |
| 1187 |
type: str |
| 1188 |
description: Policy expiry date |
| 1189 |
reverse_cache: |
| 1190 |
aliases: ['reverse-cache'] |
| 1191 |
type: str |
| 1192 |
description: Reverse cache. |
| 1193 |
choices: ['disable', 'enable'] |
| 1194 |
sctp_filter_profile: |
| 1195 |
aliases: ['sctp-filter-profile'] |
| 1196 |
type: str |
| 1197 |
description: Name of an existing SCTP filter profile. |
| 1198 |
sgt: |
| 1199 |
type: raw |
| 1200 |
description: (list) Security group tags. |
| 1201 |
sgt_check: |
| 1202 |
aliases: ['sgt-check'] |
| 1203 |
type: str |
| 1204 |
description: Enable/disable security group tags |
| 1205 |
choices: ['disable', 'enable'] |
| 1206 |
tcp_timeout_pid: |
| 1207 |
aliases: ['tcp-timeout-pid'] |
| 1208 |
type: raw |
| 1209 |
description: (list) TCP timeout profile ID |
| 1210 |
transparent: |
| 1211 |
type: str |
| 1212 |
description: Transparent. |
| 1213 |
choices: ['disable', 'enable'] |
| 1214 |
type: |
| 1215 |
type: str |
| 1216 |
description: Type. |
| 1217 |
choices: ['explicit-web', 'transparent', 'explicit-ftp', 'ssh-tunnel', 'ssh', |
| 1218 |
'wanopt', 'access-proxy', 'ztna-proxy', 'explicit-web-connect', |
| 1219 |
'transparent-connect', 'llm-proxy'] |
| 1220 |
udp_timeout_pid: |
| 1221 |
aliases: ['udp-timeout-pid'] |
| 1222 |
type: raw |
| 1223 |
description: (list) UDP timeout profile ID |
| 1224 |
ztna_tags_match_logic: |
| 1225 |
aliases: ['ztna-tags-match-logic'] |
| 1226 |
type: str |
| 1227 |
description: Ztna tags match logic. |
| 1228 |
choices: ['or', 'and'] |
| 1229 |
uuid_idx: |
| 1230 |
aliases: ['uuid-idx'] |
| 1231 |
type: int |
| 1232 |
description: Uuid idx. |
| 1233 |
device_ownership: |
| 1234 |
aliases: ['device-ownership'] |
| 1235 |
type: str |
| 1236 |
description: Device ownership. |
| 1237 |
choices: ['disable', 'enable'] |
| 1238 |
ssh_policy_check: |
| 1239 |
aliases: ['ssh-policy-check'] |
| 1240 |
type: str |
| 1241 |
description: Ssh policy check. |
| 1242 |
choices: ['disable', 'enable'] |
| 1243 |
extended_log: |
| 1244 |
aliases: ['extended-log'] |
| 1245 |
type: str |
| 1246 |
description: Extended log. |
| 1247 |
choices: ['disable', 'enable'] |
| 1248 |
diffserv_copy: |
| 1249 |
aliases: ['diffserv-copy'] |
| 1250 |
type: str |
| 1251 |
description: Enable to copy packets DiffServ values from sessions original direction to its reply direction. |
| 1252 |
choices: ['disable', 'enable'] |
| 1253 |
dstaddr6_negate: |
| 1254 |
aliases: ['dstaddr6-negate'] |
| 1255 |
type: str |
| 1256 |
description: When enabled dstaddr6 specifies what the destination address must NOT be. |
| 1257 |
choices: ['disable', 'enable'] |
| 1258 |
internet_service6: |
| 1259 |
aliases: ['internet-service6'] |
| 1260 |
type: str |
| 1261 |
description: Enable/disable use of IPv6 Internet Services for this policy. |
| 1262 |
choices: ['disable', 'enable'] |
| 1263 |
internet_service6_custom: |
| 1264 |
aliases: ['internet-service6-custom'] |
| 1265 |
type: raw |
| 1266 |
description: (list) Custom IPv6 Internet Service name. |
| 1267 |
internet_service6_custom_group: |
| 1268 |
aliases: ['internet-service6-custom-group'] |
| 1269 |
type: raw |
| 1270 |
description: (list) Custom Internet Service6 group name. |
| 1271 |
internet_service6_group: |
| 1272 |
aliases: ['internet-service6-group'] |
| 1273 |
type: raw |
| 1274 |
description: (list) Internet Service group name. |
| 1275 |
internet_service6_name: |
| 1276 |
aliases: ['internet-service6-name'] |
| 1277 |
type: raw |
| 1278 |
description: (list) IPv6 Internet Service name. |
| 1279 |
internet_service6_negate: |
| 1280 |
aliases: ['internet-service6-negate'] |
| 1281 |
type: str |
| 1282 |
description: When enabled internet-service6 specifies what the service must NOT be. |
| 1283 |
choices: ['disable', 'enable'] |
| 1284 |
internet_service6_src: |
| 1285 |
aliases: ['internet-service6-src'] |
| 1286 |
type: str |
| 1287 |
description: Enable/disable use of IPv6 Internet Services in source for this policy. |
| 1288 |
choices: ['disable', 'enable'] |
| 1289 |
internet_service6_src_custom: |
| 1290 |
aliases: ['internet-service6-src-custom'] |
| 1291 |
type: raw |
| 1292 |
description: (list) Custom IPv6 Internet Service source name. |
| 1293 |
internet_service6_src_custom_group: |
| 1294 |
aliases: ['internet-service6-src-custom-group'] |
| 1295 |
type: raw |
| 1296 |
description: (list) Custom Internet Service6 source group name. |
| 1297 |
internet_service6_src_group: |
| 1298 |
aliases: ['internet-service6-src-group'] |
| 1299 |
type: raw |
| 1300 |
description: (list) Internet Service6 source group name. |
| 1301 |
internet_service6_src_name: |
| 1302 |
aliases: ['internet-service6-src-name'] |
| 1303 |
type: raw |
| 1304 |
description: (list) IPv6 Internet Service source name. |
| 1305 |
internet_service6_src_negate: |
| 1306 |
aliases: ['internet-service6-src-negate'] |
| 1307 |
type: str |
| 1308 |
description: When enabled internet-service6-src specifies what the service must NOT be. |
| 1309 |
choices: ['disable', 'enable'] |
| 1310 |
network_service_dynamic: |
| 1311 |
aliases: ['network-service-dynamic'] |
| 1312 |
type: raw |
| 1313 |
description: (list) Dynamic Network Service name. |
| 1314 |
network_service_src_dynamic: |
| 1315 |
aliases: ['network-service-src-dynamic'] |
| 1316 |
type: raw |
| 1317 |
description: (list) Dynamic Network Service source name. |
| 1318 |
reputation_direction6: |
| 1319 |
aliases: ['reputation-direction6'] |
| 1320 |
type: str |
| 1321 |
description: Direction of the initial traffic for IPv6 reputation to take effect. |
| 1322 |
choices: ['source', 'destination'] |
| 1323 |
reputation_minimum6: |
| 1324 |
aliases: ['reputation-minimum6'] |
| 1325 |
type: int |
| 1326 |
description: IPv6 Minimum Reputation to take action. |
| 1327 |
srcaddr6_negate: |
| 1328 |
aliases: ['srcaddr6-negate'] |
| 1329 |
type: str |
| 1330 |
description: When enabled srcaddr6 specifies what the source address must NOT be. |
| 1331 |
choices: ['disable', 'enable'] |
| 1332 |
_policy_block: |
| 1333 |
type: int |
| 1334 |
description: Assigned policy block. |
| 1335 |
isolator_profile: |
| 1336 |
aliases: ['isolator-profile'] |
| 1337 |
type: raw |
| 1338 |
description: (list) Isolator profile. |
| 1339 |
policy_expiry_date_utc: |
| 1340 |
aliases: ['policy-expiry-date-utc'] |
| 1341 |
type: str |
| 1342 |
description: Policy expiry date and time, in epoch format. |
| 1343 |
ztna_device_ownership: |
| 1344 |
aliases: ['ztna-device-ownership'] |
| 1345 |
type: str |
| 1346 |
description: Enable/disable zero trust device ownership. |
| 1347 |
choices: ['disable', 'enable'] |
| 1348 |
ztna_policy_redirect: |
| 1349 |
aliases: ['ztna-policy-redirect'] |
| 1350 |
type: str |
| 1351 |
description: Redirect ZTNA traffic to matching Access-Proxy proxy-policy. |
| 1352 |
choices: ['disable', 'enable'] |
| 1353 |
ip_version_type: |
| 1354 |
aliases: ['ip-version-type'] |
| 1355 |
type: str |
| 1356 |
description: IP version of the policy. |
| 1357 |
ips_voip_filter: |
| 1358 |
aliases: ['ips-voip-filter'] |
| 1359 |
type: str |
| 1360 |
description: Name of an existing VoIP |
| 1361 |
policy_behaviour_type: |
| 1362 |
aliases: ['policy-behaviour-type'] |
| 1363 |
type: str |
| 1364 |
description: Behaviour of the policy. |
| 1365 |
pcp_inbound: |
| 1366 |
aliases: ['pcp-inbound'] |
| 1367 |
type: str |
| 1368 |
description: Enable/disable PCP inbound DNAT. |
| 1369 |
choices: ['disable', 'enable'] |
| 1370 |
pcp_outbound: |
| 1371 |
aliases: ['pcp-outbound'] |
| 1372 |
type: str |
| 1373 |
description: Enable/disable PCP outbound SNAT. |
| 1374 |
choices: ['disable', 'enable'] |
| 1375 |
pcp_poolname: |
| 1376 |
aliases: ['pcp-poolname'] |
| 1377 |
type: raw |
| 1378 |
description: (list) PCP pool names. |
| 1379 |
ztna_ems_tag_secondary: |
| 1380 |
aliases: ['ztna-ems-tag-secondary'] |
| 1381 |
type: raw |
| 1382 |
description: (list) Source ztna-ems-tag-secondary names. |
| 1383 |
casb_profile: |
| 1384 |
aliases: ['casb-profile'] |
| 1385 |
type: str |
| 1386 |
description: Name of an existing CASB profile. |
| 1387 |
implicit_proxy_detection: |
| 1388 |
aliases: ['implicit-proxy-detection'] |
| 1389 |
type: str |
| 1390 |
description: Implicit proxy detection. |
| 1391 |
choices: ['disable', 'enable'] |
| 1392 |
virtual_patch_profile: |
| 1393 |
aliases: ['virtual-patch-profile'] |
| 1394 |
type: str |
| 1395 |
description: Name of an existing virtual-patch profile. |
| 1396 |
detect_https_in_http_request: |
| 1397 |
aliases: ['detect-https-in-http-request'] |
| 1398 |
type: str |
| 1399 |
description: Detect https in http request. |
| 1400 |
choices: ['disable', 'enable'] |
| 1401 |
diameter_filter_profile: |
| 1402 |
aliases: ['diameter-filter-profile'] |
| 1403 |
type: str |
| 1404 |
description: Name of an existing Diameter filter profile. |
| 1405 |
redirect_profile: |
| 1406 |
aliases: ['redirect-profile'] |
| 1407 |
type: raw |
| 1408 |
description: (list) Redirect profile. |
| 1409 |
port_preserve: |
| 1410 |
aliases: ['port-preserve'] |
| 1411 |
type: str |
| 1412 |
description: Enable/disable preservation of the original source port from source NAT if it has not been used. |
| 1413 |
choices: ['disable', 'enable'] |
| 1414 |
cgn_sw_eif_ctrl: |
| 1415 |
aliases: ['cgn-sw-eif-ctrl'] |
| 1416 |
type: str |
| 1417 |
description: Enable/disable software endpoint independent filtering control. |
| 1418 |
choices: ['disable', 'enable'] |
| 1419 |
eif_check: |
| 1420 |
aliases: ['eif-check'] |
| 1421 |
type: str |
| 1422 |
description: Enable/Disable check endpoint-independent-filtering pinhole. |
| 1423 |
choices: ['disable', 'enable'] |
| 1424 |
eif_learn: |
| 1425 |
aliases: ['eif-learn'] |
| 1426 |
type: str |
| 1427 |
description: Enable/Disable learning of end-point-independent filtering pinhole. |
| 1428 |
choices: ['disable', 'enable'] |
| 1429 |
radius_ip_auth_bypass: |
| 1430 |
aliases: ['radius-ip-auth-bypass'] |
| 1431 |
type: str |
| 1432 |
description: Enable IP authentication bypass. |
| 1433 |
choices: ['disable', 'enable'] |
| 1434 |
url_risk: |
| 1435 |
aliases: ['url-risk'] |
| 1436 |
type: raw |
| 1437 |
description: (list) Url risk. |
| 1438 |
app_monitor: |
| 1439 |
aliases: ['app-monitor'] |
| 1440 |
type: str |
| 1441 |
description: Enable/disable application TCP metrics in session logs. |
| 1442 |
choices: ['disable', 'enable'] |
| 1443 |
port_random: |
| 1444 |
aliases: ['port-random'] |
| 1445 |
type: str |
| 1446 |
description: Enable/disable random source port selection for source NAT. |
| 1447 |
choices: ['disable', 'enable'] |
| 1448 |
ztna_ems_tag_negate: |
| 1449 |
aliases: ['ztna-ems-tag-negate'] |
| 1450 |
type: str |
| 1451 |
description: When enabled ztna-ems-tag specifies what the tags must NOT be. |
| 1452 |
choices: ['disable', 'enable'] |
| 1453 |
https_sub_category: |
| 1454 |
aliases: ['https-sub-category'] |
| 1455 |
type: str |
| 1456 |
description: Https sub category. |
| 1457 |
choices: ['disable', 'enable'] |
| 1458 |
service_connector: |
| 1459 |
aliases: ['service-connector'] |
| 1460 |
type: raw |
| 1461 |
description: (list) Service connector. |
| 1462 |
telemetry_profile: |
| 1463 |
aliases: ['telemetry-profile'] |
| 1464 |
type: raw |
| 1465 |
description: (list) Name of an existing telemetry profile. |
| 1466 |
ztna_proxy: |
| 1467 |
aliases: ['ztna-proxy'] |
| 1468 |
type: raw |
| 1469 |
description: (list) Ztna proxy. |
| 1470 |
explicit_web_proxy: |
| 1471 |
aliases: ['explicit-web-proxy'] |
| 1472 |
type: raw |
| 1473 |
description: (list) Explicit web proxy. |
| 1474 |
internet_service_fortiguard: |
| 1475 |
aliases: ['internet-service-fortiguard'] |
| 1476 |
type: raw |
| 1477 |
description: (list) FortiGuard Internet Service name. |
| 1478 |
internet_service_src_fortiguard: |
| 1479 |
aliases: ['internet-service-src-fortiguard'] |
| 1480 |
type: raw |
| 1481 |
description: (list) FortiGuard Internet Service source name. |
| 1482 |
internet_service6_fortiguard: |
| 1483 |
aliases: ['internet-service6-fortiguard'] |
| 1484 |
type: raw |
| 1485 |
description: (list) FortiGuard IPv6 Internet Service name. |
| 1486 |
internet_service6_src_fortiguard: |
| 1487 |
aliases: ['internet-service6-src-fortiguard'] |
| 1488 |
type: raw |
| 1489 |
description: (list) FortiGuard IPv6 Internet Service source name. |
| 1490 |
saml_server: |
| 1491 |
aliases: ['saml-server'] |
| 1492 |
type: raw |
| 1493 |
description: (list) SAML server name. |
| 1494 |
scim: |
| 1495 |
type: str |
| 1496 |
description: Enable/disable SCIM |
| 1497 |
choices: ['disable', 'enable'] |
| 1498 |
scim_groups: |
| 1499 |
aliases: ['scim-groups'] |
| 1500 |
type: raw |
| 1501 |
description: (list) Names of SCIM groups. |
| 1502 |
scim_users: |
| 1503 |
aliases: ['scim-users'] |
| 1504 |
type: raw |
| 1505 |
description: (list) Names of SCIM users. |
| 1506 |
llm_profile: |
| 1507 |
aliases: ['llm-profile'] |
| 1508 |
type: raw |
| 1509 |
description: (list) Llm profile. |
| 1510 |
''' |
| 1511 |
|
| 1512 |
EXAMPLES = ''' |
| 1513 |
- name: Example playbook |
| 1514 |
hosts: fortimanagers |
| 1515 |
gather_facts: false |
| 1516 |
connection: httpapi |
| 1517 |
vars: |
| 1518 |
ansible_httpapi_use_ssl: true |
| 1519 |
ansible_httpapi_validate_certs: false |
| 1520 |
ansible_httpapi_port: 443 |
| 1521 |
tasks: |
| 1522 |
- name: Configure IPv4 footer policies. |
| 1523 |
fortinet.fortimanager.fmgr_pkg_footer_policy: |
| 1524 |
bypass_validation: false |
| 1525 |
pkg: ansible |
| 1526 |
state: present |
| 1527 |
pkg_footer_policy: |
| 1528 |
action: accept # <value in [deny, accept, ipsec, ...]> |
| 1529 |
dstaddr: gall |
| 1530 |
dstintf: any |
| 1531 |
name: ansible-test-footer |
| 1532 |
policyid: 1074741836 # must larger than 2^30(1074741824), since header/footer policy is a special policy |
| 1533 |
schedule: galways |
| 1534 |
service: gALL |
| 1535 |
srcaddr: gall |
| 1536 |
srcintf: any |
| 1537 |
status: enable |
| 1538 |
|
| 1539 |
- name: Gathering fortimanager facts |
| 1540 |
hosts: fortimanagers |
| 1541 |
gather_facts: false |
| 1542 |
connection: httpapi |
| 1543 |
vars: |
| 1544 |
ansible_httpapi_use_ssl: true |
| 1545 |
ansible_httpapi_validate_certs: false |
| 1546 |
ansible_httpapi_port: 443 |
| 1547 |
tasks: |
| 1548 |
- name: Retrieve all the IPv4 footer policies |
| 1549 |
fortinet.fortimanager.fmgr_fact: |
| 1550 |
facts: |
| 1551 |
selector: "pkg_footer_policy" |
| 1552 |
params: |
| 1553 |
pkg: "ansible" |
| 1554 |
policy: "your_value" |
| 1555 |
''' |
| 1556 |
|
| 1557 |
RETURN = ''' |
| 1558 |
meta: |
| 1559 |
description: The result of the request. |
| 1560 |
type: dict |
| 1561 |
returned: always |
| 1562 |
contains: |
| 1563 |
request_url: |
| 1564 |
description: The full url requested. |
| 1565 |
returned: always |
| 1566 |
type: str |
| 1567 |
sample: /sys/login/user |
| 1568 |
response_code: |
| 1569 |
description: The status of api request. |
| 1570 |
returned: always |
| 1571 |
type: int |
| 1572 |
sample: 0 |
| 1573 |
response_data: |
| 1574 |
description: The api response. |
| 1575 |
type: list |
| 1576 |
returned: always |
| 1577 |
response_message: |
| 1578 |
description: The descriptive message of the api response. |
| 1579 |
type: str |
| 1580 |
returned: always |
| 1581 |
sample: OK. |
| 1582 |
system_information: |
| 1583 |
description: The information of the target system. |
| 1584 |
type: dict |
| 1585 |
returned: always |
| 1586 |
rc: |
| 1587 |
description: The status the request. |
| 1588 |
type: int |
| 1589 |
returned: always |
| 1590 |
sample: 0 |
| 1591 |
version_check_warning: |
| 1592 |
description: Warning if the parameters used in the playbook are not supported by the current FortiManager version. |
| 1593 |
type: list |
| 1594 |
returned: complex |
| 1595 |
''' |
| 1596 |
from ansible.module_utils.basic import AnsibleModule |
| 1597 |
from ansible.module_utils.connection import Connection |
| 1598 |
from ansible_collections.fortinet.fortimanager.plugins.module_utils.napi import NAPIManager, check_galaxy_version, check_parameter_bypass |
| 1599 |
from ansible_collections.fortinet.fortimanager.plugins.module_utils.common import get_module_arg_spec |
| 1600 |
|
| 1601 |
|
| 1602 |
def main(): |
| 1603 |
urls_list = [ |
| 1604 |
'/pm/config/global/pkg/{pkg}/global/footer/policy' |
| 1605 |
] |
| 1606 |
module_arg_spec = { |
| 1607 |
'pkg': {'required': True, 'type': 'str'}, |
| 1608 |
'revision_note': {'type': 'str'}, |
| 1609 |
'pkg_footer_policy': { |
| 1610 |
'type': 'dict', 'v_range': [['6.0.0', '']], |
| 1611 |
'options': { |
| 1612 |
'action': {'choices': ['deny', 'accept', 'ipsec', 'ssl-vpn', 'redirect', 'isolate'], 'type': 'str'}, |
| 1613 |
'active-auth-method': {'choices': ['ntlm', 'basic', 'digest', 'form'], 'type': 'str'}, |
| 1614 |
'anti-replay': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1615 |
'app-category': {'v_range': [['6.0.0', '7.6.2'], ['7.6.4', '']], 'type': 'raw'}, |
| 1616 |
'app-group': {'v_range': [['6.0.0', '7.6.2'], ['7.6.4', '']], 'type': 'raw'}, |
| 1617 |
'application': {'v_range': [['6.0.0', '7.6.2'], ['7.6.4', '']], 'type': 'raw'}, |
| 1618 |
'application-charts': {'type': 'list', 'choices': ['top10-app', 'top10-p2p-user', 'top10-media-user'], 'elements': 'str'}, |
| 1619 |
'application-list': {'type': 'str'}, |
| 1620 |
'auth-cert': {'type': 'str'}, |
| 1621 |
'auth-method': {'choices': ['basic', 'digest', 'ntlm', 'fsae', 'form', 'fsso', 'rsso'], 'type': 'str'}, |
| 1622 |
'auth-path': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1623 |
'auth-portal': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1624 |
'auth-redirect-addr': {'type': 'str'}, |
| 1625 |
'auto-asic-offload': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1626 |
'av-profile': {'type': 'str'}, |
| 1627 |
'bandwidth': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1628 |
'block-notification': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1629 |
'captive-portal-exempt': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1630 |
'capture-packet': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1631 |
'casi-profile': {'type': 'raw'}, |
| 1632 |
'central-nat': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1633 |
'cifs-profile': {'type': 'str'}, |
| 1634 |
'client-reputation': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1635 |
'client-reputation-mode': {'choices': ['learning', 'monitoring'], 'type': 'str'}, |
| 1636 |
'comments': {'type': 'raw'}, |
| 1637 |
'custom-log-fields': {'type': 'raw'}, |
| 1638 |
'deep-inspection-options': {'type': 'raw'}, |
| 1639 |
'delay-tcp-npu-session': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1640 |
'delay-tcp-npu-sessoin': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1641 |
'device-detection-portal': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1642 |
'devices': {'type': 'raw'}, |
| 1643 |
'diffserv-forward': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1644 |
'diffserv-reverse': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1645 |
'diffservcode-forward': {'type': 'str'}, |
| 1646 |
'diffservcode-rev': {'type': 'str'}, |
| 1647 |
'disclaimer': {'choices': ['disable', 'enable', 'user', 'domain', 'policy'], 'type': 'str'}, |
| 1648 |
'dlp-sensor': {'type': 'raw'}, |
| 1649 |
'dnsfilter-profile': {'type': 'str'}, |
| 1650 |
'dponly': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1651 |
'dscp-match': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1652 |
'dscp-negate': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1653 |
'dscp-value': {'type': 'str'}, |
| 1654 |
'dsri': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1655 |
'dstaddr': {'type': 'raw'}, |
| 1656 |
'dstaddr-negate': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1657 |
'dstaddr6': {'type': 'raw'}, |
| 1658 |
'dstintf': {'type': 'raw'}, |
| 1659 |
'dynamic-profile': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1660 |
'dynamic-profile-access': { |
| 1661 |
'type': 'list', |
| 1662 |
'choices': ['imap', 'smtp', 'pop3', 'http', 'ftp', 'im', 'nntp', 'imaps', 'smtps', 'pop3s', 'https', 'ftps', 'ssh'], |
| 1663 |
'elements': 'str' |
| 1664 |
}, |
| 1665 |
'dynamic-profile-fallthrough': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1666 |
'dynamic-profile-group': {'type': 'raw'}, |
| 1667 |
'email-collect': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1668 |
'email-collection-portal': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1669 |
'emailfilter-profile': {'type': 'str'}, |
| 1670 |
'endpoint-check': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1671 |
'endpoint-compliance': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1672 |
'endpoint-keepalive-interface': {'type': 'raw'}, |
| 1673 |
'endpoint-profile': {'type': 'raw'}, |
| 1674 |
'failed-connection': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1675 |
'fall-through-unauthenticated': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1676 |
'firewall-session-dirty': {'choices': ['check-all', 'check-new'], 'type': 'str'}, |
| 1677 |
'fixedport': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1678 |
'forticlient-compliance-devices': {'type': 'list', 'choices': ['windows-pc', 'mac', 'iphone-ipad', 'android'], 'elements': 'str'}, |
| 1679 |
'forticlient-compliance-enforcement-portal': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1680 |
'fsae': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1681 |
'fsae-server-for-ntlm': {'type': 'raw'}, |
| 1682 |
'fsso': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1683 |
'fsso-agent-for-ntlm': {'type': 'str'}, |
| 1684 |
'geo-location': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1685 |
'geoip-anycast': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1686 |
'global-label': {'type': 'str'}, |
| 1687 |
'groups': {'type': 'raw'}, |
| 1688 |
'gtp-profile': {'type': 'str'}, |
| 1689 |
'http-policy-redirect': {'choices': ['disable', 'enable', 'legacy'], 'type': 'str'}, |
| 1690 |
'icap-profile': {'type': 'str'}, |
| 1691 |
'identity-based': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1692 |
'identity-based-policy': { |
| 1693 |
'v_range': [['6.0.0', '6.2.0']], |
| 1694 |
'type': 'list', |
| 1695 |
'options': { |
| 1696 |
'action': {'v_range': [['6.0.0', '6.2.0']], 'choices': ['deny', 'accept'], 'type': 'str'}, |
| 1697 |
'application-charts': { |
| 1698 |
'v_range': [['6.0.0', '6.2.0']], |
| 1699 |
'type': 'list', |
| 1700 |
'choices': ['top10-app', 'top10-p2p-user', 'top10-media-user'], |
| 1701 |
'elements': 'str' |
| 1702 |
}, |
| 1703 |
'application-list': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1704 |
'av-profile': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1705 |
'capture-packet': {'v_range': [['6.0.0', '6.2.0']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1706 |
'deep-inspection-options': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1707 |
'devices': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1708 |
'dlp-sensor': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1709 |
'dstaddr': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1710 |
'dstaddr-negate': {'v_range': [['6.0.0', '6.2.0']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1711 |
'endpoint-compliance': {'v_range': [['6.0.0', '6.2.0']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1712 |
'groups': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1713 |
'icap-profile': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1714 |
'id': {'v_range': [['6.0.0', '6.2.0']], 'type': 'int'}, |
| 1715 |
'ips-sensor': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1716 |
'logtraffic': {'v_range': [['6.0.0', '6.2.0']], 'choices': ['disable', 'enable', 'all', 'utm'], 'type': 'str'}, |
| 1717 |
'logtraffic-app': {'v_range': [['6.0.0', '6.2.0']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1718 |
'logtraffic-start': {'v_range': [['6.0.0', '6.2.0']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1719 |
'mms-profile': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1720 |
'per-ip-shaper': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1721 |
'profile-group': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1722 |
'profile-protocol-options': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1723 |
'profile-type': {'v_range': [['6.0.0', '6.2.0']], 'choices': ['single', 'group'], 'type': 'str'}, |
| 1724 |
'replacemsg-group': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1725 |
'schedule': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1726 |
'send-deny-packet': {'v_range': [['6.0.0', '6.2.0']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1727 |
'service': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1728 |
'service-negate': {'v_range': [['6.0.0', '6.2.0']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1729 |
'spamfilter-profile': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1730 |
'sslvpn-portal': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1731 |
'sslvpn-realm': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1732 |
'traffic-shaper': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1733 |
'traffic-shaper-reverse': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1734 |
'users': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1735 |
'utm-status': {'v_range': [['6.0.0', '6.2.0']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1736 |
'voip-profile': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'}, |
| 1737 |
'webfilter-profile': {'v_range': [['6.0.0', '6.2.0']], 'type': 'str'} |
| 1738 |
}, |
| 1739 |
'elements': 'dict' |
| 1740 |
}, |
| 1741 |
'identity-based-route': {'type': 'str'}, |
| 1742 |
'identity-from': {'choices': ['auth', 'device'], 'type': 'str'}, |
| 1743 |
'inbound': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1744 |
'inspection-mode': {'choices': ['proxy', 'flow'], 'type': 'str'}, |
| 1745 |
'internet-service': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1746 |
'internet-service-custom': {'type': 'raw'}, |
| 1747 |
'internet-service-custom-group': {'type': 'raw'}, |
| 1748 |
'internet-service-group': {'type': 'raw'}, |
| 1749 |
'internet-service-id': {'type': 'raw'}, |
| 1750 |
'internet-service-negate': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1751 |
'internet-service-src': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1752 |
'internet-service-src-custom': {'type': 'raw'}, |
| 1753 |
'internet-service-src-custom-group': {'type': 'raw'}, |
| 1754 |
'internet-service-src-group': {'type': 'raw'}, |
| 1755 |
'internet-service-src-id': {'type': 'raw'}, |
| 1756 |
'internet-service-src-negate': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1757 |
'ip-based': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1758 |
'ippool': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1759 |
'ips-sensor': {'type': 'str'}, |
| 1760 |
'label': {'type': 'str'}, |
| 1761 |
'learning-mode': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1762 |
'log-unmatched-traffic': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1763 |
'logtraffic': {'choices': ['disable', 'enable', 'all', 'utm'], 'type': 'str'}, |
| 1764 |
'logtraffic-app': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1765 |
'logtraffic-start': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1766 |
'match-vip': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1767 |
'mms-profile': {'type': 'raw'}, |
| 1768 |
'name': {'type': 'str'}, |
| 1769 |
'nat': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1770 |
'natinbound': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1771 |
'natip': {'type': 'str'}, |
| 1772 |
'natoutbound': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1773 |
'np-acceleration': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1774 |
'ntlm': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1775 |
'ntlm-enabled-browsers': {'type': 'raw'}, |
| 1776 |
'ntlm-guest': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1777 |
'outbound': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1778 |
'per-ip-shaper': {'type': 'str'}, |
| 1779 |
'permit-any-host': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1780 |
'permit-stun-host': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1781 |
'policyid': {'required': True, 'type': 'int'}, |
| 1782 |
'poolname': {'type': 'raw'}, |
| 1783 |
'profile-group': {'type': 'str'}, |
| 1784 |
'profile-protocol-options': {'type': 'str'}, |
| 1785 |
'profile-type': {'choices': ['single', 'group'], 'type': 'str'}, |
| 1786 |
'radius-mac-auth-bypass': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1787 |
'redirect-url': {'type': 'str'}, |
| 1788 |
'replacemsg-group': {'type': 'raw'}, |
| 1789 |
'replacemsg-override-group': {'type': 'str'}, |
| 1790 |
'reputation-direction': {'choices': ['source', 'destination'], 'type': 'str'}, |
| 1791 |
'reputation-minimum': {'type': 'int'}, |
| 1792 |
'require-tfa': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1793 |
'rsso': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1794 |
'rtp-addr': {'type': 'raw'}, |
| 1795 |
'rtp-nat': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1796 |
'scan-botnet-connections': {'choices': ['disable', 'block', 'monitor'], 'type': 'str'}, |
| 1797 |
'schedule': {'type': 'str'}, |
| 1798 |
'schedule-timeout': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1799 |
'send-deny-packet': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1800 |
'service': {'type': 'raw'}, |
| 1801 |
'service-negate': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1802 |
'session-ttl': {'type': 'raw'}, |
| 1803 |
'sessions': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1804 |
'spamfilter-profile': {'type': 'raw'}, |
| 1805 |
'srcaddr': {'type': 'raw'}, |
| 1806 |
'srcaddr-negate': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1807 |
'srcaddr6': {'type': 'raw'}, |
| 1808 |
'srcintf': {'type': 'raw'}, |
| 1809 |
'ssh-filter-profile': {'type': 'str'}, |
| 1810 |
'ssh-policy-redirect': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1811 |
'ssl-mirror': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1812 |
'ssl-mirror-intf': {'type': 'raw'}, |
| 1813 |
'ssl-ssh-profile': {'type': 'str'}, |
| 1814 |
'sslvpn-auth': {'choices': ['any', 'local', 'radius', 'ldap', 'tacacs+'], 'type': 'str'}, |
| 1815 |
'sslvpn-ccert': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1816 |
'sslvpn-cipher': {'choices': ['any', 'high', 'medium'], 'type': 'str'}, |
| 1817 |
'sso-auth-method': {'choices': ['fsso', 'rsso'], 'type': 'str'}, |
| 1818 |
'status': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1819 |
'tags': {'type': 'raw'}, |
| 1820 |
'tcp-mss-receiver': {'type': 'int'}, |
| 1821 |
'tcp-mss-sender': {'type': 'int'}, |
| 1822 |
'tcp-reset': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1823 |
'tcp-session-without-syn': {'choices': ['all', 'data-only', 'disable'], 'type': 'str'}, |
| 1824 |
'timeout-send-rst': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1825 |
'tos': {'type': 'str'}, |
| 1826 |
'tos-mask': {'type': 'str'}, |
| 1827 |
'tos-negate': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1828 |
'traffic-shaper': {'type': 'str'}, |
| 1829 |
'traffic-shaper-reverse': {'type': 'str'}, |
| 1830 |
'transaction-based': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1831 |
'url-category': {'v_range': [['6.0.0', '7.6.2'], ['7.6.4', '']], 'type': 'raw'}, |
| 1832 |
'users': {'type': 'raw'}, |
| 1833 |
'utm-inspection-mode': {'choices': ['proxy', 'flow'], 'type': 'str'}, |
| 1834 |
'utm-status': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1835 |
'uuid': {'type': 'str'}, |
| 1836 |
'vlan-cos-fwd': {'type': 'int'}, |
| 1837 |
'vlan-cos-rev': {'type': 'int'}, |
| 1838 |
'vlan-filter': {'type': 'str'}, |
| 1839 |
'voip-profile': {'type': 'str'}, |
| 1840 |
'vpntunnel': {'type': 'str'}, |
| 1841 |
'waf-profile': {'type': 'str'}, |
| 1842 |
'wanopt': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1843 |
'wanopt-detection': {'choices': ['active', 'passive', 'off'], 'type': 'str'}, |
| 1844 |
'wanopt-passive-opt': {'choices': ['default', 'transparent', 'non-transparent'], 'type': 'str'}, |
| 1845 |
'wanopt-peer': {'type': 'str'}, |
| 1846 |
'wanopt-profile': {'type': 'str'}, |
| 1847 |
'wccp': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1848 |
'web-auth-cookie': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1849 |
'webcache': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1850 |
'webcache-https': {'choices': ['disable', 'ssl-server', 'any', 'enable'], 'type': 'str'}, |
| 1851 |
'webfilter-profile': {'type': 'str'}, |
| 1852 |
'webproxy-forward-server': {'type': 'str'}, |
| 1853 |
'webproxy-profile': {'type': 'str'}, |
| 1854 |
'wsso': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1855 |
'fsso-groups': {'v_range': [['6.2.1', '']], 'type': 'raw'}, |
| 1856 |
'match-vip-only': {'v_range': [['6.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1857 |
'np-accelation': {'v_range': [['6.2.1', '6.4.15']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1858 |
'best-route': {'v_range': [['6.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1859 |
'decrypted-traffic-mirror': {'v_range': [['6.4.0', '']], 'type': 'str'}, |
| 1860 |
'geoip-match': {'v_range': [['6.4.0', '']], 'choices': ['physical-location', 'registered-location'], 'type': 'str'}, |
| 1861 |
'internet-service-name': {'v_range': [['6.4.0', '']], 'type': 'raw'}, |
| 1862 |
'internet-service-src-name': {'v_range': [['6.4.0', '']], 'type': 'raw'}, |
| 1863 |
'poolname6': {'v_range': [['6.4.0', '']], 'type': 'raw'}, |
| 1864 |
'src-vendor-mac': {'v_range': [['6.4.0', '']], 'type': 'raw'}, |
| 1865 |
'vendor-mac': {'v_range': [['6.4.0', '']], 'type': 'raw'}, |
| 1866 |
'file-filter-profile': {'v_range': [['6.4.1', '']], 'type': 'str'}, |
| 1867 |
'cgn-eif': {'v_range': [['6.2.7', '6.2.13'], ['6.4.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1868 |
'cgn-eim': {'v_range': [['6.2.7', '6.2.13'], ['6.4.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1869 |
'cgn-log-server-grp': {'v_range': [['6.2.7', '6.2.13'], ['6.4.3', '']], 'type': 'raw'}, |
| 1870 |
'cgn-resource-quota': {'v_range': [['6.2.7', '6.2.13'], ['6.4.3', '']], 'type': 'int'}, |
| 1871 |
'cgn-session-quota': {'v_range': [['6.2.7', '6.2.13'], ['6.4.3', '']], 'type': 'int'}, |
| 1872 |
'policy-offload': {'v_range': [['6.2.7', '6.2.13'], ['6.4.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1873 |
'dynamic-shaping': {'v_range': [['6.4.6', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1874 |
'passive-wan-health-measurement': {'v_range': [['7.0.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1875 |
'videofilter-profile': {'v_range': [['7.0.0', '']], 'type': 'str'}, |
| 1876 |
'ztna-ems-tag': {'v_range': [['7.0.0', '']], 'type': 'raw'}, |
| 1877 |
'ztna-geo-tag': {'v_range': [['7.0.0', '']], 'type': 'raw'}, |
| 1878 |
'ztna-status': {'v_range': [['7.0.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1879 |
'access-proxy': {'v_range': [['7.0.3', '']], 'type': 'raw'}, |
| 1880 |
'dlp-profile': {'v_range': [['7.2.0', '']], 'type': 'str'}, |
| 1881 |
'dynamic-bypass': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1882 |
'fec': {'v_range': [['7.0.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1883 |
'force-proxy': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1884 |
'http-tunnel-auth': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1885 |
'ia-profile': {'v_range': [['7.0.3', '']], 'type': 'raw'}, |
| 1886 |
'isolator-server': {'v_range': [['7.0.3', '']], 'type': 'raw'}, |
| 1887 |
'log-http-transaction': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable', 'all', 'utm'], 'type': 'str'}, |
| 1888 |
'max-session-per-user': {'v_range': [['7.0.3', '']], 'type': 'int'}, |
| 1889 |
'nat46': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1890 |
'nat64': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1891 |
'pass-through': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1892 |
'pfcp-profile': {'v_range': [['7.0.1', '']], 'type': 'str'}, |
| 1893 |
'policy-expiry': {'v_range': [['7.2.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1894 |
'policy-expiry-date': {'v_range': [['7.2.0', '']], 'type': 'str'}, |
| 1895 |
'reverse-cache': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1896 |
'sctp-filter-profile': {'v_range': [['7.0.1', '']], 'type': 'str'}, |
| 1897 |
'sgt': {'v_range': [['7.0.1', '']], 'type': 'raw'}, |
| 1898 |
'sgt-check': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1899 |
'tcp-timeout-pid': {'v_range': [['7.0.3', '']], 'type': 'raw'}, |
| 1900 |
'transparent': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1901 |
'type': { |
| 1902 |
'v_range': [['7.0.3', '']], |
| 1903 |
'choices': [ |
| 1904 |
'explicit-web', 'transparent', 'explicit-ftp', 'ssh-tunnel', 'ssh', 'wanopt', 'access-proxy', 'ztna-proxy', |
| 1905 |
'explicit-web-connect', 'transparent-connect', 'llm-proxy' |
| 1906 |
], |
| 1907 |
'type': 'str' |
| 1908 |
}, |
| 1909 |
'udp-timeout-pid': {'v_range': [['7.0.3', '']], 'type': 'raw'}, |
| 1910 |
'ztna-tags-match-logic': {'v_range': [['7.0.3', '']], 'choices': ['or', 'and'], 'type': 'str'}, |
| 1911 |
'uuid-idx': {'v_range': [['7.0.1', '']], 'type': 'int'}, |
| 1912 |
'device-ownership': {'v_range': [['7.0.5', '7.0.16'], ['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1913 |
'ssh-policy-check': {'v_range': [['7.0.5', '7.0.16'], ['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1914 |
'extended-log': {'v_range': [['7.0.11', '7.0.16'], ['7.2.5', '7.2.12'], ['7.4.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1915 |
'diffserv-copy': {'v_range': [['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1916 |
'dstaddr6-negate': {'v_range': [['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1917 |
'internet-service6': {'v_range': [['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1918 |
'internet-service6-custom': {'v_range': [['7.2.1', '']], 'type': 'raw'}, |
| 1919 |
'internet-service6-custom-group': {'v_range': [['7.2.1', '']], 'type': 'raw'}, |
| 1920 |
'internet-service6-group': {'v_range': [['7.2.1', '']], 'type': 'raw'}, |
| 1921 |
'internet-service6-name': {'v_range': [['7.2.1', '']], 'type': 'raw'}, |
| 1922 |
'internet-service6-negate': {'v_range': [['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1923 |
'internet-service6-src': {'v_range': [['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1924 |
'internet-service6-src-custom': {'v_range': [['7.2.1', '']], 'type': 'raw'}, |
| 1925 |
'internet-service6-src-custom-group': {'v_range': [['7.2.1', '']], 'type': 'raw'}, |
| 1926 |
'internet-service6-src-group': {'v_range': [['7.2.1', '']], 'type': 'raw'}, |
| 1927 |
'internet-service6-src-name': {'v_range': [['7.2.1', '']], 'type': 'raw'}, |
| 1928 |
'internet-service6-src-negate': {'v_range': [['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1929 |
'network-service-dynamic': {'v_range': [['7.2.1', '']], 'type': 'raw'}, |
| 1930 |
'network-service-src-dynamic': {'v_range': [['7.2.1', '']], 'type': 'raw'}, |
| 1931 |
'reputation-direction6': {'v_range': [['7.2.1', '']], 'choices': ['source', 'destination'], 'type': 'str'}, |
| 1932 |
'reputation-minimum6': {'v_range': [['7.2.1', '']], 'type': 'int'}, |
| 1933 |
'srcaddr6-negate': {'v_range': [['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1934 |
'_policy_block': {'v_range': [['7.2.2', '']], 'type': 'int'}, |
| 1935 |
'isolator-profile': {'v_range': [['7.2.2', '']], 'type': 'raw'}, |
| 1936 |
'policy-expiry-date-utc': {'v_range': [['7.2.2', '']], 'type': 'str'}, |
| 1937 |
'ztna-device-ownership': {'v_range': [['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1938 |
'ztna-policy-redirect': {'v_range': [['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1939 |
'ip-version-type': {'v_range': [['7.2.3', '']], 'type': 'str'}, |
| 1940 |
'ips-voip-filter': {'v_range': [['7.2.3', '']], 'type': 'str'}, |
| 1941 |
'policy-behaviour-type': {'v_range': [['7.2.3', '']], 'type': 'str'}, |
| 1942 |
'pcp-inbound': {'v_range': [['7.4.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1943 |
'pcp-outbound': {'v_range': [['7.4.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1944 |
'pcp-poolname': {'v_range': [['7.4.0', '']], 'type': 'raw'}, |
| 1945 |
'ztna-ems-tag-secondary': {'v_range': [['7.4.0', '']], 'type': 'raw'}, |
| 1946 |
'casb-profile': {'v_range': [['7.4.1', '']], 'type': 'str'}, |
| 1947 |
'implicit-proxy-detection': {'v_range': [['7.4.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1948 |
'virtual-patch-profile': {'v_range': [['7.4.1', '']], 'type': 'str'}, |
| 1949 |
'detect-https-in-http-request': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1950 |
'diameter-filter-profile': {'v_range': [['7.4.2', '']], 'type': 'str'}, |
| 1951 |
'redirect-profile': {'v_range': [['7.4.2', '']], 'type': 'raw'}, |
| 1952 |
'port-preserve': {'v_range': [['7.4.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1953 |
'cgn-sw-eif-ctrl': {'v_range': [['7.6.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1954 |
'eif-check': {'v_range': [['7.6.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1955 |
'eif-learn': {'v_range': [['7.6.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1956 |
'radius-ip-auth-bypass': {'v_range': [['7.6.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1957 |
'url-risk': {'v_range': [['7.4.4', '7.4.10'], ['7.6.2', '']], 'type': 'raw'}, |
| 1958 |
'app-monitor': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1959 |
'port-random': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1960 |
'ztna-ems-tag-negate': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1961 |
'https-sub-category': {'v_range': [['7.4.7', '7.4.10'], ['7.6.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1962 |
'service-connector': {'v_range': [['7.6.3', '']], 'type': 'raw'}, |
| 1963 |
'telemetry-profile': {'v_range': [['7.6.3', '']], 'type': 'raw'}, |
| 1964 |
'ztna-proxy': {'v_range': [['7.6.3', '']], 'type': 'raw'}, |
| 1965 |
'explicit-web-proxy': {'v_range': [['7.4.8', '7.4.10'], ['7.6.4', '']], 'type': 'raw'}, |
| 1966 |
'internet-service-fortiguard': {'v_range': [['7.6.4', '']], 'type': 'raw'}, |
| 1967 |
'internet-service-src-fortiguard': {'v_range': [['7.6.4', '']], 'type': 'raw'}, |
| 1968 |
'internet-service6-fortiguard': {'v_range': [['7.6.4', '']], 'type': 'raw'}, |
| 1969 |
'internet-service6-src-fortiguard': {'v_range': [['7.6.4', '']], 'type': 'raw'}, |
| 1970 |
'saml-server': {'v_range': [['7.6.4', '']], 'type': 'raw'}, |
| 1971 |
'scim': {'v_range': [['7.6.4', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1972 |
'scim-groups': {'v_range': [['7.6.4', '']], 'type': 'raw'}, |
| 1973 |
'scim-users': {'v_range': [['7.6.4', '']], 'type': 'raw'}, |
| 1974 |
'llm-profile': {'v_range': [['7.6.5', '']], 'type': 'raw'} |
| 1975 |
} |
| 1976 |
} |
| 1977 |
} |
| 1978 |
|
| 1979 |
module_option_spec = get_module_arg_spec('full crud') |
| 1980 |
module_arg_spec.update(module_option_spec) |
| 1981 |
check_galaxy_version(module_arg_spec) |
| 1982 |
module = AnsibleModule(argument_spec=check_parameter_bypass(module_arg_spec, 'pkg_footer_policy'), |
| 1983 |
supports_check_mode=True) |
| 1984 |
if not module._socket_path: |
| 1985 |
module.fail_json(msg='MUST RUN IN HTTPAPI MODE') |
| 1986 |
connection = Connection(module._socket_path) |
| 1987 |
fmgr = NAPIManager('full crud', module_arg_spec, urls_list, |
| 1988 |
'policyid', 'data', module, connection) |
| 1989 |
params_validation_blob = [ |
| 1990 |
{ |
| 1991 |
'attribute_path': ['pkg_footer_policy', 'policyid'], |
| 1992 |
'lambda': 'int($) >= 1073741824', |
| 1993 |
'fail_action': 'warn', |
| 1994 |
'hint_message': 'policyid should be larger than 2^30, i.e. 1073741824, otherwise it will be ignored.' |
| 1995 |
} |
| 1996 |
] |
| 1997 |
|
| 1998 |
fmgr.validate_parameters(params_validation_blob) |
| 1999 |
fmgr.process_crud() |
| 2000 |
module.exit_json(meta=module.params) |
| 2001 |
|
| 2002 |
|
| 2003 |
if __name__ == '__main__': |
| 2004 |
main() |