def rule(event):
    if all(
        [
            event.deep_get("Status", default="") == "Success",
            any(
                [
                    "BAV2ROPC" in event.deep_get("userAgent", default=""),
                    "CBAinPROD" in event.deep_get("userAgent", default=""),
                    "CBAinTAR" in event.deep_get("userAgent", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
