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

Uploaded Source

File details

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

File metadata

  • Download URL: resilient-37.0.214.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.214.tar.gz
Algorithm Hash digest
SHA256 678e2f7afd020587470b389e9d78f3894d93761e4dc185911cc6b8bde1f01369
MD5 2db8ed3c3cfaf9703d865e9ebe53acb3
BLAKE2b-256 8f4e9e40ec8d5f1d31d7190c089d9c339b5b56f7d4742cec095895940bb6a827

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