Skip to main content

The Alert Logic Command Line Utility (CLI).

Project description

Build Status PyPI version

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.

$ alcli --version

$ pip3 list -o
Package    				Version  Latest   Type 
---------- 				-------- -------- -----
alcli     				1.0.1 	 1.0.2 	  sdist
alertlogic-sdk-python   1.0.2 	 1.0.2    sdist

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alcli-1.0.37.tar.gz (85.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alcli-1.0.37-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file alcli-1.0.37.tar.gz.

File metadata

  • Download URL: alcli-1.0.37.tar.gz
  • Upload date:
  • Size: 85.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0

File hashes

Hashes for alcli-1.0.37.tar.gz
Algorithm Hash digest
SHA256 a656bdff152b91f8f882cb0ecd9eaf75371dcdafe95bcb8c22dc34609ad5a78a
MD5 d38a07e451a8b91e43e4ef9c49009e05
BLAKE2b-256 a50c1e5e04e297aed471620baa0b22dd72504eb9d8bf8f56a88df8869c09bbcb

See more details on using hashes here.

File details

Details for the file alcli-1.0.37-py3-none-any.whl.

File metadata

  • Download URL: alcli-1.0.37-py3-none-any.whl
  • Upload date:
  • Size: 14.7 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/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0

File hashes

Hashes for alcli-1.0.37-py3-none-any.whl
Algorithm Hash digest
SHA256 eb2598f97d4b716eed89b4f6fe377dfafb92e3c8dfb773d77741dd1cb9438c60
MD5 744e974bd0ff611c3749e5aebc2b0131
BLAKE2b-256 5d6818b6b7111f8a7f2a3a74a2729b82649b46f93612a89b1a0ca25d421c7047

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page