show

Note: This is a Liquibase Pro feature, so you need a Liquibase Pro License Key to use it.

The show subcommand prints the available checks and their configurations as indicated in the checks settings file to STDOUT.

Uses

You can use the show command to see the list of all available checks and inspect the dynamic checks.

Syntax

Run the command specifying your values:

liquibase checks show

Note: If you have a checks settings file customized for a specific environment or project, you need to pass that using the --checks-settings-file parameter. If you do not include this parameter, Liquibase uses the default settings file: liquibase.checks-settings.conf. See Use the Checks Settings Configuration File.

The command output will present your checks and their details.

Command arguments

The following table identifies parameters that are accepted or required by the show subcommand. If the Default column states "Required," it is required to run the command successfully. If it states "Null," it is an optional command argument. Each command argument helps you narrow down the liquibase checks show command to ensure that only very specific content is affected by the command.

Tip: For best results, specify all commands and parameters in the --kebab-case format in the CLI. If your preference is camelCase, it also works in the CLI.

Name Default Syntax Description
auto-update (String) Null

CLI: --auto-update=[on|off]

Property: liquibase.command.checks.show.autoUpdate: [on|off]

Environment Variable: LIQUIBASE_COMMAND_CHECKS_SHOW_AUTO_UPDATE=[ON|OFF]

Allows automatic backup and updating of the liquibase.checks-settings.conf file when new quality checks are available.

Default: off

check-name (String) Null

CLI: --check-name

Property: liquibase.command.checks.run.checkName

Environment Variable: LIQUIBASE_COMMAND_CHECKS_RUN_CHECK_NAME

Use this to specify the short name of the check you want to target with one of the following subcommands:

  • bulk-set
  • copy
  • customize
  • delete
  • disable
  • enable
  • reset
  • run
  • show
checks-settings-file(String) Null

CLI: --checks-settings-file

Property: liquibase.command.checks.show.checksSettingsFile

Environment Variable: LIQUIBASE_COMMAND_CHECKS_SHOW_CHECKS_SETTINGS_FILE

Specifies the checks settings file to use with subcommands. Write the relative path of the settings file that you want to read from or modify. For more information, see Use the Checks Settings Configuration File.

--package-file (String) Null CLI: liquibase checks run --packages-file=securuity-checks.pkg

Property: liquibase.command.checks.package.file

Environment Variable: LIQUIBASE_COMMAND_CHECKS_RUN_PACKAGE_FILE

The file name of the yaml file to be created. defaults to liquibase.checks-package.yaml if not set. For more information see Quality Checks Packages
--package-name (String) Null CLI: liquibase checks run --packages-name=security-checks.pkg

Property: liquibase.command.checks.package.name

Environment Variable: LIQUIBASE_COMMAND_CHECKS_RUN_PACKAGE_NAME

The name of the checks-package object inside the file to be created. For more information see Quality Checks Packages

--package-contents (String) Null CLI: liquibase checks run --packages-contents=security-checks.pkg

Property: liquibase.command.checks.package.contents

Environment Variable: LIQUIBASE_COMMAND_CHECKS_RUN_PACKAGE_CONTENTS

The file, files, or dir of files to be included in the checks-package object. For more information see Quality Checks Packages

showCols (String) shortname,scope,
enabled,severity,
customization,description

CLI: --show-cols

Property: liquibase.command.checks.show.showCols

Environment Variable: LIQUIBASE_COMMAND_CHECKS_SHOW_COLS_FORMAT=[TEXT|JSON]

Only show the listed columns. Column options: id,checkname,type,priority,shortname,scope,enabled,severity,customization,description. Use commas to separate column names. Use 'all' to select all the columns.

Related links