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
Copy file name to clipboardExpand all lines: src/_incydr_sdk/sessions/client.py
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ def get_page(
37
37
actor_id: str=None,
38
38
start_time: Union[str, datetime, int] =None,
39
39
end_time: Union[str, datetime, int] =None,
40
+
type: str=None,
40
41
has_alerts: bool=True,
41
42
sort_key: Optional[SortKeys] =None,
42
43
risk_indicators: List[str] =None,
@@ -59,6 +60,7 @@ def get_page(
59
60
* **actor_id**: `str | None` - Only include items generated by this actor.
60
61
* **start_time**: `datetime | str | int | None` - Only include items beginning on or after this date and time. Can be a date-formatted string, a `datetime` instance, or a POSIX `int` timestamp.
61
62
* **end_time**: `datetime | str | int | None` - Only include items beginning before this date and time. Can be a date-formatted string, a `datetime` instance, or a POSIX `int` timestamp.
63
+
* **type**: `str` - Only include items matching this type. Examples include STANDARD, ACCOUNT_TAKE_OVER.
62
64
* **has_alerts**: `bool` - Only include items that have a matching alert status. Defaults to `True`.
63
65
* **sort_key**: [`SortKeys`][items-sort-keys] - `end_time` or `score`. Value on which the results will be sorted. Defaults to `end time`.
64
66
* **risk_indicators**: `List[str] | None` - List of risk indicator IDs that must be present on the items before they are returned.
* **actor_id**: `str | None` - The ID of the actor to limit the search to.
237
243
* **start_time**: `datetime | str | int | None` - Only include items beginning on or after this date and time. Can be a date-formatted string, a `datetime` instance, or a POSIX `int` timestamp.
238
244
* **end_time**: `datetime | str | int | None` - Only include items beginning before this date and time. Can be a date-formatted string, a `datetime` instance, or a POSIX `int` timestamp.
245
+
* **type**: `str` - Only include items matching this type. Examples include STANDARD, ACCOUNT_TAKE_OVER.
239
246
* **has_alerts**: `bool` - Only include items that have a matching alert status. Defaults to `True`.
240
247
* **sort_key**: [`SortKeys`][items-sort-keys] - `end_time` or `score`. Value on which the results will be sorted. Defaults to `end time`.
241
248
* **risk_indicators**: `List[str] | None` - List of risk indicator IDs that must be present on the items before they are returned.
0 commit comments