Skip to main content

Dome9 CLI

Test

This Command Line Interface (CLI) is a set of commands used to create and manage Dome9 resources. Developed to facilitate the daily use and help to work in agile methodologies (continuous-integration) This package consumes calls through the Dome9 Python SDK so it contains the same methods.

This CLI helps to work on Dome9 from our different agile services like Jenkins, Github or Travis, creating new rulesets, running assessments or listing our protected assets.

To install:

pip install --user dome9cli
dome9cli --help

Commands

Usage: dome9cli <command> <arguments>

create_ruleset

Description: Create a compliance ruleset
Command: .\dome9cli.py create_ruleset jsonFile

delete_exclusion

Description: Delete a specific exclusion
Command: .\dome9cli.py delete_exclusion id=0

delete_remediation

Description: Delete a specific remediation
Command: .\dome9cli.py delete_remediation id=0

delete_ruleset

Description: Delete a specific ruleset
Command: .\dome9cli.py delete_ruleset id=0

generate_ruleset

Description: Generate a ruleset template
Command: .\dome9cli.py generate_ruleset name=minimum, cloud=aws, rulesFile='./rules.json', desc='My description'

get_cloud_account

Description: Get a specific cloud account
Command: .\dome9cli.py get_cloud_account id=0

get_ruleset

Description: Get a specific compliance ruleset
Command: .\dome9cli.py get_ruleset id=0

list_aws_accounts

Description: List AWS Cloud accounts
Command: .\dome9cli.py list_aws_accounts

list_azure_accounts

Description: List Azure Cloud accounts
Command: .\dome9cli.py list_azure_accounts

list_cloud_accounts

Description: List all cloud accounts (AWS, Azure, GCP and Kubernetes)
Command: .\dome9cli.py list_cloud_accounts

list_exclusions

Description: List all exclusions
Command: .\dome9cli.py list_exclusions

list_google_accounts

Description: List Google Cloud accounts
Command: .\dome9cli.py list_google_accounts

list_kubernetes_accounts

Description: List Kubernetes accounts
Command: .\dome9cli.py list_kubernetes_accounts

list_remediations

Description: List all remediations
Command: .\dome9cli.py list_remediations

list_rulesets

Description: List compliance rulesets
Command: .\dome9cli.py list_rulesets

run_assessment

Description: Run assessment and get report URL
Command: .\dome9cli.py run_assessment rulesetId=0, cloudAccountId=0000-0000-0000-0000

Metadata

Release files for dome9cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dome9cli 0.1.1
File Size Uploaded Provenance Actions
dome9cli-0.1.1.tar.gz 6.9 kB Without provenance Details for dome9cli-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dome9cli 0.1.1
File Interpreter ABI Platform Actions
dome9cli-0.1.1-py3-none-any.whl Python 3 none any Details for dome9cli-0.1.1-py3-none-any.whl

Total release size: 14.0 kB

Release files / dome9cli-0.1.1.tar.gz

Download URL dome9cli-0.1.1.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e9267e961e8331dd2f8493a07070da16aac59ab9fa756290c60e6a602b48a2ff
BLAKE2b-256 checksum
How to use checksums
51eae9dd7a2062f2666052a9d03d3c41c8f1f0e10a10fbebd5a3d6ba6a4ca511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dome9cli-0.1.1-py3-none-any.whl

Download URL dome9cli-0.1.1-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02334f718b45d2b102757175d540d9af025762982252af0b5260e8ff9d7bbbec
BLAKE2b-256 checksum
How to use checksums
ba8d0ba8cb90b04f68a096744f4cf33fc46397db360c0441502d24c82597c847
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for dome9cli 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page