{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Fix", "description": "Fix schema from Palo Alto Networks Prisma Cloud Code Security API", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/prisma-cloud-code-security-api-fix-schema.json", "type": "object", "properties": { "fixId": { "type": "string", "description": "Unique fix suggestion identifier." }, "policyId": { "type": "string", "description": "Checkov policy ID associated with the fix." }, "policyName": { "type": "string", "description": "Human-readable policy name." }, "severity": { "type": "string", "enum": [ "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFO" ], "description": "Severity of the original finding." }, "resourceName": { "type": "string", "description": "IaC resource name where the fix applies." }, "filePath": { "type": "string", "description": "Relative path to the file requiring the fix." }, "lineRange": { "type": "array", "items": { "type": "integer" }, "minItems": 2, "maxItems": 2, "description": "Start and end line numbers of the code to be replaced." }, "originalCode": { "type": "string", "description": "Original code snippet that contains the misconfiguration." }, "suggestedCode": { "type": "string", "description": "Suggested replacement code that resolves the misconfiguration." }, "framework": { "type": "string", "enum": [ "Terraform", "CloudFormation", "Kubernetes", "Helm", "Dockerfile", "ARM", "Bicep" ], "description": "IaC framework of the affected file." }, "repositoryId": { "type": "string", "description": "Repository where the fix applies." }, "branch": { "type": "string", "description": "Branch where the fix applies." } } }