PTah
f033d5bd87
fix: daily report без локального Telegram при fallback SAC (2.1.9-SAC)
...
Аналог ssh-monitor: report.daily.* только SAC/spool, timeout 45s,
spool flush приоритет отчётам (50 файлов/цикл).
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 12:00:36 +10:00
PTah
8a937b8f17
fix: quarantine corrupt SAC spool files, flush newest first (2.1.6-SAC)
...
Reject null-padded spool payloads to rejected/, read UTF-16 spool, process recent events first, and raise flush batch to 20 so daily reports are not blocked by legacy junk.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 09:09:54 +10:00
PTah
f3a0adb7b8
fix: remove UTF-8 BOM from PowerShell entry scripts
2026-06-20 19:07:52 +10:00
PTah
2c1724fd90
fix: SAC poll URL interpolation in Sac-Client (2.1.2-SAC)
2026-06-19 23:49:44 +10:00
PTah
5d2b90779c
feat: SAC agent command poll qwinsta/logoff (2.0.39-SAC)
...
Poll GET /api/v1/agent/commands every SacCommandPollIntervalSec;
execute qwinsta/logoff with run_as from SAC; POST result.
2026-06-19 23:37:58 +10:00
PTah
fe2e6d624f
fix: inventory JSON without JavaScriptSerializer WARN (2.0.22-SAC)
...
Use ConvertTo-Json after CIM-safe Convert-AnyToJsonSerializable; pre-sanitize inventory details.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-05 10:00:11 +10:00
PTah
fa5248d501
fix: Sac-Client splat syntax for PS 5.1
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 11:45:49 +10:00
PTah
f08a8a8561
fix: allow null SacOccurredAt on lifecycle notifications (2.0.15-SAC)
...
PS 5.1 rejects binding null to [datetime]; use optional splatting for SAC occurred_at.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 11:45:35 +10:00
PTah
550cea9759
fix: RD Gateway startup replay, 1226 benign, SAC occurred_at (2.0.14-SAC)
...
Persist RD Gateway poll cursor to avoid replaying 302/303 on monitor restart;
treat ErrorCode 1226 as normal disconnect; pass event TimeCreated to SAC ingest.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 11:42:03 +10:00
PTah
d54d04623f
fix: PS 5.1 Sac-Client JSON types without uint alias 2.0.2-SAC
...
Replace [uint]/[ulong] -is checks with GetType().IsPrimitive for Windows PowerShell 5.1 on domain hosts.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 09:13:19 +10:00
PTah
084494cfa8
fix: SAC JSON serialize daily report without PSMethod cycle 2.0.1-SAC
...
Convert-AnyToJsonSerializable returns plain arrays and skips PSMethod/ScriptBlock instead of Generic.List objects that broke JavaScriptSerializer.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 09:08:14 +10:00
PTah
e1ae9834a9
feat: single deploy startup, stop mode, notification_body 1.2.31-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 18:11:18 +10:00
PTah
a74c8df877
feat: lifecycle notifications with telegram_via and settings reload 1.2.30-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 12:25:50 +10:00
PTah
2395f536cd
feat: notification source line in agent alerts (1.2.29-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 11:51:55 +10:00
PTah
49359c07a6
fix: tolerate missing ServerDisplayName and send host.ipv4 (1.2.17-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 13:33:26 +10:00
PTah
b9d385f51b
feat: ServerDisplayName для Telegram и SAC host.display_name (1.2.15-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 11:49:13 +10:00
PTah
e7f19e5c92
fix: SAC ingest POST через HttpWebRequest и проверка JSON bytes (1.2.14-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 11:13:43 +10:00
PTah
e4f4d1bb1f
fix: SAC POST не срезать '{' из-за StartsWith(BOM) в PowerShell (1.2.13-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 10:57:42 +10:00
PTah
74d1e4db75
fix: SAC POST body null prefix from Write-Log pipeline (1.2.12-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 10:44:22 +10:00
PTah
5284734092
fix: SAC JSON Cyrillic via JavaScriptSerializer, log 422 body (1.2.11-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 10:34:21 +10:00
PTah
1c210a40d8
fix: treat HTTP 201/409/202 as SAC success in WebException path (1.2.10-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 10:27:23 +10:00
PTah
83315cc3b8
fix: SAC 422 no spool loop, truncate title/summary, UTF-8 spool read (1.2.9-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 10:20:30 +10:00
PTah
6c86e172b9
fix: SAC ingest UTF-8 JSON body for Cyrillic (1.2.8-SAC)
...
Invoke-WebRequest now posts application/json; charset=utf-8 bytes
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 10:05:49 +10:00
PTah
ef237f345b
chore: release 1.2.7-SAC — SAC ingest HTTP 201/409/202
...
Bump version.txt and ScriptVersion for Deploy-LoginMonitor on NETLOGON.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 09:34:19 +10:00
PTah
1092f6340d
fix: accept SAC ingest HTTP 201, 409, and legacy 202
...
Remove .cursorignore (patterns covered by repo hygiene elsewhere)
2026-05-28 09:13:14 +10:00
PTah
9030fb3c30
fix: heartbeat only to SAC, never Telegram/email
...
agent.heartbeat in Send-NotifyOrSac skips local channels in dual/fallback/off.
Bump to 1.2.6-SAC.
2026-05-28 07:56:18 +10:00
PTah
edbe00ffb3
feat: SAC client 1.2.0-SAC and daily report details for ingest
2026-05-27 14:15:16 +10:00