def rule(event):
    if any(
        [
            event.deep_get("gcp", "audit", "method_name", default="").endswith(
                ".serviceAccounts.disable"
            ),
            event.deep_get("gcp", "audit", "method_name", default="").endswith(
                ".serviceAccounts.delete"
            ),
        ]
    ):
        return True
    return False
