-
Notifications
You must be signed in to change notification settings - Fork 515
[Menlo Security] Fix parsing of Menlo Web Api for proxy_events #15967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ce51790
Add web proxy event support
btrieger a795553
Merge remote-tracking branch 'origin/main' into menlo-proxy
btrieger e8215b6
Bump Version
btrieger 686e2de
Add link to changelog
btrieger de6dfb7
Add new fields to readme
btrieger 26927b5
Add type to changelog
btrieger 6f4d4ed
Add newlines and modify version to 1.7.0
btrieger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/menlo/data_stream/web/_dev/test/pipeline/test-web-proxy.log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| {"event":{"connId":"DFErYj2RQvS","domain":"settings-win.data.microsoft.com","event_time":"2025-11-12T19:34:02","name":"proxy_event","pe_action":"proxy_event","pe_rulename":"proxy_event","product":"MSIP","proxyEventDetail":"X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN@depth=2 (cert_error)","proxyEventType":"cert_error","region":"us-east5","reqId":"zmT3cDWEwMC","request_type":"CONNECT","response_code":"200","risk_score":"low","severity":"5","srcPort":"31189","url":"settings-win.data.microsoft.com:443","vendor":"Menlo Security","version":"2.0","x-client-ip":"81.2.69.142"}} |
66 changes: 66 additions & 0 deletions
66
packages/menlo/data_stream/web/_dev/test/pipeline/test-web-proxy.log-expected.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| { | ||
| "expected": [ | ||
| { | ||
| "@timestamp": "2025-11-12T19:34:02.000Z", | ||
| "client": { | ||
| "ip": "81.2.69.142" | ||
| }, | ||
| "cloud": { | ||
| "region": "us-east5" | ||
| }, | ||
| "ecs": { | ||
| "version": "8.11.0" | ||
| }, | ||
| "event": { | ||
| "action": "proxy_event", | ||
| "category": [ | ||
| "web", | ||
| "network", | ||
| "threat" | ||
| ], | ||
| "kind": "alert", | ||
| "original": "{\"event\":{\"connId\":\"DFErYj2RQvS\",\"domain\":\"settings-win.data.microsoft.com\",\"event_time\":\"2025-11-12T19:34:02\",\"name\":\"proxy_event\",\"pe_action\":\"proxy_event\",\"pe_rulename\":\"proxy_event\",\"product\":\"MSIP\",\"proxyEventDetail\":\"X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN@depth=2 (cert_error)\",\"proxyEventType\":\"cert_error\",\"region\":\"us-east5\",\"reqId\":\"zmT3cDWEwMC\",\"request_type\":\"CONNECT\",\"response_code\":\"200\",\"risk_score\":\"low\",\"severity\":\"5\",\"srcPort\":\"31189\",\"url\":\"settings-win.data.microsoft.com:443\",\"vendor\":\"Menlo Security\",\"version\":\"2.0\",\"x-client-ip\":\"81.2.69.142\"}}", | ||
| "outcome": "unknown", | ||
| "severity": 5 | ||
| }, | ||
| "http": { | ||
| "request": { | ||
| "method": "CONNECT" | ||
| }, | ||
| "response": { | ||
| "status_code": 200 | ||
| } | ||
| }, | ||
| "menlo": { | ||
| "web": { | ||
| "conn_id": "DFErYj2RQvS", | ||
| "proxy_event_detail": "X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN@depth=2 (cert_error)", | ||
| "proxy_event_type": "cert_error", | ||
| "req_id": "zmT3cDWEwMC", | ||
| "request_type": "proxy_event", | ||
| "risk_score": "low" | ||
| } | ||
| }, | ||
| "observer": { | ||
| "product": "MSIP", | ||
| "vendor": "Menlo Security", | ||
| "version": "2.0" | ||
| }, | ||
| "related": { | ||
| "ip": [ | ||
| "81.2.69.142" | ||
| ] | ||
| }, | ||
| "source": { | ||
| "ip": "81.2.69.142" | ||
| }, | ||
| "tags": [ | ||
| "preserve_original_event" | ||
| ], | ||
| "url": { | ||
| "original": "settings-win.data.microsoft.com:443", | ||
| "scheme": "settings-win.data.microsoft.com" | ||
| } | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.