Rekono-cli is a command line interface and Python library client for interacting with the Rekono REST API to facilitate vulnerability management and security automation.
Rekono API client
This tool is primarily used by security professionals and developers to automate and streamline interactions with the Rekono vulnerability management platform via CLI or Python scripts. It enables users to perform vulnerability scans, manage secrets, and automate security tasks by making API requests to Rekono instances.
Users must have access to a Rekono API instance and a valid API token for authentication, which can be set via the REKONO_TOKEN environment variable. The tool integrates well with CI pipelines, supporting unit testing, static application security testing (SAST), and secrets scanning workflows. Being open source, users can contribute or seek support through GitHub issues or the Discord community.
Ensure Python 3 and pip are installed
Install via pip: pip3 install rekono-cli
Alternatively, clone the repository and install dependencies: pip3 install -r src/requirements.txt
Run the CLI using: python3 src/rekono/main.py --help
python3 src/rekono/main.py --help
Displays help information and available commands for the Rekono CLI
pip3 install rekono-cli
Installs the Rekono CLI tool via pip
from rekono.client.api import Rekono client = Rekono(url='https://127.0.0.1', token='my secret api token') response = client.get('/api/tools/1/')
Example Python code to create a Rekono client and make a GET request to retrieve tool information