@portll/cobolwork 0.5.0 → 0.7.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 (163) hide show
  1. package/README.md +89 -26
  2. package/STABILITY.md +76 -0
  3. package/bin/cobolwork.mjs +56 -14
  4. package/lib/baseline.mjs +9 -0
  5. package/lib/bms.mjs +21 -7
  6. package/lib/build.mjs +133 -53
  7. package/lib/capabilities.mjs +13 -11
  8. package/lib/cics-commands.mjs +501 -9
  9. package/lib/compliance.mjs +11 -0
  10. package/lib/consequence.mjs +17 -0
  11. package/lib/control-reuse.mjs +113 -0
  12. package/lib/control-workers.mjs +161 -0
  13. package/lib/control.mjs +77 -4
  14. package/lib/dataflow.mjs +402 -152
  15. package/lib/db2/cursor.mjs +15 -0
  16. package/lib/db2/read.mjs +170 -0
  17. package/lib/db2/rules.mjs +77 -0
  18. package/lib/db2/stmt/alter.mjs +473 -0
  19. package/lib/db2/stmt/grant.mjs +125 -0
  20. package/lib/db2/stmt/index.mjs +141 -0
  21. package/lib/db2/stmt/misc.mjs +325 -0
  22. package/lib/db2/stmt/routine.mjs +564 -0
  23. package/lib/db2/stmt/storage.mjs +146 -0
  24. package/lib/db2/stmt/table.mjs +540 -0
  25. package/lib/db2/stmt/view.mjs +146 -0
  26. package/lib/diff.mjs +17 -5
  27. package/lib/equivalence.mjs +44 -5
  28. package/lib/evidence/cli.mjs +26 -7
  29. package/lib/evidence/record.mjs +16 -6
  30. package/lib/evidence/seal.mjs +17 -0
  31. package/lib/evidence/store.mjs +44 -15
  32. package/lib/evidence/timestamp.mjs +83 -0
  33. package/lib/evidence/verify.mjs +120 -42
  34. package/lib/exec-reading.mjs +51 -0
  35. package/lib/execution.mjs +3 -2
  36. package/lib/explain.mjs +2 -0
  37. package/lib/exploitability.mjs +11 -2
  38. package/lib/hlasm/asm/data.mjs +128 -0
  39. package/lib/hlasm/asm/listing.mjs +43 -0
  40. package/lib/hlasm/asm/output.mjs +45 -0
  41. package/lib/hlasm/asm/sections.mjs +161 -0
  42. package/lib/hlasm/asm/symbols.mjs +78 -0
  43. package/lib/hlasm/exec.mjs +27 -0
  44. package/lib/hlasm/expr.mjs +167 -0
  45. package/lib/hlasm/instr.mjs +73 -0
  46. package/lib/hlasm/locate.mjs +333 -0
  47. package/lib/hlasm/macro/authorization.mjs +146 -0
  48. package/lib/hlasm/macro/datasets.mjs +107 -0
  49. package/lib/hlasm/macro/io.mjs +162 -0
  50. package/lib/hlasm/macro/le.mjs +53 -0
  51. package/lib/hlasm/macro/linkage.mjs +143 -0
  52. package/lib/hlasm/macro/operator.mjs +77 -0
  53. package/lib/hlasm/macro/program.mjs +184 -0
  54. package/lib/hlasm/macro/recovery.mjs +85 -0
  55. package/lib/hlasm/macro/storage.mjs +167 -0
  56. package/lib/hlasm/macro/structured.mjs +131 -0
  57. package/lib/hlasm/model.mjs +97 -0
  58. package/lib/hlasm/mvs38.mjs +47 -0
  59. package/lib/hlasm/operands.mjs +59 -0
  60. package/lib/hlasm/optable.mjs +61 -0
  61. package/lib/hlasm/read.mjs +130 -0
  62. package/lib/hlasm.mjs +44 -7
  63. package/lib/ims/dli.mjs +37 -0
  64. package/lib/ims/macro/dbd.mjs +299 -0
  65. package/lib/ims/macro/psb.mjs +286 -0
  66. package/lib/ims/model.mjs +149 -0
  67. package/lib/ims/operands.mjs +23 -0
  68. package/lib/ims/read.mjs +37 -0
  69. package/lib/ims/rules.mjs +135 -0
  70. package/lib/inventory.mjs +10 -7
  71. package/lib/ironwork-ids.mjs +24 -0
  72. package/lib/ironwork.mjs +20 -13
  73. package/lib/kernel/pds-archive.mjs +256 -0
  74. package/lib/kernel/registry.mjs +32 -23
  75. package/lib/kernel/shared-pass.mjs +163 -0
  76. package/lib/kernel/source-tree.mjs +104 -36
  77. package/lib/kernel/version-key.mjs +17 -0
  78. package/lib/layout.mjs +26 -31
  79. package/lib/options.mjs +26 -4
  80. package/lib/parser.mjs +136 -17
  81. package/lib/pli/cursor.mjs +15 -0
  82. package/lib/pli/expr.mjs +101 -0
  83. package/lib/pli/include.mjs +82 -0
  84. package/lib/pli/layout.mjs +125 -0
  85. package/lib/pli/lex.mjs +198 -0
  86. package/lib/pli/program.mjs +280 -0
  87. package/lib/pli/rules/based.mjs +95 -0
  88. package/lib/pli/rules/conditions.mjs +68 -0
  89. package/lib/pli/rules/entry.mjs +130 -0
  90. package/lib/pli/rules/index.mjs +24 -0
  91. package/lib/pli/rules/preprocessor.mjs +55 -0
  92. package/lib/pli/statements.mjs +130 -0
  93. package/lib/pli/stmt/alloc.mjs +45 -0
  94. package/lib/pli/stmt/assignment.mjs +56 -0
  95. package/lib/pli/stmt/call.mjs +104 -0
  96. package/lib/pli/stmt/conditions.mjs +94 -0
  97. package/lib/pli/stmt/control.mjs +219 -0
  98. package/lib/pli/stmt/declare.mjs +149 -0
  99. package/lib/pli/stmt/exec.mjs +55 -0
  100. package/lib/pli/stmt/io.mjs +239 -0
  101. package/lib/pli/stmt/misc.mjs +4 -0
  102. package/lib/pli/stmt/preprocessor.mjs +242 -0
  103. package/lib/pli/stmt/procedure.mjs +258 -0
  104. package/lib/pli/stmt/stream.mjs +283 -0
  105. package/lib/pli/storage.mjs +129 -0
  106. package/lib/policy.mjs +6 -0
  107. package/lib/precompile-check.mjs +124 -0
  108. package/lib/precompile-cics.mjs +8 -4
  109. package/lib/reach.mjs +11 -2
  110. package/lib/revision.json +1 -1
  111. package/lib/sarif.mjs +44 -3
  112. package/lib/scan.mjs +28 -12
  113. package/lib/sets/abend.mjs +82 -8
  114. package/lib/sets/build.mjs +43 -37
  115. package/lib/sets/cics.mjs +20 -38
  116. package/lib/sets/compile.mjs +46 -18
  117. package/lib/sets/copybook.mjs +5 -3
  118. package/lib/sets/crypto.mjs +5 -3
  119. package/lib/sets/ddl.mjs +36 -0
  120. package/lib/sets/flow.mjs +32 -8
  121. package/lib/sets/hidden.mjs +5 -3
  122. package/lib/sets/hlasm.mjs +124 -8
  123. package/lib/sets/ims.mjs +139 -0
  124. package/lib/sets/log.mjs +11 -9
  125. package/lib/sets/opaque.mjs +27 -7
  126. package/lib/sets/pli.mjs +40 -0
  127. package/lib/sets/priv.mjs +5 -3
  128. package/lib/sets/recon.mjs +5 -3
  129. package/lib/sets/secrets.mjs +112 -0
  130. package/lib/sets/semantics.mjs +8 -3
  131. package/lib/sets/web.mjs +39 -23
  132. package/lib/site.mjs +10 -0
  133. package/lib/sources.mjs +80 -20
  134. package/lib/statement-cursor.mjs +67 -0
  135. package/lib/verify.mjs +3 -2
  136. package/lib/version.mjs +6 -0
  137. package/package.json +3 -2
  138. package/rules/compliance-cobit2019.json +520 -5
  139. package/rules/compliance-dora.json +509 -5
  140. package/rules/compliance-ffiec.json +505 -1
  141. package/rules/compliance-nist80053.json +557 -1
  142. package/rules/gitleaks-mainframe.toml +46 -15
  143. package/rules/hlasm-instructions.json +2396 -0
  144. package/rules/hlasm-optables.json +8024 -0
  145. package/schema/cobolwork-baseline.schema.json +36 -0
  146. package/schema/cobolwork-build-provenance.schema.json +187 -0
  147. package/schema/cobolwork-build.schema.json +382 -0
  148. package/schema/cobolwork-capabilities.schema.json +239 -0
  149. package/schema/cobolwork-diff.schema.json +217 -0
  150. package/schema/cobolwork-evidence.schema.json +161 -0
  151. package/schema/cobolwork-execution.schema.json +53 -0
  152. package/schema/cobolwork-explain.schema.json +360 -0
  153. package/schema/cobolwork-finding.schema.json +465 -0
  154. package/schema/cobolwork-flow.schema.json +465 -0
  155. package/schema/cobolwork-gate.schema.json +211 -0
  156. package/schema/cobolwork-inventory.schema.json +206 -0
  157. package/schema/cobolwork-parse.schema.json +105 -0
  158. package/schema/cobolwork-reach.schema.json +74 -0
  159. package/schema/cobolwork-report.schema.json +559 -0
  160. package/schema/cobolwork-witness.schema.json +107 -0
  161. package/schema/cobolwork.baseline.schema.json +101 -0
  162. package/schema/cobolwork.policy.schema.json +7 -0
  163. package/schema/cobolwork.site.schema.json +116 -0
