cisco.ise.authorizationprofile module – Resource module for Authorizationprofile
Note
This module is part of the cisco.ise collection (version 3.0.0).
To install it, use: ansible-galaxy collection install cisco.ise.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: cisco.ise.authorizationprofile.
New in cisco.ise 1.0.0
Synopsis
Manage operation create of the resource Authorizationprofile.
Note
This module has a corresponding action plugin.
Requirements
The below requirements are needed on the host that executes this module.
ciscoisesdk >= 2.0.1
python >= 3.5
Parameters
Parameter |
Comments |
|---|---|
Allowed Values ACCESS_ACCEPT, ACCESS_REJECT. |
|
Authorizationprofile’s acl. |
|
Authorizationprofile’s advancedAttributes. |
|
Authorizationprofile’s leftHandSideDictionaryAttribue. |
|
Attribute name. |
|
Dictionary name. |
|
Attribute value can be of type AttributeValue or AdvancedDictionaryAttribute. For AttributeValue the value is String, For AdvancedDictionaryAttribute the value is dictionaryName and attributeName properties, for RADIUS Dictionary with attribute name starting with ‘Tunnel-’ there is also tagID property which is a number between 0-31. |
|
Authorizationprofile’s agentlessPosture. |
|
Authorizationprofile’s airespaceACL. |
|
Authorizationprofile’s airespaceIPv6ACL. |
|
Authorizationprofile’s asaVpn. |
|
Allowed Values SWITCH, TRUSTSEC, TACACS. SWITCH is used for Standard Authorization Profiles. Only SWITCH is supported. |
|
Authorizationprofile’s autoSmartPort. |
|
Authorizationprofile’s avcProfile. |
|
Authorizationprofile’s daclName. |
|
Description. |
|
Authorizationprofile’s easywiredSessionCandidate. |
|
Id. |
|
Authorizationprofile’s interfaceTemplate. |
|
Authorizationprofile’s ipv6ACLFilter. |
|
Authorizationprofile’s ipv6DaclName. |
|
Flag for Identity Services Engine SDK to enable debugging. Choices: |
|
The Identity Services Engine hostname. |
|
The Identity Services Engine password to authenticate. |
|
Timeout (in seconds) for RESTful HTTP requests. Default: :ansible-option-default:`60` |
|
The Identity Services Engine username to authenticate. |
|
Flag that informs the SDK whether to use the Identity Services Engine’s API Gateway to send requests. If it is true, it uses the ISE’s API Gateway and sends requests to https://{{ise_hostname}}. If it is false, it sends the requests to https://{{ise_hostname}}:{{port}}, where the port value depends on the Service used (ERS, Mnt, UI, PxGrid). Choices: |
|
Flag that informs the SDK whether we send the CSRF token to ISE’s ERS APIs. If it is True, the SDK assumes that your ISE CSRF Check is enabled. If it is True, it assumes you need the SDK to manage the CSRF token automatically for you. Choices: |
|
Flag to enable or disable SSL certificate verification. Choices: |
|
Informs the SDK which version of Identity Services Engine to use. |
|
Flag for Identity Services Engine SDK to enable automatic rate-limit handling. Choices: |
|
Allowed Values MUST_SECURE, MUST_NOT_SECURE, SHOULD_SECURE. |
|
Name. |
|
Authorizationprofile’s neat. |
|
Value needs to be an existing Network Device Profile. |
|
Authorizationprofile’s reauth. |
|
The name of the attribute within the dictionary containing the value. Value should be date based in ISO 8601 form with timezone offset. For example, 2035-12-31T23 59 59-08 00. |
|
Allowed Values DEFAULT, RADIUS_REQUEST. |
|
The name of the dictionary containing the attribute. |
|
Allowed Values TIMER, EXPIRATION_DATE. Specifies the type of reauthentication. TIMER is used for time-based reauthentication, while EXPIRATION_DATE is used for dynamic date-based reauthentication. |
|
Specifies the reauthentication timer in seconds. Valid range is 1-1073741823. |
|
Authorizationprofile’s serviceTemplate. |
|
Authorizationprofile’s trackMovement. |
|
Authorizationprofile’s uniqueIdentifier. |
|
Authorizationprofile’s vlan. |
|
Authorizationprofile’s nameID. |
|
Valid range is 0-31. |
|
Authorizationprofile’s voiceDomainPermission. |
|
Authorizationprofile’s webAuth. |
|
Authorizationprofile’s webRedirection. |
|
Authorizationprofile’s ACL. |
|
The displayCertificatesRenewalMessages is mandatory when ‘WebRedirectionType’ value is ‘CentralizedWebAuth’. For all other ‘WebRedirectionType’ values the field must be ignored. Choices: |
|
A portal that exist in the DB and fits the WebRedirectionType. |
|
Authorizationprofile’s staticIPHostNameFQDN. |
|
Value MUST be one of the following CentralizedWebAuth, HotSpot, NativeSupplicanProvisioning, ClientProvisioning. The WebRedirectionType must fit the portalName. |
Notes
Note
SDK Method used are authorizationprofile.Authorizationprofile.create_authorizationprofile,
Paths used are post /authorizationprofile/,
Does not support
check_modeThe plugin runs on the control node and does not use any ansible connection plugins, but instead the embedded connection manager from Cisco ISE SDK
The parameters starting with ise_ are used by the Cisco ISE Python SDK to establish the connection
Examples
---
- name: Create
cisco.ise.authorizationprofile:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
accessType: ACCESS_ACCEPT
acl: aclfilter
advancedAttributes:
- leftHandSideDictionaryAttribue:
AdvancedAttributeValueType: AdvancedDictionaryAttribute
attributeName: cisco-call-filter
dictionaryName: Cisco
rightHandSideAttribueValue:
AdvancedAttributeValueType: AttributeValue
value: '23'
agentlessPosture: false
airespaceACL: ACL
airespaceIPv6ACL: ACL6
asaVpn: Cisco:cisco-call-type
authzProfileType: SWITCH
autoSmartPort: autoSmartPort
avcProfile: avcProfile
daclName: PERMIT_ALL_IPV4_TRAFFIC
description: description
easywiredSessionCandidate: false
id: f75760e7-a4f9-40ef-93bb-88a97e9fb171
interfaceTemplate: interfaceTemplate
ipv6ACLFilter: ipv6ACLFilter
ipv6DaclName: PERMIT_ALL_IPV6_TRAFFIC
macSecPolicy: MUST_SECURE
name: name
neat: false
profileName: Cisco
reauth:
connectivity: RADIUS_REQUEST
reauthType: TIMER
timer: 1800
serviceTemplate: false
trackMovement: false
uniqueIdentifier: CERTIFICATE:Subject Alternative Name - URI
vlan:
nameID: vlanName
tagID: 1
voiceDomainPermission: false
webAuth: false
webRedirection:
WebRedirectionType: CentralizedWebAuth
acl: acl
displayCertificatesRenewalMessages: true
portalName: Sponsored Guest Portal (default)
staticIPHostNameFQDN: 10.56.54.200
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
A dictionary or list with the response returned by the Cisco ISE Python SDK Returned: always |
Authors
Rafael Campos (@racampos)