cisco.ise.network_access_authentication_rules_info – Information module for Network Access Authentication Rules

Note

This plugin is part of the cisco.ise collection (version 0.0.9).

To install it use: ansible-galaxy collection install cisco.ise.

To use it in a playbook, specify: cisco.ise.network_access_authentication_rules_info.

New in version 1.0.0: of cisco.ise

Synopsis

  • Get all Network Access Authentication Rules.

  • Get Network Access Authentication Rules by id.

Note

This module has a corresponding action plugin.

Requirements

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

  • ciscoisesdk

Parameters

Parameter Choices/Defaults Comments
id
string
Id path parameter. Rule id.
policyId
string
PolicyId path parameter. Policy id.

See Also

See also

cisco.ise.plugins.module_utils.definitions.network_access_authentication_rules

The official documentation on the cisco.ise.plugins.module_utils.definitions.network_access_authentication_rules module.

Network Access Authentication Rules reference

Complete reference of the Network Access Authentication Rules object model.

Examples

- name: Get all Network Access Authentication Rules
  cisco.ise.network_access_authentication_rules_info:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    policyId: string
  register: result

- name: Get Network Access Authentication Rules by id
  cisco.ise.network_access_authentication_rules_info:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    policyId: string
    id: string
  register: result

Return Values

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

Key Returned Description
ise_response
dictionary
always
A dictionary or list with the response returned by the Cisco ISE Python SDK

Sample:
{ "rule": { "id": "string", "name": "string", "description": "string", "hitCounts": 0, "rank": 0, "state": "string", "default": true, "condition": { "conditionType": "string", "isNegate": true, "name": "string", "id": "string", "description": "string", "dictionaryName": "string", "attributeName": "string", "attributeId": "string", "operator": "string", "dictionaryValue": "string", "attributeValue": "string", "children": [ { "conditionType": "string", "isNegate": true } ], "hoursRange": { "startTime": "string", "endTime": "string" }, "hoursRangeException": { "startTime": "string", "endTime": "string" }, "weekDays": [ "string" ], "weekDaysException": [ "string" ], "datesRange": { "startDate": "string", "endDate": "string" }, "datesRangeException": { "startDate": "string", "endDate": "string" } } }, "identitySourceId": "string", "ifAuthFail": "string", "ifUserNotFound": "string", "ifProcessFail": "string" }


Authors

  • Rafael Campos (@racampos)