def METHOD_NAME(self, node: Node) -> None:
    self._is_supported(node)
    posix_os: Posix = cast(Posix, node.os)
    posix_os.add_azure_core_repo()
    posix_os.install_packages("azure-security", signed=False)
    cmd_result = node.execute("/usr/local/bin/sbinfo", sudo=True, timeout=1000)
    secure_boot_pattern = re.compile(
        r"(.*\"SBEnforcementStage\": \"Secure Boot (is|is not) enforced\".*)$", re.M
    )
    matched = find_patterns_in_lines(cmd_result.stdout, [secure_boot_pattern])
    if not (matched and matched[0]):
        raise LisaException("This OS image is not compatible with Secure Boot.")