From abe02d6e3146b0f991ad7f1be2050b842c055fbe Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Wed, 20 Jan 2021 14:36:14 +0530 Subject: [PATCH 1/2] Add files via upload --- exposures/logs/nginx-status.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 exposures/logs/nginx-status.yaml diff --git a/exposures/logs/nginx-status.yaml b/exposures/logs/nginx-status.yaml new file mode 100644 index 0000000000..f4d165939e --- /dev/null +++ b/exposures/logs/nginx-status.yaml @@ -0,0 +1,21 @@ +id: ngnix-status + +info: + name: Ngnix Status Page + author: dhiyaneshDK + severity: low + +requests: + - method: GET + path: + - "{{BaseURL}}/nginx_status" + + matchers-condition: and + matchers: + - type: word + words: + - 'Active connections' + + - type: status + status: + - 200 From 16f1cfc82c47eff894bc107729201a6a0d39b26b Mon Sep 17 00:00:00 2001 From: PD-Team <8293321+bauthard@users.noreply.github.com> Date: Thu, 21 Jan 2021 19:50:58 +0530 Subject: [PATCH 2/2] Update nginx-status.yaml --- exposures/logs/nginx-status.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exposures/logs/nginx-status.yaml b/exposures/logs/nginx-status.yaml index f4d165939e..2bffd4e300 100644 --- a/exposures/logs/nginx-status.yaml +++ b/exposures/logs/nginx-status.yaml @@ -14,7 +14,7 @@ requests: matchers: - type: word words: - - 'Active connections' + - 'Active connections:' - type: status status: