This repository contains example Regex and Python Policy Checks.
Liquibase Pro Policy Checks enable developers to write safe, compliant database code every time. You can enforce rules and best practices set by your DBAs, reducing security risks and costly manual errors.
You can learn more about Working with Policy Checks in our documentation. The checks provided here are in addition to those shipped with Liquibase.
We welcome any contributions from the community - just send us a pull request!
Note: You must have a valid Liquibase Pro license to use Policy Checks
liquibase checks show
liquibase checks show --checks-settings-file=<checks-settings-file>
liquibase checks run
liquibase checks run --checks-settings-file=<checks-settings-file>
liquibase checks enable --check-name=<check-name>
liquibase checks enable --check-name=<check-name> --checks-settings-file=<checks-settings-file>
liquibase checks disable --check-name=<check-name>
liquibase checks disable --check-name=<check-name> --checks-settings-file=<checks-settings-file>
liquibase checks bulk-set --enable
liquibase checks bulk-set --enable --checks-settings-file=<checks-settings-file>
liquibase checks bulk-set --disable
liquibase checks bulk-set --disable --checks-settings-file=<checks-settings-file>
liquibase checks customize --check-name=<check-name>
liquibase checks customize --check-name=<check-name> --checks-settings-file=<checks-settings-file>