anchorectl app

App related operations.

Every command on this page also accepts the global flags.

Subcommands

app add

Create a new app.

anchorectl app add NAME [flags]

Arguments

ArgumentDescription
NAMEThe name of the app.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--contact-namestringANCHORECTL_CONTACT_NAME""YesContact person name.
--contact-emailstringANCHORECTL_CONTACT_EMAIL""NoContact email address.
--contact-phonestringANCHORECTL_CONTACT_PHONE""NoContact phone number.
--descriptionstringANCHORECTL_DESCRIPTION""NoThe description of the app.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
--policy-idstringANCHORECTL_POLICY_ID""NoThe policy name or ID to associate with the app.

app delete

Delete an app by name or ID.

anchorectl app delete APP [flags]

Aliases: del

Arguments

ArgumentDescription
APPThe app name or ID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--forceboolANCHORECTL_FORCEfalseNoForce delete (removes all versions and associations).
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app get

Get an app by name or ID.

anchorectl app get APP [flags]

Arguments

ArgumentDescription
APPThe app name or ID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app job

Job operations for an app.

anchorectl app job [command]

Subcommands

  • app job cancel — Cancel a job
  • app job get — Get a job by ID. Pass --detail with -o json-raw to fetch the type-specific job payload (job_spec, completion_detail, etc.).
  • app job list — List jobs for an app

app job cancel

Cancel a job.

anchorectl app job cancel JOB_ID [flags]

Arguments

ArgumentDescription
JOB_IDThe job UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app job get

Get a job by ID. Pass --detail with -o json-raw to fetch the type-specific job payload (job_spec, completion_detail, etc.).

anchorectl app job get JOB_ID [flags]

Arguments

ArgumentDescription
JOB_IDThe job UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--detailboolANCHORECTL_DETAILfalseNoFetch the type-specific job payload (requires -o json-raw).
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app job list

List jobs for an app.

anchorectl app job list APP [flags]

Arguments

ArgumentDescription
APPThe app name or ID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--created-sincestringANCHORECTL_CREATED_SINCE""NoOnly show jobs created since: Go duration syntax (units s/m/h, e.g. “30m”, “1h”, “2h45m”, “1.5h”) or a datetime (“2026-04-15”, “2026-04-15 09:00:00”, “2026-04-15T09:00:00Z”). Bare datetimes are interpreted in local time.
--mineboolANCHORECTL_MINEfalseNoOnly show jobs owned by the current user.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
--statusstring (repeatable)ANCHORECTL_STATUS[]NoFilter by job status (comma-separated for multiple, OR semantics). Allowable values: pending, processing, cancelled, complete, failed.
--versionstringANCHORECTL_VERSION""NoFilter by version name or UUID.

app list

List all apps.

anchorectl app list [flags]

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--namestringANCHORECTL_NAME""NoFilter by exact app name.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app update

Update an existing app.

anchorectl app update APP [flags]

Arguments

ArgumentDescription
APPThe app name or ID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--contact-emailstringANCHORECTL_CONTACT_EMAIL""NoContact email address.
--contact-namestringANCHORECTL_CONTACT_NAME""NoContact person name.
--contact-phonestringANCHORECTL_CONTACT_PHONE""NoContact phone number.
--descriptionstringANCHORECTL_DESCRIPTION""NoThe new description.
--namestringANCHORECTL_NAME""NoThe new name for the app.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
--policy-idstringANCHORECTL_POLICY_ID""NoThe policy name or ID to associate.

app version

App version related operations.

anchorectl app version [command]

Subcommands

app version add

Create a new app version.

anchorectl app version add NAME [flags]

Arguments

ArgumentDescription
NAMEThe name of the version.

Examples

# Create a released version of an app
anchorectl app version add 1.4.0 --app my-service --status released

