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

Uploaded Source

File details

Details for the file resilient-35.0.203.tar.gz.

File metadata

  • Download URL: resilient-35.0.203.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.203.tar.gz
Algorithm Hash digest
SHA256 865bb874447805109bc46d6a09f3cba3a22137979a464ffc3847c2ed8003dffe
MD5 23febd8a78ec3cb9d940836db219f191
BLAKE2b-256 bdb2c87e218ac9f939cd9a0df14cba236a6c3ca75e09a80005f3348c72b11439

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