Skip to main content
Interact with the Binarly Transparency Platform (BTP). All btp subcommands require authentication credentials.

Authentication

Every btp subcommand requires the following options (or their environment variable equivalents):

push-rules

Push a VulHunt rule pack to a BTP instance.
--deploy-to-product and --deploy-to-org are mutually exclusive. When passing directories as inputs, they must be named posix/ or uefi/ so the platform is inferred automatically. When passing individual .vh files, --platform is required.

list-products

List products in a BTP instance. No additional options beyond authentication.

create-product

Create a new product in a BTP instance.

upload

Upload an image or firmware file to a product.

list-images

List images in a product.

list-scans

List scans for an image.

create-scan

Create a scan for an existing image.

get-scan

Get details of an individual scan.

get-findings

Get findings for an image.

download-ba2

Download the BA2 file for an image from BTP.