The Alert Logic Command Line Utility (CLI).
Project description
Installing the Alert Logic CLI
The pip
package manager for Python is used to install, upgrade and remove Alert Logic CLI.
Installing the current version of the Alert Logic CLI
Alert Logic CLI only works on Python 3.7 or higher. Please follow this instructions on how to install Python on your system: https://www.python.org/downloads/
Use pip3
to install the Alert Logic CLI
$ pip3 install alcli --upgrade --user
Make sure to use --user
to to install the program to a subdirectory of your user directory to avoid modifying libraries used by your operating system.
Windows installer
For windows users there is self-contained Alert Logic CLI distribution is available, please download latest version from here:
Alternatively, please view history of the releases.
Upgrading to the latest version of the Alert Logic CLI
We regularly introduce support for new Alert Logic services. We recommend that you check installed packages version and upgrade to the latest version regularly.
$ pip3 install --upgrade --force-reinstall alcli
Configure the Alert Logic CLI with Your Credentials
Before you can run a CLI command, you must configure the Alert Logic's CLI with your credentials.
By default, alcli
uses ~/.alertlogic/config configuration file in a user's home directory. File can contain multiple profiles. Here's an example of a configuration file that has credentials for an integration and production deployments:
[default]
access_key_id=1111111111111111
secret_key=eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
global_endpoint=integration
[production]
access_key_id=2222222222222222
secret_key=dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
global_endpoint=production
The location of the configuration file can be also specified by setting ALERTLOGIC_CONFIG
environment variable to contain file's location.
Notes:
--query
option requires JMESPath language expression. See
http://jmespath.org/tutorial.html for language tutorial.
======= History
1.0.1 (2020-02-06)
- First release on PyPI.
1.0.7 (2020-02-07)
- First version of main help page and bug fixes.
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 alcli-1.0.70.tar.gz
.
File metadata
- Download URL: alcli-1.0.70.tar.gz
- Upload date:
- Size: 88.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c9426acd6702de9de5905de80d69f35f243900da1a3bf1006010afe24e3a211 |
|
MD5 | 033d83eed91f0da6bd0cf397aa62e71a |
|
BLAKE2b-256 | c0405c291176169ef2b69c444bb2e368c997f44478c1d53c97e57e3c9a6bb4ee |
File details
Details for the file alcli-1.0.70-py3-none-any.whl
.
File metadata
- Download URL: alcli-1.0.70-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c265d9cd9d13b5c20f3393e65b042ce0928b5f3e909601c8e95fd40449e9424a |
|
MD5 | a797b0a25758e547091791e84629c787 |
|
BLAKE2b-256 | 6e285cba5b54c55b8d7f6e20227705aa71e23e21d1ac6fb3736e64a19d2a2b19 |