import re


def rule(event):
    if all(
        [
            event.deep_get("type", default="") == "PATH",
            any(
                [
                    event.deep_get("name", default="") == "/sys/class/dmi/id/bios_version",
                    event.deep_get("name", default="") == "/sys/class/dmi/id/product_name",
                    event.deep_get("name", default="") == "/sys/class/dmi/id/chassis_vendor",
                    event.deep_get("name", default="") == "/proc/scsi/scsi",
                    event.deep_get("name", default="") == "/proc/ide/hd0/model",
                    event.deep_get("name", default="") == "/proc/version",
                    re.match(r"^/etc/.*version$", event.deep_get("name", default="")),
                    re.match(r"^/etc/.*release$", event.deep_get("name", default="")),
                    event.deep_get("name", default="") == "/etc/issue",
                ]
            ),
        ]
    ):
        return True
    return False
