sophos.sophos_firewall.sfos_authentication_radius module – Manage Authentication settings Radius

Note

This module is part of the sophos.sophos_firewall collection (version 2.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 sophos.sophos_firewall. You need further requirements to be able to use this module, see Requirements for details.

To use it in a playbook, specify: sophos.sophos_firewall.sfos_authentication_radius.

New in sophos.sophos_firewall 1.3.0

Synopsis

  • Manage authentication servers (Configure > Authentication > Servers> Add) on Sophos Firewall

Requirements

The below requirements are needed on the host that executes this module.

  • sophosfirewall-python

  • Beginning in version 2.0.0, this module requires use of an httpapi connection plugin. See the HTTPAPI example for details.

Parameters

Parameter

Comments

AccountingPort

string

port number”

Attributes

string

User type selection

Choices:

  • "user"

  • "administrator"

NAS-Identifier

string

NAS-Port-Type

string

DomainName

string

e-mail address use “email”

EnableAccounting

string

enable accounting

Choices:

  • "Enable"

  • "None"

GroupNameAttribute

string

Redirect URI

port

string

Directory tenant ID

serverAddress

string

Server IP Address

servername

string

Name of Server

SharedSecret

string

Client secret

state

string / required

Use query to retrieve, updated to create, absent to remove, or updated to modify

Choices:

  • "absent"

  • "updated"

  • "query"

Timeout

string

Display name use “upn”

Examples

- name: Update Azure AD SSO
  sophos.sophos_firewall.sfos_authentication_radius:
    servername: Test
    serveraddress: '192.168.0.1'
    port_radius: '1812'
    sharedsecret: sophosfirewall
    groupnameattribute: upn
    timeout: 3
    domainname: sophos.com
    enableaccounting: Enable
    attributes:
        nas_identifier: test
        nas_port_type: 0
    accountingport: 4444
    state: updated

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

api_response

dictionary

Serialized object containing the API response.

Returned: always

Authors

  • Matt Mullen (@mamullen13316)

  • Philip Finucane (@philfinucane)