Skip to main content

Resilient API

Project description

resilient

This package is a Python client module for the Resilient REST API.

Recent Changes

2020-01-16 version 35.0dev.195

  • Moved ImportDefinition from resilient-circuits

  • Added --resilient-mock parameter

Installation

Instructions for building and installing this package can be found in the repository README.

Tests

python setup.py test [-a ""] [-c ] [-p ""]
e.g. python setup.py test -a "--org=Test" -c ~/my.config -p "-s"

Code coverage

pytest-cov

First need to install pytest-cov pip install pytest-cov pip3 install pytest-cov

Make folder to store coverage data

mkdir cov

run test and collect code coverage data

You need the template_test.json file from the tests folder. python setup.py test -a "--org=TestOrg" -c ./app.config -p "-s --cov=./resilient --cov-report=html:./cov"

View coverage data

firefox ./cov/index.html

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

resilient-35.0.0.dev0.tar.gz (38.5 kB view details)

Uploaded Source

File details

Details for the file resilient-35.0.0.dev0.tar.gz.

File metadata

  • Download URL: resilient-35.0.0.dev0.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.13

File hashes

Hashes for resilient-35.0.0.dev0.tar.gz
Algorithm Hash digest
SHA256 7ff488220a477e720216333945a84a9925ca4aff9bf03a68b8830b0949d87e68
MD5 91d1fab8a23646edcf34e3c49c9da786
BLAKE2b-256 30ab9f817aaf5a7c26b3b443a38ded36b6eca36df57586eef1180b0d9863f887

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page