Git Product home page Git Product logo

dome9's Introduction

Dome9 (Python SDK)

๐Ÿšจ This package is not maintained anymore. I recommend you to use the official 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()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.