AquilaX Docs
Service StatusFeature RequestLogin
  • Documentation
  • Products and Services
    • Demo
      • Security Engineer - Assistant
      • Security Engineer - Chat
      • Scan code Snippet
    • Products
    • Services
      • Vulnerability Triaging
      • AppSec Training
      • DevSecOps Consultation
      • Deployment Options
      • Security Consultation
      • Integrations
    • Company Principles
      • Engineering Principles
      • AI Principles
      • AquilaX Mission
    • Proof of Value (PoV)
    • SLO/SLA/SLI
    • Security Scanners
    • Supported Languages
    • What is AquilaX
    • Success Cases
      • RemoteEngine
    • AquilaX License Model
  • User Manual
    • Access Tokens
    • Scanners
      • Secret Scanning
      • PII Scanner
      • SAST
      • SCA
      • Container Scanning
      • IaC Scanning
      • API Security
      • Malware Scanning
      • AI Generated Code
      • License Scanning
    • DevTools
      • AquilaX CLI
      • CI/CD
        • GitHub Integration
        • GitLab Integration
      • Vulnerability Tickets
        • GitHub Issues
        • GitLab Issues
        • JIRA Tickets
      • IDE
        • VS Code
    • Frameworks
    • Roles
    • Security Policy
    • Comparison
      • ArmorCode vs AquilaX
      • Black Duck vs AquilaX
      • AquilaX vs other Vendors
    • Press and Logo
    • Install AquilaX
    • Public Scan
    • Scanning Setup Guide
    • AI Chat Prompts
  • API Docs
  • Tech Articles
    • Proprietary AI Models
    • AquilaX Securitron
    • Securitron AI Service
    • Secure SDLC (DevSecOps)
    • Bending the technology
    • SecuriTron In Action
    • Future
      • The Future of Code Review
      • Building Superhumans
    • Blog
      • Breaking the Code: AquilaX
      • Rethinking Authentication in 2024
      • Software Supply Chain Security
      • OneFirewall - Network Security
      • The Art of Doing Source Code Review
      • Our Cloud Infrastracture
    • AppSec
      • 10 ‘must’ controls
      • OWASP Top 10
      • MITRE ATT&CK Framework
      • SQL Injection
      • DevSecOps
      • Insider Threats in Application Security
      • Secure API Development
      • RBAC in Applications
      • Security in CI/CD Pipelines
      • Audits in DevSecOps
      • Security Policies
      • S SDLC
      • Multi-Factor Authentication (MFA)
      • API Gateway Security
      • RESTful APIs
      • Microservices
      • Secure API Development
      • API Security Best Practices
    • AI
      • AI part of AppSec
      • NL-JSON Model
      • Findings Review (AquilaX AI)
      • AI-Driven Vulnerability Triage
    • Tech Events
      • Web Summit 2024
    • ASPM
    • State of Art Secure SDLC
      • Validating Runtime Security
    • Announcements
      • 10 Billion
      • AquilaX Joins NVIDIA Inception
    • Webinars
      • Unlock the Future of Code Security with AI
  • AI Models
    • AI Scanner
    • Query
    • QnA
    • Security Assistant
    • Review
Powered by GitBook
On this page
  • Prerequisites
  • Install
  • Verify
  • Authenticate
  • List your Organizations
  • List your Groups
  • Async Scan
  • Sync Scan
  • More Details

Was this helpful?

  1. User Manual
  2. DevTools

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

More Details

PreviousDevToolsNextCI/CD

Last updated 7 months ago

Was this helpful?

You can simple type aquilax -h for more details or you can visit the open source repo of the CLI here:

If you find any issue or any suggestion for improvement, we love to hear from you:

https://github.com/AquilaX-AI/AquilaX-Client
https://uptime.betterstack.com/report/QK1Vyg2gkGYXXe8YDePQpuyX
AquilaX Sync Scan