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

Uploaded Source

File details

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

File metadata

  • Download URL: resilient-36.2.209.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-36.2.209.dev0.tar.gz
Algorithm Hash digest
SHA256 16f47d729e81a7f774ce42783090625a8e29cb067cf55167c3efd7bcfee74dd7
MD5 09641caaedb95ab65b409176592d17d7
BLAKE2b-256 f3edcd97340b584d744bea3e24efb286dfa7de81465cd97116d3218a55188bb2

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