Skip to main content
Descriptive alt text

CLI Run Progress

This document describes the command-line interface (CLI) for Osmedeus which is the main entry point for running workflows and modules and some other utilities. It provides usage examples and explanations for each command. Below are all available commands:

1. Osmedeus Run (aliases: scan)

Execute a workflow against one or more targets
Descriptive alt text

CLI Run with LLM Step

Descriptive alt text

CLI Run Progress

Descriptive alt text

CLI Run Progress

2. Osmedeus Function Eval

Execute and test utility functions available in workflows
Descriptive alt text

CLI Function Eval to Query Database

Descriptive alt text

CLI Function Eval to render markdown

3. Installation Command

One-liner to install workflows, base folder, or binaries from various sources.

4. Database Management

View and manage the database, including clean up, and schema operations.
cli-db-list

CLI Database List

cli-db-view

CLI Database Table View

5. Queue Management

Queue tasks for later processing and execute them with controlled concurrency. Tasks can be queued via the --queue flag on osmedeus run or directly via osmedeus worker queue new.

6. Server

Start the Osmedeus web server that provides REST API endpoints for managing runs, workflows, and settings.

7. Worker (Distributed Mode)

Commands for managing worker nodes in distributed scanning mode. Workers connect to Redis and process tasks from the master node.

8. Webhook Triggers

Register runs as webhook triggers that can be invoked via HTTP requests. This allows external systems (CI/CD, monitoring tools, etc.) to trigger scans on demand. Webhook triggers require the server to have enable_trigger_via_webhook: true in osm-settings.yaml.

9. Assets

Query and list discovered assets

Query and list discovered assets

Query and list discovered assets from the database. A shortcut for osmedeus db ls -t assets with first-class support for fuzzy search, source/type filtering, and asset statistics.

10. Snapshot

Export and import workspace snapshots as compressed ZIP archives.

11. Client (Remote Server)

Interact with a remote osmedeus server via REST API. Requires environment variables for connection.

12. Uninstall

Remove the Osmedeus installation including base folder, configuration, and optionally workspace data.

13. Config Management

Manage osmedeus configuration settings using dot notation.

14. Cloud Infrastructure

Provision and manage cloud infrastructure for distributed scanning. Supports multiple providers (DigitalOcean, AWS, GCP, Linode, Azure).

15. Workflow Management

List, view, search, and validate available workflows.

16. Update

Update osmedeus to the latest version from GitHub releases.

17. Version

Print version and build information.

18. Agent (ACP)

Run an ACP (Agent Communication Protocol) agent interactively from the terminal. The agent command spawns an external AI coding agent as a subprocess and communicates via ACP.

Full Usage Examples

See Full Usage Examples for full CLI usage examples.