Alert Logic Software Development Kit for Python.
Project description
The Alert Logic SDK For Python (almdrlib)
Alert Logic Software Development Kit for Python allows developers to integrate with Alert Logic MDR Services.
Quick Start
-
Install the library:
pip install alertlogic-sdk-python -
Set up configuration file (in e.g.
~/.alertlogic/config[default] access_key_id = YOUR_KEY secret_key = YOUR_SECRETTo create and manage access keys, use the Alert Logic Console. For information on creating an access key, see https://docs.alertlogic.com/prepare/access-key-management.htm
Optionally you can specify if you are working with integration deployment of Alert Logic MDR Services or production by specifying:
global_endpoint=integrationglobal_endpoint=productionNOTE: If global_endpoint isn't present, SDK defaults to production.
-
Test installation Launch python interpreter and then type:
import almdrlib aims = almdrlib.client("aims") res = aims.get_account_details() print(f"{res.json()}")
Development
Getting Started
Prerequisites:
-
Python v3.7 or newer
-
virtualenv or virtualenvwrapper (We recommend virtualenvwrapper https://virtualenvwrapper.readthedocs.io/en/latest/ )
-
To produce RESTful APIs documentation install redoc-cli and npx:
npm install --save redoc-cli npm install --save npx
Setup your development environment and install required dependencies:
export WORKON_HOME=~/environments
mkdir -p $WORKON_HOME
source /usr/local/bin/virtualenvwrapper.sh
mkvirtualenv alsdk
git clone https://github.com/alertlogic/alertlogic-sdk-python
cd alertlogic-sdk-python
pip install -r requirements_dev.txt
pip install -e .
======= History
1.0.1 (2020-02-06)
- First release on PyPI.
1.0.4 (2020-02-07)
- Introduce Search API support (beta)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alertlogic-sdk-python-1.0.32.tar.gz.
File metadata
- Download URL: alertlogic-sdk-python-1.0.32.tar.gz
- Upload date:
- Size: 92.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63cbfdb3b5a9362c827c710727be43b2ca5da4ffb9bd05e2b319c39f77abc30d
|
|
| MD5 |
9fd69222c89dda326dbd19db07c9e006
|
|
| BLAKE2b-256 |
6f044c7f10fdcd0d7f6da90714c00dd154e41cdd01acdecae40964f49548474d
|
File details
Details for the file alertlogic_sdk_python-1.0.32-py3-none-any.whl.
File metadata
- Download URL: alertlogic_sdk_python-1.0.32-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88adc182d15a87a2951a29b149e91d5ec509178b92859f48e7e9ce89f716b5cc
|
|
| MD5 |
bd96eb63328ac696d18123320b654e54
|
|
| BLAKE2b-256 |
da927f3d88c1f6128d34cee6ae841459cd516dd669d8f62e2c2275304387866c
|