Package for providing core Reflex rule classes
Project description
reflex-core
reflex
Reflex enforces security best practices in cloud environments through event-driven automation. Get started by visiting our documentation.
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 Reflexive Security'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
Built Distribution
File details
Details for the file reflex-core-2.1.0.tar.gz
.
File metadata
- Download URL: reflex-core-2.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d211991d329eb1df8513341977252e67714ede49f1e65761060d162bad0e984 |
|
MD5 | 455cc8fbc76a77a5df7aa8786c6d60b2 |
|
BLAKE2b-256 | fabad57404aa24a6ec8b415b03584cc23d43e9ba8e7ed700382e8c17aa6ac02d |
File details
Details for the file reflex_core-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: reflex_core-2.1.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3155e8abfddd43e34d82263091827a3dda33271f91b8e2ea1cf5731b2e603991 |
|
MD5 | 223fd9af10bcee334fb336ba76ab8983 |
|
BLAKE2b-256 | 85bb975a2ea602321be1ef75fe7f9d0464ccd39f298143531cd4220903544d48 |