# Create the next version and chain it to its predecessor
anchorectl app version add 1.5.0 --app my-service --status in_progress --previous-version 1.4.0

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--descriptionstringANCHORECTL_DESCRIPTION""NoThe version description.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
--previous-versionstringANCHORECTL_PREVIOUS_VERSION""NoThe previous version name or UUID.
--release-datestringANCHORECTL_RELEASE_DATE""NoDate of release of this version (e.g. 2026-01-15).
--statusstringANCHORECTL_STATUS""NoThe status of the app version (in_progress, released, eol).

app version asset

App version asset operations.

anchorectl app version asset [command]

Subcommands

app version asset add

Add an asset to an app version.

anchorectl app version asset add [command]

Subcommands

  • app version asset add analysis-bundle — Upload an analysis bundle produced by anchorectl generate analysis-bundle as an asset to an app version. Creates a job to import and process the analysis.
  • app version asset add container-image — Add a container image as an asset. By default pulls from a registry. Use --from docker or --from podman to analyze a local daemon image, or --from docker-archive:/path/to.tar to load from an archive.
  • app version asset add container-image-remote — Add a container image via centralized analysis. Enterprise pulls and analyzes the image from the registry.
  • app version asset add filesystem — Add a filesystem directory as an asset. Analyzes the directory locally using Syft, generates an SBOM, and uploads it to Enterprise.
  • app version asset add sbom — Upload an SBOM file as an asset to an app version. Creates a job to import and process the SBOM.

app version asset add analysis-bundle

Upload an analysis bundle produced by anchorectl generate analysis-bundle as an asset to an app version. Creates a job to import and process the analysis.

anchorectl app version asset add analysis-bundle BUNDLE [flags]

Arguments

ArgumentDescription
BUNDLEPath to the analysis bundle tar archive (uncompressed; typically named .tar).

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--assetstringANCHORECTL_ASSET""YesThe name for the new asset.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
-a, --annotationsstringANCHORECTL_ANNOTATIONS""NoAnnotations as comma-separated key=value pairs.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
-t, --typestringANCHORECTL_TYPEunknownNoThe asset type (image analysis bundles default to container).
-w, --waitboolANCHORECTL_WAITfalseNoWait for the job to complete before returning.

app version asset add container-image

Add a container image as an asset. By default pulls from a registry. Use --from docker or --from podman to analyze a local daemon image, or --from docker-archive:/path/to.tar to load from an archive.

anchorectl app version asset add container-image IMAGE [flags]

Arguments

ArgumentDescription
IMAGEThe container image reference (e.g. docker.io/library/nginx:latest).

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--assetstringANCHORECTL_ASSET""YesThe name for the new asset.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
-a, --annotationsstringANCHORECTL_ANNOTATIONS""NoAnnotations as comma-separated key=value pairs.
--dockerfilestringANCHORECTL_DOCKERFILE""NoPath to the Dockerfile used to build the image.
--fromstringANCHORECTL_FROM""NoImage source: registry (default), docker, podman, or docker-archive:<path> (docker and podman: if the image is not present in the daemon it is pulled from the registry).
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
-p, --platformstringANCHORECTL_PLATFORM""NoPlatform specifier (e.g. linux/amd64).
-t, --typestringANCHORECTL_TYPEcontainerNoThe asset type.
-w, --waitboolANCHORECTL_WAITfalseNoWait for the job to complete before returning.

app version asset add container-image-remote

Add a container image via centralized analysis. Enterprise pulls and analyzes the image from the registry.

anchorectl app version asset add container-image-remote IMAGE [flags]

Arguments

ArgumentDescription
IMAGEThe container image reference (e.g. docker.io/library/nginx:latest).

Examples

anchorectl app version asset add container-image-remote registry.example.com/my-service:1.4.0 \
  --app my-service --version 1.4.0 --asset api-image --wait

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--assetstringANCHORECTL_ASSET""YesThe name for the new asset.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
-a, --annotationsstringANCHORECTL_ANNOTATIONS""NoAnnotations as comma-separated key=value pairs.
--dockerfilestringANCHORECTL_DOCKERFILE""NoPath to the Dockerfile used to build the image.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
-t, --typestringANCHORECTL_TYPEcontainerNoThe asset type.
-w, --waitboolANCHORECTL_WAITfalseNoWait for the job to complete before returning.

