Create springboot-liquidbase.yaml

patch-1
Dhiyaneshwaran 2022-08-23 10:00:25 +05:30 committed by GitHub
parent c7b4988269
commit 5e708e14d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 39 additions and 0 deletions

View File

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