{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/prisma-cloud-code-security-api-fix-structure.json", "name": "Fix", "description": "Fix schema from Palo Alto Networks Prisma Cloud Code Security API", "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", "description": "Severity of the original finding.", "enum": [ "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFO" ] }, "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", "description": "Start and end line numbers of the code to be replaced.", "items": { "type": "int32" }, "minItems": 2, "maxItems": 2 }, "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", "description": "IaC framework of the affected file.", "enum": [ "Terraform", "CloudFormation", "Kubernetes", "Helm", "Dockerfile", "ARM", "Bicep" ] }, "repositoryId": { "type": "string", "description": "Repository where the fix applies." }, "branch": { "type": "string", "description": "Branch where the fix applies." } } }