app version asset add filesystem

Add a filesystem directory as an asset. Analyzes the directory locally using Syft, generates an SBOM, and uploads it to Enterprise.

anchorectl app version asset add filesystem DIRECTORY [flags]

Arguments

ArgumentDescription
DIRECTORYThe path to the directory to analyze (e.g. /mnt/unpacked-vm, ./myapp).

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--assetstringANCHORECTL_ASSET""YesThe name for the new asset.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
-a, --annotationsstringANCHORECTL_ANNOTATIONS""NoAnnotations as comma-separated key=value pairs.
--authorstringANCHORECTL_AUTHORunknownNoSBOM document author (e.g. “Name <email>”).
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
--supplierstringANCHORECTL_SUPPLIERunknownNoSBOM document supplier name.
-t, --typestringANCHORECTL_TYPEfilesystemNoThe asset type.
-w, --waitboolANCHORECTL_WAITfalseNoWait for the job to complete before returning.

app version asset add sbom

Upload an SBOM file as an asset to an app version. Creates a job to import and process the SBOM.

anchorectl app version asset add sbom SBOM_FILE [flags]

Arguments

ArgumentDescription
SBOM_FILEPath to the SBOM file.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--assetstringANCHORECTL_ASSET""YesThe name for the new asset.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
-a, --annotationsstringANCHORECTL_ANNOTATIONS""NoAnnotations as comma-separated key=value pairs.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
-t, --typestringANCHORECTL_TYPEunknownNoThe asset type.
-w, --waitboolANCHORECTL_WAITfalseNoWait for the job to complete before returning.

app version asset delete

Delete an asset from an app version.

anchorectl app version asset delete ASSET [flags]

Arguments

ArgumentDescription
ASSETThe asset name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app version asset get

Get an asset by ID for an app version.

anchorectl app version asset get ASSET [flags]

Arguments

ArgumentDescription
ASSETThe asset name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app version asset list

List assets for an app version.

anchorectl app version asset list VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--namestringANCHORECTL_NAME""NoFilter by asset name.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app version asset sbom

App version asset SBOM operations.

anchorectl app version asset sbom [command]

Subcommands

app version asset sbom get

Get the SBOM for an asset in an app version.

anchorectl app version asset sbom get ASSET [flags]

Arguments

ArgumentDescription
ASSETThe asset name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
-f, --filestringANCHORECTL_FILE""NoWrite SBOM to file instead of stdout.

app version asset update

Update an asset for an app version.

anchorectl app version asset update ASSET [flags]

Arguments

ArgumentDescription
ASSETThe asset name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
--annotationsstringANCHORECTL_ANNOTATIONS""NoAnnotations as comma-separated key=value pairs (merge with existing, set value to empty to remove).
--namestringANCHORECTL_NAME""NoThe new name for the asset.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
--typestringANCHORECTL_TYPE""NoThe asset type.

app version delete

Delete an app version by name or ID.

anchorectl app version delete VERSION [flags]

Aliases: del

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--forceboolANCHORECTL_FORCEfalseNoForce delete (removes all associations).

app version export

Export documents for an app version.

anchorectl app version export [command]

Subcommands

  • app version export packages — Export package data for an app version. Creates an export job, waits for completion, and outputs the result.
  • app version export policy-compliance — Export policy compliance findings for an app version. Creates an export job, waits for completion, and outputs the result.
  • app version export sbom-cyclonedx-1 — Export a combined CycloneDX 1.x JSON SBOM for an app version. Creates an export job, waits for completion, and outputs the result.
  • app version export sbom-spdx-2 — Export a combined SPDX 2.x JSON SBOM for an app version. Creates an export job, waits for completion, and outputs the result.
  • app version export vdr — Export a CycloneDX VDR (Vulnerability Disclosure Report) for an app version. Creates an export job, waits for completion, and outputs the result.
  • app version export vex — Export VEX (Vulnerability Exploitability eXchange) annotations for an app version. Creates an export job, waits for completion, and outputs the result.
  • app version export vulnerabilities — Export vulnerability data for an app version. Creates an export job, waits for completion, and outputs the result.

