hub icon indicating copy to clipboard operation
hub copied to clipboard

Add missing log parameters to open-appsec parsers

Open marnit0412-cpu opened this issue 2 weeks ago • 1 comments

Could you add all the parameters present in the logs to the open-appsec parsers? For example, this is what I currently see (as shown in the screenshot below):

image

However, when opening this request in the open-appsec logs, there is more information available, such as:

  1. eventType
  2. eventLevel
  3. eventLogLevel
  4. eventAudience
  5. eventAudienceTeam
  6. eventFrequency
  7. eventTags
  8. eventReferenceId
  9. httpMethod, httpUriPath
  10. httpUriQuery
  11. waapOverride
  12. practiceType
  13. practiceSubType
  14. practiceId
  15. practiceName
  16. waapFoundIndicators
  17. matchedIndicators
  18. learnedIndicators
  19. waapUserReputationScore
  20. waapUserReputation
  21. waapUriFalsePositiveScore
  22. waapKeywordsScore
  23. reservedNgenA
  24. waapFinalScore
  25. waapCalculatedThreatLevel

It would be much easier to analyze the logs with all of this collected in one place. Thanks in advance for adding these to the parsers!

marnit0412-cpu avatar Nov 20 '26 09:11 marnit0412-cpu

Here's a sample log:

` { "eventTime": "2026-11-25T08:39:53.123", "eventName": "Web Request", "eventSeverity": "Critical", "eventPriority": "High", "eventType": "Event Driven", "eventLevel": "Log", "eventLogLevel": "info", "eventAudience": "Security", "eventAudienceTeam": "", "eventFrequency": 0, "eventTags": [ "Threat Prevention", "Web Application & API Protection" ], "eventSource": { "agentId": "a0af8d4e-4a22-467c-94f0-06fv784128a6", "eventTraceId": "", "eventSpanId": "", "issuingEngineVersion": "1.1.36-open-source", "serviceName": "HTTP Transaction Handler", "serviceId": "3", "assetId": "test.com.pl", "assetName": "test.com.pl" }, "eventData": { "logIndex": 9167, "eventReferenceId": "ba42888f-dfb7-4371-b75d-1bc23822b377", "assetId": "test.com.pl", "assetName": "test.com.pl", "eventConfidence": "Very High", "sourceIP": "xxx.xxx.xx.xxx", "httpSourceId": "xxx.xxx.xx.xxx", "sourcePort": 0, "httpHostName": "test.com.pl", "httpMethod": "GET", "assetId": "test.com.pl", "assetName": "test.com.pl", "httpUriPath": "/wp-content/uploads/2020/12/Test.png", "httpUriQuery": "", "httpRequestHeaders": "[accept: image/webp,image/apng,image/,/*;q=0.8; accept-encoding: gzip, deflate, br; accept-language: en-US,en;q=0.9; connection: close; host: test.com.pl; sec-required-csp: default-src 'none'; style-src http: https: cid: 'self' 'unsafe-inline'; img-src http: https: cid: data: attachment: img: 'self'; media-src http: https: cid: 'self'; font-src http: https: cid: 'self'; user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36; x-forwarded-for: xxx.xxx.xx.xxx; x-forwarded-proto: https]", "ruleId": "test.com.pl", "securityAction": "Prevent", "waapOverride": "None", "practiceType": "Threat Prevention", "practiceSubType": "Web Application", "ruleName": "test.com.pl", "practiceId": "72b720a0-b499-4714-a498-c60cde0f70de", "practiceName": "local_policy/practice-prevent-and-learn", "waapIncidentType": "Cross Site Scripting, Remote Code Execution, SQL Injection", "matchedSample": "default-src 'none'; style-src http: https: cid: 'self' 'unsafe-inline'; img-src http: https: cid: data: attachment: img: 'self'; media-src http: https: cid: 'self'; font-src http: https: cid: 'self'", "matchedLocation": "header", "matchedParameter": "sec-required-csp", "waapFoundIndicators": "[', ';, data: , fn_name_pass_regex_0, regex_code_execution_2, style]", "matchedIndicators": "[', ';, data: , fn_name_pass_regex_0, regex_code_execution_2, style]", "learnedIndicators": "", "waapUserReputationScore": 331, "waapUserReputation": "Low", "waapUriFalsePositiveScore": 864, "waapKeywordsScore": 610, "reservedNgenA": 0, "waapFinalScore": 775, "waapCalculatedThreatLevel": 4 } }

`

marnit0412-cpu avatar Nov 25 '26 10:11 marnit0412-cpu