sqlinsight-pro/tests/SQLInsight.Agent.Tests
Søren Eggert Lundsteen Olsen 81b8376026 Agent: instances from the repository, request queue, sealed passwords, AX hub opt-in
The agent mirrors SQLInsight:Instances into the repository at start (read-only
"fra konfigurationsfil" rows, every database monitored as before) and reads the
configuration on every tick: instances added, paused, removed or changed in
SQLInsight Web, and database choices, take effect without a restart. If the
repository cannot be read before the first load, the configuration file alone
is used.

AgentRequestService runs connection tests (with the permission check), database
discovery and instance discovery (SQL Server Browser, registry) as the agent's
own identity, and refreshes every instance's database list hourly. The agent
keeps an RSA key (DPAPI LocalMachine, restricted folder) and publishes its public
key and identity; SQL login passwords sealed by the web UI are opened only here.

Dynamics AX findings and AX rule outcomes are sent to SQLInsight Hub only for
databases where it is turned on (default off).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 13:22:41 +02:00
..
ComplianceControlTests.cs Separate "check by hand" from "not relevant" for version-gated rules 2026-10-02 09:59:50 +02:00
GroupResolverTests.cs Privilege audit: sysadmin and server roles with AD unfolding 2026-10-02 08:39:56 +02:00
InstallerSettingsTests.cs MSI installer for Agent and Web 2026-09-29 11:31:28 +00:00
InstanceConfigurationAgentTests.cs Agent: instances from the repository, request queue, sealed passwords, AX hub opt-in 2026-10-02 13:22:41 +02:00
MetricAssessmentTests.cs Explain and assess measurements for the customer 2026-10-02 08:57:10 +02:00
MonthlyReportTests.cs Fase 4: management and compliance reports as PDF 2026-09-29 10:09:10 +00:00
RepositorySetupTests.cs Installer creates the repository database, logins and rights itself 2026-10-01 08:18:26 +02:00
SQLInsight.Agent.Tests.csproj Fase 3: findings sync from agent to hub (queue, retry, data minimization) 2026-09-29 08:35:22 +00:00
SubmissionBuilderTests.cs Fase 3: findings sync from agent to hub (queue, retry, data minimization) 2026-09-29 08:35:22 +00:00
TimeWindowTests.cs Time window analysis: what happened between 03 and 04, as a page and PDF 2026-10-01 15:46:56 +02:00