{
  "id": "http_cookie",
  "kind": "datatype",
  "status": "draft",
  "name": "HTTP Cookie header value",
  "doc": "Value of the HTTP Cookie request header: one or more cookie-name=cookie-value pairs separated by a semicolon and a space, as RFC 6265 defines it. Cookies often carry session identifiers, so the value can grant access to an account.",
  "is_pii": false,
  "categories": [
    "internet",
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^[!#$%&'*+.^_`|~0-9A-Za-z-]+=(?:\"[\\x21\\x23-\\x2B\\x2D-\\x3A\\x3C-\\x5B\\x5D-\\x7E]*\"|[\\x21\\x23-\\x2B\\x2D-\\x3A\\x3C-\\x5B\\x5D-\\x7E]*)(?:; [!#$%&'*+.^_`|~0-9A-Za-z-]+=(?:\"[\\x21\\x23-\\x2B\\x2D-\\x3A\\x3C-\\x5B\\x5D-\\x7E]*\"|[\\x21\\x23-\\x2B\\x2D-\\x3A\\x3C-\\x5B\\x5D-\\x7E]*))*$",
  "examples": [
    {
      "value": "SID=31d4d96e407aad42; lang=en-US",
      "description": "Example from RFC 6265",
      "valid": true
    },
    {
      "value": "SID=31d4d96e407aad42;lang=en-US",
      "description": "No space after the semicolon",
      "valid": false
    }
  ],
  "mappings": {
    "misp": "cookie"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc6265#section-4.2.1"
    }
  ],
  "detected_by": {
    "tools": [
      "datadogsds"
    ]
  },
  "quality": {
    "score": 88,
    "missing": [
      "second example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/internet/http_cookie.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/internet/http_cookie.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/http_cookie.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/http_cookie",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/http_cookie.json"
  }
}