sqlinsight-pro/src/SQLInsight.Collectors
Søren Eggert Lundsteen Olsen 31fa89b385 Review 1.4: AX detection survives passing errors; revoke only what the grant gave; smaller fixes
- A lock timeout or deadlock while detecting (e.g. during an AX table
  synchronisation) dropped the database from AX monitoring for an hour, so
  its findings resolved and reopened. The earlier detection is kept and
  retried within 5 minutes. A cancelled collection is no longer reported as
  "læsningen fejlede".
- A lock timeout kept the earlier batch picture forever; now at most 15
  minutes (MeasuredAt), so a job that has started is not reported late from
  an old picture.
- revoke-dynamics-ax-read.sql revoked SELECT on same-named tables in every
  schema, also a DENY set by a DBA. It now finds the AX schema like the grant
  script and revokes only granted SELECT there.
- SQLI-AX-006 skips blocked sequences (as -005/-008 do); forecasts under a
  day say "inden for et døgn" instead of "om ca. 0 dage".
- Integration tests: the SQL Scripts run as-is in main's format, and the
  shared connection has the agent's session settings after the AX reads.
- docs/dynamics-ax.md: history bounds, lock-timeout window, session settings,
  /detection-problems, API redaction.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 14:45:31 +02:00
..
Concurrency Dynamics AX collectors: shared detector, batch jobs, number sequences and RecId 2026-10-02 13:53:34 +02:00
Custom Dynamics AX: notice a GRANT within minutes, one AX lookup per custom-rule run 2026-10-02 13:54:36 +02:00
Databases Collectors: monitor only chosen databases; database discovery and permission check 2026-10-02 13:22:41 +02:00
Discovery Dynamics AX collectors: shared detector, batch jobs, number sequences and RecId 2026-10-02 13:53:34 +02:00
DynamicsAx Review 1.4: AX detection survives passing errors; revoke only what the grant gave; smaller fixes 2026-10-02 14:45:31 +02:00
Instance SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
Performance Collectors: monitor only chosen databases; database discovery and permission check 2026-10-02 13:22:41 +02:00
BuiltInCollectors.cs Dynamics AX collectors: shared detector, batch jobs, number sequences and RecId 2026-10-02 13:53:34 +02:00
Db.cs Dynamics AX collectors: shared detector, batch jobs, number sequences and RecId 2026-10-02 13:53:34 +02:00
ICollector.cs Collectors: monitor only chosen databases; database discovery and permission check 2026-10-02 13:22:41 +02:00
SQLInsight.Collectors.csproj Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00