The run subcommand

August 1, 2023 ยท View on GitHub

broker run starts Broker and imports the projects specified in the config.

See the FAQ for common questions related to this and other Broker functionality. For more information on the config, see the config reference.

Subcommand FAQs

Scan upload rate limiting

broker run rate limits scans. The rate limiting is as follows:

  • Broker uploads at most one scan per configured integration per minute.
  • Scan results for each integration are enqueued while waiting for upload.
  • If the queue becomes full, Broker pauses working on additional scans for that integration until the upload queue has space again.

Given this, if a given Broker instance has 5 integrations, it would upload at most 5 scan results per minute (one for each integration). If each of those integrations have 3 revisions being uploaded, Broker will take at most 3 minutes to upload them all (one scan per minute, per revision).