You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 401eda6
Browse filesBrowse the repository at this point in the historyBrowse files
Ilan Harel
authored and
Ilan Harel
committed
fix(diff-logs): ignore OCSF network Refuse (policy DNS) records
OpenShell logs a class 4001 / activity 5 "Refuse" record (status_detail policy_dns_ineligible) when policy DNS refuses a name. It has no port or actor, and the connection attempt that follows is logged separately as a denied Open. parse_json_line counted it as a second denial and produced a bogus "manual review: host:?" item. Skip it, matching the shorthand parser, which ignores NET:REFUSE.
Closes#69
Signed-off-by: Ilan Harel <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ version section and adds the squash-merged PR titles since the previous tag. Ver
6
6
## [Unreleased]
7
7
8
8
- chore(deps): build against OpenShell v0.1.7 (`openshell-policy-schema`, `openshell-policy`); docs and generated policy headers now name v0.1.7
9
+
- fix(diff-logs): ignore OCSF Network Activity Refuse records (policy DNS `policy_dns_ineligible`) that have no port, so OCSF JSON and shorthand logs report the same denials
0 commit comments