findings

Stage, review, and search findings.

add, import, edit, and delete stage changes on HEAD of the selected analysis; bevor analyses commit turns them into a new version.

list

List findings on HEAD of the selected analysis, or search the whole project.

By default, lists every finding on HEAD (or --version), including staged changes; this mode supports --interactive and --sarif. With --project-wide, searches findings across the project instead, with paging, sorting, and ownership filters. The filters panel works in both.

bevor findings list [OPTIONS]

Options:

--project-wideflag

Search findings across the whole project instead of HEAD. Results are paginated.

--jsonflag

JSON output

HEAD of the selected analysis (default):

--versiontext

List findings on this version instead of HEAD.

--interactiveflag

Browse findings and act on the focused row.

--sarifpath

Write the findings as SARIF to this path.

Filters (both modes):

--typetext

Finding type.

--levelcritical | high | medium | low

Severity of finding

--acknowledgedflag

Only acknowledged findings.

Project-wide search (requires --project-wide):

--pageinteger

Page number.

--page-sizeinteger

Results per page.

--orderdesc | asc

Sort direction.

--order-bycreated_at | updated_at | level

Field to sort by.

--projecttext

Search this project instead of the selected one.

--selfflag

Only findings in analyses you own.

--usertext

Only findings in analyses owned by this user.

--codetext

Only findings on this code version.

--analysestext

Only findings in these analyses (comma-separated ids).

--created-by-selfflag

Only findings you originally created.

--created-bytext

Only findings originally created by this user.

view

Show a finding.

bevor findings view <finding_id> [OPTIONS]

Arguments:

finding_idtextrequired

Finding ID.

Options:

--jsonflag

JSON output

add

Stage a new finding on HEAD of the selected analysis (or --version).

Provide input one of three ways:

  • --file: a YAML file with exactly one finding mapping.
  • --interactive: prompts for each field.
  • Flags directly, as described below.

When passing flags, specify a location, which specifies the code node that the finding is associated with, using exactly one of:

  • --node and/or --location (a Bevor node id; --location alone fans the finding out to every entrypoint that reaches it)
  • --uri plus one full pair of --start-line/--end-line, --char-offset/--char-length, or --byte-offset/--byte-length
  • --fqn

Metadata (--type, --level, --name, --explanation) is all or nothing: provide all four to record a finding, or omit all four to mark the location as analyzed with no finding. --recommendation, --poc, and --tool are always optional.

bevor findings add [OPTIONS]

Options:

--versiontext

Stage onto this version instead of HEAD.

--filepath

YAML file containing exactly one finding mapping.

--interactiveflag

Force interactive prompts.

--typetext
--levelcritical | high | medium | low

Severity of finding

--nametext
--explanationtext
--recommendationtext
--poctext
--tooltext
--nodetext
--locationtext
--uritext
--start-lineinteger
--start-columninteger
--end-lineinteger
--end-columninteger
--char-offsetinteger
--char-lengthinteger
--byte-offsetinteger
--byte-lengthinteger
--fqntext

import

Stage findings from a file or directory onto HEAD of the selected analysis (or --version).

source can be a .yaml/.yml file (one or more ----separated findings), a directory of YAML files, a .sarif file, or a .json file with a top-level findings list.

bevor findings import <source> [OPTIONS]

Arguments:

sourcepathrequired

A .json file, .sarif file, .yaml/.yml file, or a directory of YAML files.

Options:

--versiontext

Stage onto this version instead of HEAD.

edit

Stage an edit to a finding, from a --file YAML or interactively (prefilled with its current values).

bevor findings edit <finding_id> [OPTIONS]

Arguments:

finding_idtextrequired

Finding id to edit.

Options:

--file, -fpath

YAML with one mapping: type, level, name, explanation; optional recommendation / poc.

delete

Stage the deletion of a finding. It's removed when you commit.

bevor findings delete <finding_id>

Arguments:

finding_idtextrequired

Finding id to delete.

undo

Discard the staged change to a finding. To discard everything staged, use bevor analyses reset.

bevor findings undo <finding_id>

Arguments:

finding_idtextrequired

Finding id to undo changes to.

acknowledge

Mark a finding as acknowledged.

bevor findings acknowledge <finding_id>

Arguments:

finding_idtextrequired

Finding id.

unacknowledge

Remove the acknowledgement from a finding.

bevor findings unacknowledge <finding_id>

Arguments:

finding_idtextrequired

Finding id.

On this page