34 lines
810 B
YAML
34 lines
810 B
YAML
id: kong-detect
|
|
|
|
info:
|
|
name: Detect Kong
|
|
author: geeknik,joshlarsen
|
|
severity: info
|
|
description: The Cloud-Native API Gateway
|
|
reference:
|
|
- https://github.com/Kong/kong
|
|
metadata:
|
|
max-request: 1
|
|
tags: tech,kong
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "server: kong"
|
|
- "x-kong-response-latency"
|
|
- "x-kong-upstream-latency"
|
|
- "x-kong-proxy-latency"
|
|
condition: or
|
|
case-insensitive: true
|
|
|
|
extractors:
|
|
- type: kval
|
|
kval:
|
|
- server
|
|
# digest: 4b0a004830460221008892006c7fa2169c38b7c078d43aba8f296b947ef9ea53f6c1d05172ed4f76b5022100a713286f70f75abe1fc675679eb5c7dcb9f01d194ff09de089ab21c55f843a6e:922c64590222798bb761d5b6d8e72950 |