Dome9 (Python SDK)
Dome9, also known as Checkpoint CloudGuard, is a cloud native security solutions for securing assets and workloads. At the core of this solution, CloudGuard Posture Management visualizes and assesses security posture, detects misconfigurations, automates and actively enforces standard policies (GDPR, HIPAA, ISO27001...), and protects against attacks and insider threats.
This repository contains a Python SDK of this tool. Initially its SDK did not have much functionality and that is why I developed this one to be able to work and include it within my Continuous Integration processes.
If you want to integrate Dome9 as part of your CI, check my other modules: Dome9 CLI and Agile.
Installation
pip install dome9
📚 Documentation: https://dome9.readthedocs.io/
Usage
There are two ways to authenticate:
- As Arguments: Passing variables on init ->
Dome9(key='xxxxxx', secret='yyyyyyy') - As Environment variables: Setting your credentials as environment variables ->
DOME9_ACCESS_KEYandDOME9_SECRET_KEY
from dome9 import Dome9
dome9 = Dome9(key='xxxxxx', secret='yyyyyyy')
rulesets = dome9.list_rulesets()
export DOME9_ACCESS_KEY='xxxxxxxxxxxxxxxxxxxx'
export DOME9_SECRET_KEY='yyyyyyyyyyyyyyyyyyyy'
python -c "from dome9 import Dome9; print(Dome9().list_rulesets())"
What can I do?
- 🌵 List all cloud accounts ->
dome9.list_cloud_accounts() - 🌻 List AWS accounts ->
dome9.list_aws_accounts() - 🌷 List KUBERNETES accounts ->
dome9.list_kubernetes_accounts() - 🌼 Create ruleset ->
dome9.create_ruleset() - 🌴 Create remediation ->
dome9.create_remediation() - 🌲 Connect new AWS account ->
dome9.create_aws_account() - 🌹 Run assessment ->
dome9.run_assessment() - 🍀 List all your cloud assets ->
dome9.list_protected_assets()
Metadata
Release files for dome9 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dome9-0.6.1.tar.gz | 7.9 kB | Without provenance | Details for dome9-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dome9-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for dome9-0.6.1-py3-none-any.whl |
Total release size: 15.4 kB
Release files / dome9-0.6.1.tar.gz
| Download URL | dome9-0.6.1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e311ef3cabee33b2c278082716cd54899f2e09d7d0686cfdd4fd92c5e2a2bbe
|
|
BLAKE2b-256 checksum How to use checksums |
1f3920108d4ddffb4a996f1eba001f776ed3570cf5faff71dd1a70c92b1d965f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / dome9-0.6.1-py3-none-any.whl
| Download URL | dome9-0.6.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7abf7ec03da5fb52eb68e37199c54bfe150777ff5b2877d19d1d1df49597eb8
|
|
BLAKE2b-256 checksum How to use checksums |
386531b948759df7bd8d5f78fe36010e837be1e9cf5573e5f7646ee6b28f07a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for dome9 0.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.