Cisco ISE (Identity Services Engine) is THE policy engine for your network. It provides many (many) different services that are all required to meet today's user expectations while protecting the organization from threats:
While Cisco ISE's richness of features and capabilities is highly appreciated by networking and security experts, endpoint technicians and helpdesk representatives prefer a simpler, limited GUI for their day-to-day tasks.
A specific capability asked by endpoint teams is the concept of a "voucher": a time-limited access token, given to a specific endpoint in order to grant immediate network access (while bypassing security checks) for a distressed user, allowing the technicians to remediate gaps in the endpoint's posture later.
Using Cisco ISE's open APIs, primarily ERS (External RESTful Services), we have created "Vanilla ISE": a simple UI for endpoint technicians and helpdesk representatives.
List the network access devices configured on ISE.
Switch view provides a graphical representation of the switch. Which ports are up/down, authenticated or unauthenticated. Clicking a port will provide more details about the endpoint behind the port (similar to device query - but shorter response time).
The switch view enables new capabilities:
clear authentication session interface <interface>
command on the interface, clearing existing authentication sessions (quicker and less disruptive than shut/no shut)Query a network device for current authentication sessions.
Query a specific endpoint for details (status, NAD's IP and interface, authentication mechanism, username, and failure reason - if failed)
Grant and revoke network access "vouchers".
Vanilla ISE now requires authentication. Use the your ISE credentials to authenticate to Vanilla ISE.
Auditing: Vanilla ISE will keep track of the users creating and revoking vouchers, as well as send audit messages to a syslog server configured in the environment variables.
More information about pyATS is available at: https://developer.cisco.com/pyats/
There are several options for running vanilla ISE:
The ISE REST APIs (AKA External RESTful Services or ERS) are disabled by default for security. You must enable it:
Note: its good practice to disable CSRF to make sure you are able to authenticate successfully.
Reference to official documentation
I recommend running Vanilla ISE in a Python virtual environment. This will help keep your host system clean and allow you to have multiple environments to try new things. If you are not using a virtual environment, start at the download/clone step below.
You will also need Python 3 and venv installed on your host system.
In your project directory, create your virtual environment
python3 -m venv env
Activate the new virtual environment:
source env/bin/activate
Download or clone the Vanilla ISE repository:
git clone https://github.com/obrigg/Vanilla-ISE.git
Install the required packages
cd Vanilla-ISE
pip install -r requirements.txt
export ISE_IP= <ISE hostname/IP>
export ISE_USER= <ISE username>
export ISE_PASSWORD= <ISE password>
export SYSLOG_SERVER= <Syslog server IP, for auditing>
export SWITCH_USER= <username for network devices>
export SWITCH_PASS= <password for network devices>
export SWITCH_ENABLE= <enable password for network devices>
Edit the env/bin/activate file with nano/vi/other editor
nano env/bin/activate
Add the following lines to the file, to make the environment variables persist for multiple activations of the environment.
export ISE_IP= <ISE hostname/IP>
export ISE_USER= <ISE username>
export ISE_PASSWORD= <ISE password>
export SYSLOG_SERVER= <Syslog server IP, for auditing>
export SWITCH_USER= <username for network devices>
export SWITCH_PASS= <password for network devices>
export SWITCH_ENABLE= <enable password for network devices>
python app.py
ISE_IP= <ISE hostname/IP>
ISE_USER= <ISE username>
ISE_PASSWORD= <ISE password>
SYSLOG_SERVER= <Syslog server IP, for auditing>
SWITCH_USER= <username for network devices>
SWITCH_PASS= <password for network devices>
SWITCH_ENABLE= <enable password for network devices>
docker run -d --env-file <path to env file> -p 5000:5000 -v <path to data dir>:/Vanilla-ISE/data obrigg/vanilla-ise
docker run -ti --env-file <path to env file> -p 5000:5000 -v <path to data dir>:/Vanilla-ISE/data obrigg/vanilla-ise
docker-compose.yaml
file (sample in repo)version: '3'
services:
vanilla-ise:
image: obrigg/vanilla-ise
container_name: vanilla-ise
environment:
- ISE_IP= <ISE hostname/IP>
- ISE_USER= <ISE username>
- ISE_PASSWORD= <ISE password>
- SYSLOG_SERVER= <Syslog server IP, for auditing>
- SWITCH_USER= <username for network devices>
- SWITCH_PASS= <password for network devices>
- SWITCH_ENABLE= <enable password for network devices>
volumes:
- <path to data dir>:/Vanilla-ISE/data
ports:
- 5000:5000
docker-compose up -d
You can access the Vanilla ISE GUI at http://<host ip>:5000
using your ISE username/password to login.
Copyright (c) 2021 Cisco and/or its affiliates.
This software is licensed to you under the terms of the Cisco Sample Code License, Version 1.1 (the "License"). You may obtain a copy of the License at
https://developer.cisco.com/docs/licenses
All use of the material herein must be in accordance with the terms of the License. All rights not expressly granted by the License are reserved. Unless required by applicable law or agreed to separately in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.