Use the checks package file

Once you've created your checks package file, you can use it with the checks show and checks run commands. Specify the name of your file with --checks-settings-file and the name of your package object(s) with --checks-packages.

Note: If the checks package file is named liquibase.checks-settings.conf, you do not need to specify the file name in --checks-settings-file. However, if you use a custom name for your package file, you must specify it.

Procedure

1

Show a list of checks associated with your package

liquibase checks show --checks-settings-file=liquibase.security-checks.yaml --checks-packages=platform-checks
2

Run all checks in your package

liquibase checks run --checks-settings-file=liquibase.security-checks.yaml --checks-packages=platform-checks
3

Specify multiple specific checks packages in your package file with a comma-separated list

liquibase checks run --checks-settings-file=liquibase.security-checks.yaml --checks-packages=platform-checks,qa-checks
4

Run all checks packages in your package file by omitting the --checks-packages parameter

liquibase checks run --checks-settings-file=liquibase.security-checks.yaml
Use the checks package file - Liquibase