app version export packages

Export package data for an app version. Creates an export job, waits for completion, and outputs the result.

anchorectl app version export packages VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-f, --filestringANCHORECTL_FILE""NoWrite output to file instead of stdout.
--formatstringANCHORECTL_FORMATcsvNoThe export format. Allowable values: csv.

app version export policy-compliance

Export policy compliance findings for an app version. Creates an export job, waits for completion, and outputs the result.

anchorectl app version export policy-compliance VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-f, --filestringANCHORECTL_FILE""NoWrite output to file instead of stdout.
--formatstringANCHORECTL_FORMATcsvNoThe export format. Allowable values: csv.

app version export sbom-cyclonedx-1

Export a combined CycloneDX 1.x JSON SBOM for an app version. Creates an export job, waits for completion, and outputs the result.

anchorectl app version export sbom-cyclonedx-1 VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-f, --filestringANCHORECTL_FILE""NoWrite output to file instead of stdout.

app version export sbom-spdx-2

Export a combined SPDX 2.x JSON SBOM for an app version. Creates an export job, waits for completion, and outputs the result.

anchorectl app version export sbom-spdx-2 VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-f, --filestringANCHORECTL_FILE""NoWrite output to file instead of stdout.

app version export vdr

Export a CycloneDX VDR (Vulnerability Disclosure Report) for an app version. Creates an export job, waits for completion, and outputs the result.

anchorectl app version export vdr VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-f, --filestringANCHORECTL_FILE""NoWrite output to file instead of stdout.
--formatstringANCHORECTL_FORMATcyclonedx-jsonNoThe export format. Allowable values: cyclonedx-json.

app version export vex

Export VEX (Vulnerability Exploitability eXchange) annotations for an app version. Creates an export job, waits for completion, and outputs the result.

anchorectl app version export vex VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-f, --filestringANCHORECTL_FILE""NoWrite output to file instead of stdout.
--formatstringANCHORECTL_FORMATcyclonedx-jsonNoThe export format. Allowable values: cyclonedx-json.

app version export vulnerabilities

Export vulnerability data for an app version. Creates an export job, waits for completion, and outputs the result.

anchorectl app version export vulnerabilities VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-f, --filestringANCHORECTL_FILE""NoWrite output to file instead of stdout.
--formatstringANCHORECTL_FORMATcsvNoThe export format. Allowable values: csv.

app version get

Get an app version by name or ID.

anchorectl app version get VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app version list

List all versions of an app.

anchorectl app version list APP [flags]

Arguments

ArgumentDescription
APPThe app name or ID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--namestringANCHORECTL_NAME""NoFilter by exact version name.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app version package

App version package operations.

anchorectl app version package [command]

Subcommands

app version package list

List packages for an app version.

anchorectl app version package list VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app version policy

App version policy operations.

anchorectl app version policy [command]

Subcommands

app version policy findings

App version policy findings operations.

anchorectl app version policy findings [command]

Subcommands

app version policy findings list

List policy findings for an app version.

anchorectl app version policy findings list VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app version policy status

App version policy status operations.

anchorectl app version policy status [command]

Subcommands

app version policy status get

Get policy evaluation status for an app version.

anchorectl app version policy status get VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-f, --fail-based-on-resultsboolANCHORECTL_FAIL_BASED_ON_RESULTSfalseNoSet the return code to 1 if the policy evaluation result shows as fail.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app version update

Update an existing app version.

