AgentCore Client library for building Oversight probes
Project description
Oversight AgentCore Client
This is a library to create probes for the Oversight platform.
Supported environment variable
Variable | Description |
---|---|
OS_LOG_LEVEL |
Log level. One of debug , info , warning , error or critical . If not set, the log_level argument of the setup_logger(..) method will be used. |
OS_AGENTCORE_IP |
Set the agent core Ip address. Fallback to agentCoreIp from the configuration and finally localhost . |
OS_AGENTCORE_PORT |
Set the agent core port. Fallback to agentCorePort from the configuration and finally 7211 . |
OS_CONFIG_FOLDER |
Set the configuration folder. The assets configuration files must be stored in this folder. If not set, /etc will be used. (This environment variable is usually configured in the Dockerfile of the corresponding probe) |
OS_CONFIG_FILENAME |
Path to the probe configuration file. If not set, the config_fn argument of the AgentCoreClient will be used instead. (It is recommended to configure the config_fn argument when building a probe and not rely on this environment variable only) |
Reload local config
The local configuration files will be read only the first time this is required for an asset. If you with to reload the configuration, for example when the configuration has been changed, this can be done by adding a file named reload
inside the configuration folder. For example:
/data/config/sampleprobe/$ touch reload
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
agentcoreclient-0.1.8.tar.gz
(19.9 kB
view details)
File details
Details for the file agentcoreclient-0.1.8.tar.gz
.
File metadata
- Download URL: agentcoreclient-0.1.8.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38afd8678403c1eaf532b3c30f60d5cef1c51c23bb719dcc162d937075741be5 |
|
MD5 | 818810afc0e49e009cec8ba816c473fa |
|
BLAKE2b-256 | ce09f04207c00202a179e8ed2d5b472de78f80df590f48f69110ac0d28109033 |