@abgov/adsp-sdk-mcp-server 1.15.3 → 1.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,8 @@ The action catalog registers the classification of audit actions. Registering an
10
10
  generate audit records. The write endpoint validates and enriches events, then submits them through
11
11
  the write buffer to PostgreSQL. History endpoints read committed rows from the same database.
12
12
  Action catalogs and retention settings remain in Configuration Service, not the audit database.
13
- SIEM forwarding is a separate capability. Scheduled retention is enabled by default.
13
+ SIEM forwarding is a separate capability. Scheduled retention runs in a separate job Deployment,
14
+ not in the serving API replicas.
14
15
 
15
16
  ## Source layout
16
17
 
@@ -117,9 +118,14 @@ current period or a TimescaleDB chunk boundary.
117
118
 
118
119
  ### Registering through the SDK
119
120
 
120
- `auditDefinitions()` turns application constants into a map keyed by action name and rejects
121
- duplicate names at startup. Category and severity types and configuration validation use the
122
- SDK's shared constants; custom retention class names remain supported.
121
+ `auditDefinitions()` turns application constants (a map or an array) into a map keyed by action
122
+ name and rejects duplicate names at startup. Category and severity types and configuration
123
+ validation use the SDK's shared constants; custom retention class names remain supported.
124
+
125
+ The simplest option is `auditActions` on `initializeService` or `initializePlatform`. The SDK
126
+ replaces the `actions-<serviceId.service>` catalog with these actions. Duplicate or invalid names
127
+ fail initialization. Registration itself is asynchronous; `auditService` holds writes until it has
128
+ settled, so the first events are not rejected as unknown actions.
123
129
 
