Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Prisma Get Info

Requirements

  • Panorama with cloud_services plugin v1.8 or higher (Prisma Access)
  • Python >=3.7 (may work on lower)
  • Python modules:

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)

Source distribution for prisma-get-info 1.0.1b1
File Size Uploaded
prisma_get_info-1.0.1b1.tar.gz 12.6 kB Details

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

Release history Release notifications | RSS feed

This release

1.0.1b1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page