ubika.waap.security_exception_profile (1.0.3) — module

Managed security exceptions

| "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 security exceptions

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Have security exception

  ubika.waap.security_exception_profile:

    credentials:
      host: ubikawaap.local:3001
      username: superadmin
      password: "Denyall@0"
      verify_ssl: false
    name: req_timeout
    header_timeout: "20-50"

Inputs

    
name:
    description:
    - Name of the security exception.
    required: true
    type: str

rules:
    description:
    - List rules of the security exceptions.
    elements: dict
    required: false
    suboptions:
      conditions:
        description:
        - List of the security exception conditions.
        required: false
        suboptions:
          key:
            description:
            - Key of the security exception condition.
            required: false
            type: str
          key_operator:
            description:
            - Key operator of the security exception condition.
            required: false
            type: str
          part:
            description:
            - Part of the security exception condition.
            required: false
            type: str
          value:
            description:
            - Value of the security exception condition.
            required: false
            type: str
          value_operator:
            description:
            - Value operator of the security exception condition.
            required: false
            type: str
        type: list
      description:
        description:
        - Description of the rule.
        required: false
        type: str
      enable:
        default: true
        description:
        - Enable/Disable of the rule.
        required: false
        type: bool
      matching_parts:
        description:
        - List of the security exception matching parts.
        required: false
        suboptions:
          key:
            description:
            - Key of the security exception matching part.
            required: false
            type: str
          key_operator:
            description:
            - Key operator of the security exception matching part.
            required: false
            type: str
          part:
            description:
            - Part of the security exception matching part.
            required: false
            type: str
          value:
            description:
            - Value of the security exception matching part.
            required: false
            type: str
          value_operator:
            description:
            - Value operator of the security exception matching part.
            required: false
            type: str
          value_type:
            description:
            - Value type of the security exception matching part.
            required: false
            type: str
        type: list
      name:
        description:
        - Name of the rule.
        required: true
        type: str
    type: list

state:
    choices:
    - present
    - absent
    default: present
    description:
    - State of the security exception.
    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 security exception.
    required: false
    type: str