Merge pull request #1674 from righettod/feature_add_nexus_tpl

Add Nexus Repository Manager instance detection
patch-1
Sandeep Singh 2021-06-10 20:52:42 +05:30 committed by GitHub
commit 733ae60100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

View File

@ -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