The Secure Boot security setting must be set to full.
Full security is the default Secure Boot setting in macOS. During startup, when Secure Boot is set to full security, the Mac will verify the integrity of the operating system before allowing the operating system to boot.
Note: This will only return a proper result on T2 or Apple Silicon Macs.