> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsiam-api/compliance-controls/import.md).

# Import

Operations for standard import

## Upload ZIP file and start async import (v2)

> \*\*Not yet implemented.\*\*\
> \
> Uploads a ZIP file containing one or more standards in the normalized subfolder format\
> and starts an asynchronous import job.\
> \
> \*\*Limits:\*\* Max ZIP size 50 MB.\
> \
> Requires \`platform\_compliance\_edit\` permission.\
> \
> \
> \*\*Required license:\*\* Cortex Cloud Runtime Security or Cortex Cloud Posture Management

```json
{"openapi":"3.0.3","info":{"title":"Compliance Controls API","version":"Cortex XSIAM 3.5"},"tags":[{"name":"Import","description":"Operations for  standard import"}],"servers":[{"url":"https://{tenant}.xdr.{region}.paloaltonetworks.com","description":"Cortex tenant","variables":{"tenant":{"default":"api","description":"Tenant-specific subdomain"},"region":{"default":"us","description":"Deployment region","enum":["us","eu","uk","sg","jp","ca","au","in","gov"]}}}],"security":[{"XDRAuth":[],"XDRAuthToken":[]}],"components":{"securitySchemes":{"XDRAuth":{"type":"apiKey","in":"header","name":"x-xdr-auth-id","description":"API Key ID for authentication"}},"schemas":{"ImportJobResponse":{"type":"object","required":["job_id","status","created_at"],"properties":{"job_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["pending"]},"created_at":{"type":"string","format":"date-time"}}},"Error":{"type":"object","properties":{"reply":{"type":"object","properties":{"err_code":{"type":"integer","description":"Error code"},"err_msg":{"type":"string","description":"Error message"},"err_extra":{"type":"object","description":"Additional error details"}}}}}},"responses":{"BadRequest":{"description":"Bad request - invalid input parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/public_api/v2/compliance/standards/import":{"post":{"operationId":"papiImportStandards","summary":"Upload ZIP file and start async import (v2)","description":"**Not yet implemented.**\n\nUploads a ZIP file containing one or more standards in the normalized subfolder format\nand starts an asynchronous import job.\n\n**Limits:** Max ZIP size 50 MB.\n\nRequires `platform_compliance_edit` permission.\n\n\n**Required license:** Cortex Cloud Runtime Security or Cortex Cloud Posture Management","tags":["Import"],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"ZIP file containing standards in normalized subfolder format (max 50 MB)"}}}}},"description":"Payload for upload zip file and start async import"},"responses":{"202":{"description":"Import job accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportJobResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"}}}}}}
```

## Poll import job status (v2)

> \*\*Not yet implemented.\*\*\
> \
> Returns the current status of an import job.\
> \
> Status values: \`pending\`, \`processing\`, \`completed\`, \`failed\`.\
> \
> Requires \`platform\_compliance\_view\` permission.\
> \
> \
> \*\*Required license:\*\* Cortex Cloud Runtime Security or Cortex Cloud Posture Management

```json
{"openapi":"3.0.3","info":{"title":"Compliance Controls API","version":"Cortex XSIAM 3.5"},"tags":[{"name":"Import","description":"Operations for  standard import"}],"servers":[{"url":"https://{tenant}.xdr.{region}.paloaltonetworks.com","description":"Cortex tenant","variables":{"tenant":{"default":"api","description":"Tenant-specific subdomain"},"region":{"default":"us","description":"Deployment region","enum":["us","eu","uk","sg","jp","ca","au","in","gov"]}}}],"security":[{"XDRAuth":[],"XDRAuthToken":[]}],"components":{"securitySchemes":{"XDRAuth":{"type":"apiKey","in":"header","name":"x-xdr-auth-id","description":"API Key ID for authentication"}},"schemas":{"ImportStatusResponse":{"type":"object","required":["job_id","status","created_at"],"properties":{"job_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["pending","processing","completed","failed"]},"created_at":{"type":"string","format":"date-time"},"completed_at":{"type":"string","format":"date-time","nullable":true},"total_standards":{"type":"integer"},"processed_standards":{"type":"integer"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ImportStandardResult"}}}},"ImportStandardResult":{"type":"object","required":["folder","standard_name","status"],"properties":{"folder":{"type":"string"},"standard_name":{"type":"string"},"status":{"type":"string","enum":["success","failed"]},"standard_id":{"type":"string","format":"uuid"},"categories_created":{"type":"integer"},"controls_created":{"type":"integer"},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}},"Error":{"type":"object","properties":{"reply":{"type":"object","properties":{"err_code":{"type":"integer","description":"Error code"},"err_msg":{"type":"string","description":"Error message"},"err_extra":{"type":"object","description":"Additional error details"}}}}}},"responses":{"NotFound":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/public_api/v2/compliance/standards/import/{job_id}":{"get":{"operationId":"papiGetImportStatus","summary":"Poll import job status (v2)","description":"**Not yet implemented.**\n\nReturns the current status of an import job.\n\nStatus values: `pending`, `processing`, `completed`, `failed`.\n\nRequires `platform_compliance_view` permission.\n\n\n**Required license:** Cortex Cloud Runtime Security or Cortex Cloud Posture Management","tags":["Import"],"responses":{"200":{"description":"Import job status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportStatusResponse"}}}},"404":{"$ref":"#/components/responses/NotFound"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/xsiam-api/compliance-controls/import.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
