analyses

Manage analyses.

An analysis is a history of versions, like a git repository. HEAD is the version commands act on by default; pass --version to target another. Findings staged with bevor findings sit on HEAD until you commit them, which creates a new version. After a code change, bevor sync pushes it and adds it as a new version.

list

List analyses in the selected project (or --project). The selected one is marked.

bevor analyses list [OPTIONS]

Options:

--pageinteger

Page number to use for resource that supports pagination

--page-sizeinteger

Page size to use for resource that supports pagination

--orderdesc | asc

How to order results when a resource supports pagination

--order-bycreated_at | updated_at

What field to order results by when a resource supports pagination

--projecttext

Project ID (defaults to .bevor config).

--usertext

Analysis creator to filter by

--is-ownerflag

Analysis filter by owner only

--jsonflag

JSON output

view

Show HEAD of the selected analysis (or of analysis_id), or a specific --version.

bevor analyses view [analysis_id] [OPTIONS]

Arguments:

analysis_idtext

Analysis id. Defaults to the selected analysis.

Options:

--versiontext

Show this version instead of HEAD.

--jsonflag

JSON output

lineage

Show HEAD of the selected analysis and its ancestors, back toward the root.

Each version is fetched individually, so keep --limit small on long histories.

bevor analyses lineage [OPTIONS]

Options:

--limit, -ninteger
default:10

Maximum number of versions to show.

--onelineflag

One line per version.

--jsonflag

JSON output

select

Select an analysis to work on, by id, with --recent, or from a list.

bevor analyses select [analysis_id] [OPTIONS]

Arguments:

analysis_idtext

Analysis id to select. Prompts with a list when omitted.

Options:

--pageinteger

Page number to query

--page-sizeinteger

Max analyses to fetch.

--recentflag

Select your most recently used analysis.

deselect

Clear the selected analysis. Nothing is deleted; the pushed code stays selected.

bevor analyses deselect

create

Create a version for the pushed code.

With an analysis selected, adds it as a new version on HEAD and moves HEAD to it. With none selected (or --new), starts a new analysis and selects it. Nothing is run; use bevor analyses run for that. The working directory must match the last push; bevor sync pushes and does this in one step.

bevor analyses create [OPTIONS]

Options:

--newflag

Start a new analysis even if one is selected.

--nametext

Name for a new analysis.

--versiontext

Add the new version on top of this version instead of HEAD.

--collisionsurface | force | merge
default:surface

What to do if this code already has a version: surface the candidates (default), force, or merge.

--yesflag

Skip confirmation of action.

--jsonflag

JSON output

--forceflag

Skip checks. Not recommended.

fork

Copy another user's version into a new analysis you own, and select it.

Forks HEAD of the selected analysis, or --version. You can't change analyses you don't own; forking lets you build on their findings. To branch your own analysis, move HEAD back with bevor analyses set-head and create a version from there.

bevor analyses fork [OPTIONS]

Options:

--versiontext

Use this version instead of HEAD.

merge

Merge another analysis's HEAD (or --from-version) into the selected analysis (or --to).

Creates a new version on the destination, moves its HEAD there, and selects it.

bevor analyses merge [from_analysis] [OPTIONS]

Arguments:

from_analysistext

Analysis to merge from (its HEAD is used).

Options:

--from-versiontext

Merge from this exact version instead of an analysis's HEAD.

--totext

Analysis to merge into (default: the selected analysis).

run

Run the security pipeline on the first-party entrypoints of HEAD (or --version).

Pass --all to include entrypoints in dependencies too.

bevor analyses run [OPTIONS]

Options:

--versiontext

Use this version instead of HEAD.

--allflag

Include dependency entrypoints, not just first-party ones.

--no-waitflag

Return immediately without waiting for the event stream to complete.

--silentflag

Suppress intermediate output logs.

entrypoints

List the entrypoints of HEAD (or --version) and their pipeline status.

bevor analyses entrypoints [OPTIONS]

Options:

--versiontext

Use this version instead of HEAD.

--jsonflag

JSON output

materialize

Write each entrypoint of HEAD that still needs processing to .bevor/analyses/<analysis>/<entrypoint>.raw.md.

Each file holds the entrypoint's source and its call chain, for an external agent to review. Only entrypoints that are queued or failed, and not carried over from a parent version, are written.

bevor analyses materialize

transitions

Show how findings changed (added, updated, removed, remediated, dismissed) at HEAD (or --version).

With --project-wide, list changes across the whole project instead.

bevor analyses transitions [OPTIONS]

Options:

--pageinteger

Page number to use for resource that supports pagination

--page-sizeinteger

Page size to use for resource that supports pagination

--orderdesc | asc

How to order results when a resource supports pagination

--order-bycreated_at | updated_at

What field to order results by when a resource supports pagination

--kindremediated | carried

Only show transitions with this kind (e.g. remediated, carried).

--versiontext

Use this version instead of HEAD.

--project-wideflag

List transitions across the whole project instead.

--jsonflag

JSON output

set-head

Point HEAD of the selected analysis at a version. Commands act on HEAD by default.

@{1} or - undoes the last HEAD move made from this directory.

bevor analyses set-head <version_id>

Arguments:

version_idtextrequired

Version id, @{n} for where HEAD was n moves ago (see bevor reflog), or - for the previous HEAD.

delete

Delete a version, or the entire analysis.

full

Delete the selected analysis and all of its versions.

bevor analyses delete full

version

Delete a single leaf version. If it was HEAD, HEAD moves to its parent.

bevor analyses delete version <version>

Arguments:

versiontextrequired

Version id to delete. Must be a leaf version.

On this page