Skip to main content

Mass-change operations (like CoA) for Cisco ISE or ISE-related NAD's

Project description

isemass

isemass is a Python CLI for mass operations related to Cisco ISE.

Current routines include:

  • coa: Perform CoA (Change-of-Authority) for multiple MAC addresses from an input text file, using Cisco ISE Monitoring Open API
  • swauth: Reauthenticate ISE sessions from NAD's directly (NOT IMPLEMENTED YET)

Requirements

This should work on Windows, MacOS, and Linux.

How to Install

You can use pip or pipx, but the preferred is to use uv. First, install uv on your system:

https://docs.astral.sh/uv/getting-started/installation/

Then install the tool simply with:

uv tool install isemass

Next, optionally, you can initialize the settings.toml file which can be used to set configuration for the tool:

isemass init

(This is optional, as the tool will run with all CLI arguments, if you prefer)

Configuration Order

The tool with take priority of configuration inputs is this order:

  1. CLI arguments
  2. settings.toml values (if set)
  3. Backend defaults (set in defaults.py)

How to Use (coa)

First, you can see help for all options:

isemass coa --help

Here is a typical example of using the CoA routine:

isemass coa --input-file macs.txt --host ise-mnt.example.com --node ise-psn01

Notable mandatory fields are:

  • input-file: This input file contains MAC address in any cleaned or uncleaned text format. The tool will parse and find all MAC addresses automatically.
  • host: The main URL host to perform the Monitoring API. This is typically the MnT node. Use FQDN or IP.
  • node: The PSN node to run the CoA from. This can be any PSN node in the environment. Use short node name only (not FQDN or IP)

Also: to perform operations using the Monitoring APIs, the users must be assigned to one of the following Admin Groups and must be authenticated against the credentials stored in the Cisco ISE internal database (internal admin users):

  • Super Admin
  • System Admin
  • MnT Admin

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

isemass-0.3.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

isemass-0.3.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file isemass-0.3.0.tar.gz.

File metadata

  • Download URL: isemass-0.3.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for isemass-0.3.0.tar.gz
Algorithm Hash digest
SHA256 672c751a74465e559faaa3e1db55476bf100c639d98c4ab348ce524e4e14fc0f
MD5 1e24dad843b592f233911d4fa382f83c
BLAKE2b-256 a28e9f5554e93a3f8983fc5d57e05651cce3ecf4f9c6fd1d52175bd0a0abcfb9

See more details on using hashes here.

File details

Details for the file isemass-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: isemass-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for isemass-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd527d6719311d8d4fe3992a4d390332ce5602db437622566fbf8e1969a05565
MD5 7ff5b1b026bfc8914bab00d6e527aad2
BLAKE2b-256 d3b49fc8fdff1bf49c33f37637fb5099f64658ca3766284d61bf321c1a7dea40

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page