def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("/jamf"),
            any(
                [
                    "createAccount" in event.deep_get("CommandLine", default=""),
                    "manage" in event.deep_get("CommandLine", default=""),
                    "removeFramework" in event.deep_get("CommandLine", default=""),
                    "removeMdmProfile" in event.deep_get("CommandLine", default=""),
                    "resetPassword" in event.deep_get("CommandLine", default=""),
                    "setComputerName" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
