def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("/nscurl"),
            any(
                [
                    "--download " in event.deep_get("CommandLine", default=""),
                    "--download-directory " in event.deep_get("CommandLine", default=""),
                    "--output " in event.deep_get("CommandLine", default=""),
                    "-dir " in event.deep_get("CommandLine", default=""),
                    "-dl " in event.deep_get("CommandLine", default=""),
                    "-ld" in event.deep_get("CommandLine", default=""),
                    "-o " in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
