def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\SystemSettingsAdminFlows.exe"),
                    event.deep_get("OriginalFileName", default="")
                    == "SystemSettingsAdminFlows.EXE",
                ]
            ),
            "TurnOnDeveloperFeatures" in event.deep_get("CommandLine", default=""),
            any(
                [
                    "DeveloperUnlock" in event.deep_get("CommandLine", default=""),
                    "EnableSideloading" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
