sqlinsight-pro/src/SQLInsight.Agent
Søren Eggert Lundsteen Olsen f3551b1bf0 Support cases through the API: create, read and close
- POST/GET /api/v1/support-cases[/{id}] and POST .../{id}/close in
  SQLInsight Web, sharing the /support form's logic: same checks, finding
  prefill without sensitive evidence, Idempotency-Key as the request id,
  202 Accepted with Location, problem+json 403 without the support:write
  scope or a support license. RequestedBy is the Windows user or
  token:<name>.
- Closing: "Luk sag" on /support and the API record CloseRequested
  (migration 0012, column-level UPDATE for the read-only web login); the
  agent sends it to the hub with backoff and sets Closed when confirmed;
  a pending case is closed once it has a number; an older hub list never
  turns CloseRequested back to Open.
- Hub: POST /api/v1/cases/{reference}/close for the license's own cases
  (others 404), idempotent, ClosedBy/ClosedComment (EF migration
  CaseClosedBy). Portal closing records "SEOSoft: <user>"; the customer
  page shows who closed and why; the support report and CSV get "Lukket af".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 09:47:58 +02:00
..
CustomRules Installer creates the repository database, logins and rights itself 2026-10-01 08:18:26 +02:00
Hub Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00
Monitoring Long operations, full-text rules and statement activity 2026-10-02 09:07:29 +02:00
Properties Fase 0: solution structure, capability model, rule engine, least-privilege script 2026-09-29 05:40:49 +00:00
Reports Fase 4: management and compliance reports as PDF 2026-09-29 10:09:10 +00:00
Security Privilege audit: sysadmin and server roles with AD unfolding 2026-10-02 08:39:56 +02:00
Setup Installer creates the repository database, logins and rights itself 2026-10-01 08:18:26 +02:00
Updates MSI installer for Agent and Web 2026-09-29 11:31:28 +00:00
AgentOptions.cs Long operations, full-text rules and statement activity 2026-10-02 09:07:29 +02:00
appsettings.Development.json Fase 0: solution structure, capability model, rule engine, least-privilege script 2026-09-29 05:40:49 +00:00
appsettings.json Ship SEOSoft's license key k20261001; agent defaults to the real hub 2026-10-01 07:15:47 +02:00
InstallerSettings.cs MSI installer for Agent and Web 2026-09-29 11:31:28 +00:00
Program.cs Privilege audit: sysadmin and server roles with AD unfolding 2026-10-02 08:39:56 +02:00
SQLInsight.Agent.csproj Privilege audit: sysadmin and server roles with AD unfolding 2026-10-02 08:39:56 +02:00