2020-10-12 14:13:21 +00:00
|
|
|
id: kong-detect
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2020-10-12 14:13:21 +00:00
|
|
|
info:
|
|
|
|
name: Detect Kong
|
2022-05-16 16:06:55 +00:00
|
|
|
author: geeknik,joshlarsen
|
2020-10-12 14:13:21 +00:00
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
description: The Cloud-Native API Gateway
|
|
|
|
reference:
|
|
|
|
- https://github.com/Kong/kong
|
2021-09-09 13:38:13 +00:00
|
|
|
tags: tech,kong
|
2020-10-12 14:13:21 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2021-01-13 07:31:46 +00:00
|
|
|
- "{{BaseURL}}"
|
2020-10-12 14:13:21 +00:00
|
|
|
|
|
|
|
matchers:
|
2022-05-16 16:06:55 +00:00
|
|
|
- type: word
|
2020-10-12 14:13:21 +00:00
|
|
|
part: header
|
2022-05-16 16:06:55 +00:00
|
|
|
words:
|
|
|
|
- "server: kong"
|
|
|
|
- "x-kong-response-latency"
|
2022-05-16 18:05:31 +00:00
|
|
|
- "x-kong-upstream-latency"
|
2022-05-16 16:06:55 +00:00
|
|
|
- "x-kong-proxy-latency"
|
|
|
|
condition: or
|
|
|
|
case-insensitive: true
|
2020-10-12 14:13:21 +00:00
|
|
|
|
|
|
|
extractors:
|
2021-05-04 23:23:33 +00:00
|
|
|
- type: kval
|
|
|
|
kval:
|
2022-05-16 18:05:31 +00:00
|
|
|
- server
|