@onlyflows/servicenow-mcp 2.3.0-rc.2 → 2.3.0

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +171 -0
  2. package/README.md +28 -1
  3. package/dist/field-policy.d.ts +13 -3
  4. package/dist/field-policy.d.ts.map +1 -1
  5. package/dist/field-policy.js +316 -23
  6. package/dist/field-policy.js.map +1 -1
  7. package/dist/policy-card.d.ts.map +1 -1
  8. package/dist/policy-card.js +2 -0
  9. package/dist/policy-card.js.map +1 -1
  10. package/dist/risky-grants.d.ts +6 -2
  11. package/dist/risky-grants.d.ts.map +1 -1
  12. package/dist/risky-grants.js +57 -5
  13. package/dist/risky-grants.js.map +1 -1
  14. package/dist/tools/platform-view-contracts.d.ts +2 -2
  15. package/dist/tools/platform-view-evaluate.d.ts +214 -6
  16. package/dist/tools/platform-view-evaluate.d.ts.map +1 -1
  17. package/dist/tools/platform-view-evaluate.js +1337 -10
  18. package/dist/tools/platform-view-evaluate.js.map +1 -1
  19. package/dist/update-set-eval/engine.d.ts +29 -0
  20. package/dist/update-set-eval/engine.d.ts.map +1 -0
  21. package/dist/update-set-eval/engine.js +405 -0
  22. package/dist/update-set-eval/engine.js.map +1 -0
  23. package/dist/update-set-eval/prepare.d.ts +72 -0
  24. package/dist/update-set-eval/prepare.d.ts.map +1 -0
  25. package/dist/update-set-eval/prepare.js +216 -0
  26. package/dist/update-set-eval/prepare.js.map +1 -0
  27. package/dist/update-set-eval/rules.d.ts +126 -0
  28. package/dist/update-set-eval/rules.d.ts.map +1 -0
  29. package/dist/update-set-eval/rules.js +927 -0
  30. package/dist/update-set-eval/rules.js.map +1 -0
  31. package/dist/update-set-eval/script-scan.d.ts +65 -0
  32. package/dist/update-set-eval/script-scan.d.ts.map +1 -0
  33. package/dist/update-set-eval/script-scan.js +378 -0
  34. package/dist/update-set-eval/script-scan.js.map +1 -0
  35. package/dist/update-set-eval/secret-patterns.js +2 -2
  36. package/dist/update-set-eval/secret-patterns.js.map +1 -1
  37. package/dist/update-set-eval/types.d.ts +181 -0
  38. package/dist/update-set-eval/types.d.ts.map +1 -0
  39. package/dist/update-set-eval/types.js +20 -0
  40. package/dist/update-set-eval/types.js.map +1 -0
  41. package/dist/version.d.ts +1 -1
  42. package/dist/version.d.ts.map +1 -1
  43. package/dist/version.js +1 -1
  44. package/dist/version.js.map +1 -1
  45. package/package.json +1 -1
  46. package/server.json +2 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,177 @@ All notable changes to this project are documented here.
5
5
  The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.3.0] — 2026-11-17
