DeepFellow DOCS

DeepFellow CLI

Commands to manage and update the DeepFellow CLI itself.

The deepfellow cli group manages the DeepFellow CLI installation.

deepfellow cli [OPTIONS] COMMAND [ARGS]...

deepfellow version

Print the version of the DeepFellow CLI and, when installed on this machine, of DeepFellow Infra and DeepFellow Server. Each component line shows the origin of the version: the running container, or the configuration when the component is stopped or Docker is unreachable. To print the CLI version only, without calling Docker, run deepfellow --version.

deepfellow version [OPTIONS]
FlagDescription
--helpShow help and exit

deepfellow update

Update DeepFellow CLI, Infra, and Server. The command updates the CLI first, and then DeepFellow Infra and DeepFellow Server, if they are installed. It skips a component that isn't installed or that runs a locally built image. If one step fails, the command still runs the others and exits with status 1. See All Components.

On a DeepFellow Server still on MongoDB, the command offers to move the data to PostgreSQL the same way deepfellow server update does. It takes the same options and asks the same question, which the global --yes option does not answer. The default answer is no. With --non-interactive, the Server step migrates only with --migrate-database. See Migrate from MongoDB to PostgreSQL.

deepfellow update [OPTIONS]
FlagDefaultDescription
--migrate-databaseOn a Server still on MongoDB, move the data to PostgreSQL as part of the update without asking. Optional in 0.42. From 0.43, required with --non-interactive to update a Server still on MongoDB. The global --yes option does not answer the question.
--wipe-postgresLet the migration delete what PostgreSQL holds from an earlier migration, for example one that was rolled back, without asking.
--allow-driftOn a Server still on MongoDB, migrate even if MongoDB changed after the snapshot. The migration leaves out the later changes.
--skip-unmappableOn a Server still on MongoDB, migrate even if some documents do not map to PostgreSQL. The migration skips those documents.
--snapshot-dir PATH~/.deepfellow/db-snapshotsDirectory for the Server's MongoDB snapshot, kept after the migration.
--postgres-url TEXTpostgres:5432On a Server still on MongoDB, the host:port of an existing PostgreSQL to move the data to. The default asks whether to add a local one.
--postgres-port INTEGER5432Host port to publish the Server's local PostgreSQL on.
--postgres-database-name TEXTdeepfellowName of the Server's PostgreSQL database.
--postgres-username TEXTUsername for the Server's PostgreSQL.
--postgres-password TEXTPassword for the Server's PostgreSQL.
--helpShow help and exit

deepfellow cli Commands


deepfellow prune

Remove everything: DeepFellow Workspace, DeepFellow Server, Threat Intelligence, DeepFellow Infra, the CLI, and ~/.deepfellow/.

deepfellow prune [OPTIONS]
FlagDescription
--helpShow help and exit

deepfellow prune resolves the uninstall command and the configured server directory up front, before the steps that wipe the config holding them. DeepFellow Workspace is removed first, because deleting its webhook endpoint needs a running DeepFellow Server and an organization admin login. If the command can't remove the endpoint, it prints a warning and continues. Package removal runs last, since it deletes the running script.

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.

On this page