sqlinsight-pro/tests/SQLInsight.IntegrationTests
Søren Eggert Lundsteen Olsen 4ba7e5195e Privilege audit: sysadmin and server roles with AD unfolding
Collects members of the fixed server roles and CONTROL SERVER every 15
minutes with login type, disabled state and SQL login password policy.
Windows groups are unfolded recursively through Active Directory on a
Windows agent (cached, 20 s timeout, failures shown with the reason).
Changes since the previous collection are logged, and who/when is read
from the default trace (event 108) when the agent has the optional
ALTER TRACE; authors that only reach the buffered trace later are filled
in at the next collection. The first collection is the baseline.

New rules SQLI-SEC-001 (new privilege, High for sysadmin/securityadmin/
CONTROL SERVER) and SQLI-SEC-002 (more sysadmins than the limit, default
3). Names are sensitive evidence and never in titles or subjects.

Web: /instanser/{navn}/rettigheder and /rettigheder with change log by
period, alert banner on the instance page and overview, and an audit
PDF (/rapporter/rettigheder.pdf) linked from Rapporter.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 08:39:56 +02:00
..
AgentPipelineTests.cs Fase 4: community and local rules written as SQL 2026-09-29 10:23:01 +00:00
AgentSession.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
CollectorTests.cs Configuration page with change log 2026-10-02 08:12:26 +02:00
ConfigurationPageTests.cs Configuration page with change log 2026-10-02 08:12:26 +02:00
CustomRuleIntegrationTests.cs Fase 4: community and local rules written as SQL 2026-09-29 10:23:01 +00:00
HighAvailabilityTests.cs Fase 2: Always On availability groups and SQL Agent jobs 2026-09-29 07:53:49 +00:00
HubApiTests.cs Fase 3: signed updates of rule packs and the application 2026-09-29 09:19:41 +00:00
HubEndToEndTests.cs Fase 4: experience across customers 2026-09-29 10:33:37 +00:00
HubFixture.cs Fase 3: Hub portal for vendor staff 2026-09-29 08:58:34 +00:00
HubInsightTests.cs Fase 4: experience across customers 2026-09-29 10:33:37 +00:00
HubMaintenanceTests.cs Fase 3: data processing, hub retention and deployment 2026-09-29 09:29:20 +00:00
HubPortalSupportTests.cs Hub: support case numbers, customer case API, mail, support report 2026-10-01 11:33:55 +02:00
HubPortalTests.cs Fase 3: Hub portal for vendor staff 2026-09-29 08:58:34 +00:00
HubSupportApiTests.cs Hub: support case numbers, customer case API, mail, support report 2026-10-01 11:33:55 +02:00
HubSupportEndToEndTests.cs Customers file support cases in SQLInsight Web and follow their status 2026-10-01 11:34:06 +02:00
HubSupportLogicTests.cs Hub: support case numbers, customer case API, mail, support report 2026-10-01 11:33:55 +02:00
InstanceProbeTests.cs Fase 0: solution structure, capability model, rule engine, least-privilege script 2026-09-29 05:40:49 +00:00
LeastPrivilegeTests.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
NotificationIntegrationTests.cs Fase 2: notifications by e-mail, Teams and webhook 2026-09-29 08:08:06 +00:00
PrivilegeTests.cs Privilege audit: sysadmin and server roles with AD unfolding 2026-10-02 08:39:56 +02:00
ReportTests.cs Fase 4: management and compliance reports as PDF 2026-09-29 10:09:10 +00:00
RepositoryTests.cs Stop SQLInsight deadlocking itself, and stop reporting its own deadlocks 2026-10-02 07:34:59 +02:00
SQLInsight.IntegrationTests.csproj Fase 4: management and compliance reports as PDF 2026-09-29 10:09:10 +00:00
SqlServerFixture.cs Fase 2: Always On availability groups and SQL Agent jobs 2026-09-29 07:53:49 +00:00
TimeWindowAnalysisTests.cs Disk speed per drive: IOPS, MB/s and latency 2026-10-02 08:03:11 +02:00
UpdateIntegrationTests.cs Fase 3: signed updates of rule packs and the application 2026-09-29 09:19:41 +00:00
WebApiTests.cs Test the build_info metric against the current version, not 1.0.0 2026-10-01 11:34:07 +02:00
WebSupportTests.cs Customers file support cases in SQLInsight Web and follow their status 2026-10-01 11:34:06 +02:00
WebTests.cs Rules the version does not support are "not applicable", not "not measurable" 2026-10-01 16:05:39 +02:00