ubika.waap.icx_rule (1.0.3) — module

Manage icx configuration rules

| "added in version" 1.0.0 of ubika.waap"

Authors: UBIKA team (@ubika_team)

Install collection

Install with ansible-galaxy collection install ubika.waap:==1.0.3


Add to requirements.yml

  collections:
    - name: ubika.waap
      version: 1.0.3

Description

Manage Manage icx configuration rules.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Have test ICX configuration rules

  ubika.waap.icx:

    credentials:
      host: ubikawaap.local:3001
      password: Denyall@0
      username: superadmin
      verify_ssl: false
    name: test
    description: "ICX configuration description rules"

Inputs

    
name:
    description:
    - Name of the ICX configuration rules.
    required: true
    type: str

match:
    choices:
    - any
    - all
    - full
    default: any
    description:
    - Match of rule
    type: str

scope:
    choices:
    - pattern
    - field
    - request
    default: pattern
    description:
    - Scope of rule
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - State of the ICX configuration.
    type: str

action:
    choices:
    - ACCEPT
    - BLOCK
    default: ACCEPT
    description:
    - Action of rule
    type: str

enable:
    default: true
    description:
    - Enable of rule
    required: false
    type: bool

filters:
    description:
    - filters list
    elements: dict
    required: false
    suboptions:
      key:
        description:
        - Key of filter
        required: false
        type: str
      key_condition:
        choices:
        - match
        - not_match
        default: match
        description:
        - key_condition of filter
        type: str
      key_type:
        choices:
        - contain
        - is
        - begin_with
        - end_with
        - regexp
        - pattern
        default: contain
        description:
        - key_type of filter
        type: str
      name:
        choices:
        - ipsrc
        - hostname
        - ipdst
        - portdst
        - protocol
        - method
        - query
        - hdr
        - uri
        - cookie
        - get_var
        - post_var
        - xml_var
        default: ipsrc
        description:
        - Name of filter
        type: str
      value:
        description:
        - value of filter
        required: false
        type: str
      value_condition:
        choices:
        - match
        - not_match
        default: match
        description:
        - valueCondition of filter
        type: str
      value_type:
        choices:
        - contain
        - is
        - begin_with
        - end_with
        - regexp
        - pattern
        default: contain
        description:
        - value_type of filter
        type: str
    type: list

icx_uid:
    description:
    - Uid of the ICX configuration.
    required: true
    type: str

credentials:
    description:
    - Credentials for UBIKA WAAP Gateway
    required: true
    suboptions:
      host:
        description:
        - UBIKA WAAP Gateway host
        required: true
        type: str
      password:
        description:
        - Administrator password
        required: true
        type: str
      username:
        description:
        - Administrator user name
        required: true
        type: str
      verify_ssl:
        default: true
        description:
        - Set to false to disable SSL verification
        type: bool
    type: dict

description:
    description:
    - Description of the ICX configuration rules.
    required: false
    type: str

category_uid:
    description:
    - Uid of the ICX category.
    required: true
    type: str