umbrella-reporting
get reports from reporting api
Description
Gets the Deployment status within a given timerange.
Installation
Use a virtual environment and install the missing python packages using the command
pip install -r requirements.txt
Configuration
Please enter Org_ID and the Base64 string (echo ':' | base64) into the file .env in the local directory.
Example:
ORG_ID=12345678
BASIC_TOKEN=
Usage
python umbrella.py -f="" -t=""
Time could be a timestamp or relative time string (for example: 'now', '-7days'). Please be consistent with timestamp/relative date and use either of them.
Example:
python umbrella.py -f="-42days" -t "now"
Deployment-Status between -40days and now
Label |
Active |
Count |
Anyconnect Roaming Client |
0 |
1 |
Sites |
0 |
2 |
Roaming Computers |
10 |
13 |
Organization |
0 |
1 |
AD Users |
0 |
23 |
Networks |
1 |
1 |
DevNet Sandbox
does not work with the devnet sandbox at the moment.
How to test the software
Unfortunatly this code does not work with the Devnet Sandbox due to authorization failure.
Please use your own Umbrella instance and credentials
Known issues
-
"From-date" and "To-Date" can be provided on commandline. Unfortunatly negative numbers are treated as an option, so please use a "=" between option and value (-f="-3minutes")
-
It is possible to forward either timestamp or a relative time as a value for the date (to and from). Please be consistent and either use timestamps or relative time for both values.
Getting help
If you have questions, concerns, bug reports, etc., please create an issue against this repository or get in contact with the author.
Getting involved
Please get involved by giving feedback on features, fixing certain bugs, building important pieces, etc.
Author(s)
This project was written and is maintained by the following individuals: