Create springboot-liquidbase.yaml
parent
c7b4988269
commit
5e708e14d3
|
@ -0,0 +1,39 @@
|
||||||
|
id: springboot-liquidbase
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Springboot Liquidbase API
|
||||||
|
author: ELSFA7110
|
||||||
|
severity: low
|
||||||
|
description: This liquibase endpoint provides information about database changes
|
||||||
|
reference:
|
||||||
|
- https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#liquibase
|
||||||
|
metadata:
|
||||||
|
verified: true
|
||||||
|
tags: misconfig,springboot,exposure,liquibase
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "{{BaseURL}}/liquibase"
|
||||||
|
- "{{BaseURL}}/actuator/liquibase"
|
||||||
|
|
||||||
|
stop-at-first-match: true
|
||||||
|
matchers-condition: and
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
part: body
|
||||||
|
words:
|
||||||
|
- "liquibase"
|
||||||
|
|
||||||
|
- type: word
|
||||||
|
part: header
|
||||||
|
words:
|
||||||
|
- "application/json"
|
||||||
|
- "application/vnd.spring-boot.actuator"
|
||||||
|
- "application/vnd.spring-boot.actuator.v1+json"
|
||||||
|
- "application/vnd.spring-boot.actuator.v2+json"
|
||||||
|
condition: or
|
||||||
|
|
||||||
|
- type: status
|
||||||
|
status:
|
||||||
|
- 200
|
Loading…
Reference in New Issue