AquilaX CLI

Command Line Interface for AquilaX Scanning

Prerequisites

  1. Python 3.7 or higher

  2. pip package manager

Install

To install the AquilaX CLI (Command Line Interface) you can simply execute:

pip3 install aquilax

Verify

Verify that is installed correctly

aquilax -v

Authenticate

In order to authenticate with the CLI, firstly login into https://app.aquilax.ai and create an API Access Token (PAT), then execute the below command (this need only once)

aquilax login <your PAT>

List your Organizations

aquilax get orgs 

Set your Organization

aquilax --set-org <your Org ID>

List your Groups

aquilax get groups ⁠

Set your group

aquilax --set-group <your Group ID>

Async Scan

You can initiate a scan without waiting for the results, freeing up your terminal. This allows you to run multiple scans simultaneously for greater efficiency.

aquilax scan https://github.com/AquilaX-AI/vulnapp-python

the output will look like the below

Scanning Started:
+------------+---------------------------------------------------------------------------------------------------------------------+
| Detail     | Value                                                                                                               |
+============+=====================================================================================================================+
| Scan ID    | 66f703bdsgi3oaf37d491eda                                                                                            |
+------------+---------------------------------------------------------------------------------------------------------------------+
| Project ID | 66f703badksjfsk37d491ed9                                                                                            |
+------------+---------------------------------------------------------------------------------------------------------------------+
| Git URI    | https://github.com/AquilaX-AI/vulnapp-python                                                                        |
+------------+---------------------------------------------------------------------------------------------------------------------+
| Frequency  | Once                                                                                                                |
+------------+---------------------------------------------------------------------------------------------------------------------+
| Tags       | aquilax, cli, tool                                                                                                  |
+------------+---------------------------------------------------------------------------------------------------------------------+
| Scanners   | pii_scanner, secret_scanner, iac_scanner, sast_scanner, sca_scanner, container_scanner, image_scanner, cicd_scanner |
+------------+---------------------------------------------------------------------------------------------------------------------+

Scanning results

aquilax get scan-details --project-id 66f703badksjfsk37d491ed9 --scan-id 66f703bdsgi3oaf37d491eda

Sync Scan

You can also start a scan in synchronous mode, this will make your terminal waiting for the results, and you can see in real time the output of your scan as is happening

aquilax scan https://github.com/AquilaX-AI/AquilaX-Client --sync
AquilaX Sync Scan

More Details

You can simple type aquilax -h for more details or you can visit the open source repo of the CLI here: https://github.com/AquilaX-AI/AquilaX-Client

If you find any issue or any suggestion for improvement, we love to hear from you: https://uptime.betterstack.com/report/QK1Vyg2gkGYXXe8YDePQpuyX

Last updated