> For the complete documentation index, see [llms.txt](https://docs.halosecurity.com/api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.halosecurity.com/api/events-archive/website-cookie-risk.md).

# website-cookie-risk

### Overview

* **Key:** `website-cookie-risk`
* **Name:** Website Cookie Risk
* **Triggers when:** The risk rating of a cookie changes from low to medium or high

### Fields

### Fields

| Field          | Type    | Description                |
| -------------- | ------- | -------------------------- |
| cookie\_domain | string  | Domain cookie is scoped to |
| cookie\_name   | string  | Name of cookie             |
| cookie\_path   | string  | Path cookie is scoped to   |
| detail         | string  | Name of cookie             |
| host           | string  | Hostname of cookie         |
| risk           | integer | Risk rating                |
| risk\_reason   | string  | Reason for the risk rating |
| scan\_id       | string  | ID of the scan             |
| target\_id     | integer | ID of the target           |

### Example data

```json
{
  "cookie_domain": ".example.com",
  "cookie_name": "_cookiename",
  "cookie_path": "/path/to/",
  "detail": "_cookiename",
  "host": "www.example.com",
  "risk": 2,
  "risk_reason": "'Secure' attribute missing on HTTPS cookie.",
  "scan_id": "202101010000x1Xx2Xx3Xx4Xx5Xx6Xx7",
  "target_id": 123456
}
```
