Skip to content

Commit

Permalink
Add fixedFIndings at changeset level (#42)
Browse files Browse the repository at this point in the history
* Add fixedFindings field to ChangeSet

* Change change.findings => fixedFindings

* Clarify description of changeset.fixedFindings
  • Loading branch information
drdavella authored Dec 4, 2024
1 parent 9298576 commit 69bfe4a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion codetf.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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" }
Expand Down

0 comments on commit 69bfe4a

Please sign in to comment.