sophos.sophos_firewall.sfos_authentication_azure module – Manage Authentication settings AzureADSSO
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_azure
.
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 |
---|---|
Aplication Client ID |
|
Client secret |
|
Display name use “upn” Choices:
|
|
e-mail address use “email” Choices:
|
|
Fallback user group auto completed Choices:
|
|
Redirect URI |
|
Identifier type and profile for administrator user type |
|
Name of Server |
|
Directory tenant ID |
|
User type selection Choices:
|
Examples
- name: Update Azure AD SSO
sophos.sophos_firewall.sfos_authentication_azureadsso:
servername: SophosFirewallSSO
applicationid: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx'
tenantid: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx'
redirecturi: sophosfirewall.net
displayname: upn
emailaddress: email
fallbackusergroup: Open Group
usertype: Administrator
rolemapping:
identifiertypeandprofile:
identifiertype:
- groups
- groups
- groups
identifiervalue:
- AAD-SFNetAdministrators
- AAD-SFEEReadOnly
- AAD-SFAudit
profileid:
- Administrator
- ReadOnly
- Audit Admin
state: updated
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Serialized object containing the API response. Returned: always |
Collection links
Warning
If the firewall is a member of a group in Central, the changes made by Ansible will override the settings of the group. The actual configuration on the firewall may then differ from what is displayed for the same setting in the Central group.