Change the AI tools settings of the company
Change some of the company’s AI tools settings and return them all, as getAiToolsSettings does. Only the fields sent change, at least one. A list sent replaces the whole list: to ignore one more severity, rule or tool, read getAiToolsSettings first and send the full list with the change (a rule by its code from rules, a tool by its toolKey). Ignoring a severity, a rule, a tool, the devices assigned to no employee or the devices in stock takes their findings out of every AI tools read and the cockpit at once; nothing changes on the devices. defaultPolicy applies to the tools a device reports for the first time, never to a tool already seen: its policy is setAiToolPolicy. ticketSettings changes only the fields sent; its assignee and subscribers are admins from getAdmins: an employee entry is sent as type EMPLOYEE with its id as employeeId, an external one as type EXTERNAL_ADMIN with its userId; anyone else the write adds, an employee who is not an admin included, is refused with 400 (a person already stored in the same field is kept). The new defaults apply to the tickets opened afterwards. autoCreateTickets true opens one ticket per finding at the next sync; false completes, at the next sync, the open tickets it opened, never the ones opened by hand. AI tools are what Primo finds on macOS, Windows and Linux devices (assistant apps, coding agents, IDE plugins, browser extensions, MCP servers, AI connections, agent instruction files), as of the last sync (lastSyncedAt of getAiToolsOverview), with Primo’s severities, less the findings the company’s AI tools settings ignore. They are not the software catalog (getSoftwares, getDeviceSoftware), the company’s own AI agents (listAgents) nor AI credits (getAiUsage). A company without AI tools monitoring gets a 403, final.