Merge pull request #9827 from icarot/main

Create sparklighter-detect.yaml
patch-4
pussycat0x 2024-06-04 22:57:47 +05:30 committed by GitHub
commit f5f19d32dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
id: sparklighter-detect
info:
name: Spark Lighter Detection
author: icarot
severity: info
description: |
Detects a Spark Lighter server, a REST API for Apache Spark on K8S or YARN.
classification:
cpe: cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: apache
product: spark
category: productivity
tags: tech,lighter,spark,detect
http:
- method: GET
path:
- "{{BaseURL}}/lighter/api"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<title>Lighter</title>'
- '/lighter/favicon.svg'
condition: and
- type: status
status:
- 200