Update cisco-vmanage-log4j.yaml

patch-1
Dhiyaneshwaran 2022-10-20 02:30:56 +05:30 committed by GitHub
parent 8ca4a00e89
commit 00acbe2bbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -22,6 +22,7 @@ info:
requests: requests:
- raw: - raw:
- | - |
@timeout: 20s
POST /j_security_check HTTP/1.1 POST /j_security_check HTTP/1.1
Host: {{Hostname}} Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
@ -42,6 +43,11 @@ requests:
regex: regex:
- '([a-zA-Z0-9.-]+).([a-z0-9]+).([a-z0-9]+).\w+' # Match for extracted ${sys:os.name} variable - '([a-zA-Z0-9.-]+).([a-z0-9]+).([a-z0-9]+).\w+' # Match for extracted ${sys:os.name} variable
- type: word
part: body
words:
- '<title>Cisco vManage</title>'
extractors: extractors:
- type: kval - type: kval
kval: kval:
@ -52,5 +58,3 @@ requests:
group: 1 group: 1
regex: regex:
- '([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+' # Print extracted ${sys:os.name} in output - '([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+' # Print extracted ${sys:os.name} in output
# Enhanced by md on 2022/10/04