Skip to main content

A Prisma Public Cloud API Client

Project description

Copyright (c) 2019 Hays Hutton

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Description: # A [Prisma Public Cloud](https://www.paloaltonetworks.com/cloud-security/prisma-public-cloud) Client

_service previously known as [RedLock](https://redlock.io/)_

ppc is a python package which integrates with parts of the API of the Prisma Public Cloud Security service (formerly known as RedLock).

`bash from ppc.api import Client >>>c = Client("scott@oracle.com", "tiger", "https://api.redlock.io/") >>>for policy in c.policies.take(5): ... print(f"{policy.policyId}: {policy.name}") 43c42760-5283-4bc4-ac43-a80e58c4139f: AWS S3 bucket has global view ACL permissions enabled 472e08a2-c741-43eb-a3ca-e2f5cd275cf7: Azure Network Security Group allows FTP (TCP Port 21) 91c941aa-d110-4b33-9934-aadd86b1a4d9: AWS Redshift database does not have audit logging enabled f5b4b962-e053-4e73-94d2-c21bd2520a0d: AWS ElastiCache cluster not associated with VPC fe81b03a-c602-4b16-8ae9-973724c1adae: GCP Kubernetes Engine Clusters web UI/Dashboard is set to Enabled `

## Installation pip install ppc

## Documentation https://prisma-public-cloud.readthedocs.org/

Platform: UNKNOWN Requires-Python: ~=3.7 Description-Content-Type: text/markdown

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ppc-0.0.2.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

ppc-0.0.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file ppc-0.0.2.tar.gz.

File metadata

  • Download URL: ppc-0.0.2.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for ppc-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e0ff9ee271f9521016bf9c3cb674a927bcbc0a8d8d7ab7e9c8026ee16974bb17
MD5 f73f04a970a7f7bc7e03dd82df7944e6
BLAKE2b-256 cc152bbecf458a438431e1b059ad36fcbcef316f808a99a4d7c7f25efc1878c7

See more details on using hashes here.

File details

Details for the file ppc-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ppc-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for ppc-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f61aeb8a66203ea0e273ee2e51e1e94ebfaca006d44ab1d2d06fe5872108bc2
MD5 2676d79631225de1713b4a48ff9512a1
BLAKE2b-256 f05048059557981f3c78d92f4d3e9d769c6848fa7120807125fc7c731f671e31

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page