Back to Trivy

Abbreviation List

docs/guide/references/abbreviations.md

0.70.04.2 KB
Original Source

Abbreviation List

This list compiles words that frequently appear in CLI flags or configuration files and are commonly abbreviated in industry and OSS communities. Trivy may use the abbreviation in place of the full spelling for flag names. It is also acceptable to add even shorter aliases if needed.

Words not included in this list should be spelled out in full when used in flags.

This list is intentionally limited to the most common and widely recognized abbreviations. Excessive use of abbreviations in CLI flags can hinder initial user understanding and create a steeper learning curve.

!!! note This list serves as a guideline rather than a strict requirement. Its purpose is to maintain consistency across the project when naming flags and configuration options. While we strive to follow these abbreviations, there may be exceptions where context or clarity demands a different approach.

Scope

This list focuses on abbreviations of single words commonly used in technical contexts. It does not include:

  1. Acronyms formed from the initial letters of multiple words (e.g., OS for Operating System, HTTP for Hypertext Transfer Protocol)
  2. Domain-specific terminology that already has standardized short forms
  3. Brand names or product-specific abbreviations

The abbreviations listed here are primarily intended for CLI flags, configuration keys, and similar technical interfaces where brevity is valued while maintaining clarity.

Example

For a flag containing multiple words, only abbreviate words that appear in this list. For instance, in --database-repository, "database" is in the list so it should be abbreviated to "db", but "repository" is not in the list so it must be spelled out completely. The correct flag name would be --db-repository. It's acceptable to add a shorter alias like --db-repo if desired.

List

Full NameDefault AbbreviationExamples
applicationapp--app-name, --app-mode
authenticationauth--auth-method, --auth-token
authorizationauthz--authz-rule, --authz-policy
commandcmd--cmd-option, --cmd-args
configurationconfig--config, --config-dir
databasedb--db-repository, --db-user, --db-pass
developmentdev--dev-dependencies, --dev-mode
directorydir--dir-path, --output-dir
environmentenv--env-file, --env-vars
informationinfo--info-level, --show-info
initializationinit--init-script, --init-config
librarylib--lib-path, --lib-dir
maximummax--max-image-size, --max-depth
minimummin--min-value, --min-severity
misconfigurationmisconfig--misconfig-scanners
packagepkg--pkg-types
productionprod--prod-env, --prod-deploy
specificationspec--spec-file, --spec-version
temporarytmp--tmp-dir, --tmp-file
utilityutil--util-script, --util-name
vulnerabilityvuln--vuln-scan, --vuln-report