9
+
10
+ 2.3.0 is the first stable release since 2.2.1. It contains everything published
11
+ as 2.3.0-dev.1 through 2.3.0-dev.5 and 2.3.0-rc.1 through 2.3.0-rc.3, listed
12
+ under those versions below, including every change in 2.2.1, and nothing else.
13
+ The lists below name the main changes; the section for each version gives the
14
+ details.
15
+
16
+ > **Read this before upgrading.** Some calls that worked before are refused
17
+ > until the profile, or the integration user, is set up for them:
18
+ >
19
+ > - Field-policy tools read field types from one cached `sys_dictionary` read
20
+ > per credential. While the types cannot be read, they refuse with a message
21
+ > naming the access needed, unless the profile sets
22
+ > `"fieldTypes": { "dictionary": "not_required" }`.
23
+ > - `sys_audit`, `sys_journal_field`, `sys_history_line`, `sys_audit_delete`,
24
+ > `sys_attachment_doc` and `sys_email` are granted by name only: a `"*"` table
25
+ > grant does not cover them, and a profile reaches one only when `tableAccess`
26
+ > names it.
27
+ > - `sn_create`, `sn_update`, `sn_delete`, `sn_batch` and attachment uploads
28
+ > reach `sys_atf_step`, `sys_variable_value` and `sys_element_mapping` only
29
+ > when the profile names the table for write.
30
+ > - Record payload columns are readable only when a profile's field policy names
31
+ > them. The refusal names the key to set.
32
+ > - `has_more` and `next_offset` count rows dropped for size. Contract change
33
+ > for truncated pages.
34
+
35
+ ### Security
36
+
37
+ - **HTTP server dependencies.** `@hono/node-server` moves from 2.1.3 to 2.1.7
38
+ and `hono` (transitive, through the MCP SDK) from 4.13.13 to 4.13.18, clearing
39
+ the advisories that `npm audit --omit=dev` reported. (2.3.0-dev.1; also in
40
+ 2.2.1)
41
+ - **HTTP transport rejects a backslash in the request path.** (2.3.0-dev.2)
42
+ - **Container base image.** The runtime base,
43
+ `gcr.io/distroless/nodejs22-debian13:nonroot`, moves to a newer digest.
44
+ (2.3.0-dev.1)
45
+
46
+ ### Added
47
+
48
+ - **Read tools hide `password`/`password2`-typed fields by dictionary type as
49
+ well as by name.** (2.3.0-dev.5; also in 2.2.1)
50
+ - **`sn_syslog` can tail the system log.** (2.3.0-dev.5)
51
+ - **`sn_codesearch` searches ES modules.** (2.3.0-dev.3)
52
+ - **`sn_codesearch` searches ATF step scripts.** (2.3.0-dev.3)
53
+ - **`sn_query` reads `structured_query.filter` given as a list as an implicit
54
+ AND.** (2.3.0-dev.2)
55
+ - **`structured_query.filter` shows a working example in `tools/list`.**
56
+ (2.3.0-dev.2)
57
+ - **Responses say whether the metadata cache was used and where the time went.**
58
+ (2.3.0-dev.2)
59
+ - **Release candidates publish to `next`.** (2.3.0-dev.1)
60
+
61
+ ### Changed
62
+
63
+ - **Record payload columns are readable only when a profile's field policy names
64
+ them.** (2.3.0-rc.3)
65
+ - **More tables are on the privilege-sensitive write list.** (2.3.0-rc.3)
66
+ - **`sys_update_xml`, `sys_upgrade_history_log`, `scan_finding`, `scan_result`
67
+ and `scan_check` have their own default projections.** (2.3.0-rc.3)
68
+ - **`sn_atf_author` checks the table, conditions and ACL setting of ATF steps
69
+ when it adds them.** (2.3.0-dev.5; also in 2.2.1)
70
+ - **A `"*"` write grant does not cover `sys_atf_step`, `sys_variable_value` and
71
+ `sys_element_mapping` for the generic write tools.** (2.3.0-dev.5; also in
72
+ 2.2.1)
73
+ - **`sys_audit` and `sys_journal_field` are granted by name only: a `"*"` table
74
+ grant does not cover them.** (2.3.0-dev.5; also in 2.2.1)
75
+ - **Four more tables are granted by name only, and a `"*"` field entry now
76
+ narrows all six.** (2.3.0-dev.5; also in 2.2.1)
77
+ - **The setup wizard defaults to OAuth client credentials.** (2.3.0-dev.4)
78
+ - **`sys_module` is now a built-in system table, so a `"*"` field entry no
79
+ longer narrows it.** (2.3.0-dev.3)
80
+ - **A default read of a code table no longer returns the script.** (2.3.0-dev.3)
81
+ - **A repeated read of a small cached-table response is one request, not a
82
+ watermark and a read.** (2.3.0-dev.2)
83
+ - **`has_more` and `next_offset` count rows dropped for size. Contract change
84
+ for truncated pages.** (2.3.0-dev.2)
85
+ - **Code tables are in the default metadata cache.** (2.3.0-dev.2)
86
+
87
+ ### Fixed
88
+
89
+ - **`sn_batch` and `sn_query` refuse a `structured_query` filter or order on a
90
+ field the table does not have.** (2.3.0-dev.3; also in 2.2.1)
91
+ - **`sn_atf_results` with action `get` no longer fails with an internal error on
92
+ a completed suite result whose rows have empty references.** (2.3.0-dev.5)
93
+ - **A client that reads only `structuredContent` no longer loses what the text
94
+ carried.** (2.3.0-dev.5)
95
+ - **A code search with no `table` searches the code tables the profile may
96
+ read.** (2.3.0-dev.3)
97
+ - **A large code search returns results instead of failing.** (2.3.0-dev.3)
98
+ - **The script reads of one code search are bounded.** (2.3.0-dev.3)
99
+ - **A code search with no `table` no longer fills page 1 with one table.**
100
+ (2.3.0-dev.3)
101
+ - **A code search snippet shows the text around the match.** (2.3.0-dev.3)
102
+ - **`sn_codesearch` accepts `field: "name"` and `field: "sys_id"`.**
103
+ (2.3.0-dev.3)
104
+ - **`sn_codesearch` pages in a stable order.** (2.3.0-dev.3)
105
+ - **A response that passes the byte cap is reported as too large, with the
106
+ remedy, by every tool.** (2.3.0-dev.3)
107
+ - **A table-policy denial names the table, the tool and the grant that lifts
108
+ it.** (2.3.0-dev.3)
109
+ - **A page with more results no longer reports truncation.** (2.3.0-dev.3)
110
+ - **A 401 on a basic-auth profile now explains the Basic Auth restriction.**
111
+ (2.3.0-dev.3)
112
+ - **A truncation hint says which `max_response_bytes` is for the next row and
113
+ which for the whole page.** (2.3.0-dev.2)
114
+ - **The `sn_query` truncation hint gives values to use.** (2.3.0-dev.2)
115
+ - **A truncation hint on `sn_query` no longer disagrees with `dropped_records`,
116
+ and suggests fields the table has.** (2.3.0-dev.2)
117
+ - **A rejected `structured_query.filter` names the mistake.** (2.3.0-dev.2)
118
+ - **A rejected `structured_query.filter` now says what is accepted.**
119
+ (2.3.0-dev.2)
120
+ - **`sn_query` no longer stops paging after page 2.** (2.3.0-dev.2)
121
+ - **A read grant now allows code search.** (2.3.0-dev.2)
122
+
123
+ ## [2.3.0-rc.3] — 2026-11-16
124
+
125
+ Release candidate for 2.3.0, published to the `next` dist-tag. It contains the
126
+ changes listed under 2.3.0-dev.1 to 2.3.0-dev.5 below, and the changes that
127
+ follow.
128
+
129
+ ### Changed
130
+
131
+ - **Record payload columns are readable only when a profile's field policy
132
+ names them.** These columns, and the numbered rotation shards of the queue
133
+ tables (`ecc_queue0003`, `sys_replication_queue5`, ...), are covered:
134
+ - `payload` and `payload_diff` on `sys_update_xml`, `sys_update_version`,
135
+ `sys_update_preview_xml`, `sys_update_diff`, `sys_sync_preview_remote`,
136
+ `sys_upgrade_history_log`, `sys_metadata_link`, `sys_metadata_delete`,
137
+ `sys_audit_delete`, `sys_archive_log` and `clone_preserved_data`;
138
+ - `payload` on `ecc_queue`, `data_replication_queue`, `sys_rt_change_log`,
139
+ `sys_hub_snapshot` and `sys_hub_flow_version`; `payload` and
140
+ `payload_short` on `sys_replication_queue`; `payload` and
141
+ `previous_payload` on every `cdc_queue_*` table (such as `cdc_queue_ih`,
142
+ `cdc_queue_par` and `cdc_queue_uxa_user_props`) except `cdc_queue_state_*`;
143
+ `data` on `sys_hub_snapshot_chunk`; and `encoded_keystore` on
144
+ `sn_disco_certmgmt_certificate_ca_credentials`.
145
+
146
+ No wildcard covers them any more: not the open default of a profile with no
147
+ field policy, a `"*"` field entry, or `"*"` on the table's own entry. Each is
148
+ read only where that table's own `readable` lists it, and written only where
149
+ its own `writable` lists it (`fieldPolicy.<table>`, or the table's
150
+ `readableTableFields`/`writableTableFields` entry); a shard is its own table.
151
+ Until then it is refused by name, as a filter, order, group-by, aggregate or
152
+ write field, and is left out of `fields=all`, detailed and default reads,
153
+ write echoes and aggregate groups. The refusal names the key to set.
154
+ `tools/list` is unchanged.
155
+
156
+ - **More tables are on the privilege-sensitive write list.** `ecc_queue` and
157
+ its rotation shards (records written there can run commands on MID Server
158
+ hosts), and these tables that hold scripts run on the instance or on MID
159
+ Server hosts: `sysevent_script_action`,
160
+ `sys_script_fix`, `sys_script_email`, `sys_ui_action`, `sys_ui_page`,
161
+ `sys_ui_macro`, `sp_widget`, `sysevent_in_email_action`,
162
+ `sys_transform_map`, `sys_transform_script`, `ecc_agent_script_include`,
163
+ `sysevent_email_action`, `sys_dictionary`, `sa_pattern`, `sys_hub_flow` and
164
+ `sys_hub_action_type_definition`.
165
+ A write grant that reaches them, including `"*"`, is still allowed; `grant`,
166
+ the wizard and the policy card flag it.
167
+
168
+ - **`sys_update_xml`, `sys_upgrade_history_log`, `scan_finding`, `scan_result`
169
+ and `scan_check` have their own default projections.** A read that names no
170
+ `fields` returns the columns that identify the row (for `sys_update_xml`:
171
+ `sys_id`, `name`, `type`, `target_name`, `table`, `action`, `update_set`,
172
+ `application` and `sys_updated_on`) instead of `sys_id` alone. The projections
173
+ do not include `finding_details`, `scan_finding.task` and `.user`,
174
+ `scan_check.script`, `scan_result.message` or the payload columns above; apart
175
+ from the payload columns, those stay readable by name. A profile's `"*"` field
176
+ entry still narrows these tables, their defaults included. `tools/list` is
177
+ unchanged.
178
+
8
179
  ## [2.3.0-rc.2] — 2026-11-16
