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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for dsms_report_cli-1.0.3.tar.gz
Algorithm Hash digest
SHA256 d69a7160980b49daaa57b727a608cb3b9bbcccbfb9f42cdbc90e6fca23defbea
MD5 b885d954acd19ee5c14a4b7486983f4e
BLAKE2b-256 6105a74e606c647025749ead3babebb3e22c770a0956ebf23012615ada5400f2

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.5

1 file

1.0.4

1 file

This release

1.0.3 This release

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