import re


def rule(event):
    if any(
        [
            all(
                [
                    event.deep_get("Image", default="").endswith("/file"),
                    re.match(r"(.){200,}", event.deep_get("CommandLine", default="")),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/ls"),
                    "-R" in event.deep_get("CommandLine", default=""),
                ]
            ),
            event.deep_get("Image", default="").endswith("/find"),
            event.deep_get("Image", default="").endswith("/tree"),
            event.deep_get("Image", default="").endswith("/findmnt"),
            event.deep_get("Image", default="").endswith("/mlocate"),
        ]
    ):
        return True
    return False
