changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "Finding": {
+ "description": "A single redacted secret finding.",
+ "properties": {
+ "file": {
+ "title": "File",
+ "type": "string"
+ },
+ "line": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Line"
+ },
+ "redacted_match": {
+ "title": "Redacted Match",
+ "type": "string"
+ },
+ "severity": {
+ "$ref": "#/$defs/Severity"
+ },
+ "type": {
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "file",
+ "type",
+ "severity",
+ "redacted_match"
+ ],
+ "title": "Finding",
+ "type": "object"
+ },
+ "ScanSummary": {
+ "description": "Aggregate counts from a completed scan.",
+ "properties": {
+ "by_severity": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "propertyNames": {
+ "$ref": "#/$defs/Severity"
+ },
+ "title": "By Severity",
+ "type": "object"
+ },
+ "by_type": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "title": "By Type",
+ "type": "object"
+ },
+ "total_findings": {
+ "title": "Total Findings",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "total_findings",
+ "by_severity",
+ "by_type"
+ ],
+ "title": "ScanSummary",
+ "type": "object"
+ },
+ "Severity": {
+ "enum": [
+ "info",
+ "low",
+ "medium",
+ "high",
+ "critical"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "Usage": {
+ "description": "Token-usage accounting block.",
+ "properties": {
+ "savings_pct": {
+ "title": "Savings Pct",
+ "type": "number"
+ },
+ "tokens_in_estimate": {
+ "title": "Tokens In Estimate",
+ "type": "integer"
+ },
+ "tokens_out_actual": {
+ "title": "Tokens Out Actual",
+ "type": "integer"
+ },
+ "tokens_saved_estimate": {
+ "title": "Tokens Saved Estimate",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "tokens_in_estimate",
+ "tokens_out_actual",
+ "tokens_saved_estimate",
+ "savings_pct"
+ ],
+ "title": "Usage",
+ "type": "object"
+ }
+ },
+ "description": "Full result returned by every scan_* tool.",
+ "properties": {
+ "ai_analysis_status": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Ai Analysis Status"
+ },
+ "findings": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/Finding"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Findings"
+ },
+ "next_cursor": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Next Cursor"
+ },
+ "report_uuid": {
+ "title": "Report Uuid",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "running",
+ "complete",
+ "failed"
+ ],
+ "title": "Status",
+ "type": "string"
+ },
+ "summary": {
+ "$ref": "#/$defs/ScanSummary"
+ },
+ "usage": {
+ "$ref": "#/$defs/Usage"
+ }
+ },
+ "required": [
+ "report_uuid",
+ "status",
+ "summary",
+ "usage"
+ ],
+ "title": "ScanResult",
+ "type": "object"
+}