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.4.tar.gz (6.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for dsms_report_cli-1.0.4.tar.gz
Algorithm Hash digest
SHA256 6c63879062be7e464e3061ce665316ce9e0936d3757794963b43d5b10feee891
MD5 800e859bd219d9d4d72136cef666d19f
BLAKE2b-256 39d41f395dfb630a65ff73003929b3ce130e93fe650fbb801122547f3c9db186

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.5

1 file

This release

1.0.4 This release

1 file

1.0.3

1 file

1.0.2

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