From 69bfe4a5b6584ec91a70877b249cefd3f3014ec0 Mon Sep 17 00:00:00 2001 From: Dan D'Avella Date: Wed, 4 Dec 2024 09:16:35 -0500 Subject: [PATCH] Add `fixedFIndings` at changeset level (#42) * Add fixedFindings field to ChangeSet * Change change.findings => fixedFindings * Clarify description of changeset.fixedFindings --- codetf.schema.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/codetf.schema.json b/codetf.schema.json index c7dfc48..107bcab 100644 --- a/codetf.schema.json +++ b/codetf.schema.json @@ -180,6 +180,11 @@ "provisional": { "type": "boolean", "description": "Indicates that the fix is provisional" + }, + "fixedFindings": { + "type": "array", + "description": "List of findings that were fixed by this changeset. Used for findings that can't be attached to a specific change.", + "items": { "$ref": "#/definitions/detector/fixedFinding" } } }, "required": ["path", "diff", "changes"] @@ -211,7 +216,7 @@ "description": "The package actions that were needed to support changes to the file", "items": { "$ref": "#/definitions/packageAction" } }, - "findings": { + "fixedFindings": { "type": "array", "description": "List of findings that were fixed at this location", "items": { "$ref": "#/definitions/detector/fixedFinding" }