def rule(event):
    if any(
        [
            all(
                [
                    event.deep_get("Image", default="").endswith("/grep"),
                    "password" in event.deep_get("CommandLine", default=""),
                ]
            ),
            "laZagne" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