124
130
  ```typescript
125
131
  import {
@@ -128,7 +134,7 @@ import {
128
134
  AuditCategories,
129
135
  AuditSeverities,
130
136
  BuiltInRetentionClasses,
131
- auditDefinitions,
137
+ initializeService,
132
138
  } from '@abgov/adsp-service-sdk';
133
139
 
134
140
  const serviceId = adspId`urn:ads:case-team:case-service`;
@@ -142,6 +148,17 @@ const ACTIONS = {
142
148
  },
143
149
  } satisfies Record<string, AuditAction>;
144
150
 
151
+ const { auditService } = await initializeService(
152
+ { serviceId, displayName: 'Case service', description: 'Case management', auditActions: ACTIONS },
153
+ { logger },
154
+ );
155
+ ```
156
+
157
+ Alternatively, register the catalog explicitly as a named configuration document:
158
+
159
+ ```typescript
160
+ import { auditDefinitions } from '@abgov/adsp-service-sdk';
161
+
145
162
  // Include this entry in initializeService's serviceConfigurations.
146
163
  const serviceConfigurations = [
147
164
  {
@@ -174,6 +191,44 @@ those deployments. Only trusted administrators/deployment accounts should have w
174
191
  If an active revision is set, changing latest alone may not publish the change. Create and activate
175
192
  revisions through the normal Configuration Service workflow, with a configuration-admin account.
176
193
 
194
+ ### Recording and querying through the SDK
195
+
196
+ `initializeService` and `initializePlatform` return `auditService`, which writes to the calling
197
+ service's namespace (`serviceId.service`):
198
+
199
+ ```typescript
200
+ const outcome = await auditService.record(ACTIONS.UPDATE_CASE, {
201
+ actor: { id: user.id, type: 'user' },
202
+ resource: { type: 'case', id: caseId },
203
+ metadata: { reason },
204
+ changeSet: { before, after }, // Dropped unless the action sets captureChangeSet.
205
+ });
206
+
207
+ if (outcome.status !== 'recorded') {
208
+ logger.warn(`Audit event ${outcome.eventId} was not recorded: ${outcome.reason}`);
209
+ }
210
+
211
+ const { results, page } = await auditService.query({ resourceType: 'case', resourceId: caseId }, { top: 50 });
212
+ ```
213
+
214
+ - **Batching**: events are sent in batches of up to **100** events, or after **500 ms**,
215
+ whichever comes first. Core services must pass `tenantId`; events are batched per tenant.
216
+ - **Outcomes**: `record()` never rejects. It resolves `recorded` (accepted or an idempotent
217
+ duplicate), `rejected` (the service rejected the event, with its `code` and `reason`), or
218
+ `failed` (not delivered, with a `reason`). Awaiting it is optional; it does not affect batching.
219
+ - **Retries**: network errors, timeouts, 429, 502, 503 and 504 are retried with the same `eventId`
220
+ after 200 ms, 1 s, 3 s and 5 s, honouring `Retry-After` up to 30 s. Other errors are not retried.
221
+ - **Buffer**: up to 1,000 events or 8 MB (serialized) can be queued, in flight or retrying. New
222
+ events beyond either limit fail immediately with `buffer_full`; the buffer is in memory and is
223
+ lost if the process exits.
224
+ - **Dropped events**: every `rejected` or `failed` outcome increments the
225
+ `audit.client.dropped_events` OpenTelemetry counter (`audit_client_dropped_events_total` in
226
+ Prometheus) with a `reason` attribute, and `auditService.droppedEventCount`.
227
+ - **Shutdown**: call `await auditService.flush()` before exiting (for example, on `SIGTERM`). It
228
+ sends buffered events and waits for in-flight batches, including retries.
229
+ - **Queries**: `query()` reads the service's namespace with the service token by default. Pass
230
+ `namespace`, `tenantId` (Core) or a user `token` in options; failures reject.
231
+
177
232
  ## Loading and cache behavior
178
233
 
179
234
  The service reads active revisions with fallback to latest, through the existing SDK configuration
@@ -263,7 +318,7 @@ Resource type and metadata are validated against the resolved action.
263
318
  Metadata and change sets each have a 16 KiB UTF-8 JSON limit; the whole body has a
264
319
  20 MiB limit. A non-capturing action drops change sets from the trusted row.
265
320
 
266
- Malformed batch envelopes return 400, oversized bodies return 413, and malformed
321
+ Malformed batch envelopes return 400, oversized bodies or enriched batches return 413, and malformed
267
322
  individual events produce individual rejections. Classification, identity and
268
323
  retention columns are server-set, never copied from caller-supplied row fields.
269
324
 
@@ -306,10 +361,14 @@ The router submits enriched events through
306
361
  Results use the service-generated `id`, never client `event_id`, to keep concurrent requests
307
362
  and tenants separate. Inputs must remain unchanged until the promise settles.
308
363
 
309
- The buffer batches at 200 events or 200 ms, with default limits of 5,000 retained events and
310
- 32 MiB of serialized payload per pod. Capacity is reserved for the whole request before enqueueing;
311
- over-capacity requests return 503 without storing any of their events. The byte limit is not a
312
- measurement of process memory.
364
+ The buffer batches at 200 events or 200 ms, with limits of 1,000 retained events and
365
+ 8 MiB of serialized enriched payload (including original input) per pod. Capacity is reserved
366
+ for the whole request before enqueueing. A batch that cannot fit even in an empty buffer returns
367
+ 413 without storing any of its events; split it into smaller requests rather than retrying unchanged.
368
+ A batch that fits on its own but exceeds the currently available capacity returns 503 with
369
+ `Retry-After: 1`. The HTTP envelope still accepts up to 500 events and 20 MiB of input, but
370
+ enrichment/original-input retention can make a valid request too large for the smaller buffer.
371
+ The byte limit is not a measurement of process memory.
313
372
 
314
373
  Transient failures retry after 200 ms, 1 s and 3 s; constraint failures are retried individually.
315
374
  `accepted` requires a committed audit row. `storage_failed` requires the original event to be
@@ -327,11 +386,78 @@ after the current bounded statement settles. Connection acquisition retains the
327
386
  operation settles, the buffer refuses additional writes rather than accumulating abandoned work.
328
387
 
329
388
  `close()` refuses new submissions and drains within a configurable 25-second default budget,
330
- reserving the final 5 seconds for failed-event storage. SIGTERM and SIGINT stop new connections,
331
- drain queued writes and in-flight HTTP requests, then close the database pool and telemetry.
332
- A 29-second process deadline exits with failure if shutdown cannot finish.
389
+ reserving the final 5 seconds for failed-event storage. SIGTERM and SIGINT first mark readiness
390
+ unavailable, leaving the listener and write buffer open for a 10-second traffic-withdrawal window.
391
+ The service then closes the listener and idle connections, drains queued writes and in-flight
392
+ HTTP requests, and closes the database pools and telemetry. A 45-second process deadline exits
393
+ with failure if shutdown cannot finish. OpenShift allows 60 seconds before forced termination.
333
394
  `GET /health` includes `db` and `ready`; it returns 503 when the database or buffer is unavailable
334
- or the buffer is draining.
395
+ or shutdown has started. This legacy diagnostic endpoint is not used by platform probes.
396
+
397
+ ## Operational readiness
398
+
399
+ The deployment intentionally differs from platform templates that use `/` for both probes:
400
+
401
+ | Endpoint | Meaning |
402
+ | --------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
403
+ | `/health/live` | Returns 200 while the HTTP process is responsive. Never checks PostgreSQL or platform dependencies. |
404
+ | `/health/ready` | Returns 200 when PostgreSQL is reachable and the buffer can accept writes; otherwise 503. Shutdown immediately makes it return 503. |
405
+
406
+ Both endpoints are unauthenticated and return empty bodies, with no connection, tenant or error
407
+ details. Readiness uses a separate pool with at most one connection, 250 ms acquisition/query
408
+ timeouts and a 750 ms overall deadline. Concurrent probes share one check; timed-out and failed
409
+ connections are discarded. This avoids queuing probes behind 60-second history reads in the
410
+ application pool. Each API/job pod may therefore use **DB_POOL_MAX + 1** connections.
411
+
412
+ A successful database check can restore readiness without a new write or a restart; historical
413
+ write failures do not permanently remove a recovered pod from service. An outstanding cancelled
414
+ storage operation still prevents readiness. A full buffer uses per-request backpressure rather
415
+ than removing the entire pod and shifting its load to other replicas.
416
+
417
+ Readiness is checked every 5 seconds with a 1-second timeout and one failure to withdraw the pod.
418
+ Liveness runs every 60 seconds with a 2-second timeout and three failures before restart.
419
+ A startup probe allows up to five minutes for initialization/migrations before liveness starts.
420
+ The 10-second shutdown withdrawal window covers two readiness intervals before refusing new work;
421
+ actual ingress propagation remains an environment-dependent deployment concern.
422
+
423
+ ### Resource and shutdown budgets
424
+
425
+ Both workloads keep the original per-pod resources: requests of 20m CPU / 50Mi memory and
426
+ limits of 100m CPU / 200Mi memory. The buffer is reduced instead of increasing these resources,
427
+ with simultaneous caps of 1,000 events and 8 MiB serialized payload. Smaller buffers absorb
428
+ shorter bursts and apply backpressure earlier; the 200-event / 200-ms write batching is unchanged.
429
+
430
+ Allowing four times the serialized cap for retained objects/strings reserves 32 MiB for the
431
+ buffer, leaving 168 MiB of the 200 MiB limit for the runtime, request parsing and transient/GC
432
+ allocations. This is a planning envelope, not a measurement that the runtime fits in 168 MiB.
433
+
434
+ These are sizing allowances, **not measured peak RSS or a guarantee for arbitrary concurrent
435
+ requests**. Request parsing/enrichment happens before buffer admission, and the unchanged 20 MiB
436
+ HTTP body limit is separate from the buffer cap. Observe actual memory usage with representative
437
+ payloads before treating sizing as production capacity evidence. The job uses the same per-pod
438
+ limits, but the additional job pod still increases the total workload resource allocation.
439
+
440
+ The shutdown budget is `10s withdrawal + 25s flush + 10s cleanup = 45s process deadline`,
441
+ with an additional 15 seconds in `terminationGracePeriodSeconds: 60`. Flush configuration must
442
+ remain below 30 seconds so withdrawal and cleanup retain time. Long-running reads can be
443
+ interrupted by this shutdown deadline; only durably committed events are acknowledged.
444
+
445
+ ### History query and route timeouts
446
+
447
+ Audit history list/detail queries have a separate 60-second database query timeout, with
448
+ cancellation on timeout. Writes, failed-event administration and retention keep their existing
449
+ 4-second statement limits. Pool acquisition remains bounded at 30 seconds. The Route sets
450
+ `haproxy.router.openshift.io/timeout: 120s` to allow acquisition, history reads and response overhead
451
+ without inheriting the router's 30-second default. Client-side deadlines must also allow the
452
+ intended read duration; the route annotation alone cannot override client or database limits.
453
+
454
+ ### Verification boundary
455
+
456
+ Automated checks cover probe behavior, bounded database checks, readiness recovery, shutdown
457
+ ordering, distinct query budgets and the deployment configuration. Live database-outage/recovery
458
+ and rolling-deployment-under-write-load exercises are deferred for this delivery. They are not
459
+ claimed as completed acceptance evidence. Platform metric visibility and a real long query
460
+ through the deployed Route also require verification in the target environment.
335
461
 
336
462
  ## Failed-event administration
337
463
 
@@ -377,6 +503,15 @@ The integration suite runs migrations and deletes test rows; never use a shared
377
503
  `OTEL_EXPORTER_OTLP_ENDPOINT` sets where metrics are sent, for example
378
504
  `http://otel-collector:4318`. Leaving it empty disables metric export.
