Giter Club home page Giter Club logo

pcs-where-is's Introduction

Prisma Cloud Tenant Locator Script

Description

The pcs-where-is.py script uses the Prisma Cloud Support API to search for a tenant by Customer Name across stacks.

Requirements

  • An Access Key generated by a "LIGHT AGENT" Support User in each stack to inspect.

Install

Run the following command to install the dependencies

pip3 install -r requirements.txt

Usage

Copy config.py.orig to config.py and edit it to include your access keys.

The config.py configuration file must exist in the curent working directory of the script.

Use -h to review all command-line parameters.

Example

tkishel ~ pcs-where-is.py example
Checking: APP, APP2, APP3, APP4, APPEU, APP2EU

example found on API2 as Example Customer
	Customer ID:   12345
	Serial Number: 234567890
	Tenant ID:     3456790123456789
	Renewal Date:  2022-04-16 23:59:59
	Prisma ID:     4567890123456789
	Eval:          True
	Active:        True
	Credits:       10200
	Used Credits:  10200

pcs-where-is's People

Contributors

tkishel avatar sgordon46 avatar lsmithpanw avatar turbodog avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.