Implement Liquibase Pro Custom policy checks

Liquibase Pro Custom Policy Checks allow you to specify advanced policies using the Liquibase Policy Checks framework. Using Custom Policy Checks, you can enforce compliance for a wide array of security, code standards, data quality, and more.

This collection of the Liquibase Pro Custom Policy Checks is the core set of customized checks that enable you to implement complex governance by confirming specific syntax or objects are present within your Changelog or database, depending on the scope you set. Each check describes what the check can look for and how to implement the check in Liquibase Pro.

Business benefits

  • Ensure compliance with your specific issues and tech stack

  • Develop at your own cadence

  • Share easily across your entire organization

  • Easily customize from a base template

Prerequisites

Liquibase prerequisites

  • Liquibase 4.29.0+

  • Configure a valid Liquibase Pro license key

  • Ensure the Liquibase Checks extension is installed. In Liquibase 4.31.0+, it is already installed in the /liquibase/internal/lib directory, so no action is needed.

  • If the checks JAR is not installed, download liquibase-checks-<version>.jar and put it in the liquibase/lib directory. Or, if you use Maven, add this dependency to your pom.xml file:<dependency> <groupId>org.liquibase.ext</groupId> <artifactId>liquibase-checks</artifactId> <version>2.0.0</version> </dependency>

  • Java Development Kit 17+ (available for Open JDK and Oracle JDK)

  • Linux, macOS, or Windows operating system