Skip to main content

Resilient API

Project description

IBM Security

resilient

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

Recent Changes

2021-08: version 42.0

  • Added support for HTTP_PROXY, HTTPS_PROXY and NO_PROXY environmental variables. See the App Host Deployment Guide for details.

  • Add new 'User-Agent: soar-app-1.0' header for API calls to SOAR platform.

  • Bug fixes.

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

Uploaded Source

File details

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

File metadata

  • Download URL: resilient-42.0.2101.tar.gz
  • Upload date:
  • Size: 42.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.10

File hashes

Hashes for resilient-42.0.2101.tar.gz
Algorithm Hash digest
SHA256 e06301bc88bac6917cc2853f4f8a3f6f3766dd7ad3b674e49f7bdb0e283313be
MD5 d223170e5fa6ad215745d10e967b99de
BLAKE2b-256 8888e763b7743a4f88359825d9ea870a9a26e255b2b73e897555477ddc8efe71

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