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://redlock.io/) API Client

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://ppc.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.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ppc-0.0.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppc-0.0.1.tar.gz
  • Upload date:
  • Size: 6.2 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.1.tar.gz
Algorithm Hash digest
SHA256 a7724c4e3e84682918dadc683e591b7ae7b1f683810c6b7c9b84d9c251e0a9a7
MD5 0701ad6c2d028cf9dad436c0ea084e0d
BLAKE2b-256 415ace18506297e549218ecde7dd821fc16710eb99f6b5882093f3991496d04c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppc-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ed6554b1373b7e2eaab32d9a3c229e2d372c3cb72d0db8045a8a51b97ba0b04
MD5 213891e7b54dfe3be737a8b2c39992e3
BLAKE2b-256 298f557acf3cd8e76320f76bff2db9f5f9ae6df310c09ca468b06a4440afb2fd

See more details on using hashes here.

Supported by

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