How can I include some commands in case of a HAB event?

Hi

I want that u-boot executes some commands automatically in case of a HAB event with secure-boot (e.g. authentication failed).

Is this possible?

Regards
Michael