Skip to main content

Resilient Circuits Framework for Custom Integrations

Project description

resilient-circuits

This package is a framework for rapid development of Resilient Action Module event processors in Python.

Recent Changes

2021-03: version 40.1

  • No major changes. Just bumping build number to coincide with other builds

2021-02: ver. 40.0

  • Remove need for calling '/message_destinations' endpoint

Installation

Instructions for building and installing this package can be found in the repository README.

Configuration

Configuration parameters for the server URLs, user credentials and so on should be provided using a configuration file. They can optionally also be provided on the command-line.

If the environment variable APP_CONFIG_FILE is set, it defines the path to your configuration file. The default configuration file is named app.config and is stored in ~/.resilient/app.config.

Generate a template app.config file with:

resilient-circuits config -c

Or on Windows:

resilient-circuits.exe config -c

Edit the app.config file with parameters appropriate to your environment.__ Any sample components you are running may have additional sections that need to be added to the app.config file, which will be indicated in their README.

Running an example

After installing the resilient-circuits module, install a compatible integration package or copy some sample component modules to your components directory.
The path to this components directory will need to be specified in your app.config file in the [resilient] section in the componentsdir parameter.

Create a directory for resilient-circuits to write log files to and specify its location in the logdir parameter in your app.config file.

Once everything is configured, start the integration:

resilient-circuits run

or on Windows,

resilient-circuits.exe run

Logging

Script output is logged to a file "app.log", which rotates if it grows large. On unix systems, the script output is also sent to syslog. You should periodically check the log for warnings and errors.

Usage:

resilient-circuits [-h] [-v]
                          {run,list,test,service,config,codegen,extract,customize,selftest,clone,ext:package,ext:convert}

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Print debug output

subcommands:
                        one of these options must be provided
    run                 Run the Resilient Circuits application
    list                List the installed Resilient Circuits components
    test                An interactive client for testing Resilient Circuits
                        messages
    service             Manage Resilient Circuits as a service
    config              Create or update a basic configuration file
    customize           Apply customizations to the Resilient platform
    selftest            Calls selftest functions for every package and prints
                        out their return states
    clone               Clone Resilient objects

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_circuits-40.1.1880.tar.gz (664.0 kB view details)

Uploaded Source

File details

Details for the file resilient_circuits-40.1.1880.tar.gz.

File metadata

  • Download URL: resilient_circuits-40.1.1880.tar.gz
  • Upload date:
  • Size: 664.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.10

File hashes

Hashes for resilient_circuits-40.1.1880.tar.gz
Algorithm Hash digest
SHA256 d241a36bdeb09f26c6e4e381bceb945a5eeb493272ec28b282635a77070b3ee7
MD5 9139fc3fc4f8babcff824623473fa8fc
BLAKE2b-256 9487dc60dc6b3cf5ab5a572fc992dffa1450bdc882be1c5a1d1f40eb22c2e7de

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