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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-11-16 08:13:49 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-16 08:13:49 +00:00
|
|
|
- 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"
|