Skip to main content

Resilient Circuits Web Server

Provides a Web server that can be extended by additional components. This is useful for implementing a Threat Service, or for webhooks.

To have your Python method called with requests at /path/endpoint,

  • Make a class that inherits from circuits.web.BaseController,
  • Set self.channel="path",
  • Use the rc_webserver.web.@exposeWeb decorator on a method, e.g. @exposeWeb("endpoint").

Changelog

2020-07-15: version 37.2

  • Updated for python 3.

Environment

This package requires that it is installed on a RHEL platform and that the resilient-circuits application is running. Install this package with 'pip', or python setup.py install. To set the config values in the app.config file run resilient-circuits config -u.

Config values example:

[webserver]

# IP or DNS for the web server. Default is localhost.
# server=0.0.0.0

# Port for the web server. Default is 9000.
# port=9000

# Set the web server to use secure protocol. secure=1 means HTTPS, and secure=0 means HTTP. Default is 0
# secure=1

# The cert file is the private key certificate for the TLS server. This is required if secure=1. Default is None.
# certfile=~/.resilient/ssl.cer

Run with: resilient-circuits run.

Metadata

Release files for rc-webserver 45.1.3279

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rc-webserver 45.1.3279
File Size Uploaded Provenance Actions
rc-webserver-45.1.3279.tar.gz 7.5 kB Without provenance Details for rc-webserver-45.1.3279.tar.gz

Release files / rc-webserver-45.1.3279.tar.gz

Download URL rc-webserver-45.1.3279.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9ddcb6c7397e0e0d776afec3719e071550faccff7b2a1b3ac4da278d103b7a7d
BLAKE2b-256 checksum
How to use checksums
93627af106cc90837e710f76287319f50c17f4a57081a3d3da38a2e655929d14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for rc-webserver 45.1.3279

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

45.1.3279 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page