Skip to content

rspm-offline-downloader get vulns#

Advanced

Download vulnerabilities files required to run Posit Package Manager in an air-gapped environment

rspm-offline-downloader get vulns [flags]

Examples#

  rspm-offline-downloader get vulns --destination=[/path/to/destination]

  # download vulnerabilities for cran and pypi
  rspm-offline-downloader get vulns --destination=[/path/to/destination] --types=cran,pypi

Options#

      --base-url string         Optional. The base URL to locate files. (default "https://rspm-sync.rstudio.com")
      --concurrency int         Optional. The number of concurrent downloads. Must be 1-10 (default 1)
      --destination string      The destination to download files.
      --dryrun                  Optional. Describe the downloads without saving any files.
  -h, --help                    help for vulns
      --outbound-proxy string   Optional. URL to use for outbound HTTP(s) requests. Values may be either a complete URL or a host[:port], in which case the http scheme is assumed.
  -q, --quiet                   Optional. Run this command with minimal output.
      --retries int             Optional. Max number of times the offline downloader will attempt to download a vulnerability db. Must be 1-15. (default 10)
      --types strings           Optional. A comma-separated list of sources. Available sources: cran, bioconductor and pypi. If this flag is not included, all vulnerabilities for all supported sources will be downloaded.

Options inherited from parent commands#

      --cache     Enables caching between subsequent calls to the offline downloader (default true)
  -v, --verbose   Provide additional output