Create portainer-init-deploy.yaml

patch-1
Prince Chaddha 2021-05-27 03:01:41 +05:30 committed by GitHub
parent 53e9faff63
commit 614bef9509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: portainer-init-deploy
info:
name: Portainer Init Deploy
author: princechaddha
severity: high
tags: portainer,exposure,docker,devops
reference: https://documentation.portainer.io/v2.0/deploy/initial/
requests:
- method: GET
path:
- "{{BaseURL}}/api/users/admin/check"
matchers-condition: and
matchers:
- type: word
words:
- "No administrator account found inside the database"
- type: word
words:
- "application/json"
part: header
- type: status
status:
- 404