Skip to main content

Dome9 SDK for Python

Project description

Dome9 (Python SDK)

GitHub License Documentation Status Test PyPI - Python Version PyPI

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_KEY and DOME9_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()

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

dome9-0.6.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

dome9-0.6.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file dome9-0.6.1.tar.gz.

File metadata

  • Download URL: dome9-0.6.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for dome9-0.6.1.tar.gz
Algorithm Hash digest
SHA256 0e311ef3cabee33b2c278082716cd54899f2e09d7d0686cfdd4fd92c5e2a2bbe
MD5 a3c17dbcbe1cecc57d8ba4f75c0fb3a2
BLAKE2b-256 1f3920108d4ddffb4a996f1eba001f776ed3570cf5faff71dd1a70c92b1d965f

See more details on using hashes here.

File details

Details for the file dome9-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: dome9-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for dome9-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7abf7ec03da5fb52eb68e37199c54bfe150777ff5b2877d19d1d1df49597eb8
MD5 2b2e84ced7744762edce81ee7e185d1b
BLAKE2b-256 386531b948759df7bd8d5f78fe36010e837be1e9cf5573e5f7646ee6b28f07a2

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