Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion 6 CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
how a consumer would use the library or CLI tool (e.g. adding unit tests, updating documentation, etc) are not captured
here.

## Unreleased
## 2.3.1 - 2025-05-13

### Fixed

- An issue where Sessions validation would fail due to an updated content inspection schema.

### Updated

Expand Down
2 changes: 1 addition & 1 deletion 2 src/_incydr_sdk/__version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-present Code42 Software <integrations@code42.com>
#
# SPDX-License-Identifier: MIT
__version__ = "2.3.0"
__version__ = "2.3.1"
7 changes: 3 additions & 4 deletions 7 src/_incydr_sdk/sessions/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ class ContentInspectionEvent(Model):


class ContentInspectionResult(Model):
event_results: List[ContentInspectionEvent] = Field(
alias="eventResults",
description="List of all content inspection events that have occurred.",
detected_on_alerts: List[str] = Field(
alias="detectedOnAlerts",
description="A list of content categories or types found on events which triggered alerts.",
)
status: Optional[str]


class Note(Model):
Expand Down
7 changes: 1 addition & 6 deletions 7 tests/test_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@
TEST_SESSION = {
"actorId": TEST_SESSION_ID,
"beginTime": POSIX_TS,
"contentInspectionResults": {
"eventResults": [
{"eventId": "event-id", "piiType": ["string"], "status": "PENDING"}
],
"status": "PENDING",
},
"contentInspectionResults": {"detectedOnAlerts": ["PII"]},
"contextSummary": "string",
"criticalEvents": 0,
"endTime": POSIX_TS,
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.