https://github.com/timcappalli/cppm-middleware-node
Node middleware for various integrations with Aruba CPPM
https://github.com/timcappalli/cppm-middleware-node
Last synced: 3 months ago
JSON representation
Node middleware for various integrations with Aruba CPPM
- Host: GitHub
- URL: https://github.com/timcappalli/cppm-middleware-node
- Owner: timcappalli
- Created: 2021-01-31T19:09:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-12T03:25:48.000Z (almost 4 years ago)
- Last Synced: 2025-01-22T06:48:08.843Z (5 months ago)
- Language: JavaScript
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CPPM Middleware Node.js
Node middleware for various integrations with Aruba CPPM**Current Version**: 2021.06.11
## Current Use Cases
### CPPM Outbound
* Get CPPM active sessions (`/cppm/session-count`)
* Check if session is active (`/cppm/session-check?field=sessionfieldname&value=sessionfieldvalue`)### CPPM Inbound
* Send Pushover Message w/ rate limiting (`/pushover/send-message`)
* Update Home Assistant presence (`/hass/presence-update`)## ENVs
`CPPM_FQDN`: REQUIRED, string, CPPM FQDN`CPPM_CLIENT_ID`: REQUIRED, string, CPPM OAuth client ID
`CPPM_CLIENT_SECRET`: REQUIRED, string, CPPM OAuth client secret
`HASS_TOKEN`: REQUIRED, string, Home Assistant Token (JWT)
`HASS_FQDN`: REQUIRED, string, Home Assistant FQDN
`APP_USERNAME`: Optional, string, username for HTTP Basic Auth (auth enabled when both username and password are set)
`APP_PASSWORD`: Optional, string, password for HTTP Basic Auth (auth enabled when both username and password are set)
`APP_DEBUG`: Optional, boolean, Default: false
`APP_PORT`: Optional, integer, Default: 5031