def rule(event):
    if all(
        [
            event.deep_get("properties", "message", default="") == "Admin registered security info",
            event.deep_get("Status", default="")
            == "Admin registered temporary access pass method for user",
        ]
    ):
        return True
    return False
