cli

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2026 License: Apache-2.0

README

SafeDep CLI

The SafeDep Platform CLI. The unified DevEx layer over vet, pmg, gryph, and SafeDep Cloud.

Installation

brew install safedep/tap/cli

Commands

Command Description
safedep auth login Authenticate with SafeDep Cloud
safedep auth logout Remove credentials for the active profile
safedep auth status Show authentication status
safedep auth profile list List credential profiles
safedep endpoint status Show fleet health
safedep endpoint list List endpoints with filters
safedep endpoint show Show endpoint detail
safedep endpoint activity list List recent endpoint activity
safedep endpoint inventory list List current endpoint inventory
safedep query exec Execute a SQL query against SafeDep Cloud
safedep query schema get Inspect the SafeDep Cloud query schema
safedep version Print CLI version
safedep integration jfrog run Push SafeDep malware findings to JFrog XRay
safedep protect mcp install Inject SafeDep MCP server config into detected AI agents
safedep protect mcp uninstall Remove SafeDep MCP server config from detected AI agents
safedep setup mcp install Guided onboarding: authenticate and configure AI agents in one step

Directories

Path Synopsis
cmd
safedep command
internal
app
Package app holds the dependency-injection container shared by all commands.
Package app holds the dependency-injection container shared by all commands.
auth
Package auth contains the SafeDep CLI's authentication flows.
Package auth contains the SafeDep CLI's authentication flows.
cloudquery
Package cloudquery is the orchestration layer for SafeDep Cloud's SQL query service.
Package cloudquery is the orchestration layer for SafeDep Cloud's SQL query service.
cmd
cmd/auth
Package auth registers the `safedep auth` domain.
Package auth registers the `safedep auth` domain.
cmd/endpoint
Package endpoint registers the `safedep endpoint` command tree, the CLI front-end for SafeDep Cloud's EndpointManagementService (Endpoint Hub).
Package endpoint registers the `safedep endpoint` command tree, the CLI front-end for SafeDep Cloud's EndpointManagementService (Endpoint Hub).
cmd/integration
Package integration is the umbrella domain for SafeDep's third-party integrations.
Package integration is the umbrella domain for SafeDep's third-party integrations.
cmd/integration/jfrog
internal/cmd/integration/jfrog/run.go
internal/cmd/integration/jfrog/run.go
cmd/query
Package query registers the `safedep query` domain.
Package query registers the `safedep query` domain.
cmd/version
Package version registers the `safedep version` command.
Package version registers the `safedep version` command.
config
Package config owns the CLI's persistent configuration.
Package config owns the CLI's persistent configuration.
storage
Package storage owns the CLI's persistent-state layer.
Package storage owns the CLI's persistent-state layer.
tui
Package tui owns the CLI's data-presentation contract and the theme it pushes into dry/tui at startup.
Package tui owns the CLI's data-presentation contract and the theme it pushes into dry/tui at startup.
scripts module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL