> 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/cortex-xsiam-developer-guide/cortex-xsiam-development-guide/lists.md).

# Lists

Cortex XSIAM steps for creating and packaging lists.

After creating a list in Cortex XSIAM, you can download it and add it to your content pack.

1. In Cortex XSIAM, when viewing a list, click the more options icon (three vertical dots) to **Download list**.
2. Add `list-` to the beginning of the file name and change the file extension to `.json`. For example, for a JSON list, rename the file `list-mylistname.json`.
3. Edit the file to change the `id` field to be identical to the `name` field. and edit the value in the `version` field to `-1` to prevent user changes.

   Your JSON file should include the following:

   ```programlisting
   id: <name of your list>
   version: -1
   name: <name of your list>
   ```
4. Save your list in the lists directory: `Packs/<pack_name>/Lists/`.

{% hint style="info" %}

### Note

If you download the list via the `demisto-sdk download` command, you do not need to change the file extension, as it downloads as `mylist.json`.
{% endhint %}

The following is an example of a list-checked\_integrations.json file.

```programlisting
    {
        "allRead": false,
        "allReadWrite": false,
        "data": "Cylance Protect v2_instance_1,Core REST API_instance_1,Image OCR_default_instance,McAfee ESM v2_instance_1,Microsoft Defender Advanced Threat Protection_instance_2,Rasterize_default_instance,Trend Micro Deep Security_instance_1,Where is the egg?_default_instance,d2,fcm_default_instance,vt,ad-login,ad-query,splunk",
        "dbotCreatedBy": "",
        "description": "",
        "fromVersion": "6.5.0",
        "hasRole": false,
        "id": "checked integrations",
        "itemVersion": "",
        "locked": false,
        "name": "checked integrations",
        "nameLocked": false,
        "packID": "",
        "previousAllRead": false,
        "previousAllReadWrite": false,
        "previousRoles": [],
        "roles": [],
        "system": false,
        "tags": null,
        "toVersion": "",
        "truncated": false,
        "type": "plain_text",
        "version": -1
    }
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsiam-developer-guide/cortex-xsiam-development-guide/lists.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
