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.0.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-37.0.211.dev0.tar.gz (38.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: resilient-37.0.211.dev0.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.4.2 requests/2.18.4 setuptools/44.1.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.14

File hashes

Hashes for resilient-37.0.211.dev0.tar.gz
Algorithm Hash digest
SHA256 e620fe1197e9528651fa895dffff28f9a83e5c3042eb1ed56a972ca94c6815fa
MD5 50140723582ca72fa1a675960e449f80
BLAKE2b-256 281bbfad67e01a41637e6c5a29448c89749c9e07331fcf19956feb1357d145a1

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