anchorectl app version update VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--descriptionstringANCHORECTL_DESCRIPTION""NoThe new description.
--namestringANCHORECTL_NAME""NoThe new name for the version.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
--previous-versionstringANCHORECTL_PREVIOUS_VERSION""NoThe previous version name or UUID.
--release-datestringANCHORECTL_RELEASE_DATE""NoDate of release of this version (e.g. 2026-01-15).
--statusstringANCHORECTL_STATUS""NoThe status of the app version (in_progress, released, eol).

app version vex

VEX annotation operations for an app version.

anchorectl app version vex [command]

Subcommands

app version vex add

Add a VEX annotation to an app version.

anchorectl app version vex add VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--pkg-namestringANCHORECTL_PKG_NAME""YesThe package name.
--pkg-typestringANCHORECTL_PKG_TYPE""YesThe package type (e.g. java-archive, npm, python).
--pkg-versionstringANCHORECTL_PKG_VERSION""YesThe package version.
--statusstringANCHORECTL_STATUS""YesThe VEX status. Allowable values: not_affected, affected, fixed, under_investigation.
--vuln-idstringANCHORECTL_VULN_ID""YesThe vulnerability ID (e.g. CVE-2021-44228).
--action-statementstringANCHORECTL_ACTION_STATEMENT""NoAction statement for remediation.
--additional-detailsstringANCHORECTL_ADDITIONAL_DETAILS""NoFree-form additional details.
--impact-statementstringANCHORECTL_IMPACT_STATEMENT""NoImpact statement for the vulnerability.
--justificationstringANCHORECTL_JUSTIFICATION""NoJustification for not_affected status. Allowable values: component_not_present, vulnerable_code_not_present, vulnerable_code_not_in_execute_path, vulnerable_code_cannot_be_controlled_by_adversary, inline_mitigations_already_exist.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
--status-notesstringANCHORECTL_STATUS_NOTES""NoAdditional notes about the status.

app version vex delete

Delete a VEX annotation.

anchorectl app version vex delete VULN_ANNOTATION_ID [flags]

Aliases: del

Arguments

ArgumentDescription
VULN_ANNOTATION_IDThe VEX annotation UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app version vex get

Get a VEX annotation by ID.

anchorectl app version vex get VULN_ANNOTATION_ID [flags]

Arguments

ArgumentDescription
VULN_ANNOTATION_IDThe VEX annotation UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app version vex list

List VEX annotations for an app.

anchorectl app version vex list VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

app version vex update

Update a VEX annotation.

anchorectl app version vex update VULN_ANNOTATION_ID [flags]

Arguments

ArgumentDescription
VULN_ANNOTATION_IDThe VEX annotation UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
--versionstringANCHORECTL_VERSION""YesThe version name or UUID.
--action-statementstringANCHORECTL_ACTION_STATEMENT""NoAction statement for remediation.
--additional-detailsstringANCHORECTL_ADDITIONAL_DETAILS""NoFree-form additional details.
--impact-statementstringANCHORECTL_IMPACT_STATEMENT""NoImpact statement for the vulnerability.
--justificationstringANCHORECTL_JUSTIFICATION""NoJustification for not_affected status. Allowable values: component_not_present, vulnerable_code_not_present, vulnerable_code_not_in_execute_path, vulnerable_code_cannot_be_controlled_by_adversary, inline_mitigations_already_exist.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
--statusstringANCHORECTL_STATUS""NoThe VEX status. Allowable values: not_affected, affected, fixed, under_investigation.
--status-notesstringANCHORECTL_STATUS_NOTES""NoAdditional notes about the status.

app version vuln

App version vulnerability operations.

anchorectl app version vuln [command]

Subcommands

app version vuln list

List vulnerabilities for an app version.

anchorectl app version vuln list VERSION [flags]

Arguments

ArgumentDescription
VERSIONThe version name or UUID.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--appstringANCHORECTL_APP""YesThe app name or ID.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw. See Output Formats.
Last modified September 22, 2026