{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-submit-actions-request-schema.json", "title": "SubmitActionsRequest", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/palo-alto-networks-errors-api-openapi.yml#/components/schemas/SubmitActionsRequest", "additionalProperties": false, "properties": { "cvesToSuppress": { "items": { "$ref": "#/$defs/CICDCve" }, "type": "array" }, "metadata": { "$ref": "#/$defs/SubmitActionsMetadata" }, "sourceType": { "type": "string" }, "type": { "$ref": "#/$defs/SubmitActionsType" }, "violationsToFix": { "items": { "anyOf": [ { "$ref": "#/$defs/CICDViolation" }, { "$ref": "#/$defs/DefaultBranchViolationToFix" }, { "$ref": "#/$defs/VulnerabilityToFix" } ] }, "type": "array" }, "violationsToSuppress": { "items": { "anyOf": [ { "$ref": "#/$defs/CICDViolation" }, { "$ref": "#/$defs/CvesAccountsViolationToSuppress" }, { "$ref": "#/$defs/ResourceViolationToSuppress" }, { "$ref": "#/$defs/TagsViolationToSuppress" }, { "$ref": "#/$defs/SourcesViolationToSuppress" }, { "$ref": "#/$defs/BaseViolationToSuppress" }, { "$ref": "#/$defs/CvesViolationToSuppress" }, { "$ref": "#/$defs/LicenseTypeSuppress" }, { "$ref": "#/$defs/PackageLicenseSuppress" }, { "$ref": "#/$defs/CICDLicenseToSuppress" }, { "$ref": "#/$defs/OrganizationAndPolicyToSuppress" } ] }, "type": "array" } }, "required": [ "type", "violationsToFix", "violationsToSuppress" ], "type": "object", "$defs": { "BaseViolationToSuppress": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "suppressionType": { "type": "string" }, "violationId": { "type": "string" } }, "required": [ "violationId", "suppressionType", "comment" ], "type": "object" }, "CICDCve": { "additionalProperties": false, "properties": { "CICDRunId": { "format": "double", "type": "number" }, "bulkSuppression": { "type": "boolean" }, "id": { "type": "string" }, "justification": { "$ref": "#/$defs/Justification" }, "repository": { "type": "string" }, "resourceId": { "type": "string" }, "violationId": { "type": "string" } }, "required": [ "id", "violationId", "resourceId", "CICDRunId", "repository" ], "type": "object" }, "CICDLicenseToSuppress": { "additionalProperties": false, "properties": { "bulkSuppression": { "type": "boolean" }, "causePackageId": { "type": "string" }, "fileId": { "type": "string" }, "justification": { "$ref": "#/$defs/Justification" }, "license": { "type": "string" }, "repository": { "type": "string" }, "rootPackageId": { "type": "string" }, "run": { "format": "double", "type": "number" }, "violationId": { "type": "string" } }, "required": [ "violationId", "justification", "causePackageId", "rootPackageId", "license", "run", "bulkSuppression", "repository", "fileId" ], "type": "object" }, "CICDViolation": { "additionalProperties": false, "properties": { "CICDRunId": { "format": "double", "type": "number" }, "bulkSuppression": { "type": "boolean" }, "commentIds": { "items": { "type": "string" }, "type": "array" }, "creationDate": { "type": "string" }, "errorLines": { "items": { "format": "double", "type": "number" }, "type": "array" }, "frameworkType": { "type": "string" }, "justification": { "$ref": "#/$defs/Justification" }, "justificationId": { "type": [ "string", "null" ] }, "metadataChecksMetadataPath": { "type": "string" }, "metadataLines": { "items": { "format": "double", "type": "number" }, "type": "array" }, "repository": { "type": "string" }, "resourceId": { "type": "string" }, "runtimeId": { "type": [ "string", "null" ] }, "runtimeSourceId": { "type": [ "string", "null" ] }, "s3FilePath": { "type": "string" }, "s3FixFilePath": { "type": [ "string", "null" ] }, "severity": { "type": "string" }, "status": { "type": "string" }, "updatedDate": { "type": "string" }, "vcsCommentLine": { "type": [ "string", "null" ] }, "violationId": { "type": "string" } }, "required": [ "metadataChecksMetadataPath", "metadataLines", "violationId", "resourceId", "frameworkType", "s3FilePath", "CICDRunId", "justificationId", "status", "repository", "s3FixFilePath", "creationDate", "updatedDate", "commentIds", "vcsCommentLine", "errorLines", "severity" ], "type": "object" }, "CvesAccountsViolationToSuppress": { "additionalProperties": false, "properties": { "accountIds": { "items": { "type": "string" }, "type": "array" }, "comment": { "type": "string" }, "cves": { "items": { "type": "string" }, "type": "array" }, "expirationTime": { "format": "double", "type": "number" }, "suppressionType": { "type": "string" }, "violationId": { "type": "string" } }, "required": [ "violationId", "suppressionType", "comment", "accountIds", "cves" ], "type": "object" }, "CvesViolationToSuppress": { "additionalProperties": false, "properties": { "accountIds": { "items": { "type": "string" }, "type": "array" }, "comment": { "type": "string" }, "cves": { "items": { "properties": { "cve": { "type": "string" }, "id": { "type": "string" }, "uuid": { "type": "string" } }, "required": [ "uuid", "id", "cve" ], "type": "object" }, "type": "array" }, "expirationTime": { "format": "double", "type": "number" }, "suppressionType": { "type": "string" }, "violationId": { "type": "string" } }, "required": [ "violationId", "suppressionType", "comment", "cves" ], "type": "object" }, "DefaultBranchViolationToFix": { "additionalProperties": false, "properties": { "errorLines": { "items": { "format": "double", "type": "number" }, "type": "array" }, "fixPath": { "type": [ "string", "null" ] }, "fixedCode": { "type": [ "string", "null" ] }, "fixes": { "items": { "$ref": "#/$defs/SmartFix" }, "type": "array" }, "frameworkType": { "type": "string" }, "fullId": { "type": "string" }, "inspectedKey": { "type": [ "string", "null" ] }, "metadataChecksMetadataPath": { "type": "string" }, "metadataLines": { "items": { "format": "double", "type": "number" }, "type": "array" }, "owner": { "type": "string" }, "repoName": { "type": "string" }, "resourceCode": { "type": [ "string", "null" ] }, "resourceId": { "type": "string" }, "runtimeId": { "type": [ "string", "null" ] }, "runtimeSourceId": { "type": [ "string", "null" ] }, "s3FilePath": { "type": "string" }, "selectedFix": { "type": [ "string", "null" ] }, "violationId": { "type": "string" } }, "required": [ "metadataChecksMetadataPath", "metadataLines", "violationId", "resourceId", "frameworkType", "s3FilePath", "owner", "repoName", "fullId" ], "type": "object" }, "Justification": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "createdBy": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" } }, "required": [ "comment", "createdBy" ], "type": "object" }, "LicenseTypeSuppress": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "licenseTypes": { "items": { "type": "string" }, "type": "array" }, "suppressionType": { "type": "string" }, "violationId": { "type": "string" } }, "required": [ "violationId", "suppressionType", "comment", "licenseTypes" ], "type": "object" }, "OrganizationAndPolicyToSuppress": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "organizationId": { "type": "string" }, "suppressionType": { "type": "string" }, "violationId": { "type": "string" } }, "required": [ "violationId", "suppressionType", "comment", "organizationId" ], "type": "object" }, "PackageLicenseSuppress": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "packages": { "items": { "type": "string" }, "type": "array" }, "suppressByRoot": { "type": "boolean" }, "suppressionType": { "type": "string" }, "violationId": { "type": "string" } }, "required": [ "violationId", "suppressionType", "comment", "packages", "suppressByRoot" ], "type": "object" }, "ResourceToSuppress": { "additionalProperties": false, "properties": { "accountId": { "type": "string" }, "id": { "type": "string" } }, "required": [ "id", "accountId" ], "type": "object" }, "ResourceViolationToSuppress": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "resources": { "items": { "$ref": "#/$defs/ResourceToSuppress" }, "type": "array" }, "suppressionType": { "type": "string" }, "violationId": { "type": "string" } }, "required": [ "violationId", "suppressionType", "comment", "resources" ], "type": "object" }, "SmartFix": { "additionalProperties": false, "properties": { "code": { "type": "string" }, "fixedCode": { "type": "string" }, "id": { "type": "string" }, "inspectedKey": { "type": "string" }, "percent": { "format": "double", "type": "number" }, "recommenderType": { "type": "string" }, "times": { "format": "double", "type": "number" } }, "required": [ "id", "times", "percent", "inspectedKey", "recommenderType" ], "type": "object" }, "SourcesViolationToSuppress": { "additionalProperties": false, "properties": { "accountIds": { "items": { "type": "string" }, "type": "array" }, "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "suppressionType": { "type": "string" }, "violationId": { "type": "string" } }, "required": [ "violationId", "suppressionType", "comment", "accountIds" ], "type": "object" }, "SubmitActionsMetadata": { "additionalProperties": false, "properties": { "owner": { "type": "string" }, "pr": { "type": "string" }, "repoName": { "type": "string" }, "runNumber": { "format": "double", "type": "number" }, "sourceBranchName": { "type": "string" } }, "required": [ "owner", "repoName", "runNumber" ], "type": "object" }, "SubmitActionsType": { "enum": [ "default", "pr" ], "type": "string" }, "TagsViolationToSuppress": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "suppressionType": { "type": "string" }, "tags": { "items": { "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "value", "key" ], "type": "object" }, "type": "array" }, "violationId": { "type": "string" } }, "required": [ "violationId", "suppressionType", "comment", "tags" ], "type": "object" }, "VulnerabilityToFix": { "additionalProperties": false, "properties": { "frameworkType": { "type": "string" }, "id": { "type": "string" }, "owner": { "type": "string" }, "packageName": { "type": "string" }, "packageVersion": { "type": "string" }, "repoName": { "type": "string" }, "resourceId": { "type": "string" }, "s3FilePath": { "type": "string" }, "violationId": { "type": "string" } }, "required": [ "violationId", "resourceId", "frameworkType", "s3FilePath", "owner", "repoName", "packageName", "packageVersion" ], "type": "object" } } }