9
180
 
10
181
  Release candidate for 2.3.0, published to the `next` dist-tag. It contains the
package/README.md CHANGED
@@ -245,7 +245,9 @@ servicenow-mcp-setup grant --profile dev --read incident,problem --write inciden
245
245
  `grant` and the wizard print a warning, and still grant, when write access
246
246
  lands on a privilege-sensitive table: role, group, approval, script,
247
247
  property, user or authentication tables such as `sys_user_has_role`,
248
- `sysapproval_approver` or `sys_script`.
248
+ `sysapproval_approver`, `sys_script` or `sp_widget`, and the MID Server queue
249
+ (`ecc_queue` and its rotation shards), whose records can run commands on MID
250
+ Server hosts.
249
251
 
250
252
  `--force` regenerates the owner/client identifiers but deliberately preserves
251
253
  `SN_PROFILE_ENCRYPTION_KEY`, which decrypts every credential envelope in
@@ -1575,6 +1577,31 @@ Otherwise the write is denied with:
1575
1577
  Write denied by policy: field "sys_domain" on "incident" changes the record's class or domain, so a writable wildcard never covers it. List it explicitly in fieldPolicy.incident.writable to allow this write.
1576
1578
  ```
1577
1579
 
1580
+ **Record payload columns.** Some columns carry other records' content or
1581
+ packaged content, so no wildcard covers them: not the open default of a
1582
+ profile with no field policy, a `"*"` entry, or `"*"` on the table's own
1583
+ entry. They are `payload` and `payload_diff` on `sys_update_xml`,
1584
+ `sys_update_version`, `sys_update_preview_xml`, `sys_update_diff`,
1585
+ `sys_sync_preview_remote`, `sys_upgrade_history_log`, `sys_metadata_link`,
1586
+ `sys_metadata_delete`, `sys_audit_delete`, `sys_archive_log` and
1587
+ `clone_preserved_data`; `payload` on `ecc_queue`, `data_replication_queue`,
1588
+ `sys_rt_change_log`, `sys_hub_snapshot` and `sys_hub_flow_version`; `payload`
1589
+ and `payload_short` on `sys_replication_queue`; `payload` and
1590
+ `previous_payload` on every `cdc_queue_*` table except `cdc_queue_state_*`;
1591
+ `data` on `sys_hub_snapshot_chunk`; and
1592
+ `encoded_keystore` on `sn_disco_certmgmt_certificate_ca_credentials`. The
1593
+ numbered rotation shards of the queue tables (`ecc_queue0003`,
1594
+ `sys_replication_queue5`, ...) are covered too, each as its own table. Each
1595
+ column is read only where it is named in that table's own `readable`, and
1596
+ written only where it is named in its own `writable`. Until then it is
1597
+ refused by name and as a filter, order, group-by, aggregate or write field,
1598
+ and is left out of `fields=all`, detailed and default reads and write
1599
+ echoes. A named read is denied with:
1600
+
1601
+ ```text
1602
+ Read denied by policy: field "payload" on "sys_update_xml" holds record payloads, so a readable wildcard never covers it. List it explicitly in fieldPolicy.sys_update_xml.readable to allow this read.
1603
+ ```
1604
+
1578
1605
  **`readable: []` and `writable: []`.** `readable: []` makes a table
1579
1606
  write-only: writes succeed and return only `sys_id`, reads are denied, and
1580
1607
  `sn_batch` cannot run there. `writable: []` blocks writes. To make a table
@@ -31,7 +31,7 @@ export interface PreparedFieldAccess {
31
31
  readonly hiddenFields: readonly string[];
32
32
  }[];
33
33
  }
34
- export type FieldPolicyFailureReason = "unsupported_table" | "invalid_field_selection" | "unreadable_field" | "invalid_write_payload" | "non_writable_field" | "sensitive_field" | "unsupported_field_path" | "explicit_field_required" | "traversal_limit_exceeded" | "invalid_argument_shape" | "field_types_unavailable";
34
+ export type FieldPolicyFailureReason = "unsupported_table" | "invalid_field_selection" | "unreadable_field" | "invalid_write_payload" | "non_writable_field" | "sensitive_field" | "unsupported_field_path" | "explicit_field_required" | "explicit_read_required" | "traversal_limit_exceeded" | "invalid_argument_shape" | "field_types_unavailable";
35
35
  export interface TableFieldListDefinition {
36
36
  readonly table: string;
37
37
  readonly fields: readonly string[] | "*";
@@ -52,6 +52,14 @@ export declare const MAX_FIELD_VALUE_NODES = 50000;
52
52
  export declare const MAX_FIELD_ARRAY_LENGTH = 10000;
53
53
  export declare const MAX_FIELD_OBJECT_OWN_KEYS = 256;
54
54
  export declare const MAX_TOOL_ARGUMENT_OWN_KEYS = 64;
55
+ /**
56
+ * Each base table and the columns its own entry must list. A rotation shard
57
+ * (see ROTATION_SHARD_BASE_NAMES) has its base table's columns, and every
58
+ * `cdc_queue_*` table except `cdc_queue_state_*` has the CDC queue columns.
59
+ */
60
+ export declare const EXPLICIT_READ_FIELD_NAMES: Readonly<Record<string, readonly string[]>>;
61
+ /** The base tables whose numbered rotation shards share their columns. */
62
+ export declare const ROTATION_SHARD_BASE_NAMES: readonly string[];
55
63
  /**
56
64
  * The built-in tables and how each is classified for a profile's "*" entry.
57
65
  * Frozen copies for tests; the policy reads the sets above.
@@ -61,6 +69,7 @@ export declare const BUILT_IN_TABLE_CLASSES: Readonly<{
61
69
  itsm: readonly string[];
62
70
  system: readonly string[];
63
71
  namedOnly: readonly string[];
72
+ platform: readonly string[];
64
73
  }>;
65
74
  /** Safe defaults exported for legacy concise-response helpers without drift. */
66
75
  export declare const SAFE_DEFAULT_FIELDS: Readonly<Record<string, readonly string[]>>;
@@ -154,8 +163,9 @@ export declare function isSensitiveFieldName(candidate: unknown): boolean;
154
163
  export declare function typeHiddenFieldNames(tableCandidate: unknown): ReadonlySet<string>;
155
164
  /**
156
165
  * Fields of `table` that may never filter, order, group or aggregate a read:
157
- * its hidden-typed fields and its row rule's value field. The sensitive-name
158
- * check applies on top, wherever a caller checks names.
166
+ * its hidden-typed fields, the record payload columns its policy leaves closed,
167
+ * and its row rule's value field. The sensitive-name check applies on top,
168
+ * wherever a caller checks names.
159
169
  */
160
170
  export declare function queryDeniedFields(tableCandidate: unknown): ReadonlySet<string>;
161
171
  /** {@link queryDeniedFields} for the table a selection was resolved on. */
@@ -1 +1 @@
1
- {"version":3,"file":"field-policy.d.ts","sourceRoot":"","sources":["../src/field-policy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAeH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,UAAU,CAAC;AAEpD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,MAAM,cAAc,GAAG,SAAS,MAAM,EAAE,CAAC;AAE/C,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,EAAE,SAAS;QACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAA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