mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
29 lines
975 B
YAML
29 lines
975 B
YAML
id: splunk-hec-detect
|
|
|
|
info:
|
|
name: Splunk HEC - Detect
|
|
author: idealphase
|
|
severity: info
|
|
description: |
|
|
Splunk HCE (HTTP Event Collector (HEC)) was detected.
|
|
reference:
|
|
- https://dev.splunk.com/enterprise/docs/devtools/httpeventcollector/
|
|
- https://community.splunk.com/t5/Getting-Data-In/How-to-check-if-an-HEC-is-up-or-not-before-posting-any-data-to/td-p/417404
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
tags: tech,splunk,hec,detect,discovery
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/services/collector/health"
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200'
|
|
- 'contains_any(body, "text\":\"HEC is healthy\",\"code")'
|
|
- 'contains(header, "application/json")'
|
|
condition: and
|
|
# digest: 4b0a00483046022100e5b902a966443e148f32c01306f8de291ea5ad566305c61b45b6bb1a039df9b2022100dad72b90a6b11651b17b161c0dee451a0150fb16b278112105ccbbd0a3d45183:922c64590222798bb761d5b6d8e72950 |