From 3753bb451243277bf11550b2d1dede1ed4eecf0d Mon Sep 17 00:00:00 2001 From: Geeknik Labs <466878+geeknik@users.noreply.github.com> Date: Tue, 1 Sep 2020 16:53:55 +0000 Subject: [PATCH 1/2] Create error-logs.yaml Generic check for miscellaneous error logs laying about. --- files/error-logs.yaml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 files/error-logs.yaml diff --git a/files/error-logs.yaml b/files/error-logs.yaml new file mode 100644 index 0000000000..e57a24a082 --- /dev/null +++ b/files/error-logs.yaml @@ -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 From fa9356e0a4e74e14a7b30f315208fdc195fe4f81 Mon Sep 17 00:00:00 2001 From: bauthard <8293321+bauthard@users.noreply.github.com> Date: Tue, 1 Sep 2020 23:17:41 +0530 Subject: [PATCH 2/2] Update error-logs.yaml --- files/error-logs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/error-logs.yaml b/files/error-logs.yaml index e57a24a082..e6e28d2d7e 100644 --- a/files/error-logs.yaml +++ b/files/error-logs.yaml @@ -1,6 +1,6 @@ id: error-logs info: - name: error logs + name: common error log files author: geeknik severity: info