Package for providing core Reflex rule classes
Project description
reflex-core
Package for the core Reflex classes. You can use these classes to easily create Reflex rules to secure your cloud environment (currently only supports AWS).
You'll also want to familiarize yourself with the other parts of Reflex:
- reflex-cli, a CLI for creating and managing your Reflex rules and environment.
- reflex-engine, Terraform modules for deploying required Reflex rule infrastructure.
- reflex documentation, general documentation about deploying reflex.
Installation
You can install reflex-core
using pip
.
pip install reflex-core
Usage
To utilize reflex-core
, simply import the rule class you want to utilize and implement the required methods.
from reflex_core import AWSRule
class MyRule(AWSRule):
def extract_event_data(event):
# Logic for extracting required event info
def resource_compliant():
# Logic for determining if the resource configuration is compliant
# etc
For examples, browse provided rules on CloudMitigator's GitHub.
License
Reflex is made available under the MPL 2.0 license. For more information view the LICENSE
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
reflex-core-1.1.1.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for reflex_core-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f40670672e4d65aee71420dc6bf93185e682df7191caed76f0ac75e309447af |
|
MD5 | 3f172e929c62a56490e70a0b8adbd97a |
|
BLAKE2b-256 | fec8d3ed6798e179c16752b8a8594bd037c494e5a0ebeef2696b4502f63a5506 |