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 -completion Install completion for the │
│ current shell. │
│ - -show -completion Show completion for the current │
│ shell, to copy it or customize │
│ the installation. │
│ - -help Show 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. │
│ [required] │
│ * repository REPOSITORY:{cran | p Name of the │
│ ypi} repository to show │
│ the allowlist for. │
│ [required] │
╰───────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────── ─╮
│ - -file TEXT File path to write the allowlist to. │
│ - -help Show this message and exit. │
╰───────────────────────────────────────────────────────────────╯
template
template
Usage: dsh allowlist template [OPTIONS] REPOSITORY:{cran|pypi}
Print a template for the package allowlist
╭─ Arguments ────────────────────────────────────────────────── ─╮
│ * repository REPOSITORY:{cran | p Name of the │
│ ypi} repository to show │
│ the allowlist for. │
│ [required] │
╰───────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────── ─╮
│ - -file PATH File path to write allowlist template to. │
│ - -help Show 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] │
│ * repository REPOSITORY:{cran | p Repository type of │
│ ypi} the allowlist. │
│ [required] │
╰───────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────── ─╮
│ - -force - -no -force Skip check for existing remote │
│ allowlist. │
│ [default: no-force] │
│ - -help Show this message and exit. │
╰───────────────────────────────────────────────────────────────╯