2022-09-08 13:28:46 +00:00
|
|
|
id: nexus-detect
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2022-09-08 13:28:46 +00:00
|
|
|
info:
|
|
|
|
name: Nexus Repository Manager (NRM) Instance Detection Template
|
|
|
|
author: righettod
|
|
|
|
severity: info
|
|
|
|
description: Try to detect the presence of a NRM instance via the REST API OpenDocument descriptor
|
|
|
|
tags: tech,nexus
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2022-09-08 13:28:46 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/service/rest/swagger.json"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "Nexus Repository Manager"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2021-06-10 15:20:24 +00:00
|
|
|
- 200
|