{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/in-toto/go-witness/attestation/secretscan/attestor",
"$ref": "#/$defs/Attestor",
"$defs": {
"Attestor": {
"properties": {
"findings": {
"items": {
"$ref": "#/$defs/Finding"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"findings"
]
},
"DigestSet": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"Finding": {
"properties": {
"ruleId": {
"type": "string"
},
"description": {
"type": "string"
},
"location": {
"type": "string"
},
"startLine": {
"type": "integer"
},
"secret": {
"$ref": "#/$defs/DigestSet"
},
"match": {
"type": "string"
},
"entropy": {
"type": "number"
},
"encodingPath": {
"items": {
"type": "string"
},
"type": "array"
},
"locationApproximate": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"ruleId",
"description",
"location",
"startLine"
]
}
}
}