|
| 1 | +{ |
| 2 | + "_comment": "The SteVec selectors and op terms cipherstash-client's JsonIndexer derives for the document under FakeDataKeySource's index key (keyset nil, recorded in index_key), with the ste_vec index config @cipherstash/stack sends for an EQL v3 JSON column: prefix \"enabled\", the sentinel production sends unrewritten (issue #1203; a fix there changes every selector and is meant to fail this pin). A selector change under the same index_key breaks queries over SteVec documents customers have already stored: it is a breaking change, not a refresh. Regenerate with EQL_UPDATE_STE_VEC_SELECTORS=1 only alongside a changeset on @cipherstash/protect-ffi explaining the break, or, when only index_key changed, for the stack-kms test change that moved it; do not edit by hand.", |
| 3 | + "document": { |
| 4 | + "active": true, |
| 5 | + "field": 1, |
| 6 | + "hello": "world", |
| 7 | + "missing": null, |
| 8 | + "nested": { |
| 9 | + "deep": "value" |
| 10 | + }, |
| 11 | + "ratio": 1.5, |
| 12 | + "roles": [ |
| 13 | + "admin", |
| 14 | + "user" |
| 15 | + ] |
| 16 | + }, |
| 17 | + "entries": [ |
| 18 | + { |
| 19 | + "op": null, |
| 20 | + "query": "path $", |
| 21 | + "s": "79d4ba86361d937f2993d3b98c075e3b" |
| 22 | + }, |
| 23 | + { |
| 24 | + "op": null, |
| 25 | + "query": "path $.active", |
| 26 | + "s": "11b2c514709ac9c276020dd11b536b7e" |
| 27 | + }, |
| 28 | + { |
| 29 | + "op": "003f1d2e1b7b9e196ad27da250135b9eac77e6612dd7f9eb3b14453ad256a6da1a0e92c830b7d88f98935176f3f51bb611d2a4b6e7ea003543d941ca2293cb24b92e", |
| 30 | + "query": "path $.field", |
| 31 | + "s": "e8f5a865f03076086c88f84092fbc11f" |
| 32 | + }, |
| 33 | + { |
| 34 | + "op": "00be9ea51be74702138af46863cf77b11df5a6494cc5b9908c38d3bc879bf868055fc29ec50903e843c8d0f3b1074a751fa9", |
| 35 | + "query": "path $.hello", |
| 36 | + "s": "4ce624f4e5d42afccc8ba3cc5cc4865e" |
| 37 | + }, |
| 38 | + { |
| 39 | + "op": null, |
| 40 | + "query": "path $.missing", |
| 41 | + "s": "04c5e20a3e8292b1f262286bbc1541ae" |
| 42 | + }, |
| 43 | + { |
| 44 | + "op": null, |
| 45 | + "query": "path $.nested", |
| 46 | + "s": "f4f5b9fc338b0608046426e899999360" |
| 47 | + }, |
| 48 | + { |
| 49 | + "op": "00be9ea51be74702130ab53921df54844d80b9f4e63c320c3d93d834bd1afa00e656487cf9f12e9b9b95045b7a7996b763e0", |
| 50 | + "query": "path $.nested.deep", |
| 51 | + "s": "a83be8b56e61de0eb91f5dd2fbd27229" |
| 52 | + }, |
| 53 | + { |
| 54 | + "op": "003f1d2e1b7b9e196ad27da25013db45b3adbb0a7d0047908d88999cf9294ecac222141fbd092a272e89f28471a2a10844ee05771ac989d7c12f14fc1bbbf101db55", |
| 55 | + "query": "path $.ratio", |
| 56 | + "s": "4d398db3deeb169df3e6555bc8aa3a1a" |
| 57 | + }, |
| 58 | + { |
| 59 | + "op": null, |
| 60 | + "query": "path $.roles", |
| 61 | + "s": "c85f57df77d22b5fa553278e98323eab" |
| 62 | + }, |
| 63 | + { |
| 64 | + "op": "00be9ea51b6713b224d96f3d1b4841213d5ead044e18f6aba1baeb318e92a796a36ae2f50beba4b0be9b68eb11012a3a7644", |
| 65 | + "query": null, |
| 66 | + "s": "95c999fa197c0885986b14c27d413556" |
| 67 | + }, |
| 68 | + { |
| 69 | + "op": "00be9ea51b6713b224d96f3d1b4841213d5ead044e18f6aba1baeb318e92a796a36ae2f50beba4b0be9b68eb11012a3a7644", |
| 70 | + "query": "path $.roles[*]", |
| 71 | + "s": "58831b09d9cfd19078f2bf19694ad878" |
| 72 | + }, |
| 73 | + { |
| 74 | + "op": "00be9ea51be74701942873023e4fcffba6014d6172e991936d6aade3ddf0d80859e2f7a0d0288e21d7b5", |
| 75 | + "query": null, |
| 76 | + "s": "95c999fa197c0885986b14c27d413556" |
| 77 | + }, |
| 78 | + { |
| 79 | + "op": "00be9ea51be74701942873023e4fcffba6014d6172e991936d6aade3ddf0d80859e2f7a0d0288e21d7b5", |
| 80 | + "query": "path $.roles[*]", |
| 81 | + "s": "58831b09d9cfd19078f2bf19694ad878" |
| 82 | + }, |
| 83 | + { |
| 84 | + "op": null, |
| 85 | + "query": null, |
| 86 | + "s": "02940a5686f418020d74d0002de800b2" |
| 87 | + }, |
| 88 | + { |
| 89 | + "op": null, |
| 90 | + "query": "value $.active == true", |
| 91 | + "s": "c927fa8e65b54b0771d4f159a06cb287" |
| 92 | + }, |
| 93 | + { |
| 94 | + "op": null, |
| 95 | + "query": "value $.field == 1", |
| 96 | + "s": "a3a0b9bc706164dfadbaae8641812fa5" |
| 97 | + }, |
| 98 | + { |
| 99 | + "op": null, |
| 100 | + "query": "value $.hello == \"world\"", |
| 101 | + "s": "1a5bb3bb21b3a241fa1b72f426e6fd70" |
| 102 | + }, |
| 103 | + { |
| 104 | + "op": null, |
| 105 | + "query": null, |
| 106 | + "s": "ad505c15665d885e912a73587efb6210" |
| 107 | + }, |
| 108 | + { |
| 109 | + "op": null, |
| 110 | + "query": null, |
| 111 | + "s": "03fde1bed397618949b7be9ae382f839" |
| 112 | + }, |
| 113 | + { |
| 114 | + "op": null, |
| 115 | + "query": "value $.nested.deep == \"value\"", |
| 116 | + "s": "310c4dc2ffff5c7b59f79418f202ee33" |
| 117 | + }, |
| 118 | + { |
| 119 | + "op": null, |
| 120 | + "query": "value $.ratio == 1.5", |
| 121 | + "s": "63476dad81490f4c1c5c67c62ce95a19" |
| 122 | + }, |
| 123 | + { |
| 124 | + "op": null, |
| 125 | + "query": null, |
| 126 | + "s": "0839fd15b38aa4e460c869f88f0a461e" |
| 127 | + }, |
| 128 | + { |
| 129 | + "op": null, |
| 130 | + "query": null, |
| 131 | + "s": "6f71a23e87e425691b5e5d810f036d5d" |
| 132 | + }, |
| 133 | + { |
| 134 | + "op": null, |
| 135 | + "query": null, |
| 136 | + "s": "76de72ebb9bf5486303698f1635ac8ed" |
| 137 | + }, |
| 138 | + { |
| 139 | + "op": null, |
| 140 | + "query": null, |
| 141 | + "s": "dcaf027cb5a86d3f366d38ca1ab8ab6a" |
| 142 | + }, |
| 143 | + { |
| 144 | + "op": null, |
| 145 | + "query": null, |
| 146 | + "s": "4a140c3e421cd64a826a479ffae64eae" |
| 147 | + } |
| 148 | + ], |
| 149 | + "index_config": { |
| 150 | + "array_index_mode": { |
| 151 | + "item": true, |
| 152 | + "position": false, |
| 153 | + "wildcard": true |
| 154 | + }, |
| 155 | + "kind": "ste-vec", |
| 156 | + "mode": "compat", |
| 157 | + "prefix": "enabled" |
| 158 | + }, |
| 159 | + "index_key": "01dc1a6934ac96bd071ac7f17f56f444cfbd7c5db350747d6d69d8f8756a0c60", |
| 160 | + "selectors": { |
| 161 | + "path $": "79d4ba86361d937f2993d3b98c075e3b", |
| 162 | + "path $.active": "11b2c514709ac9c276020dd11b536b7e", |
| 163 | + "path $.field": "e8f5a865f03076086c88f84092fbc11f", |
| 164 | + "path $.hello": "4ce624f4e5d42afccc8ba3cc5cc4865e", |
| 165 | + "path $.missing": "04c5e20a3e8292b1f262286bbc1541ae", |
| 166 | + "path $.nested": "f4f5b9fc338b0608046426e899999360", |
| 167 | + "path $.nested.deep": "a83be8b56e61de0eb91f5dd2fbd27229", |
| 168 | + "path $.ratio": "4d398db3deeb169df3e6555bc8aa3a1a", |
| 169 | + "path $.roles": "c85f57df77d22b5fa553278e98323eab", |
| 170 | + "path $.roles[*]": "58831b09d9cfd19078f2bf19694ad878", |
| 171 | + "value $.active == true": "c927fa8e65b54b0771d4f159a06cb287", |
| 172 | + "value $.field == 1": "a3a0b9bc706164dfadbaae8641812fa5", |
| 173 | + "value $.hello == \"world\"": "1a5bb3bb21b3a241fa1b72f426e6fd70", |
| 174 | + "value $.nested.deep == \"value\"": "310c4dc2ffff5c7b59f79418f202ee33", |
| 175 | + "value $.ratio == 1.5": "63476dad81490f4c1c5c67c62ce95a19" |
| 176 | + } |
| 177 | +} |
0 commit comments