A RedLock 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 [RedLock](https://redlock.io/) API Client
rlock is a python package which integrates with parts of the API of the RedLock Public Cloud Security service.
`bash from rlock.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 rlock
## Documentation https://rlock.readthedocs.org/
Platform: UNKNOWN Requires-Python: ~=3.7 Description-Content-Type: text/markdown
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rlock-0.0.5.tar.gz
.
File metadata
- Download URL: rlock-0.0.5.tar.gz
- Upload date:
- Size: 7.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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 701fbab817e74c6d74030b7b8c56993704fd912d8ea3264be7e532a9c6133c1a |
|
MD5 | 1bcae1427dc5fd9ca7612f951cf0c029 |
|
BLAKE2b-256 | 0cb964fb6d9d2e1f47d3d66912abd27e3297308deacca9f4b514e5458ecb1f27 |
File details
Details for the file rlock-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: rlock-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.9 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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a5e87781d219ce5e386187f45b82ecb6c967db1f71a8c616be1b2257a242300 |
|
MD5 | a60119dbbb221cd0d21b39c23bc01bb1 |
|
BLAKE2b-256 | c245f7553277f0c3b81ab54a850071dbaa29b91548b3ed48d08c98374e178a9c |