Skip to main content

For interacting with the Chariot API

Project description

Praetorian CLI

The CLI is a fully-featured companion to the Chariot UI, which is hosted at chaos.praetorian.com.

Install

Python 3.8+ and PIP are required.

pip install praetorian-cli

Usage

To use the CLI:

  1. Register for an account at chaos.praetorian.com.
  2. Log in and download your keychain file to ~/.praetorian/keychain.ini.

View help for all available commands:

praetorian chariot --help

The CLI is configured as a simple command + option utility. For example, to retrieve all assets in your account simply run:

praetorian chariot assets

Developers

Integrate the CLI into your own application:

  1. Include the dependency praetorian-cli in your project
  2. Import the Chariot class from praetorian_cli.sdk.chariot import Chariot
  3. Import the Keychain class from praetorian_cli.sdk.keychain import Keychain
  4. Call any function (example below)

Example

from praetorian_cli.sdk.chariot import Chariot
from praetorian_cli.sdk.keychain import Keychain

chariot = Chariot(Keychain(profile='United States'))
chariot.add_seed('example.com')

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

praetorian_cli-0.11.0.tar.gz (11.2 kB view hashes)

Uploaded Source

Built Distribution

praetorian_cli-0.11.0-py3-none-any.whl (15.6 kB view hashes)

Uploaded Python 3

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