zalando-stups / fullstop-cli

Simple command line utility to view and resolve fullstop. violations
https://pypi.python.org/pypi/stups-fullstop/
Other
3 stars 5 forks source link

============= fullstop. CLI

.. image:: https://travis-ci.org/zalando-stups/fullstop-cli.svg?branch=master :target: https://travis-ci.org/zalando-stups/fullstop-cli :alt: Build Status

.. image:: https://coveralls.io/repos/zalando-stups/fullstop-cli/badge.svg :target: https://coveralls.io/r/zalando-stups/fullstop-cli :alt: Code Coverage

.. image:: https://img.shields.io/pypi/dw/stups-fullstop.svg :target: https://pypi.python.org/pypi/stups-fullstop/ :alt: PyPI Downloads

.. image:: https://img.shields.io/pypi/v/stups-fullstop.svg :target: https://pypi.python.org/pypi/stups-fullstop/ :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/l/stups-fullstop.svg :target: https://pypi.python.org/pypi/stups-fullstop/ :alt: License

Convenience command line tool for fullstop. audit reporting.

.. code-block:: bash

$ sudo pip3 install --upgrade stups-fullstop

Usage

First configure your Fullstop CLI for your AWS account IDs:

.. code-block:: bash

$ fullstop configure
# enter Fullstop URL and optionally your AWS account IDs

For example, you can list all recent violations in your configured AWS accounts:

.. code-block:: bash

$ fullstop list-violations --since 7d -l 50

Check help text for all details

.. code-block:: bash

$ fullstop list-violations --help

You can also run it locally from source:

.. code-block:: bash

$ python3 -m fullstop

Running Unit Tests

.. code-block:: bash

$ python3 setup.py test --cov-html=true

Releasing

.. code-block:: bash

$ ./release.sh <NEW-VERSION>