def rule(event):
    if all(
        [
            any(
                [
                    "\\Control\\SecurityProviders\\SCHANNEL\\Protocols\\TLS 1.0\\"
                    in event.deep_get("TargetObject", default=""),
                    "\\Control\\SecurityProviders\\SCHANNEL\\Protocols\\TLS 1.1\\"
                    in event.deep_get("TargetObject", default=""),
                ]
            ),
            event.deep_get("TargetObject", default="").endswith("\\Enabled"),
            event.deep_get("Details", default="") == "DWORD (0x00000001)",
        ]
    ):
        return True
    return False
