# issue-add-first-scan

### Overview

* **Key:** `issue-add-first-scan`
* **Name:** Issue Found (First Scan)
* **Triggers when:** An issue is detected on a target during it's first scan

### Fields

| Field              | Type    | Description                                                     |
| ------------------ | ------- | --------------------------------------------------------------- |
| scan\_id           | string  | The ID of the scan (`202101010000x1Xx2Xx3Xx4Xx5Xx6Xx7`)         |
| target\_id         | integer | The ID of the target (`123456`)                                 |
| target             | string  | The hostname or IP of the target (`127.0.0.1` or `example.com`) |
| issue\_id          | integer | ID of the issue that was discovered (`1088206`)                 |
| issue\_description | string  | Description of the issue that was discovered                    |
| issue\_url         | string  | URL to access the issue                                         |

### Example data

```json
{
  "scan_id": "202101010000x1Xx2Xx3Xx4Xx5Xx6Xx7",
  "target_id": 123456,
  "target": "example.com",
  "issue_id": 1088206,
  "issue_description": "The firewall is exposing a service to the public that may be unnecessary.",
  "issue_url": "https://www.halosecurity.com/secruity/issue?id=145145"
}
```
