Create error-logs.yaml

Generic check for miscellaneous error logs laying about.
patch-1
Geeknik Labs 2020-09-01 16:53:55 +00:00 committed by GitHub
parent b1f2a9ebe8
commit 3753bb4512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 43 additions and 0 deletions

43
files/error-logs.yaml Normal file
View File

@ -0,0 +1,43 @@
id: error-logs
info:
name: error logs
author: geeknik
severity: info
requests:
- method: GET
path:
- "{{BaseURL}}/logs/error.log"
- "{{BaseURL}}/logs/errors.log"
- "{{BaseURL}}/log/error.log"
- "{{BaseURL}}/log/errors.log"
- "{{BaseURL}}/errors/errors.log"
- "{{BaseURL}}/error/error.log"
- "{{BaseURL}}/errors.log"
- "{{BaseURL}}/error.log"
- "{{BaseURL}}/error.txt"
- "{{BaseURL}}/errors.txt"
- "{{BaseURL}}/admin/logs/error.log"
- "{{BaseURL}}/admin/logs/errors.log"
- "{{BaseURL}}/admin/log/error.log"
- "{{BaseURL}}/admin/logs/errors.log"
- "{{BaseURL}}/admin/error.log"
- "{{BaseURL}}/admin/errors.log"
matchers-condition: and
matchers:
- type: word
words:
- "Segmentation Fault"
- "coredump"
- "script headers"
- "Broken pipe"
- type: word
words:
- text/plain
part: header
- type: status
status:
- 200