Customizing the hook reject message
If you want to provide additional info, like a link to your security policy, you can customize the pre-receive hook reject message, which is displayed to a (git) user when push / merge is being rejected. Use a dedicated option on a plugin configuration page:
![](../../__attachments/14497677484/Screenshot%20from%202020-08-28%2016-33-26.png?inst-v=1b0af743-2cdd-4a08-ad47-6dd768c8f61d)
The custom text you provide will be displayed as a header of reject banner, followed by list of detected vulnerabilities. It affects all repositories of your Bitbucket instance.
If you want to restore the default message, just set this option to an empty value.