Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
chore: add ja3Hash to request.cf.botManagement (#258)
Browse files Browse the repository at this point in the history
Closes #213

Example: https://kian.org.uk/cf.json

```json
"botManagement": {
  "ja3Hash": "2a18e6bf307f97c5e27f0ab407dc65db",
  "staticResource": false,
  "verifiedBot": false,
  "score": 98
},
```

It doesn't appear on all zones with Bot Management, i.e https://workers.cloudflare.com/cf.json, so adding as optional.
  • Loading branch information
KianNH authored Sep 1, 2022
1 parent 9731f04 commit f5015a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions overrides/cf.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ interface IncomingRequestCfProperties {
}

interface IncomingRequestCfPropertiesBotManagement {
ja3Hash?: string;
score: number;
staticResource: boolean;
verifiedBot: boolean;
Expand Down

0 comments on commit f5015a8

Please sign in to comment.