Skip to main content

CLI Reference

Complete reference for all Osmedeus command-line commands and options.

Global Options

These options are available for all commands:

run

Execute workflows against targets.

Basic Usage

Options

Chunk Mode Options

For distributed scanning across multiple machines:

Advanced Options

Examples

Chunk Mode Examples

Chunk mode variables available in workflows: {{ChunkIndex}}, {{ChunkSize}}, {{TotalChunks}}, {{ChunkStart}}, {{ChunkEnd}}

workflow

Manage and inspect workflows.

workflow list

List all available workflows.
Options: Examples:

workflow show

Display workflow details.
Options: Examples:

workflow validate / lint

Validate and lint workflow YAML files.
Options: Lint Rules: Examples:
JSON Output Format:
GitHub Actions Format:

func

Execute and inspect utility functions.

func list

List all available utility functions.
Options:

func execute

Execute a function expression.
Examples:

eval

Shorthand for osmedeus func eval. Execute function expressions directly.
Aliases: e, ev, evl, evla

server

Start the REST API server.
Options: Examples:

worker

Manage distributed workers.

worker join

Join as a distributed worker.
Options:

install

Install external binaries and configure environment.

install binary

Install security tools.
Options: Examples:

install env

Configure shell environment.
Options:

update

Self-update Osmedeus.
Options:

snapshot

Export and import workspace archives.

snapshot export

Export workspace as ZIP archive.
Options:

snapshot import

Import workspace from archive.
Source formats:
  • Local file path
  • HTTP/HTTPS URL

snapshot list

List available snapshots.

db

Database management commands.

db list

List database entries.
Options:

db export

Export database to file.

client

Interact with a remote Osmedeus server via HTTP API.

client fetch

Fetch data from a remote server.
Options:

client run

Create or cancel runs on a remote server.

client exec

Execute functions on a remote server.

health

Check system health and configuration.
Checks performed:
  • Configuration file status
  • Database connectivity
  • External binaries availability
  • Workflows loaded count
  • Disk space
  • Network connectivity

Usage Examples

Show all usage examples.
This displays comprehensive examples for all major use cases.

Environment Variables