This release is a pre-release and may not be stable for production use.
Prisma Get Info
Requirements
- Panorama with
cloud_servicesplugin v1.8 or higher (Prisma Access) - Python >=3.7 (may work on lower)
- Python modules:
- pan-python >= 0.16.0 -
- tabulate >= 0.8.7 - https://github.com/astanin/python-tabulate
- xmltodict
License
MIT
Installation:
- Via PIP:
pip install --upgrade prisma_get_info - Via download: Clone/Download, and from the directory run
./get_prisma_spn.py
Usage:
Run prisma_get_spn or prisma_get.spn.py depending on how downloaded/installed.
edwards-mbp-pro:prisma_get_info aaron$ prisma_get_spn
Panorama Hostname: panorama-test.mydomain.org
Panorama Username: aaron
Panorama Password:
us-east us-southwest
------------------ ----------------------
us-east-clementine us-southwest-kumarahou
us-southwest-poplar
edwards-mbp-pro:prisma_get_info aaron$
Can also use --output-json-file command line switch to save output as JSON file:
{
"us-east": [
"us-east-clementine"
],
"us-southwest": [
"us-southwest-kumarahou",
"us-southwest-poplar"
]
}
Full options available when run with --help.
Version
| Version | Changes |
|---|---|
| 1.0.1 | Initial Release. |
Arguments
edwards-mbp-pro:prisma_get_info aaron$ prisma_get_spn --help
usage: prisma_get_spn [-h] [--host HOST] [--user USER] [--pass PASS] [--panorama-api-key PANORAMA_API_KEY]
[--tenant TENANT] [--output-json-file OUTPUT_JSON_FILE]
Prisma get Info (managed by Panorama).
optional arguments:
-h, --help show this help message and exit
API:
These options change how this program connects to the API.
--host HOST Panorama hostname or IP (or ENV var PANORAMA_HOST). If not entered, will prompt.
--user USER Panorama username (or ENV var PANORAMA_USERNAME). If not entered, will prompt.
--pass PASS Panorama password (or ENV var PANORAMA_PASSWORD). If not entered, will prompt.
--panorama-api-key PANORAMA_API_KEY
Authenticate with Panorama API KEY instead of username/password.
--tenant TENANT Tenant name (if multi-tenancy is enabled.)
Output:
These options change how the output is generated.
--output-json-file OUTPUT_JSON_FILE
Output as JSON to this specified file name
edwards-mbp-pro:prisma_get_info aaron$
Metadata
Release files for prisma-get-info 1.0.1b1
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 |
|---|---|---|---|---|
| prisma_get_info-1.0.1b1.tar.gz | 12.6 kB | Without provenance | Details for prisma_get_info-1.0.1b1.tar.gz |
Release files / prisma_get_info-1.0.1b1.tar.gz
| Download URL | prisma_get_info-1.0.1b1.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40d8eb34ffaa7d355f8f2752f26eb8846361c40b86e39da8260152f58976f660
|
|
BLAKE2b-256 checksum How to use checksums |
b1d3fbfaacae7df0ea406a014aa44ef398f8c33369e7a8c14f3b26d8081b95af
|
| 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/51.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.7
|
Security for prisma-get-info 1.0.1b1
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.