All Projects → PaloAltoNetworks → pcs-postman

PaloAltoNetworks / pcs-postman

Licence: ISC license
Postman collections for Prisma Cloud

Projects that are alternatives of or similar to pcs-postman

postman-to-k6
Converts Postman collections to k6 script code
Stars: ✭ 269 (+540.48%)
Mutual labels:  postman
PostmanCollection
PlayFab Postman Collection
Stars: ✭ 32 (-23.81%)
Mutual labels:  postman
phdevsdir
WIP: A Directory app for web devs in Port Harcourt, Nigeria. Built with React and Express
Stars: ✭ 14 (-66.67%)
Mutual labels:  postman
reky
Reky is an opensource API development platform. It automatically visualizes API response with outstanding graphs & tables.
Stars: ✭ 22 (-47.62%)
Mutual labels:  postman
postman-runtime
www.postman.com/downloads
Stars: ✭ 160 (+280.95%)
Mutual labels:  postman
httpyac
Command Line Interface for *.http and *.rest files. Connect with http, gRPC, WebSocket and MQTT
Stars: ✭ 103 (+145.24%)
Mutual labels:  postman
education
Knowledge base of OmiSoft.net
Stars: ✭ 18 (-57.14%)
Mutual labels:  postman
postpython
Postman collection runner library for python
Stars: ✭ 44 (+4.76%)
Mutual labels:  postman
postman-webex
Postman collections for Webex REST APIs
Stars: ✭ 97 (+130.95%)
Mutual labels:  postman
mapi-action
🤖 Run a Mayhem for API scan in GitHub Actions
Stars: ✭ 16 (-61.9%)
Mutual labels:  postman
laravel-api
A repository containing a starter kit that can help you develop api in your Laravel applications.
Stars: ✭ 25 (-40.48%)
Mutual labels:  postman
jersey-jwt-springsecurity
Example of REST API with JWT authentication using Spring Boot, Spring Security, Jersey and Jackson.
Stars: ✭ 44 (+4.76%)
Mutual labels:  postman
postman-to-markdown
Generate documentation in markdown from postman documentation.
Stars: ✭ 30 (-28.57%)
Mutual labels:  postman
node-server-template
This is Node.js server tidy template / boilerplate with Express (with asyncified handlers, custom error handler) framework and MongoDb. The server use ES6 and above. On different branches you can see different techniques' and technologies' usage, such as Kafka, nodemailer, file download... You also can find postman collections.
Stars: ✭ 116 (+176.19%)
Mutual labels:  postman
my-demo
Demo Application for Dubbo, Mycat, Sharding-Proxy, Seata, SkyWalking, PinPoint, ZipKin, Docker, Kubernetes, Istio, Postman/Newman, FitNesse
Stars: ✭ 37 (-11.9%)
Mutual labels:  postman
Newman-to-Slack
Runs a Newman test script and outputs the summary to a Slack webhook
Stars: ✭ 26 (-38.1%)
Mutual labels:  postman
awesome-newman-html-template
😎 A newman html report very detailed
Stars: ✭ 63 (+50%)
Mutual labels:  postman
postman-collections
Postman collections for HERE REST APIs.
Stars: ✭ 127 (+202.38%)
Mutual labels:  postman
restler
Restler is a beautiful and powerful Android app for quickly testing REST API anywhere and anytime.
Stars: ✭ 120 (+185.71%)
Mutual labels:  postman
media-api-samples
Sample Code | Media APIs | Dolby.io
Stars: ✭ 20 (-52.38%)
Mutual labels:  postman

Instructions on how to setup the Postman Collections and Environments relating to Prisma Cloud (including Compute Console) API requests

To use these Collections and Environment, there are a few setup pieces after importing the 4 files into Postman:

  1. Import the 4 files in root of this repo (3 Collections and 1 Environment) into Postman.

1

2

3

  1. Set some Postman Environment variables. You will need to set:
    1. api-endpoint
    2. compute-api-endpoint
    3. aporeto-api-enpoint
    4. namespace
    5. ACCESS_KEY
    6. SECRET_KEY 1

2

3

  1. To get the address/URL for your Console, go to Compute > Manage > System > Utilities, and copy the string under Path to Console The URL should look something like this: https://us-east1.cloud.twistlock.com/us-1-123456789

    1. You will be replacing the compute-api-endpoint variable
  2. To get the address/URL for your Microsegmentation, click on the key icon at the bottom of any page on *Cloud Network Security The URL should look something like this: https://api.east-01.network.prismacloud.io

    1. You will be replacing the aporeto-api-endpoint variable
  3. Depending on what Admin console you see when you log in will determine which API Endpoint you will use.

    1. The corresponding value below will replace the api-endpoint variable.
Prisma Cloud Admin Console Prisma Cloud API Endpoint
https://app.prismacloud.io https://api.prismacloud.io
https://app2.prismacloud.io https://api2.prismacloud.io
https://app3.prismacloud.io https://api3.prismacloud.io
https://app4.prismacloud.io https://api4.prismacloud.io
https://app.anz.prismacloud.io https://api.anz.prismacloud.io
https://app.eu.prismacloud.io https://api.eu.prismacloud.io
https://app2.eu.prismacloud.io https://api2.eu.prismacloud.io
https://app.gov.prismacloud.io https://api.gov.prismacloud.io
https://app.prismacloud.cn https://api.prismacloud.cn
https://app.ca.prismacloud.io https://api.ca.prismacloud.io
https://app.sg.prismacloud.io https://api.sg.prismacloud.io

The rest of the variables shouldn't need altered, and are either auto-generated or for future or other scenarios.

The below table shows an example of what a completed Environment should look like before generating any JWT tokens

Postman Variable Use Value/Example
api-endpoint Main API endpoint for Prisma Cloud requests api.prismacloud.io
token JWT token auto-generated after the /login request
compute-api-endpoint API endpoint for all things within the Compute tab https://us-east1.cloud.twistlock.com/us-1-123456789
compute-token JWT token auto-generated after the Compute /authenticate request
api-version Used only for the Compute collection for future API versions v1
console-port Used only for self-hosted versions of the Compute Console
aporeto-api-endpoint API endpoint for all things within the Microsegmentation tab https://api.east-01.network.prismacloud.io
aporeto-token JWT token auto-generated after the Microsegmentation /issue request
namespace The namespace on CNS where you will be operating /859889522116745232/my-cloud-account/Application

Advanced Postman scenarios using Collection Runner

In the Collection_Runner folder, there are specific examples for use-cases where using Postman's Collection Runner makes sense.

This is an easy way to iterate through files/CSVs/etc for a specific subset of API calls you want to make. More instructions in the README within this folder.

That's it! The Collections are not fully complete, so if you find a request that hasn't been created (or needs updated) please feel free to submit a PR.

Accessing Multiple Tenants

You can easily switch between Prisma Cloud Tenants by creating multiple Environments. To do this just import the Prisma Cloud.postman_environment.json file again and set the new api endpoints and credentials. Be sure to change the environment name so you can tell your environments apart!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].