def rule(event):
    if all(
        [
            event.deep_get("type", default="") == "PATH",
            any(
                [
                    event.deep_get("name", default="").endswith("/sysrq"),
                    event.deep_get("name", default="").endswith("/sysctl.conf"),
                    event.deep_get("name", default="").endswith("/sysrq-trigger"),
                ]
            ),
        ]
    ):
        return True
    return False
