stormshield.sns.sns_url role – URL configuration

Note

This role is part of the stormshield.sns collection (version 1.0.1).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install stormshield.sns.

To use it in a playbook, specify: stormshield.sns.sns_url.

Entry point main – URL configuration

Synopsis

  • This role configures URL/CN filtering on Stormshield Network Security appliances.

Parameters

Parameter

Comments

base

string

Choose between cloud or embedded database.

Choices:

  • "cloud"

  • "embedded"

blockpages

list / elements=dictionary

Upload the HTML files for block pages.

file

string

File path of the template to upload

index

integer

Index 0 to 4

name

string

Page name

cncategorygroups

list / elements=dictionary

List of cn category groups

comment

string

Comment

members

list / elements=string

List of CN groups

mode

string

Object add mode

Choices:

  • "add"

  • "reset" ← (default)

  • "del"

name

string

Category group

cngroups

list / elements=dictionary

List of CN groups

cns

list / elements=dictionary

List of CN

cn

string

Common name

comment

string

Comment

comment

string

Comment

mode

string

Object add mode

Choices:

  • "add"

  • "reset" ← (default)

  • "del"

name

string

url group name

sslfiltering

list / elements=dictionary

Define the SSL filtering slots and rules

comment

string

Slot comment

index

integer / required

Slot number

mode

string

Object add mode

Choices:

  • "add"

  • "reset" ← (default)

  • "del"

name

string

Slot name

rules

list / elements=dictionary

SSL filtering rules

action

string

Rule action

Choices:

  • "decrypt"

  • "nodecrypt"

  • "block"

  • "blockpage0"

  • "blockpage1"

  • "blockpage2"

  • "blockpage3"

cngroup

string

<cngroup object|cncategory group object>

comment

string

Rule comment

ruleid

integer

Rule id

state

string

Rule state

Choices:

  • "on"

  • "off"

state

string

If set to `absent`, deletes the objects.

urlcategorygroups

list / elements=dictionary

List of url category groups

comment

string

Comment

members

list / elements=string

List of url groups

mode

string

Object add mode

Choices:

  • "add"

  • "reset" ← (default)

  • "del"

name

string

Category group

urlfiltering

list / elements=dictionary

Define the URL filtering slots and rules.

comment

string

Slot comment

index

integer / required

Slot number

mode

string

Object add mode

Choices:

  • "add"

  • "reset" ← (default)

  • "del"

name

string

Slot name

rules

list / elements=dictionary

URL filtering rules

action

string

Rule action

Choices:

  • "pass"

  • "block"

  • "blockpage0"

  • "blockpage1"

  • "blockpage2"

  • "blockpage3"

comment

string

Rule comment

ruleid

integer

Rule id

state

string

Rule state

Choices:

  • "on"

  • "off"

urlgroup

string

<urlgroup object|urlcategory group object>

urlgroups

list / elements=dictionary

List of url groups

comment

string

Object comment

mode

string

Object add mode

Choices:

  • "add"

  • "reset" ← (default)

  • "del"

name

string

url group name

urls

list / elements=dictionary

List of urls

comment

string

Comment

url

string

url