2021-11-16 08:13:49 +00:00
|
|
|
id: jira-serverinfo
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Jira Rest API Server Information
|
|
|
|
author: pdteam
|
|
|
|
severity: info
|
|
|
|
tags: jira,tech
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/rest/api/latest/serverInfo"
|
|
|
|
|
2021-11-17 09:30:48 +00:00
|
|
|
matchers-condition: and
|
2021-11-16 08:13:49 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
2021-11-17 09:30:33 +00:00
|
|
|
part: body
|
2021-11-16 08:13:49 +00:00
|
|
|
words:
|
|
|
|
- '"baseUrl"'
|
|
|
|
- '"deploymentType"'
|
|
|
|
condition: and
|
|
|
|
|
2021-11-17 09:30:33 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
2021-11-16 08:13:49 +00:00
|
|
|
extractors:
|
|
|
|
- type: json
|
|
|
|
json:
|
|
|
|
- ".baseUrl"
|
2021-11-17 09:30:33 +00:00
|
|
|
- ".version"
|