GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — commitwork/schema/run-scan.schema.json at main · Portll/commitwork Expand file tree/ Copy pathrun-scan.schema.jsonMore file actions 81 lines (81 loc) · 4.48 KB / Copy pathrun-scan.schema.jsonFile metadata and controls81 lines (81 loc) · 4.48 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Scan run table", "description": "scan.json in a commitwork scan run directory: one row per scanned repository and one cell per check, exactly as cmdScan in bin/commitwork.mjs classified them, so a brief can be rebuilt from the directory later (commitwork brief --from). This schema fixes the envelope, the row and the fields a cell shares. A cell carries further detail depending on how its lane ended (blocked, timedOut and so on); those fields are not frozen here, so further properties are allowed on a cell. Each lane's threat model is stored once under boundaries and referenced from its cells; the model is bin/lib/isolation.mjs's and only its version and state are fixed here.", "type": "object", "additionalProperties": false, "required": ["version", "baseline", "repos"], "properties": { "version": { "const": 1 }, "baseline": { "type": "string", "minLength": 1, "description": "The manifest's repo field: which check set ran." }, "boundaries": { "type": "object", "description": "Present when any cell carries a threat model. Keyed by the sha256 of the model's JSON.", "propertyNames": { "pattern": "^sha256:[0-9a-f]{64}$" }, "additionalProperties": { "type": "object", "required": ["schemaVersion", "state"], "properties": { "schemaVersion": { "type": "integer", "minimum": 1 }, "state": { "type": "string", "minLength": 1 } } } }, "repos": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["repo", "slug", "cells"], "properties": { "repo": { "type": "string", "minLength": 1, "description": "The scanned repository's path." }, "slug": { "type": "string", "minLength": 1, "description": "Its directory name in the run, unique within the run." }, "cells": { "type": "object", "description": "Keyed by check id.", "additionalProperties": { "type": "object", "required": ["sev"], "properties": { "sev": { "enum": ["high", "med", "low", "warn", "ok", "noscan", "skip"], "description": "ok is the only clean value. noscan is a lane that did not produce a usable result, which is neither a pass nor a finding; skip is a lane that did not apply." }, "summary": { "type": "string" }, "blocked": { "type": "boolean" }, "blockedReason": { "type": "string" }, "coverage": { "enum": ["full", "reduced", "unknown"] }, "coverageReason": { "type": ["string", "null"] }, "coverageBasis": { "type": "string", "minLength": 1, "description": "How the coverage value was decided, for example none (full coverage), exit-code, report-absent, per-file (a measured k of n files) or signal (a log pattern with no measured size). Two bases that both reduced coverage are joined with +." }, "isolation": { "type": "string" }, "isolationReason": { "type": "string" }, "timedOut": { "type": "boolean" }, "exit": { "type": "object", "additionalProperties": false, "required": ["code", "outcome", "meaning"], "properties": { "code": { "type": ["integer", "null"] }, "outcome": { "enum": ["measured", "unmeasured", "undeclared", "unrecorded"] }, "meaning": { "type": "string" } }, "description": "Present only on a lane that declares report.exitCodes: the tool's exit code and what the declaration says it means. undeclared is a code the lane does not list; unrecorded is a missing or unreadable exit sidecar, with code null." }, "boundary": { "type": "object", "additionalProperties": false, "required": ["ref", "state", "findingSource"], "properties": { "ref": { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$", "description": "A key of boundaries." }, "state": { "type": "string", "minLength": 1 }, "findingSource": { "type": ["string", "null"] } } } } } } } } } } } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |