Merge pull request #1674 from righettod/feature_add_nexus_tpl
Add Nexus Repository Manager instance detectionpatch-1
commit
733ae60100
|
@ -0,0 +1,23 @@
|
|||
id: nexus-detect
|
||||
|
||||
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
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/service/rest/swagger.json"
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- "Nexus Repository Manager"
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue