Cloudgenix Get Prisma
Requirements
- Active CloudGenix Account
- Python >=3.7 (may work on lower)
- Python modules:
- cloudgenix >= 5.4.1b1 - https://github.com/CloudGenix/sdk-python
- cloudgenix_idname >= 2.0.1 - https://github.com/ebob9/cloudgenix-idname
- tabulate == 0.8.7 - https://github.com/astanin/python-tabulate
License
MIT
Installation:
- Via PIP:
pip install --upgrade cloudgenix_get_prisma - Via download: Clone/Download, and from the directory run
./get_prisma_servicelinks.py
Usage:
To authenticate, set AUTH_TOKEN in an environment variable
export AUTH_TOKEN="<Your AUTH_TOKEN text here>"
Otherwise, script will prompt you for username/password or SAML2 login info and log in interactively.
Once authenticated, if no arguments - will print table:
edwards-mbp-pro:cloudgenix_get_prisma aaron$ get_prisma_servicelinks
Site Element Interface Element Online Admin State Operational State Extended State Prisma Remote On-boarding Parent Interface
-------- --------------- ------------------------------------ ---------------- ------------- ------------------- ---------------- --------------------------- ------------------
Branch 3 Branch 3 ION 3K AUTO-PRISMA_IPSEC-Tunnel_us-west-1_1 Online True up tunnel_up AUTO-CGX_ecmp-3 1
Branch 3 Branch 3 ION 3K AUTO-PRISMA_IPSEC-Tunnel_us-west-1_4 Online True up tunnel_up AUTO-CGX_ecmp-3 4
Branch 2 Branch 2 ION 3K AUTO-PRISMA_IPSEC-Tunnel_us-east-1_1 Online True up tunnel_up AUTO-CGX_ecmp-2 1
Branch 2 Branch 2 ION 3K AUTO-PRISMA_IPSEC-Tunnel_us-east-1_4 Online True up tunnel_up AUTO-CGX_ecmp-2 4
Branch 1 Branch 1 ION 3K AUTO-PRISMA_IPSEC-Tunnel_us-east-1_1 Online True up tunnel_up AUTO-CGX_remotenet-1 1
edwards-mbp-pro:cloudgenix_get_prisma aaron$
Can also use --csv-output-file command line switch to save output as CSV.
Full options available when run with --help.
Version
| Version | Changes |
|---|---|
| 1.0.3 | Added ability to specify PRISMA_API_KEY via cmdline or ENV_VAR and return tunnel endpoints. |
| 1.0.2 | Marked Statuses "Unknwon_Offline" that are stale when devices are offline. |
| 1.0.1 | Initial Release. |
Metadata
Release files for cloudgenix-get-prisma 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cloudgenix_get_prisma-1.0.3.tar.gz | 12.8 kB | Without provenance | Details for cloudgenix_get_prisma-1.0.3.tar.gz |
Release files / cloudgenix_get_prisma-1.0.3.tar.gz
| Download URL | cloudgenix_get_prisma-1.0.3.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac080add71eecdd7bc9ec5e797dcfe338f7bc77fb19fbff2bf660d0bb95c308e
|
|
BLAKE2b-256 checksum How to use checksums |
feed9efae0a021bb2e3dedb647c11855befd7adb7d6231b5dd0e4879f0466df1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4
|
Security for cloudgenix-get-prisma 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.