@abgov/adsp-sdk-mcp-server 1.15.1 → 1.15.2
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.
- package/assets/docs/services/audit-service.md +322 -27
- package/assets/docs/services/event-service.md +4 -0
- package/assets/docs/services/project-planner-service.md +90 -0
- package/assets/docs/services/value-service.md +46 -6
- package/package.json +1 -1
- package/src/sdk-reference/reference.js +53 -5
- package/src/sdk-reference/reference.js.map +1 -1
|
@@ -4,11 +4,44 @@ title: Audit service
|
|
|
4
4
|
parent: Services
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
# Audit service
|
|
7
|
+
# Audit service
|
|
8
8
|
|
|
9
9
|
The action catalog registers the classification of audit actions. Registering an action does not
|
|
10
|
-
generate audit records.
|
|
11
|
-
|
|
10
|
+
generate audit records. The write endpoint validates and enriches events, then submits them through
|
|
11
|
+
the write buffer to PostgreSQL. History endpoints read committed rows from the same database.
|
|
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.
|
|
14
|
+
|
|
15
|
+
## Source layout
|
|
16
|
+
|
|
17
|
+
The `apps/audit-service/src/audit` module follows the Calendar Service layout:
|
|
18
|
+
|
|
19
|
+
- `model/`: catalog loading and retention configuration resolution.
|
|
20
|
+
- `buffer/`: write scheduling, durability handling and the database adapter contract.
|
|
21
|
+
- `jobs/`: scheduled retention and its tenant-scoped run audit.
|
|
22
|
+
- `router/`: HTTP routes, write handlers, and OpenAPI definitions.
|
|
23
|
+
- `types/`: event payloads and the submission contract.
|
|
24
|
+
- `utils/`: event/request validation and write authorization.
|
|
25
|
+
|
|
26
|
+
`app.ts` initializes the application and registers configuration and roles; `main.ts` starts the
|
|
27
|
+
HTTP listener and handles shutdown. `src/postgres/` connects history, the write buffer and failed-event administration
|
|
28
|
+
to the migrated `audit_events` and `audit_failed_events` tables. Tests are colocated with their implementations.
|
|
29
|
+
|
|
30
|
+
## Authorization
|
|
31
|
+
|
|
32
|
+
`initializePlatform` registers three roles on `urn:ads:platform:audit-service`:
|
|
33
|
+
|
|
34
|
+
- `audit-reader`: read access; included in `tenant-admin` via `inTenantAdmin: true`.
|
|
35
|
+
- `audit-writer`: event writes; explicitly assigned to application service accounts.
|
|
36
|
+
- `audit-admin`: failed-event administration and protected actor identity access;
|
|
37
|
+
does not replace reader/writer permissions.
|
|
38
|
+
|
|
39
|
+
Every audit route uses `requireAuditRole` to check both the role and resolved tenant.
|
|
40
|
+
Core callers may cross tenants but still need the role. Missing/invalid tokens return 401;
|
|
41
|
+
insufficient permissions return 403. Discovery, health and Swagger remain public.
|
|
42
|
+
|
|
43
|
+
New tenants receive the registered roles during provisioning. Existing tenants and Core still
|
|
44
|
+
require role provisioning; redeploying this service alone does not synchronize their Keycloak roles.
|
|
12
45
|
|
|
13
46
|
## Configuration contract
|
|
14
47
|
|
|
@@ -56,25 +89,56 @@ no action-specific metadata constraint. The listing returns any supplied schema
|
|
|
56
89
|
Unknown document and definition fields are rejected. Action keys omit the event outcome suffix.
|
|
57
90
|
|
|
58
91
|
The namespace schema also preserves `retentionSettings` and `applicationRetentionSettings` document
|
|
59
|
-
shapes, with positive integer `classes.<class>.days`.
|
|
60
|
-
|
|
92
|
+
shapes, with positive integer `classes.<class>.days`. Catalog registration creates no retention periods.
|
|
93
|
+
At write time the service resolves configured periods over the design defaults: standard 90 days,
|
|
94
|
+
security and compliance 365 days. Application settings in `audit-service:retention-<application>`
|
|
95
|
+
override `audit-service:retention`, which overrides those defaults. Expiry is calculated from
|
|
96
|
+
`occurred_at` in UTC days. Missing custom classes fail writes with a retryable 503.
|
|
97
|
+
|
|
98
|
+
### Retention periods and forward-only changes
|
|
99
|
+
|
|
100
|
+
`RETENTION_MIN_DAYS` and `RETENTION_MAX_DAYS` configure platform-wide, inclusive bounds
|
|
101
|
+
(defaults **1** and **3650** days, pending PO confirmation). Both must be positive integers,
|
|
102
|
+
with minimum no greater than maximum. These bounds apply to tenant and Core retention settings,
|
|
103
|
+
application overrides, and custom classes. The fixed default periods remain 90/365/365 days.
|
|
104
|
+
If narrower bounds exclude a default, configure an in-range replacement for that class.
|
|
105
|
+
|
|
106
|
+
The service registers these bounds in the Configuration Service namespace schema, so out-of-range
|
|
107
|
+
period updates are rejected there. Restart the service after changing the platform environment
|
|
108
|
+
settings and verify that the updated namespace definition has registered. All replicas must use
|
|
109
|
+
the same bounds. The write path also validates resolved periods, refusing old positive periods
|
|
110
|
+
outside new bounds with 503 rather than silently substituting defaults. Existing SDK handling of
|
|
111
|
+
configuration transport/structural conversion failures remains as documented below.
|
|
112
|
+
|
|
113
|
+
Changes are **forward only**: after the active configuration/cache refreshes, newly enriched
|
|
114
|
+
events use the new period, but stored `retention_until` values are never recalculated. Buffered
|
|
115
|
+
events already enriched keep their original expiry too. Cleanup uses only stored expiry, not the
|
|
116
|
+
current period or a TimescaleDB chunk boundary.
|
|
61
117
|
|
|
62
118
|
### Registering through the SDK
|
|
63
119
|
|
|
64
120
|
`auditDefinitions()` turns application constants into a map keyed by action name and rejects
|
|
65
|
-
duplicate names at startup
|
|
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.
|
|
66
123
|
|
|
67
124
|
```typescript
|
|
68
|
-
import {
|
|
125
|
+
import {
|
|
126
|
+
adspId,
|
|
127
|
+
AuditAction,
|
|
128
|
+
AuditCategories,
|
|
129
|
+
AuditSeverities,
|
|
130
|
+
BuiltInRetentionClasses,
|
|
131
|
+
auditDefinitions,
|
|
132
|
+
} from '@abgov/adsp-service-sdk';
|
|
69
133
|
|
|
70
134
|
const serviceId = adspId`urn:ads:case-team:case-service`;
|
|
71
135
|
const ACTIONS = {
|
|
72
136
|
UPDATE_CASE: {
|
|
73
137
|
name: 'case.update',
|
|
74
138
|
version: 1,
|
|
75
|
-
category:
|
|
76
|
-
severity:
|
|
77
|
-
retentionClass:
|
|
139
|
+
category: AuditCategories.Administrative,
|
|
140
|
+
severity: AuditSeverities.Info,
|
|
141
|
+
retentionClass: BuiltInRetentionClasses.Compliance,
|
|
78
142
|
},
|
|
79
143
|
} satisfies Record<string, AuditAction>;
|
|
80
144
|
|
|
@@ -130,18 +194,19 @@ no measured end-to-end notification latency guarantee yet. Register actions befo
|
|
|
130
194
|
that emits them.
|
|
131
195
|
|
|
132
196
|
Audit Service uses the SDK's existing error handling. Configuration HTTP or converter failures are
|
|
133
|
-
logged and returned as `null`, so the catalog API cannot reliably distinguish
|
|
134
|
-
missing configuration. If neither scope supplies a catalog,
|
|
135
|
-
it can return a partial catalog
|
|
136
|
-
|
|
137
|
-
|
|
197
|
+
logged and returned as `null`, so the catalog API cannot reliably distinguish these failures from
|
|
198
|
+
missing configuration. If neither scope supplies a catalog, listing returns 404; if only one scope
|
|
199
|
+
succeeds, it can return a partial catalog. A registered empty catalog retains its `actions: {}`.
|
|
200
|
+
Errors that still propagate, such as token acquisition failures, and application-name consistency
|
|
201
|
+
failures return 503. On writes, SDK-handled failures can produce unknown-action rejections or
|
|
202
|
+
fallback retention periods; reliable failure-versus-absence distinction is not provided.
|
|
138
203
|
|
|
139
204
|
**Deferred by the MVP scope decision:** stale-on-error after invalidation/expiry, explicit cache
|
|
140
205
|
capacity limits, and stronger invalidation/in-flight refresh guarantees. Existing unexpired
|
|
141
206
|
configuration cache entries avoid configuration HTTP reads, but token retrieval remains an SDK
|
|
142
207
|
dependency. Once an entry expires or is invalidated, a configuration HTTP failure resolves to null;
|
|
143
|
-
the SDK does not retain the old value for fallback.
|
|
144
|
-
|
|
208
|
+
the SDK does not retain the old value for fallback. These remaining OSP-730 cache guarantees
|
|
209
|
+
are not claimed complete.
|
|
145
210
|
|
|
146
211
|
## Listing definitions
|
|
147
212
|
|
|
@@ -153,14 +218,14 @@ Authorization: Bearer <token with audit-reader>
|
|
|
153
218
|
Returns a JSON array, with each action's `name` plus its definition fields. Optional absent
|
|
154
219
|
`resourceType`, `description`, and `metadataSchema` remain omitted.
|
|
155
220
|
|
|
156
|
-
| Status | Meaning
|
|
157
|
-
| ------ |
|
|
158
|
-
| 200 | Resolved definitions; `[]` means registered but empty.
|
|
159
|
-
| 400 | Invalid application/namespace or tenant ID format.
|
|
160
|
-
| 401 | Not authenticated.
|
|
161
|
-
| 403 | No `audit-reader`, or a tenant caller attempted to select a different tenant.
|
|
162
|
-
| 404 | Neither scope supplied a catalog;
|
|
163
|
-
| 503 | A propagated SDK error or application-name consistency failure; retry.
|
|
221
|
+
| Status | Meaning |
|
|
222
|
+
| ------ | -------------------------------------------------------------------------------------- |
|
|
223
|
+
| 200 | Resolved definitions; `[]` means registered but empty. |
|
|
224
|
+
| 400 | Invalid application/namespace or tenant ID format. |
|
|
225
|
+
| 401 | Not authenticated. |
|
|
226
|
+
| 403 | No `audit-reader`, or a tenant caller attempted to select a different tenant. |
|
|
227
|
+
| 404 | Neither scope supplied a catalog; SDK-handled failures can also produce this response. |
|
|
228
|
+
| 503 | A propagated SDK error or application-name consistency failure; retry. |
|
|
164
229
|
|
|
165
230
|
`audit-reader` is tenant-wide: callers can read any namespace in their tenant, not only their own.
|
|
166
231
|
A Core caller with the role can select a tenant via
|
|
@@ -169,5 +234,235 @@ reads Core catalogs only. The service registers this role for tenant provisionin
|
|
|
169
234
|
still need their normal role provisioning/assignment process.
|
|
170
235
|
|
|
171
236
|
The catalog governs future write classification, not history access. Removing a definition performs
|
|
172
|
-
no audit-record deletion. History
|
|
173
|
-
|
|
237
|
+
no audit-record deletion. History endpoints query PostgreSQL independently of the catalog, so
|
|
238
|
+
removing an action does not prevent reading its existing records.
|
|
239
|
+
|
|
240
|
+
## Writing events
|
|
241
|
+
|
|
242
|
+
```http
|
|
243
|
+
POST /audit/v1/case-service/events
|
|
244
|
+
Content-Type: application/json
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
Supply an authenticated bearer token with `audit-writer` and a body
|
|
248
|
+
`{ "events": [ ... ] }` containing 1 to 500 events. Configure the Audit Service
|
|
249
|
+
audience on the application client and explicitly grant the role to its service
|
|
250
|
+
account; `audit-writer` is not automatically assigned to tenant administrators.
|
|
251
|
+
|
|
252
|
+
The verified token's `azp` must be a service URN. Tenant writers may write only
|
|
253
|
+
its service component's namespace. Core writers with the role follow the existing
|
|
254
|
+
platform exemption and can select another namespace and tenant through `?tenantId=...`.
|
|
255
|
+
Core must supply a tenant. Role provisioning, not an additional claim check,
|
|
256
|
+
limits this permission to service accounts.
|
|
257
|
+
|
|
258
|
+
Events require a UUID `eventId`, `occurredAt`, `action`, `status`, and `actor.id/type`.
|
|
259
|
+
Occurrence time must be within the past seven days or next five minutes. Actions
|
|
260
|
+
may have a terminal `.succeeded` or `.failed` suffix. An omitted `actionVersion`
|
|
261
|
+
uses the current catalog version; an explicit mismatch is rejected.
|
|
262
|
+
Resource type and metadata are validated against the resolved action.
|
|
263
|
+
Metadata and change sets each have a 16 KiB UTF-8 JSON limit; the whole body has a
|
|
264
|
+
20 MiB limit. A non-capturing action drops change sets from the trusted row.
|
|
265
|
+
|
|
266
|
+
Malformed batch envelopes return 400, oversized bodies return 413, and malformed
|
|
267
|
+
individual events produce individual rejections. Classification, identity and
|
|
268
|
+
retention columns are server-set, never copied from caller-supplied row fields.
|
|
269
|
+
|
|
270
|
+
A 202 response accounts for all inputs after storage outcomes are confirmed:
|
|
271
|
+
|
|
272
|
+
```json
|
|
273
|
+
{ "accepted": 1, "duplicates": 0, "rejected": [] }
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
Each rejection includes a zero-based input `index`, `code`, `reason`, and an
|
|
277
|
+
`eventId` when available. Counts and rejection length account for every input.
|
|
278
|
+
Duplicates are determined by PostgreSQL, not an in-memory router check.
|
|
279
|
+
If durable storage is unavailable, valid submissions return **503 with Retry-After**.
|
|
280
|
+
|
|
281
|
+
## Reading events
|
|
282
|
+
|
|
283
|
+
`GET /audit/v1/events` lists events across the resolved tenant's namespaces;
|
|
284
|
+
`GET /audit/v1/{namespace}/events` restricts that list to one namespace.
|
|
285
|
+
`GET /audit/v1/{namespace}/events/{id}` retrieves a record by its service-generated UUID,
|
|
286
|
+
returning 404 when it does not exist in that tenant and namespace.
|
|
287
|
+
All three require `audit-reader` and tenant context. Core readers can select a tenant with `tenantId`.
|
|
288
|
+
|
|
289
|
+
Lists accept `actor`, `resourceType`, `resourceId`, `action`, `status`, `category`, `scope`,
|
|
290
|
+
`occurredFrom` and `occurredTo`. Filters combine with AND; time bounds are inclusive, and `scope`
|
|
291
|
+
matches an element of `scopeIds`. Results are ordered by `occurred_at DESC, id DESC`, with `top`
|
|
292
|
+
and an opaque `after` keyset cursor (the last event's `occurred_at` and `id`, returned as `page.next`)
|
|
293
|
+
controlling pagination. Paging is stable while new events arrive, including the events recorded by
|
|
294
|
+
the reads themselves.
|
|
295
|
+
|
|
296
|
+
Responses retain the existing camelCase event shape and never expose `tenant_id`.
|
|
297
|
+
Database read failures return 503 rather than an empty result or a false 404.
|
|
298
|
+
|
|
299
|
+
See the [submission contract](https://github.com/GovAlta/adsp-monorepo/blob/main/apps/audit-service/README.md#submission-contract-osp-707--osp-708)
|
|
300
|
+
for the boundary with OSP-708.
|
|
301
|
+
|
|
302
|
+
## Write buffer
|
|
303
|
+
|
|
304
|
+
The router submits enriched events through
|
|
305
|
+
`submit(events: EnrichedEvent[]): Promise<Map<string, EventOutcome>>`.
|
|
306
|
+
Results use the service-generated `id`, never client `event_id`, to keep concurrent requests
|
|
307
|
+
and tenants separate. Inputs must remain unchanged until the promise settles.
|
|
308
|
+
|
|
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.
|
|
313
|
+
|
|
314
|
+
Transient failures retry after 200 ms, 1 s and 3 s; constraint failures are retried individually.
|
|
315
|
+
`accepted` requires a committed audit row. `storage_failed` requires the original event to be
|
|
316
|
+
committed to failed-event storage and is counted as rejected, not accepted. If neither write
|
|
317
|
+
succeeds, the request returns 503. The PostgreSQL adapter uses
|
|
318
|
+
`ON CONFLICT (tenant_id, namespace, event_id) DO NOTHING RETURNING id`, resolves only after commit,
|
|
319
|
+
and returns only inserted service IDs. It does not update existing events on conflict.
|
|
320
|
+
Failed-event writes preserve the original payload and map the buffer's `attempt_count` to
|
|
321
|
+
the database's `attempts` column.
|
|
322
|
+
|
|
323
|
+
Writes use transactions with a four-second server-side statement timeout, including lock waits.
|
|
324
|
+
Cancellation is checked before database work and before commit; cancelled operations roll back
|
|
325
|
+
after the current bounded statement settles. Connection acquisition retains the database pool's
|
|
326
|
+
30-second bound; a cancellation during that wait prevents a late insert. Until an outstanding
|
|
327
|
+
operation settles, the buffer refuses additional writes rather than accumulating abandoned work.
|
|
328
|
+
|
|
329
|
+
`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.
|
|
333
|
+
`GET /health` includes `db` and `ready`; it returns 503 when the database or buffer is unavailable
|
|
334
|
+
or the buffer is draining.
|
|
335
|
+
|
|
336
|
+
## Failed-event administration
|
|
337
|
+
|
|
338
|
+
Both endpoints require `audit-admin` and use the caller's tenant. Core administrators must
|
|
339
|
+
provide `tenantId`. Reader or writer permissions alone are not enough.
|
|
340
|
+
|
|
341
|
+
| Endpoint | Purpose |
|
|
342
|
+
| ---------------------------------------- | ------------------------------------------------------------------- |
|
|
343
|
+
| `GET /audit/v1/failed-events` | List the tenant's open, replayed and discarded events, newest first. |
|
|
344
|
+
| `POST /audit/v1/failed-events/{id}/replay` | Retry an open event using its stored data. No request body is needed. |
|
|
345
|
+
|
|
346
|
+
Listing accepts `top` (default 20, maximum 100) and the previous response's `page.next` as
|
|
347
|
+
`after`, an opaque keyset cursor (the last row's `failed_at` and `id`), so pages stay stable while
|
|
348
|
+
new failures are parked. It returns `{ results, page: { after?, size, next? } }`.
|
|
349
|
+
|
|
350
|
+
Both endpoints use the same PostgreSQL connection as normal event writes and history reads.
|
|
351
|
+
Replay saves the recovered event, failed-row update and replay audit record in one transaction:
|
|
352
|
+
either all succeed or none do. Concurrent replay attempts cannot recover the same failed row twice.
|
|
353
|
+
|
|
354
|
+
The recovered event keeps its original actor; `written_by` identifies Audit Service.
|
|
355
|
+
`replayed_as` links to its database row ID. If that event already exists, replay links to it
|
|
356
|
+
without changing it. The `audit-service` action `failed-event.replay.succeeded` records the
|
|
357
|
+
requesting administrator. Startup registers its definition through the SDK into the Core
|
|
358
|
+
`audit-service:actions-audit-service` catalog using `REPLACE`; replay reads the effective catalog
|
|
359
|
+
like other event writes. Registration is asynchronous: a missing or incompatible replay action
|
|
360
|
+
returns 503 and rolls back the replay, rather than using a hardcoded fallback.
|
|
361
|
+
|
|
362
|
+
Replay checks the stored input against the current action catalog and retention settings, but
|
|
363
|
+
allows events older than seven days. Invalid input returns 400 and leaves the failed row open.
|
|
364
|
+
A missing tenant row returns 404; replayed or discarded rows return 409. Unavailable storage
|
|
365
|
+
or configuration returns 503 with `Retry-After: 1`.
|
|
366
|
+
|
|
367
|
+
The replay migration grants `audit_app` permission to update only `status` and `replayed_as`
|
|
368
|
+
on failed rows. Audit history remains append-only. As with existing migrations, the role must
|
|
369
|
+
already exist; if absent, the DBA must apply this grant when creating it.
|
|
370
|
+
|
|
371
|
+
For real database tests, point `AUDIT_TEST_DATABASE_URL` at a **disposable localhost** PostgreSQL
|
|
372
|
+
database named `audit_replay_test`, then run `npx nx test audit-service --runInBand --skipNxCache`.
|
|
373
|
+
The integration suite runs migrations and deletes test rows; never use a shared database.
|
|
374
|
+
|
|
375
|
+
### Monitoring
|
|
376
|
+
|
|
377
|
+
`OTEL_EXPORTER_OTLP_ENDPOINT` sets where metrics are sent, for example
|
|
378
|
+
`http://otel-collector:4318`. Leaving it empty disables metric export.
|
|
379
|
+
|
|
380
|
+
The rules in `.openshift/observability/observability-stack.yml` alert when **at least one
|
|
381
|
+
failed event is still open**, or when the count cannot be read. An unavailable count is
|
|
382
|
+
unknown, not zero. Detection follows the monitoring update cycle; email or message delivery
|
|
383
|
+
needs separate configuration.
|
|
384
|
+
|
|
385
|
+
Open-event counts come from PostgreSQL. The write buffer counts confirmed parked events and
|
|
386
|
+
unconfirmed saves; failed replay saves use the same failure counter with `operation=replay`.
|
|
387
|
+
|
|
388
|
+
## Scheduled retention
|
|
389
|
+
|
|
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:
|
|
393
|
+
|
|
394
|
+
| Variable | Default | Meaning |
|
|
395
|
+
| ----------------------- | ----------- | ----------------------------------------------- |
|
|
396
|
+
| `RETENTION_ENABLED` | `true` | Set to `false` to disable scheduled deletion. |
|
|
397
|
+
| `RETENTION_SCHEDULE` | `0 2 * * *` | Cron schedule, at 02:00 UTC by default. |
|
|
398
|
+
| `RETENTION_BATCH_SIZE` | `1000` | Maximum audit rows deleted in one statement. |
|
|
399
|
+
| `RETENTION_MAX_BATCHES` | `10` | Maximum batches per tenant per scheduled sweep. |
|
|
400
|
+
| `RETENTION_MIN_DAYS` | `1` | Minimum configured retention period. |
|
|
401
|
+
| `RETENTION_MAX_DAYS` | `3650` | Maximum configured retention period. |
|
|
402
|
+
|
|
403
|
+
Each tick enumerates tenants with records in `audit_events` (including tenants no longer listed
|
|
404
|
+
by Tenant Service) and performs a separate bounded run for each. Every delete filters by that
|
|
405
|
+
tenant and `retention_until < cutoff`, where cutoff is captured at the start of the sweep.
|
|
406
|
+
Rows at exactly the cutoff and future rows are retained. No table-wide delete or `drop_chunks`
|
|
407
|
+
is used. A `(tenant_id, retention_until, id)` index supports the bounded ordered selection.
|
|
408
|
+
The per-tenant cap leaves remaining expired rows for the next sweep.
|
|
409
|
+
|
|
410
|
+
A database-wide PostgreSQL transaction advisory lock excludes concurrent cleanup across all
|
|
411
|
+
tenants and replicas. A lock loser skips rather than queues; a local running guard also prevents
|
|
412
|
+
overlapping timer invocations. The lock is held on the same connection as deletion and released
|
|
413
|
+
on commit, rollback or disconnect. No distributed guarantee is attributed to SDK `LimitToOne`.
|
|
414
|
+
Shutdown cancels future ticks, stops between tenants, and awaits the active run before closing storage.
|
|
415
|
+
|
|
416
|
+
Each executed tenant run, including a zero-deletion run, inserts `retention.run.succeeded` or
|
|
417
|
+
`retention.run.failed` in that tenant's `audit-service` namespace. The system actor and writer are
|
|
418
|
+
the service ID. The registered action uses the compliance class; metadata contains `deletedCount`,
|
|
419
|
+
completed `batches`, `cutoff`, and a sanitized `error` on failure. Tenants without any audit records
|
|
420
|
+
and ticks skipped for a busy lock do not create synthetic audit records.
|
|
421
|
+
|
|
422
|
+
The job resolves its registered action and retention before deleting. Deletion batches use savepoints
|
|
423
|
+
within one bounded tenant transaction. A failed batch rolls back to its savepoint, and earlier
|
|
424
|
+
successful batches commit **with a failure audit containing their count**. If that audit cannot be
|
|
425
|
+
inserted, or the process/connection dies before commit, the entire tenant transaction rolls back.
|
|
426
|
+
Database/configuration failures that prevent a run from starting, or prevent a failure record from
|
|
427
|
+
being committed, are reported through logs and `instrumentJob` telemetry; no durable failure event
|
|
428
|
+
can be guaranteed while the database itself is unavailable.
|
|
429
|
+
|
|
430
|
+
**Single-account MVP:** migrations, normal requests and retention reuse the existing `DB_USER` /
|
|
431
|
+
`DB_PASSWORD`. That account needs SELECT, INSERT and DELETE on `audit_events`; migration ownership
|
|
432
|
+
already supplies them. No new role or credential is created. Separate `audit_retention` credentials
|
|
433
|
+
and the acceptance criterion preventing business-role UPDATE/DELETE are explicitly deferred;
|
|
434
|
+
the service does not claim database-enforced append-only isolation in this mode.
|
|
435
|
+
|
|
436
|
+
The existing `ON DELETE CASCADE` on `audit_failed_events.replayed_as` is intentionally preserved.
|
|
437
|
+
Deleting an expired event also deletes any linked replayed failure rows; unreplayed failures are
|
|
438
|
+
untouched. `deletedCount` counts audit events, not cascaded failure rows.
|
|
439
|
+
|
|
440
|
+
For local integration verification only, set `AUDIT_RETENTION_TEST_DATABASE_URL` to a disposable
|
|
441
|
+
PostgreSQL database on `localhost` or `127.0.0.1` named `audit_retention_test`, then run the audit-service
|
|
442
|
+
tests. The suite refuses other hosts/database names and deletes its fixture rows. Never point it at Dev/UAT.
|
|
443
|
+
|
|
444
|
+
## Self-auditing
|
|
445
|
+
|
|
446
|
+
Reading the audit trail is itself recorded. Each successful read writes one event to the
|
|
447
|
+
`audit-service` namespace of the tenant that was queried. The namespace's action catalog is
|
|
448
|
+
registered by the service at startup in core configuration, alongside `failed-event.replay`, and
|
|
449
|
+
applies to every tenant. If registration has not propagated yet, reads still succeed but recording
|
|
450
|
+
fails and is counted.
|
|
451
|
+
|
|
452
|
+
| Action | Category | Recorded when |
|
|
453
|
+
| --- | --- | --- |
|
|
454
|
+
| `events.list` | `data-access` | A namespace listing succeeds. |
|
|
455
|
+
| `events.list-all` | `data-access` | A cross-namespace listing succeeds. |
|
|
456
|
+
| `events.read` | `data-access` | A single event read succeeds. |
|
|
457
|
+
| `failed-events.list` | `data-access` | A failed-events listing succeeds. |
|
|
458
|
+
|
|
459
|
+
Reads use the `security` retention class (365 days by default). Replay is recorded
|
|
460
|
+
transactionally by the replay itself (see above), not by this mechanism.
|
|
461
|
+
|
|
462
|
+
The event's actor is the caller, `written_by` is the Audit Service's own client, and `metadata`
|
|
463
|
+
holds the `endpoint`, the `filters` supplied and the `resultCount`. `correlationId` is taken from the
|
|
464
|
+
`x-correlation-id` request header when present. A paged read records one event per request.
|
|
465
|
+
|
|
466
|
+
Events go through the normal validation, enrichment and buffer. A failure to record is logged and
|
|
467
|
+
counted and never fails the read. The count is exposed as `selfAuditFailures` in `GET /health`.
|
|
468
|
+
Failed or unauthorized reads are not recorded.
|
|
@@ -32,6 +32,10 @@ Domain events represent key changes at a domain model level. For example, an int
|
|
|
32
32
|
|
|
33
33
|
Event log records all _events_ emitted via the event service and keeps basic metrics including a count of different events. These metrics can represent key domain metrics; in the intake application example, the count of application submitted events represents the volume of applications.
|
|
34
34
|
|
|
35
|
+
In the tenant management app, the Event log page initially searches **Last 7 days**, covering the preceding 168 hours through the current time, with both UTC timestamp boundaries included in the API request. The date range filter also offers **Last hour**, **Today**, **Last 24 hours**, **Last 30 days**, and **Custom**. Today starts at midnight in Mountain Time (`America/Edmonton`, including daylight saving time). Rolling periods cover the indicated number of elapsed hours or 24-hour days, ending when Search is clicked.
|
|
36
|
+
|
|
37
|
+
Select a period and click **Search** to apply it along with any other filters. Start and end date/time controls display the selected period in Mountain Time. They are disabled for predefined periods and editable for **Custom**, initially filled with the selected period. The end must be later than the start. **Reset** clears other filters and immediately searches Last 7 days again. Removing the date range chip clears the selected period and searches without a lower date limit, retaining other applied filters. Pagination pins an upper timestamp at search time so new events do not shift the result pages or count. Search is disabled when no criteria are selected. An empty result displays **No Events Found**.
|
|
38
|
+
|
|
35
39
|
## Code examples
|
|
36
40
|
|
|
37
41
|
### Configure an event definition
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: page
|
|
3
|
+
title: Project planner service
|
|
4
|
+
nav_order: 20
|
|
5
|
+
parent: Services
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Project planner service
|
|
9
|
+
Project planner service helps people new to ADSP describe a business problem and turn it into a plan for using ADSP services. It builds a structured *business model* of the problem, matches it to known GoA *business patterns*, proposes *solution hypotheses* with recommended services, and points the user to each service's workspace.
|
|
10
|
+
|
|
11
|
+
Recommendations are hypotheses for the user to refine; the planner is not a replacement for early discovery or business analysis.
|
|
12
|
+
|
|
13
|
+
## Client roles
|
|
14
|
+
client `urn:ads:platform:project-planner-service`
|
|
15
|
+
|
|
16
|
+
| name | description |
|
|
17
|
+
|:-|:-|
|
|
18
|
+
| planner-admin | Administrator role. Allows access to all solutions in the tenant. |
|
|
19
|
+
| planner-user | User role. Allows creating and working on own solutions. |
|
|
20
|
+
|
|
21
|
+
## Concepts
|
|
22
|
+
### Solution
|
|
23
|
+
The persistent state of a planning effort: problem statement, business concepts (actors, goals, activities, decisions, evidence, business rules, constraints, evaluation criteria, workflows, outcomes, documents, events, external systems, assumptions, unknowns), decisions with the reasons they were made, open questions, pattern matches, hypotheses, specialist progress, artifacts and next steps. A solution survives across sessions so users do not need to repeat information.
|
|
24
|
+
|
|
25
|
+
### Business pattern
|
|
26
|
+
A template describing a typical GoA application type: domain language, strong and weak signals, likely service mappings, clarifying questions, assumptions and known unknowns. The 19 application types from the planner requirements are built in (Case Management is fully specified). Tenants can extend or override patterns through configuration in the `platform:project-planner-service` namespace and name.
|
|
27
|
+
|
|
28
|
+
Matching is deterministic: each domain term counts 1 and each strong signal counts 2. Weak signals never add to the score. A score of 8 or more is high confidence, 4 or more is medium, otherwise low; low confidence results include the pattern's clarifying questions.
|
|
29
|
+
|
|
30
|
+
### Specialist
|
|
31
|
+
Each ADSP service has a specialist definition with questions, dependencies, risks and a workspace path. Consulting a specialist reports fit for the solution, questions to ask, dependency status and risks.
|
|
32
|
+
|
|
33
|
+
Specialists have two responsibilities:
|
|
34
|
+
|
|
35
|
+
1. **Guide the planner.** When the planner consults a specialist (`POST /solutions/{id}/consult/{service}`), the result states whether the service is a good fit (`fit`), which parts of the solution it can support (`supports`), constraints, dependencies and risks the planner may not have considered, and, when a plan is supplied in `proposal`, a `validation` verdict (`sound`, `needs-changes` or `not-a-fit`) with findings.
|
|
36
|
+
2. **Guide a user directly.** `POST /specialists/{service}/chat` is a multi-turn conversation with a single service specialist and needs no planner session. The `intent` selects the task: `ask` (answer questions), `recommend` (service-specific solutions), `design` (refine a service-specific design), `validate` (verdict and findings) or `sample` (sample code or configuration). The response contains `chatId`, `reply`, `suggestions`, `samples`, `validation` and `followUps`. An optional `solutionId` gives the specialist the solution context. Without AI, a rule-based reply with the service's questions and pitfalls is returned.
|
|
37
|
+
|
|
38
|
+
## API
|
|
39
|
+
Base path `/planner/v1`. See the service swagger docs for details.
|
|
40
|
+
|
|
41
|
+
| method | path | description |
|
|
42
|
+
|:-|:-|:-|
|
|
43
|
+
| GET | /patterns, /patterns/{patternId} | Retrieve business patterns. |
|
|
44
|
+
| POST | /patterns/match | Match free text against patterns. |
|
|
45
|
+
| POST | /patterns | Create a custom pattern (admin). |
|
|
46
|
+
| PUT | /patterns/{id} | Update or customize a pattern (admin). |
|
|
47
|
+
| DELETE | /patterns/{id} | Delete a custom pattern or reset a customized built-in (admin). |
|
|
48
|
+
| GET | /specialists | Retrieve service specialists. |
|
|
49
|
+
| GET, POST | /solutions | List own solutions (all for planner-admin) or create one. |
|
|
50
|
+
| GET, PATCH, DELETE | /solutions/{id} | Retrieve, update, or delete a solution. |
|
|
51
|
+
| POST | /solutions/{id}/analyze | Extract concepts, match patterns, generate hypotheses and next steps. Body `mode` is `ai` (default when a model is configured) or `rules`. |
|
|
52
|
+
| POST | /solutions/{id}/consult/{service} | Consult a service specialist. Optional body `question`, `proposal` and `mode`. |
|
|
53
|
+
| POST | /specialists/{service}/chat | Converse directly with a service specialist. Body `message` (required), `chatId` (continues a saved chat), `intent`, `solutionId`, `mode`. The server keeps the history. |
|
|
54
|
+
| GET | /specialists/chats | List your saved specialist chats (filters service, solutionId). |
|
|
55
|
+
| GET | /specialists/chats/export | Download all your chats as JSON. |
|
|
56
|
+
| GET | /specialists/chats/{chatId} | Load a saved chat. |
|
|
57
|
+
| GET | /specialists/chats/{chatId}/export | Download one chat as JSON. |
|
|
58
|
+
| DELETE | /specialists/chats/{chatId} | Delete a saved chat. |
|
|
59
|
+
| POST | /solutions/{id}/chat | Send a message (`{message, mode}`); the analysis is refined using the answers and conversation and the reply is appended to `state.conversation`. |
|
|
60
|
+
| POST | /solutions/{id}/blueprint | Generates the complete project blueprint (`state.blueprint`): overview, technical architecture (layers and diagram), ADSP service mapping, notes from specialist consultations of every recommended service, core workflows, data and governance, and delivery plan. Saved consultations are reused; body `{mode?, refreshConsultations?}`. Requires an analyzed solution (400 otherwise). |
|
|
61
|
+
| POST | /solutions/{id}/discovery | Discovery conversation (Compressed View Mode 2). Body `{message?, mode?, force?, restart?}`. The planner replies with one message of clarifying questions and scores six factors (problem, users, process, information, communication, constraints). When the average (`state.confidence.score`) reaches 50, or `force` is true, the solution is analyzed and presented (`state.discovery.ready`). `restart` clears the discovery thread. Replies keep working after the solution is presented: each one re-runs the analysis, so the solution is refined from the discovery answers. |
|
|
62
|
+
| PUT | /solutions/{id}/questions/{questionId} | Answer a clarifying question (`{answer}`); an empty answer reopens it. |
|
|
63
|
+
| GET | /solutions/{id}/export | Download the solution as a JSON attachment. |
|
|
64
|
+
| GET | /analysis/options | Available analysis modes, the default mode and the model name. |
|
|
65
|
+
|
|
66
|
+
## AI analysis
|
|
67
|
+
AI analysis calls an OpenAI-compatible chat completions endpoint (the GoA Model as a Service) and is the default mode when `MAAS_API_KEY` is set. The result is validated against the pattern catalog and specialist list. If the model call fails or is not configured, the service falls back to rule-based analysis and records a warning in the solution `analysis` field. Requests retry up to 3 times with exponential backoff on 5xx, 429 and network errors.
|
|
68
|
+
|
|
69
|
+
| environment variable | default | description |
|
|
70
|
+
|:-|:-|:-|
|
|
71
|
+
| MAAS_API_KEY | | Virtual key for the model service. Supply as a secret; AI mode is off when empty. |
|
|
72
|
+
| MAAS_BASE_URL | https://maas.int.gov.ab.ca/v1 | Model service base URL. |
|
|
73
|
+
| MAAS_MODEL | GOA-Default | Model name. |
|
|
74
|
+
| MAAS_TIMEOUT_MS | 120000 | Per-request timeout. |
|
|
75
|
+
|
|
76
|
+
## Events
|
|
77
|
+
| name | description |
|
|
78
|
+
|:-|:-|
|
|
79
|
+
| solution-created | Signalled when a solution is created. |
|
|
80
|
+
| solution-updated | Signalled when a solution is updated, analyzed or consulted. |
|
|
81
|
+
| solution-deleted | Signalled when a solution is deleted. |
|
|
82
|
+
|
|
83
|
+
## Business pattern library
|
|
84
|
+
|
|
85
|
+
The service ships 19 built-in business patterns (case management, grant applications, permit/licence, registration, inspection, complaint intake, consultation, eligibility, booking, document submission, incident reporting, FOIP-style requests, referral routing, status tracking, audit trail, public reporting, document generation, notification subscriptions, internal service requests). Each pattern provides: name, purpose, domain language, common features (`commonFeatures`), strong signals, weak or misleading signals, likely ADSP service mappings (each with a reason), clarifying questions, assumptions and known unknowns. Tenants manage patterns through the API (`planner-admin` role only for writes):
|
|
86
|
+
|
|
87
|
+
- `POST /patterns` creates a custom pattern. The `id` is optional and defaults to a slug of the name.
|
|
88
|
+
- `PUT /patterns/{id}` updates a pattern. Updating a built-in pattern stores a tenant copy that overrides it.
|
|
89
|
+
- `DELETE /patterns/{id}` deletes a custom pattern. Deleting a customized built-in pattern restores the built-in version. Built-in patterns themselves cannot be deleted.
|
|
90
|
+
Each pattern returned by the API has a `source` of `built-in`, `customized` or `custom`. The effective catalogue is built-in patterns, overridden by configuration (`patterns`), overridden by tenant patterns stored through the API, and it feeds both rule-based matching and AI analysis. Service mappings must reference a known specialist service.
|
|
@@ -13,10 +13,13 @@ Value service provides an append only time series data store. It serves as the u
|
|
|
13
13
|
|
|
14
14
|
client `urn:ads:platform:value-service`
|
|
15
15
|
|
|
16
|
-
| name
|
|
17
|
-
|
|
|
18
|
-
| value-reader
|
|
19
|
-
| value-writer
|
|
16
|
+
| name | description |
|
|
17
|
+
| :---------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
18
|
+
| value-reader | Reader role for value service. This role is used to allow users to read values and value definitions. It is part of the tenant-admin composite role and allows tenant administrators to read and search the event log. |
|
|
19
|
+
| value-writer | Writer role for value service. This role is used to allow service accounts to write values to the value service. It also allows users to create, update and delete value definitions, and to read them, since a user with the writer role can also read. |
|
|
20
|
+
| value-platform-metrics-reader | Reader role for platform-scoped metrics. Allows core users to read a value's metrics across all tenants. It is not part of the tenant-admin composite role. |
|
|
21
|
+
|
|
22
|
+
The export service's `urn:ads:platform:export-service:export-job` role can also read values, so that export jobs can read the event log.
|
|
20
23
|
|
|
21
24
|
## Concepts
|
|
22
25
|
|
|
@@ -41,7 +44,11 @@ A value represents a particular time series stream. Each write results in a new
|
|
|
41
44
|
|
|
42
45
|
### Metrics
|
|
43
46
|
|
|
44
|
-
Metrics are numeric values that can be included in value writes.
|
|
47
|
+
Metrics are numeric values that can be included in value writes as a `metrics` object of metric name to number. They are aggregated into time intervals (`one_minute`, `five_minutes`, `hourly`, `daily`, `weekly` and `monthly`) with `sum`, `avg`, `min`, `max` and `count` for each interval, and can be used for basic KPIs.
|
|
48
|
+
|
|
49
|
+
Read a value's metrics from `/value/v1/{namespace}/values/{name}/metrics`, or a single metric from `/value/v1/{namespace}/values/{name}/metrics/{metric}`. The `interval` defaults to `daily`, and the JSON `criteria` accepts `intervalMin`, `intervalMax` and (for all metrics) `metricLike`. Without a range, the last month is read.
|
|
50
|
+
|
|
51
|
+
Core users with the `value-platform-metrics-reader` role can read a value's metrics across all tenants, labelled by tenant, from `/value/v1/{namespace}/values/{name}/platform-metrics`. This only reads the materialised rollups described below and is not paginated.
|
|
45
52
|
|
|
46
53
|
### Metric interval rollups
|
|
47
54
|
|
|
@@ -73,6 +80,14 @@ ORDER BY "interval";
|
|
|
73
80
|
|
|
74
81
|
Rollups store `sum` and `count` rather than an average, because an average of averages is not the average; the read path divides the two.
|
|
75
82
|
|
|
83
|
+
### Service metric rollups
|
|
84
|
+
|
|
85
|
+
A daily job summarises tenant activity for `pdf-service`, `form-service` and `notification-service` into the `service_metric_rollups` table: one row per day, tenant and service, with counts of initiated, succeeded and failed operations, duration totals, and the number of distinct resources (for example PDF templates or form definitions). The rows are derived from the event log and the services' metrics.
|
|
86
|
+
|
|
87
|
+
The job is off by default. Set `SERVICE_METRIC_ROLLUP_JOB_ENABLED=true` to run it daily at 02:00, recomputing the last `SERVICE_METRIC_ROLLUP_TRAILING_DAYS` completed days (default 3). Set `SERVICE_METRIC_ROLLUP_BACKFILL_ON_STARTUP=true` to roll up the full history once when the table is empty.
|
|
88
|
+
|
|
89
|
+
A rollup can also be run on demand with `POST /value/v1/service-metric-rollups/run` and the `value-writer` role. The body can set `start` and `end` dates, which default to the trailing days. Core users can set `tenantId` or leave it out to roll up all tenants; tenant users always roll up their own tenant. The current partial day and future days are rejected.
|
|
90
|
+
|
|
76
91
|
## Code examples
|
|
77
92
|
|
|
78
93
|
### Write a value
|
|
@@ -87,6 +102,9 @@ const value = {
|
|
|
87
102
|
value: {
|
|
88
103
|
property: 123,
|
|
89
104
|
},
|
|
105
|
+
metrics: {
|
|
106
|
+
'applications:count': 1,
|
|
107
|
+
},
|
|
90
108
|
};
|
|
91
109
|
|
|
92
110
|
const response = await fetch(`https://value-service.adsp.alberta.ca/value/v1/${namespace}/values/${name}`, {
|
|
@@ -103,6 +121,8 @@ const { correlationId, context, timestamp, value } = await response.json();
|
|
|
103
121
|
|
|
104
122
|
### Read a value
|
|
105
123
|
|
|
124
|
+
Records are returned newest first, `top` at a time (default 10, maximum 5000). Pass `page.next` back as `after` to read the next set. Set `order=asc` to read oldest first instead; this reaches the oldest end of a large result set without paging past all of the newer records.
|
|
125
|
+
|
|
106
126
|
```typescript
|
|
107
127
|
const namespace = 'support';
|
|
108
128
|
const name = 'application-stats';
|
|
@@ -111,7 +131,27 @@ const response = await fetch(`https://value-service.adsp.alberta.ca/value/v1/${n
|
|
|
111
131
|
headers: { Authorization: `Bearer ${accessToken}` },
|
|
112
132
|
});
|
|
113
133
|
|
|
114
|
-
|
|
134
|
+
// Records are keyed by namespace, then name.
|
|
135
|
+
const { page, ...result } = await response.json();
|
|
136
|
+
const records = result[namespace][name];
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Read metrics
|
|
140
|
+
|
|
141
|
+
```typescript
|
|
142
|
+
const namespace = 'support';
|
|
143
|
+
const name = 'application-stats';
|
|
144
|
+
const criteria = { intervalMin: '2026-09-01T00:00:00Z', intervalMax: '2026-10-01T00:00:00Z' };
|
|
145
|
+
const response = await fetch(
|
|
146
|
+
`https://value-service.adsp.alberta.ca/value/v1/${namespace}/values/${name}/metrics?interval=daily&criteria=${encodeURIComponent(JSON.stringify(criteria))}`,
|
|
147
|
+
{
|
|
148
|
+
method: 'GET',
|
|
149
|
+
headers: { Authorization: `Bearer ${accessToken}` },
|
|
150
|
+
},
|
|
151
|
+
);
|
|
152
|
+
|
|
153
|
+
// Keyed by metric name; each has values of { interval, sum, avg, min, max, count }, newest first.
|
|
154
|
+
const { page, ...metrics } = await response.json();
|
|
115
155
|
```
|
|
116
156
|
|
|
117
157
|
### Create a value definition
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/adsp-sdk-mcp-server",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.2",
|
|
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",
|
|
@@ -322,8 +322,8 @@ exports.SDK_REFERENCE = [
|
|
|
322
322
|
'Does not register the catalog or emit audit records; pass the result through ServiceRegistration.serviceConfigurations.',
|
|
323
323
|
example: "auditDefinitions({\n" +
|
|
324
324
|
" UPDATE_CASE: {\n" +
|
|
325
|
-
" name: 'case.update', version: 1, category:
|
|
326
|
-
" severity:
|
|
325
|
+
" name: 'case.update', version: 1, category: AuditCategories.Administrative,\n" +
|
|
326
|
+
" severity: AuditSeverities.Info, retentionClass: BuiltInRetentionClasses.Compliance,\n" +
|
|
327
327
|
" },\n" +
|
|
328
328
|
"});",
|
|
329
329
|
seeAlso: ['AuditAction', 'AuditActionDefinition', 'ServiceRegistration'],
|
|
@@ -343,13 +343,61 @@ exports.SDK_REFERENCE = [
|
|
|
343
343
|
summary: 'Classification and optional metadata schema for an action in an audit catalog.',
|
|
344
344
|
details: 'interface AuditActionDefinition {\n' +
|
|
345
345
|
' version: number;\n' +
|
|
346
|
-
|
|
347
|
-
|
|
346
|
+
' category: AuditCategory;\n' +
|
|
347
|
+
' severity: AuditSeverity;\n' +
|
|
348
348
|
' retentionClass: string; description?: string; resourceType?: string;\n' +
|
|
349
349
|
' captureChangeSet?: boolean; forwardToSiem?: boolean;\n' +
|
|
350
350
|
' metadataSchema?: Record<string, unknown>;\n' +
|
|
351
351
|
'}',
|
|
352
|
-
seeAlso: ['AuditAction', 'auditDefinitions'],
|
|
352
|
+
seeAlso: ['AuditAction', 'auditDefinitions', 'AuditCategory', 'AuditSeverity', 'BuiltInRetentionClasses'],
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
name: 'AuditCategories',
|
|
356
|
+
kind: 'const',
|
|
357
|
+
module: 'audit',
|
|
358
|
+
summary: 'Shared audit action categories used by TypeScript types and configuration validation.',
|
|
359
|
+
details: "const AuditCategories = { Administrative: 'administrative', Runtime: 'runtime', " +
|
|
360
|
+
"Security: 'security', DataAccess: 'data-access' } as const;",
|
|
361
|
+
example: 'category: AuditCategories.Administrative',
|
|
362
|
+
seeAlso: ['AuditCategory', 'AuditActionDefinition'],
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
name: 'AuditCategory',
|
|
366
|
+
kind: 'type',
|
|
367
|
+
module: 'audit',
|
|
368
|
+
summary: 'String union of supported audit action categories, derived from AuditCategories.',
|
|
369
|
+
details: 'type AuditCategory = (typeof AuditCategories)[keyof typeof AuditCategories];\n\n' +
|
|
370
|
+
"Equivalent to 'administrative' | 'runtime' | 'security' | 'data-access'.",
|
|
371
|
+
seeAlso: ['AuditCategories', 'AuditActionDefinition'],
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
name: 'AuditSeverities',
|
|
375
|
+
kind: 'const',
|
|
376
|
+
module: 'audit',
|
|
377
|
+
summary: 'Shared audit action severity values used by TypeScript types and configuration validation.',
|
|
378
|
+
details: "const AuditSeverities = { Info: 'info', Warning: 'warning', Critical: 'critical' } as const;",
|
|
379
|
+
example: 'severity: AuditSeverities.Info',
|
|
380
|
+
seeAlso: ['AuditSeverity', 'AuditActionDefinition'],
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
name: 'AuditSeverity',
|
|
384
|
+
kind: 'type',
|
|
385
|
+
module: 'audit',
|
|
386
|
+
summary: 'String union of supported audit action severities, derived from AuditSeverities.',
|
|
387
|
+
details: 'type AuditSeverity = (typeof AuditSeverities)[keyof typeof AuditSeverities];\n\n' +
|
|
388
|
+
"Equivalent to 'info' | 'warning' | 'critical'.",
|
|
389
|
+
seeAlso: ['AuditSeverities', 'AuditActionDefinition'],
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
name: 'BuiltInRetentionClasses',
|
|
393
|
+
kind: 'const',
|
|
394
|
+
module: 'audit',
|
|
395
|
+
summary: 'Names of built-in audit retention classes; custom class names remain supported.',
|
|
396
|
+
details: "const BuiltInRetentionClasses = { Standard: 'standard', Security: 'security', Compliance: 'compliance' } as const;\n\n" +
|
|
397
|
+
'These constants define names, not retention periods. AuditActionDefinition.retentionClass remains a string ' +
|
|
398
|
+
'so an application can use a custom class such as case-history with a configured retention period.',
|
|
399
|
+
example: 'retentionClass: BuiltInRetentionClasses.Compliance',
|
|
400
|
+
seeAlso: ['AuditActionDefinition', 'auditDefinitions'],
|
|
353
401
|
},
|
|
354
402
|
// event
|
|
355
403
|
{
|
|
@@ -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;Y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AAO,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,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;YACjH,uGAAuG;YACvG,0GAA0G;YAC1G,uDAAuD;YACvD,6GAA6G;YAC7G,oHAAoH;YACpH,gIAAgI;YAChI,+GAA+G;YA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