Skip to content

Commit 05c130c

Browse files
authored
Merge pull request #344 from KianNH/patch-1
types: add botManagement.detectionIds to cf.d.ts
2 parents 729f9a4 + 3357154 commit 05c130c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

types/defines/cf.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,10 @@ interface IncomingRequestCfPropertiesBotManagementBase {
369369
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
370370
*/
371371
staticResource: boolean;
372+
/**
373+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
374+
*/
375+
detectionIds: number[];
372376
}
373377

374378
interface IncomingRequestCfPropertiesBotManagement {

0 commit comments

Comments
 (0)