@@ -0,0 +1,465 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://github.com/Portll/cobolwork/schema/cobolwork-flow.schema.json",
4
+ "title": "cobolwork flow report",
5
+ "description": "The report cobolwork flow writes: the flow rule set alone. A later minor release may add keys; a reader ignores keys it does not know.",
6
+ "type": "object",
7
+ "required": [
8
+ "tool",
9
+ "schemaVersion",
10
+ "summary",
11
+ "findings",
12
+ "checked",
13
+ "ruleText"
14
+ ],
15
+ "properties": {
16
+ "tool": {
17
+ "const": "cobolwork-flow"
18
+ },
19
+ "schemaVersion": {
20
+ "const": 3
21
+ },
22
+ "findings": {
23
+ "type": "array",
24
+ "items": {
25
+ "$ref": "cobolwork-finding.schema.json"
26
+ }
27
+ },
28
+ "checked": {
29
+ "type": "array",
30
+ "items": {
31
+ "$ref": "cobolwork-finding.schema.json"
32
+ },
33
+ "description": "Routes a check stops, which are not findings."
34
+ },
35
+ "suppressed": {
36
+ "type": "array",
37
+ "items": {
38
+ "$ref": "cobolwork-finding.schema.json"
39
+ },
40
+ "description": "Findings a baseline entry suppresses."
41
+ },
42
+ "baselineExpired": {
43
+ "type": "array",
44
+ "description": "Findings back in the report because the judgement lapsed.",
45
+ "items": {
46
+ "type": "object"
47
+ }
48
+ },
49
+ "ruleText": {
50
+ "type": "object",
51
+ "additionalProperties": {
52
+ "type": "string"
53
+ }
54
+ },
55
+ "ruleCwe": {
56
+ "type": "object",
57
+ "additionalProperties": {
58
+ "type": "string"
59
+ }
60
+ },
61
+ "ruleImpact": {
62
+ "type": "object",
63
+ "additionalProperties": {
64
+ "type": "string"
65
+ }
66
+ },
67
+ "ruleRemedy": {
68
+ "type": "object",
69
+ "additionalProperties": {
70
+ "type": "string"
71
+ }
72
+ },
73
+ "ruleEvidence": {
74
+ "type": "object",
75
+ "additionalProperties": {
76
+ "type": "string"
77
+ }
78
+ },
79
+ "summary": {
80
+ "type": "object",
81
+ "required": [
82
+ "findings",
83
+ "byRule",
84
+ "flowModel",
85
+ "toolVersion",
86
+ "filesScanned",
87
+ "coverageIncomplete"
88
+ ],
89
+ "properties": {
90
+ "findings": {
91
+ "type": "integer",
92
+ "minimum": 0
93
+ },
94
+ "byRule": {
95
+ "type": "object",
96
+ "additionalProperties": {
97
+ "type": "integer",
98
+ "minimum": 0
99
+ }
100
+ },
101
+ "flowModel": {
102
+ "type": "string"
103
+ },
104
+ "toolVersion": {
105
+ "type": "string"
106
+ },
107
+ "filesScanned": {
108
+ "type": "integer",
109
+ "minimum": 0
110
+ },
111
+ "programsParsed": {
112
+ "type": "integer",
113
+ "minimum": 0
114
+ },
115
+ "filesUnreadable": {
116
+ "type": "integer",
117
+ "minimum": 0
118
+ },
119
+ "filesEbcdic": {
120
+ "type": "integer",
121
+ "minimum": 0
122
+ },
123
+ "filesOverBudget": {
124
+ "type": [
125
+ "integer",
126
+ "null"
127
+ ]
128
+ },
129
+ "crossProgram": {
130
+ "type": "integer",
131
+ "minimum": 0
132
+ },
133
+ "checked": {
134
+ "type": "integer",
135
+ "minimum": 0,
136
+ "description": "Routes a check stops, listed under checked."
137
+ },
138
+ "entryPoints": {
139
+ "type": "object",
140
+ "description": "What starts each program: the transactions, job steps and calls the tree holds."
141
+ },
142
+ "programsUnordered": {
143
+ "type": "integer",
144
+ "minimum": 0
145
+ },
146
+ "mapsReceived": {
147
+ "type": "integer",
148
+ "minimum": 0
149
+ },
150
+ "protectedFields": {
151
+ "type": "integer",
152
+ "minimum": 0
153
+ },
154
+ "mapsNotRead": {
155
+ "type": "string"
156
+ },
157
+ "nosrc": {
158
+ "type": "boolean"
159
+ },
160
+ "coverageIncomplete": {
161
+ "type": "boolean"
162
+ },
163
+ "walksCut": {
164
+ "type": "integer",
165
+ "minimum": 0
166
+ },
167
+ "sourcesNotWalked": {
168
+ "type": "integer",
169
+ "minimum": 0
170
+ },
171
+ "readInPart": {
172
+ "type": "string"
173
+ },
174
+ "creditUndecided": {
175
+ "type": "integer",
176
+ "minimum": 0
177
+ },
178
+ "setIncomplete": {
179
+ "type": "boolean"
180
+ },
181
+ "notLooked": {
182
+ "type": "array",
183
+ "items": {
184
+ "type": "string"
185
+ }
186
+ },
187
+ "unreadable": {
188
+ "type": "array"
189
+ },
190
+ "unparsed": {
191
+ "type": "array"
192
+ },
193
+ "filesNotReached": {
194
+ "type": "integer",
195
+ "minimum": 0
196
+ },
197
+ "stoppedBy": {
198
+ "type": "string"
199
+ },
200
+ "siteWarnings": {
201
+ "type": "array",
202
+ "items": {
203
+ "type": "string"
204
+ },
205
+ "description": "Keys in cobolwork.site.json this cobolwork does not read."
206
+ },
207
+ "feedWarnings": {
208
+ "type": "array",
209
+ "items": {
210
+ "type": "string"
211
+ },
212
+ "description": "Keys in a witness feed or reachability extract this cobolwork does not read."
213
+ },
214
+ "byReach": {
215
+ "type": "object",
216
+ "additionalProperties": {
217
+ "type": "integer",
218
+ "minimum": 0
219
+ }
220
+ },
221
+ "byEffect": {
222
+ "type": "object",
223
+ "additionalProperties": {
224
+ "type": "integer",
225
+ "minimum": 0
226
+ }
227
+ },
228
+ "reachFeeds": {
229
+ "type": "array",
230
+ "items": {
231
+ "type": "object",
232
+ "properties": {
233
+ "file": {
234
+ "type": "string"
235
+ },
236
+ "extract": {
237
+ "type": "string"
238
+ },
239
+ "retrieved": {
240
+ "type": "string"
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "reachFeedProblems": {
246
+ "type": "array",
247
+ "items": {
248
+ "type": "string"
249
+ }
250
+ },
251
+ "reachNote": {
252
+ "type": "string"
253
+ },
254
+ "effectNote": {
255
+ "type": "string"
256
+ },
257
+ "byExploitability": {
258
+ "type": "object",
259
+ "additionalProperties": {
260
+ "type": "integer",
261
+ "minimum": 0
262
+ }
263
+ },
264
+ "handling": {
265
+ "type": "string"
266
+ },
267
+ "witnessFeeds": {
268
+ "type": "array",
269
+ "items": {
270
+ "type": "object",
271
+ "properties": {
272
+ "file": {
273
+ "type": "string"
274
+ },
275
+ "witness": {
276
+ "type": "string"
277
+ },
278
+ "recorded": {
279
+ "type": "string"
280
+ }
281
+ }
282
+ }
283
+ },
284
+ "byWitness": {
285
+ "type": "object",
286
+ "additionalProperties": {
287
+ "type": "integer",
288
+ "minimum": 0
289
+ }
290
+ },
291
+ "witnessFeedProblems": {
292
+ "type": "array",
293
+ "items": {
294
+ "type": "string"
295
+ }
296
+ },
297
+ "witnessUnmatched": {
298
+ "type": "array",
299
+ "items": {
300
+ "type": "string"
301
+ },
302
+ "description": "Fingerprints a witness result names and no finding carries."
303
+ },
304
+ "witnessOverruled": {
305
+ "type": "array",
306
+ "items": {
307
+ "type": "object"
308
+ }
309
+ },
310
+ "executionFeeds": {
311
+ "type": "array",
312
+ "items": {
313
+ "type": "object",
314
+ "properties": {
315
+ "file": {
316
+ "type": "string"
317
+ },
318
+ "programs": {
319
+ "type": "integer",
320
+ "minimum": 0
321
+ }
322
+ }
323
+ }
324
+ },
325
+ "byExecution": {
326
+ "type": "object",
327
+ "additionalProperties": {
328
+ "type": "integer",
329
+ "minimum": 0
330
+ }
331
+ },
332
+ "executionFeedProblems": {
333
+ "type": "array",
334
+ "items": {
335
+ "type": "string"
336
+ }
337
+ },
338
+ "baseline": {
339
+ "type": "object",
340
+ "description": "What the baseline suppressed, what lapsed, and what no finding matched.",
341
+ "properties": {
342
+ "path": {
343
+ "type": "string"
344
+ },
345
+ "source": {
346
+ "enum": [
347
+ "tree",
348
+ "explicit"
349
+ ]
350
+ },
351
+ "suppressed": {
352
+ "type": "integer",
353
+ "minimum": 0
354
+ },
355
+ "expired": {
356
+ "type": "integer",
357
+ "minimum": 0
358
+ },
359
+ "stale": {
360
+ "type": "integer",
361
+ "minimum": 0
362
+ },
363
+ "refused": {
364
+ "type": "integer",
365
+ "minimum": 0
366
+ },
367
+ "refusedWhy": {
368
+ "type": "string"
369
+ },
370
+ "problems": {
371
+ "type": "array",
372
+ "items": {
373
+ "type": "string"
374
+ }
375
+ }
376
+ }
377
+ },
378
+ "toolRevision": {
379
+ "type": [
380
+ "object",
381
+ "null"
382
+ ],
383
+ "description": "A commit and whether its tree held changes, with where it was read.",
384
+ "properties": {
385
+ "commit": {
386
+ "type": [
387
+ "string",
388
+ "null"
389
+ ]
390
+ },
391
+ "dirty": {
392
+ "type": [
393
+ "boolean",
394
+ "null"
395
+ ]
396
+ },
397
+ "tag": {
398
+ "type": "string"
399
+ },
400
+ "from": {
401
+ "type": "string"
402
+ }
403
+ }
404
+ },
405
+ "revision": {
406
+ "type": [
407
+ "object",
408
+ "null"
409
+ ],
410
+ "description": "A commit and whether its tree held changes, with where it was read.",
411
+ "properties": {
412
+ "commit": {
413
+ "type": [
414
+ "string",
415
+ "null"
416
+ ]
417
+ },
418
+ "dirty": {
419
+ "type": [
420
+ "boolean",
421
+ "null"
422
+ ]
423
+ },
424
+ "tag": {
425
+ "type": "string"
426
+ },
427
+ "from": {
428
+ "type": "string"
429
+ }
430
+ }
431
+ },
432
+ "identity": {
433
+ "type": "object",
434
+ "required": [
435
+ "version",
436
+ "shared"
437
+ ],
438
+ "properties": {
439
+ "version": {
440
+ "const": "cobolwork/v1"
441
+ },
442
+ "shared": {
443
+ "type": "integer",
444
+ "minimum": 0
445
+ }
446
+ }
447
+ },
448
+ "byTransaction": {
449
+ "type": "object",
450
+ "additionalProperties": {
451
+ "type": "integer",
452
+ "minimum": 0
453
+ }
454
+ },
455
+ "byJob": {
456
+ "type": "object",
457
+ "additionalProperties": {
458
+ "type": "integer",
459
+ "minimum": 0
460
+ }
461
+ }
462
+ }
463
+ }
464
+ }
465
+ }
@@ -0,0 +1,211 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://github.com/Portll/cobolwork/schema/cobolwork-gate.schema.json",
4
+ "title": "cobolwork gate verdict",
5
+ "description": "Whether a patch fixes the finding it targets without adding another. docs/spec/remediation-gate.md. A later minor release may add keys; a reader ignores keys it does not know.",
6
+ "type": "object",
7
+ "required": [
8
+ "tool",
9
+ "schemaVersion",
10
+ "verdict",
11
+ "target",
12
+ "outcome",
13
+ "checks",
14
+ "reasons",
15
+ "summary"
16
+ ],
17
+ "properties": {
18
+ "tool": {
19
+ "const": "cobolwork-gate"
20
+ },
21
+ "schemaVersion": {
22
+ "const": 3
23
+ },
24
+ "verdict": {
25
+ "enum": [
26
+ "pass",
27
+ "fail",
28
+ "undecided"
29
+ ]
30
+ },
31
+ "target": {
32
+ "type": "object",
33
+ "description": "The finding the patch is meant to fix.",
34
+ "required": [
35
+ "fingerprint",
36
+ "rule",
37
+ "path",
38
+ "line"
39
+ ],
40
+ "properties": {
41
+ "fingerprint": {
42
+ "type": "string",
43
+ "pattern": "^[0-9a-f]{32}$"
44
+ },
45
+ "rule": {
46
+ "type": "string"
47
+ },
48
+ "sev": {
49
+ "type": "string"
50
+ },
51
+ "evidence": {
52
+ "type": "string"
53
+ },
54
+ "path": {
55
+ "type": "string"
56
+ },
57
+ "line": {
58
+ "type": "integer",
59
+ "minimum": 0
60
+ },
61
+ "program": {
62
+ "type": "string"
63
+ }
64
+ }
65
+ },
66
+ "outcome": {
67
+ "enum": [
68
+ "cleared-by-check",
69
+ "gone-unexplained",
70
+ "lowered-by-check",
71
+ "no-longer-fires",
72
+ "program-removed",
73
+ "source-removed",
74
+ "statement-removed",
75
+ "still-reported"
76
+ ],
77
+ "description": "What became of the target in the patched tree."
78
+ },
79
+ "pairedBy": {
80
+ "type": "string"
81
+ },
82
+ "checks": {
83
+ "type": "object",
84
+ "description": "Each check and its result: true passed, false failed, null undecided.",
85
+ "additionalProperties": {
86
+ "type": [
87
+ "boolean",
88
+ "null"
89
+ ]
90
+ }
91
+ },
92
+ "compiled": {
93
+ "description": "The compile check's record, where one ran."
94
+ },
95
+ "reasons": {
96
+ "type": "array",
97
+ "items": {
98
+ "type": "string"
99
+ }
100
+ },
101
+ "reasonsNotShown": {
102
+ "type": "integer",
103
+ "minimum": 0
104
+ },
105
+ "repositoryText": {
106
+ "type": "array",
107
+ "items": {
108
+ "type": "string"
109
+ },
110
+ "description": "The fields that quote text from the repository."
111
+ },
112
+ "summary": {
113
+ "type": "object",
114
+ "required": [
115
+ "mode",
116
+ "flowModel",
117
+ "toolVersion",
118
+ "coverageIncomplete"
119
+ ],
120
+ "properties": {
121
+ "mode": {
122
+ "enum": [
123
+ "gate",
124
+ "target-only"
125
+ ]
126
+ },
127
+ "flowModel": {
128
+ "type": "string"
129
+ },
130
+ "toolVersion": {
131
+ "type": "string"
132
+ },
133
+ "introduced": {
134
+ "type": "integer",
135
+ "minimum": 0
136
+ },
137
+ "resolved": {
138
+ "type": "integer",
139
+ "minimum": 0
140
+ },
141
+ "changedFiles": {
142
+ "type": "integer",
143
+ "minimum": 0
144
+ },
145
+ "coverageIncomplete": {
146
+ "type": "boolean"
147
+ },
148
+ "base": {
149
+ "type": "string"
150
+ },
151
+ "head": {
152
+ "type": "string"
153
+ },
154
+ "toolRevision": {
155
+ "type": [
156
+ "object",
157
+ "null"
158
+ ],
159
+ "description": "A commit and whether its tree held changes, with where it was read.",
160
+ "properties": {
161
+ "commit": {
162
+ "type": [
163
+ "string",
164
+ "null"
165
+ ]
166
+ },
167
+ "dirty": {
168
+ "type": [
169
+ "boolean",
170
+ "null"
171
+ ]
172
+ },
173
+ "tag": {
174
+ "type": "string"
175
+ },
176
+ "from": {
177
+ "type": "string"
178
+ }
179
+ }
180
+ },
181
+ "revision": {
182
+ "type": [
183
+ "object",
184
+ "null"
185
+ ],
186
+ "description": "A commit and whether its tree held changes, with where it was read.",
187
+ "properties": {
188
+ "commit": {
189
+ "type": [
190
+ "string",
191
+ "null"
192
+ ]
193
+ },
194
+ "dirty": {
195
+ "type": [
196
+ "boolean",
197
+ "null"
198
+ ]
199
+ },
200
+ "tag": {
201
+ "type": "string"
202
+ },
203
+ "from": {
204
+ "type": "string"
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
210
+ }
211
+ }