> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/action-center/thales-erp/create-tales-erp-vulnerability-task.md).

# Create Tales Erp Vulnerability Task

**Create Tales Erp Vulnerability Task** sends vulnerability information to a Thales ERP server's `PiData.Api.Public/Integration/IsOlustur` endpoint to open tickets. By default it creates one ticket that carries all selected devices. With **Create Individual Tickets** on, it creates a separate ticket for each vulnerability.

To open tickets for devices instead, use [Create Tales Erp Task](broken://pages/d2e12a15f985ffc0d250c8063de1bac645321160). The two jobs share the same ticket fields, except that the device job adds **Assignee Custom Field**.

### Before you begin

* A reachable Thales ERP server and an API username and password.
* Asset type: vulnerability only. Vulnerabilities without an `Id` are skipped (`Id` is the required column).
* The workflow's **Edit Columns** for vulnerabilities must include `Id`. Otherwise the job fails with "Vulnerability asset type requires 'Id' column. Please add it in Edit Columns configuration."
* Each vulnerability sent includes every vulnerability column configured in **Edit Columns**.
* The connection and ticket fields can be pre-filled in [Action Center Settings](broken://pages/6a0273ef77537239e1f4884b763a08e88f31c8b3).

### Settings

| Setting                   | Type        | Required           | Default | Description                                                                           |
| ------------------------- | ----------- | ------------------ | ------- | ------------------------------------------------------------------------------------- |
| URL                       | Text        | Yes (may be blank) | None    | Server address, for example `https://ip_or_domain.com:port`. Do not add the API path. |
| Username                  | Text        | Yes                | None    | API username.                                                                         |
| Password                  | Text        | Yes                | None    | API password. Not marked as sensitive in the form, so it is not masked.               |
| Dashboard                 | Text        | Yes                | None    | The panel the ticket goes to, for example the product's panel.                        |
| Type                      | Text        | Yes                | None    | For example Job or Task.                                                              |
| Impact                    | Text        | Yes                | None    | For example Medium, Critical or Minor.                                                |
| Category                  | Text        | Yes                | None    | For example ITSM.                                                                     |
| Importance (Urgency)      | Text        | Yes                | None    | For example High, Medium or Low.                                                      |
| Priority                  | Text        | Yes                | None    | For example High Priority, Urgent (High) or Low.                                      |
| Cari                      | Text        | Yes                | None    | The customer (account) record, for example `Demo Cari-182`.                           |
| Issue                     | Text        | Yes                | None    | Ticket subject.                                                                       |
| Explanation               | Text        | Yes                | None    | Ticket description. The form hint shows that HTML is accepted.                        |
| Stage                     | Text        | Yes                | None    | The initial stage, for example To Do.                                                 |
| Assignee                  | Text        | No                 | Empty   | Ticket assignee.                                                                      |
| Tags                      | List        | Yes                | None    | Comma separated tags, for example `List, Table`.                                      |
| Custom fields             | Text (JSON) | No                 | `{}`    | JSON merged into the ticket's custom fields. Invalid JSON is ignored at run time.     |
| Create Individual Tickets | Boolean     | No                 | Off     | Create a separate ticket for each vulnerability.                                      |

### How it works

* The ticket starts now and ends 7 days later.
* **Bulk mode (default):** one request carries all vulnerabilities, keyed by `Id`, in the ticket's custom fields. The job only logs the HTTP status it gets back; it does not fail on an error response.
* **Individual mode:** one request per vulnerability. The subject is **Issue** followed by `-` and the `Id`. A repeated `Id` is skipped. A failed request (HTTP 400 or higher, or a connection error) is logged and the job continues. The log ends with a count of created, skipped and failed tickets.
* The assets are passed on unchanged.

### Example

| Setting                   | Value                                 |
| ------------------------- | ------------------------------------- |
| URL                       | `https://erp.example.com:8443`        |
| Username / Password       | `YOUR_API_USER` / `YOUR_API_PASSWORD` |
| Issue                     | Critical vulnerabilities              |
| Tags                      | `octoxlabs, vulnerabilities`          |
| Create Individual Tickets | On                                    |

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Create Tales Erp Task</strong></td><td>The same ticket job for devices.</td><td><a href="broken://pages/d2e12a15f985ffc0d250c8063de1bac645321160">Broken link</a></td></tr><tr><td><strong>Action Center Settings</strong></td><td>Save connection defaults for jobs.</td><td><a href="broken://pages/6a0273ef77537239e1f4884b763a08e88f31c8b3">Broken link</a></td></tr><tr><td><strong>About Action Center</strong></td><td>Workflows, triggers, conditions and job nodes.</td><td><a href="broken://pages/e4b36c32cc6fc55cb0a8683dd14664d72229fbbb">Broken link</a></td></tr></tbody></table>
