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                 templatePrint 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.       [required]           *repositoryREPOSITORY:{cran|pName of the          ypi}              repository to show   the allowlist for.   [required]           ╰───────────────────────────────────────────────────────────────╯ ╭─ Options ─────────────────────────────────────────────────────╮ --fileTEXTFile path to write the allowlist to. --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.   [required]           ╰───────────────────────────────────────────────────────────────╯ ╭─ Options ─────────────────────────────────────────────────────╮ --filePATHFile path to write allowlist template to. --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.                 [required]           *file      PATH              Path to the          allowlist file to    upload.              [required]           *repositoryREPOSITORY:{cran|pRepository type of   ypi}              the allowlist.       [required]           ╰───────────────────────────────────────────────────────────────╯ ╭─ Options ─────────────────────────────────────────────────────╮ --force--no-forceSkip check for existing remote     allowlist.                         [default: no-force]                --helpShow this message and exit. ╰───────────────────────────────────────────────────────────────╯