Set policy check severity and exit codes

Last updated: November 18, 2025

Procedure

1

Run the checks customize command using the following example parameters

Example of configured severity and exit codes output
loading
2

Follow the CLI instructions to set the severity level

loading
3

Change the default severity of INFO in the CLI

Change the default severity of INFO in the CLI output by entering one of the below words or their associated number:

  • MINOR or 1

  • MAJOR or 2

  • CRITICAL or 3

  • BLOCKER or 4

Example: If you set the severity to CRITICAL, you will see 3 in the show output and as the returned exit code when triggered.

The checks-settings.config file you specify when running the customize command changes the ModifyDataTypeWarn check to have a new severity value in a corresponding number.

Example of configured severity and exit codes output
loading