379
505
 
506
+ Both API and job pods inherit this setting from the Audit Service ConfigMap. Metrics use the
507
+ existing platform pipeline: service OTLP export -> Collector -> Prometheus scrape of the
508
+ Collector's `:8889` endpoint. A separate unauthenticated `/metrics` route on Audit Service is
509
+ not required by this platform integration. The SDK exports every 60 seconds and Prometheus
510
+ scrapes every 30 seconds; allow at least two minutes after startup/activity before checking.
511
+ In the target environment, verify `audit_failed_events_available` is present and equals 1,
512
+ and query `audit_failed_events_open`. An absent series is not a successful zero result.
513
+ Check the Collector target is up and inspect exporter/Collector errors if metrics are missing.
514
+
380
515
  The rules in `.openshift/observability/observability-stack.yml` alert when **at least one
381
516
  failed event is still open**, or when the count cannot be read. An unavailable count is
382
517
  unknown, not zero. Detection follows the monitoring update cycle; email or message delivery
@@ -387,13 +522,21 @@ unconfirmed saves; failed replay saves use the same failure counter with `operat
387
522
 
388
523
  ## Scheduled retention
389
524
 
390
- Retention is enabled by default and runs daily at 02:00 UTC. Set `RETENTION_ENABLED=false` to
391
- disable it. Configure these environment variables (or the `audit-service` ConfigMap in OpenShift)
392
- and restart the service to apply changes:
525
+ Retention runs daily at 02:00 UTC in the separate `audit-service-job` Deployment. It has one
526
+ replica and a `Recreate` update strategy to avoid overlapping schedulers during updates.
527
+ It uses the same image, platform identity and database Secret as the API, but has `component: job`
528
+ and is excluded from the API Service/Route. Do not autoscale this workload. API scaling does not
529
+ change the number of schedulers.
530
+
531
+ `RETENTION_ENABLED` defaults to false. The API Deployment explicitly sets it to false even if
532
+ an older ConfigMap still enables it; the job Deployment explicitly sets it to true.
533
+ To suspend retention in OpenShift, scale the job Deployment to zero or change its explicit
534
+ environment setting; changing only the shared ConfigMap will not override that setting.
535
+ Configure schedule/batch settings in the shared ConfigMap and restart the job to apply them:
393
536
 
394
537
  | Variable | Default | Meaning |
395
538
  | ----------------------- | ----------- | ----------------------------------------------- |
396
- | `RETENTION_ENABLED` | `true` | Set to `false` to disable scheduled deletion. |
539
+ | `RETENTION_ENABLED` | `false` | Explicitly enabled only on the job Deployment. |
397
540
  | `RETENTION_SCHEDULE` | `0 2 * * *` | Cron schedule, at 02:00 UTC by default. |
398
541
  | `RETENTION_BATCH_SIZE` | `1000` | Maximum audit rows deleted in one statement. |
399
542
  | `RETENTION_MAX_BATCHES` | `10` | Maximum batches per tenant per scheduled sweep. |
@@ -412,6 +555,13 @@ tenants and replicas. A lock loser skips rather than queues; a local running gua
412
555
  overlapping timer invocations. The lock is held on the same connection as deletion and released
413
556
  on commit, rollback or disconnect. No distributed guarantee is attributed to SDK `LimitToOne`.
414
557
  Shutdown cancels future ticks, stops between tenants, and awaits the active run before closing storage.
558
+ The lock is a concurrency safeguard, not a once-per-schedule execution ledger. The separate
559
+ single-replica scheduler prevents API replicas from independently starting scheduled sweeps.
560
+ During the first rollout of this separation, disable retention on all old API replicas and
561
+ wait for them to drain **before starting the job Deployment**. The existing `deploy-app` action
562
+ promotes the API and then the `-job` Deployment. Keep that ordering for manual deployments too;
563
+ updating only the API image leaves the retention image unchanged.
564
+ The in-process schedule does not catch up a tick missed while the job is stopped or updating.
415
565
 
416
566
  Each executed tenant run, including a zero-deletion run, inserts `retention.run.succeeded` or
417
567
  `retention.run.failed` in that tenant's `audit-service` namespace. The system actor and writer are
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/adsp-sdk-mcp-server",
3
- "version": "1.15.3",
3
+ "version": "1.15.4",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Government of Alberta - MCP server for ADSP documentation and Node SDK reference lookup.",
6
6
  "repository": "https://github.com/GovAlta/adsp-monorepo",
@@ -53,7 +53,7 @@ exports.SDK_REFERENCE = [
53
53
  'ignoreServiceAud?, configurationConverter?, combineConfiguration?, enableConfigurationInvalidation?, ' +
54
54
  'useLongConfigurationCacheTTL?, additionalExtractors?, tracing? (TracingOptions | OTLP endpoint string), ' +
55
55
  'metrics? (MetricsOptions | OTLP endpoint string).\n\n' +
56
- 'Returns PlatformCapabilities: directory, tenantService, configurationService, eventService, tokenProvider, ' +
56
+ 'Returns PlatformCapabilities: directory, tenantService, configurationService, eventService, auditService, tokenProvider, ' +
57
57
  'coreStrategy, tenantStrategy, tenantHandler, configurationHandler, healthCheck, clearCached(tenantId, serviceId), ' +
58
58
  'metricsHandler, traceHandler, tracerProvider? (only if tracing enabled), meterProvider? (only if metrics enabled), logger.\n\n' +
59
59
  'Also triggers a fire-and-forget registration of roles/events/configuration schema/notifications/etc with the ' +
@@ -317,9 +317,10 @@ exports.SDK_REFERENCE = [
317
317
  kind: 'function',
318
318
  module: 'audit',
319
319
  summary: 'Converts named audit action constants into definitions keyed by action name for catalog registration.',
320
- details: 'auditDefinitions(actions: Record<string, AuditAction>): Record<string, AuditActionDefinition>\n\n' +
320
+ details: 'auditDefinitions(actions: Record<string, AuditAction> | AuditAction[]): Record<string, AuditActionDefinition>\n\n' +
321
321
  'Removes name from each definition and uses it as the catalog key. Throws for invalid or duplicate action names. ' +
322
- 'Does not register the catalog or emit audit records; pass the result through ServiceRegistration.serviceConfigurations.',
322
+ 'Does not register the catalog or emit audit records; pass actions through ServiceRegistration.auditActions, or ' +
323
+ 'the result through ServiceRegistration.serviceConfigurations.',
323
324
  example: "auditDefinitions({\n" +
324
325
  " UPDATE_CASE: {\n" +
325
326
  " name: 'case.update', version: 1, category: AuditCategories.Administrative,\n" +
@@ -399,6 +400,147 @@ exports.SDK_REFERENCE = [
399
400
  example: 'retentionClass: BuiltInRetentionClasses.Compliance',
400
401
  seeAlso: ['AuditActionDefinition', 'auditDefinitions'],
401
402
  },
403
+ {
404
+ name: 'AuditService',
405
+ kind: 'interface',
406
+ module: 'audit',
407
+ summary: "Records and queries audit events in the service's namespace; returned as auditService by initializePlatform/initializeService.",
408
+ details: 'interface AuditService {\n' +
409
+ ' record(action: AuditAction, details: AuditRecordDetails): Promise<AuditRecordOutcome>;\n' +
410
+ ' query(criteria?: AuditEventCriteria, options?: AuditQueryOptions): Promise<Results<AuditEventRecord>>;\n' +
411
+ ' flush(): Promise<void>;\n' +
412
+ ' readonly droppedEventCount: number;\n' +
413
+ '}\n\n' +
414
+ 'record() batches events (100 events or 500 ms, per tenant for core services), retries network errors and ' +
415
+ '429/502/503/504 with the same eventId (honouring Retry-After), and buffers at most 1,000 events or 8 MB. ' +
416
+ 'It never rejects; it resolves recorded, rejected, or failed. Non-recorded events increment ' +
417
+ 'droppedEventCount and the audit.client.dropped_events metric. Change sets are dropped unless the action sets ' +
418
+ 'captureChangeSet. Writes wait for auditActions registration to settle. Call flush() on shutdown. ' +
419
+ 'query() uses the service token unless options.token is set, and rejects on failure.',
420
+ example: "const outcome = await auditService.record(UPDATE_CASE, {\n" +
421
+ " actor: { id: user.id, type: 'user' },\n" +
422
+ " resource: { type: 'case', id: caseId },\n" +
423
+ "});\n" +
424
+ "if (outcome.status !== 'recorded') logger.warn(`Audit event not recorded: ${outcome.reason}`);",
425
+ seeAlso: ['AuditRecordDetails', 'AuditRecordOutcome', 'AuditEventCriteria', 'AuditQueryOptions', 'ServiceRegistration'],
426
+ },
427
+ {
428
+ name: 'AuditRecordDetails',
429
+ kind: 'interface',
430
+ module: 'audit',
431
+ summary: 'Details of an audit event passed to AuditService.record.',
432
+ details: 'interface AuditRecordDetails {\n' +
433
+ ' tenantId?: AdspId; // required for core services, ignored for tenant services\n' +
434
+ " status?: AuditEventStatus; // default 'success'\n" +
435
+ ' actor: AuditActor;\n' +
436
+ ' occurredAt?: Date; // default now\n' +
437
+ ' eventId?: string; // idempotency key, generated when omitted\n' +
438
+ ' resource?: AuditResource; scopeIds?: string[]; correlationId?: string; sessionId?: string;\n' +
439
+ ' metadata?: Record<string, unknown>;\n' +
440
+ ' changeSet?: AuditChangeSet; // sent only if the action sets captureChangeSet\n' +
441
+ '}',
442
+ seeAlso: ['AuditService', 'AuditActor', 'AuditResource', 'AuditChangeSet'],
443
+ },
444
+ {
445
+ name: 'AuditRecordOutcome',
446
+ kind: 'type',
447
+ module: 'audit',
448
+ summary: 'Result resolved by AuditService.record.',
449
+ details: "type AuditRecordOutcome =\n" +
450
+ " | { status: 'recorded'; eventId: string } // stored, or an idempotent duplicate\n" +
451
+ " | { status: 'rejected'; eventId: string; code: string; reason: string } // refused by the service, not resent\n" +
452
+ " | { status: 'failed'; eventId: string; reason: Exclude<AuditDropReason, 'rejected'>; error: string };",
453
+ seeAlso: ['AuditService', 'AuditDropReason'],
454
+ },
455
+ {
456
+ name: 'AuditDropReason',
457
+ kind: 'type',
458
+ module: 'audit',
459
+ summary: 'Why an audit event was not stored; also the reason attribute of audit.client.dropped_events.',
460
+ details: "type AuditDropReason = 'rejected' | 'invalid_event' | 'buffer_full' | 'retries_exhausted' | 'request_failed' | 'invalid_response';",
461
+ seeAlso: ['AuditRecordOutcome'],
462
+ },
463
+ {
464
+ name: 'AuditEventStatus',
465
+ kind: 'type',
466
+ module: 'audit',
467
+ summary: 'Outcome of the audited action.',
468
+ details: "type AuditEventStatus = 'success' | 'failure' | 'blocked' | 'error';",
469
+ seeAlso: ['AuditRecordDetails'],
470
+ },
471
+ {
472
+ name: 'AuditActorType',
473
+ kind: 'type',
474
+ module: 'audit',
475
+ summary: 'Kind of actor that performed an audited action.',
476
+ details: "type AuditActorType = 'user' | 'service' | 'system';",
477
+ seeAlso: ['AuditActor'],
478
+ },
479
+ {
480
+ name: 'AuditActor',
481
+ kind: 'interface',
482
+ module: 'audit',
483
+ summary: 'Actor that performed an audited action.',
484
+ details: 'interface AuditActor { id: string; type: AuditActorType; name?: string; email?: string; roles?: string[]; }',
485
+ seeAlso: ['AuditRecordDetails', 'AuditActorType'],
486
+ },
487
+ {
488
+ name: 'AuditResource',
489
+ kind: 'interface',
490
+ module: 'audit',
491
+ summary: 'Resource an audited action applied to.',
492
+ details: 'interface AuditResource { type: string; id: string; name?: string; }',
493
+ seeAlso: ['AuditRecordDetails'],
494
+ },
495
+ {
496
+ name: 'AuditChangeSet',
497
+ kind: 'interface',
498
+ module: 'audit',
499
+ summary: 'Before and after state of a change; only sent for actions with captureChangeSet.',
500
+ details: 'interface AuditChangeSet { before?: Record<string, unknown> | null; after?: Record<string, unknown> | null; }',
501
+ seeAlso: ['AuditRecordDetails', 'AuditActionDefinition'],
502
+ },
503
+ {
504
+ name: 'AuditEventCriteria',
505
+ kind: 'interface',
506
+ module: 'audit',
507
+ summary: 'Filters for AuditService.query.',
508
+ details: 'interface AuditEventCriteria {\n' +
509
+ ' actor?: string; resourceType?: string; resourceId?: string; action?: string;\n' +
510
+ ' status?: AuditEventStatus; category?: AuditCategory; scope?: string;\n' +
511
+ ' occurredFrom?: Date | string; occurredTo?: Date | string;\n' +
512
+ '}',
513
+ seeAlso: ['AuditService', 'AuditQueryOptions'],
514
+ },
515
+ {
516
+ name: 'AuditQueryOptions',
517
+ kind: 'interface',
518
+ module: 'audit',
519
+ summary: 'Paging, namespace, tenant and token options for AuditService.query.',
520
+ details: 'interface AuditQueryOptions {\n' +
521
+ ' top?: number; // page size, service default 10\n' +
522
+ ' after?: string; // cursor from page.next\n' +
523
+ " namespace?: string; // defaults to serviceId.service\n" +
524
+ ' tenantId?: AdspId; // core callers\n' +
525
+ " token?: string; // e.g. the user's token; defaults to the service account token\n" +
526
+ '}',
527
+ seeAlso: ['AuditService', 'AuditEventCriteria'],
528
+ },
529
+ {
530
+ name: 'AuditEventRecord',
531
+ kind: 'interface',
532
+ module: 'audit',
533
+ summary: 'Stored audit event returned by AuditService.query.',
534
+ details: 'interface AuditEventRecord {\n' +
535
+ ' id: string; eventId: string; namespace: string; writtenBy: string;\n' +
536
+ ' occurredAt: string; receivedAt: string; action: string; actionVersion: number;\n' +
537
+ ' category: AuditCategory; status: AuditEventStatus; severity: AuditSeverity;\n' +
538
+ ' actor: AuditActor; resource?: AuditResource; scopeIds: string[];\n' +
539
+ ' correlationId?: string; sessionId?: string; changeSet?: AuditChangeSet;\n' +
540
+ ' metadata: Record<string, unknown>; retentionClass: string; retentionUntil: string;\n' +
541
+ '}',
542
+ seeAlso: ['AuditService', 'Results'],
543
+ },
402
544
  // event
403
545
  {
404
546
  name: 'EventService',
@@ -480,6 +622,14 @@ exports.SDK_REFERENCE = [
480
622
  summary: 'Security classification levels used across service configuration (e.g. FileType.securityClassification).',
481
623
  details: "enum SecurityClassifications { ProtectedA = 'protected a', ProtectedB = 'protected b', ProtectedC = 'protected c', Public = 'public' }",
482
624
  },
625
+ {
626
+ name: 'Results',
627
+ kind: 'interface',
628
+ module: 'common',
629
+ summary: 'Paged results envelope returned by platform list APIs, e.g. AuditService.query.',
630
+ details: 'interface Results<T> { results: T[]; page: { after?: string; next?: string; size: number }; }',
631
+ seeAlso: ['AuditService'],
632
+ },
483
633
  // push
484
634
  {
485
635
  name: 'Stream',
@@ -576,12 +726,14 @@ exports.SDK_REFERENCE = [
576
726
  ' fileTypes?: FileType[];\n' +
577
727
  ' notifications?: NotificationType[];\n' +
578
728
  ' values?: ValueDefinition[];\n' +
729
+ ' auditActions?: Record<string, AuditAction> | AuditAction[];\n' +
579
730
  ' serviceConfigurations?: { serviceId: AdspId; configuration: Record<string, unknown> | { name: string; configuration: unknown }[] }[];\n' +
580
731
  '}\n\n' +
581
732
  'On initialization these are patched (fire-and-forget) into configuration-service (roles/config/events/etc as ' +
582
733
  'namespaced documents), tenant-service (roles), event-service (event definitions), push-service (event streams), ' +
583
- 'file-service (file types), notification-service (notification types), and value-service (value definitions).',
584
- seeAlso: ['ServiceRole', 'initializePlatform'],
734
+ 'file-service (file types), notification-service (notification types), value-service (value definitions), and ' +
735
+ 'audit-service (auditActions replace the actions-<serviceId.service> catalog; duplicate names fail initialization).',
736
+ seeAlso: ['ServiceRole', 'initializePlatform', 'AuditAction'],
585
737
  },
586
738
  {
587
739
  name: 'ServiceRole',
@@ -1 +1 @@
1
- {"version":3,"file":"reference.js","sourceRoot":"","sources":["../../../../../libs/adsp-sdk-mcp-server/src/sdk-reference/reference.ts"],"names":[],"mappings":";;;AAaA;;;;GAIG;AACU,QAAA,aAAa,GAAmB;IAC3C,aAAa;IACb;QACE,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,YAAY;QACpB,OAAO,EACL,wGAAwG;YACxG,uGAAuG;QACzG,OAAO,EACL,gHAAgH;YAChH,2BAA2B;YAC3B,+GAA+G;YAC/G,8GAA8G;YAC9G,2GAA2G;YAC3G,+FAA+F;YAC/F,mDAAmD;QACrD,OAAO,EACL,0EAA0E;YAC1E,0DAA0D;YAC1D,yFAAyF;YACzF,OAAO;YACP,yCAAyC;YACzC,kEAAkE;YAClE,kBAAkB;YAClB,wCAAwC;YACxC,iEAAiE;YACjE,gDAAgD;YAChD,yDAAyD;YACzD,4BAA4B;YAC5B,mBAAmB;YACnB,kBAAkB;YAClB,0BAA0B;YAC1B,QAAQ;YACR,gBAAgB;YAChB,IAAI;QACN,OAAO,EAAE,CAAC,oBAAoB,EAAE,qBAAqB,CAAC;KACvD;IACD;QACE,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,YAAY;QACpB,OAAO,EACL,0GAA0G;YAC1G,qGAAqG;YACrG,uGAAuG;QACzG,OAAO,EACL,8JAA8J;YAC9J,iHAAiH;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AAI,EAAE,UAAU;QAChB,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,yFAAyF;QAClG,OAAO,EACL,2GAA2G;YAC3G,yBAAyB;YACzB,4GAA4G;YAC5G,6GAA6G;YAC7G,+FAA+F;YAC/F,sGAAsG;YACtG,mGAAmG;QACrG,OAAO,EACL,4DAA4D;YAC5D,gDAAgD;YAChD,qFAAqF;QACvF,OAAO,EAAE,CAAC,sBAAsB,CAAC;KAClC;IACD;QACE,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,8EAA8E;QACvF,OAAO,EACL,uEAAuE;YACvE,wGAAwG;YACxG,2GAA2G;QAC7G,OAAO,EAAE,CAAC,eAAe,CAAC;KAC3B;IAED,QAAQ;IACR;QACE,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,sGAAsG;QAC/G,OAAO,EAAE,kDAAkD;KAC5D;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,2EAA2E;QACpF,OAAO,EAAE,6HAA6H;QACtI,OAAO,EAAE,0BAA0B;KACpC;CACF,CAAC"}
1
+ {"version":3,"file":"reference.js","sourceRoot":"","sources":["../../../../../libs/adsp-sdk-mcp-server/src/sdk-reference/reference.ts"],"names":[],"mappings":";;;AAaA;;;;GAIG;AACU,QAAA,aAAa,GAAmB;IAC3C,aAAa;IACb;QACE,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,YAAY;QACpB,OAAO,EACL,wGAAwG;YACxG,uGAAuG;QACzG,OAAO,EACL,gHAAgH;YAChH,2BAA2B;YAC3B,+GAA+G;YAC/G,8GAA8G;YAC9G,2GAA2G;YAC3G,+FAA+F;YAC/F,mDAAmD;QACrD,OAAO,EACL,0EAA0E;YAC1E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