Skip to main content

Python SDK for developing Apps for the IBM Resilient Platform

Project description

[![Build Status](https://travis.ibm.com/Resilient/resilient-python-api.svg?token=ga58Yr4soAPHbQj4XsUF&branch=master)](https://travis.ibm.com/Resilient/resilient-python-api)

![IBM Security](./assets/IBM_Security_lockup_pos_RGB.png)

### Recent Changes

2020-04: ver. 36.2

  • Package created. Using 36 as original version

  • Added support for API key permissions in app.json using permissions file.

  • Added support for new apphost config section.

  • Customization and config properties files now extracted from setup.py.

  • Rename ‘app:package’ command to ‘package’.

  • Bug fixes.

<!– Changelog will go here –>

# IBM Resilient Python SDK

## Table of Contents

  • [Overview](#overview)

  • [Installation](#installation)

  • [Usage](#usage)

  • [Supported Python Versions](#supported-python-versions)

  • [Documentation](#documentation)

  • [License and Terms](#license-and-terms)

## Overview

The IBM Resilient Python SDK provides the tools and infrastructure you need to develop Resilient Apps, which you can then post on [App Exchange](https://exchange.xforce.ibmcloud.com/hub/?br=Resilient).

For more information, refer to the [Resilient SOAR Platform App Developer’s Guide](https://<TODO>).

## Installation

To install the IBM Resilient Python SDK, simply execute the following command in a terminal:

` $ pip install resilient-sdk `

## Usage

### codegen: Generate boilerplate code to start developing an app ` $ resilient-sdk codegen -p <name_of_package> -m 'fn_custom_md' --rule 'Rule One' 'Rule Two' `

### docgen: Generate documentation for an app ` $ resilient-sdk docgen -p <path_to_package> `

### extract: Extract data in order to publish a .res file ` $ resilient-sdk extract -m 'fn_custom_md' --rule 'Rule One' 'Rule Two' `

### package: Package an integration into a Resilient app ` $ resilient-sdk package -p <path_to_directory> --display-name "My Custom app" `

## Supported Python Versions

Python 2.7+ and Python 3.6+

## Documentation

## License and Terms

Copyright © IBM Corporation 2020

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

Uploaded Source

File details

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

File metadata

  • Download URL: resilient_sdk-36.2.209.dev0.tar.gz
  • Upload date:
  • Size: 343.3 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_sdk-36.2.209.dev0.tar.gz
Algorithm Hash digest
SHA256 ea6b4c358b24c8d1fe442e1ad90104693b20874dcd8305de5e41d3576e1f9675
MD5 90a5d66121cdb26a16a62027b7975b0c
BLAKE2b-256 d7b8370746e2db518de8d5faf8b6ef6774d141ba007b2075ceff1a24cef151b6

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