def rule(event):
    if all(
        [
            event.deep_get("CommandLine", default="").endswith(
                '"\\system32\\cleanmgr.exe /autoclean /d C:'
            ),
            event.deep_get("ParentCommandLine", default="")
            == "C:\\Windows\\system32\\svchost.exe -k netsvcs -p -s Schedule",
            event.deep_get("IntegrityLevel", default="")
            in ["High", "System", "S-1-16-16384", "S-1-16-12288"],
        ]
    ):
        return True
    return False
