Skip to main content
DSMS Report CLI tool
--------------------

dsms-report-cli is a command line interface for exporting reports from a DSMS
system.

============
Installation
============

``pip install dsms-report-cli``

========
Setup
========

Before you'll begin, you'll need several settings set as environment variables:

DSMS_SERVER (e.g. https://mydsmsserver)
DSMS_USER (e.g. tom)
DSMS_PASS (e.g. ThisIsMyPassword)

=========
Running reports
=========

To see all command line switches, you can run::

dsms_report --help

You can also run searches of DSMS results using the same filter syntax as the
web application. For example, to get all active phishing targets, run::

dsms_report --query="status:Active type:Phishing"

=========
Report formats
=========

Reports are generated by Jinja2 templates. If you'd like to add new types of
reports, you can place these in a separate directory and tell dsms_report where
to find these using ``dsms_report --template_dir=[your custom templates]``.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dsms_report_cli-1.0.2.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file dsms_report_cli-1.0.2.tar.gz.

File metadata

File hashes

Hashes for dsms_report_cli-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e1ee858bdcaec5b221d4539c7daa6e29a32a13a27889e5bb4ff8e21a805a470a
MD5 f1c6de0c5d0a112e1839ae3b032a3c73
BLAKE2b-256 c5ac78bf8513f24adfd6051a63a0e6ff3664074b3c91a9a5c9e35742df23cd8e

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.5

1 file

1.0.4

1 file

1.0.3

1 file

This release

1.0.2 This release

1 file

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