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