allowlist#

dsh allowlist commands are used to manage which packages are allowed to be downloaded from software repositories in Tier 3 SREs. For an explanation of the tiering system, see Security Objectives.

allowlist#

allowlist Usage: dsh allowlist [OPTIONS] COMMAND [ARGS]... ╭─ Options ─────────────────────────────────────────────────────╮ --install-completionInstall completion for the      current shell.                  --show-completionShow completion for the current shell, to copy it or customize  the installation.               --helpShow this message and exit. ╰───────────────────────────────────────────────────────────────╯ ╭─ Commands ────────────────────────────────────────────────────╮ show     Print the current package allowlist                template Print a template for the package allowlist         upload   Upload a package allowlist                         ╰───────────────────────────────────────────────────────────────╯

show#

show Usage: dsh allowlist show [OPTIONS] NAME REPOSITORY:{cran|pypi} Print the current package allowlist ╭─ Arguments ───────────────────────────────────────────────────╮ *name      TEXT              Name of SRE to show  allowlist for.       [default: None]      [required]           *repositoryREPOSITORY:{cran|pName of the          ypi}              repository to show   the allowlist for.   [default: None]      [required]           ╰───────────────────────────────────────────────────────────────╯ ╭─ Options ─────────────────────────────────────────────────────╮ --fileTEXTFile path to write the allowlist to. [default: None]                      --helpShow this message and exit. ╰───────────────────────────────────────────────────────────────╯

template#

template Usage: dsh allowlist template [OPTIONS] REPOSITORY:{cran|pypi} Print a template for the package allowlist ╭─ Arguments ───────────────────────────────────────────────────╮ *repositoryREPOSITORY:{cran|pName of the          ypi}              repository to show   the allowlist for.   [default: None]      [required]           ╰───────────────────────────────────────────────────────────────╯ ╭─ Options ─────────────────────────────────────────────────────╮ --filePATHFile path to write allowlist template to. [default: None]                           --helpShow this message and exit. ╰───────────────────────────────────────────────────────────────╯

upload#

upload Usage: dsh allowlist upload [OPTIONS] NAME FILE                             REPOSITORY:{cran|pypi} Upload a package allowlist ╭─ Arguments ───────────────────────────────────────────────────╮ *name      TEXT              Name of SRE to       upload the allowlist for.                 [default: None]      [required]           *file      PATH              Path to the          allowlist file to    upload.              [default: None]      [required]           *repositoryREPOSITORY:{cran|pRepository type of   ypi}              the allowlist.       [default: None]      [required]           ╰───────────────────────────────────────────────────────────────╯ ╭─ Options ─────────────────────────────────────────────────────╮ --force--no-forceSkip check for existing remote     allowlist.                         [default: no-force]                --helpShow this message and exit. ╰───────────────────────────────────────────────────────────────╯