Skip to main content

DSMS report CLI tool

Project description

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]``.

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

dsms_report_cli-1.0.3.tar.gz (6.1 kB view hashes)

Uploaded Source

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