Skip to content

Commit 29da720

Browse files
github-actions[bot]MScottBlake
authored andcommitted
[auto] Updated Kandji SDK
1 parent a36fe09 commit 29da720

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

docs/VulnerabilitiesApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ with kandji.ApiClient(configuration) as api_client:
130130
page = '' # str | The page number of the response. (optional)
131131
size = '50' # str | A hard upper limit is set at 50 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results. (optional)
132132
sort_by = 'cve_id' # str | Field to sort by. Example: sort_by=app_name. (optional)
133-
filter = 'device_serial_number' # str | <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul> (optional)
133+
filter = '{\"created_at\":{\"gte\":\"2025-05-23T17:11:31.816587Z\"}}' # str | <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>created_at</li> </ul> (optional)
134134

135135
try:
136136
# List Affected Apps
@@ -152,7 +152,7 @@ Name | Type | Description | Notes
152152
**page** | **str**| The page number of the response. | [optional]
153153
**size** | **str**| A hard upper limit is set at 50 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results. | [optional]
154154
**sort_by** | **str**| Field to sort by. Example: sort_by&#x3D;app_name. | [optional]
155-
**filter** | **str**| &lt;p&gt;Filterable columns:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;blueprint_id&lt;/li&gt; &lt;li&gt;updated_at&lt;/li&gt; &lt;/ul&gt; | [optional]
155+
**filter** | **str**| &lt;p&gt;Filterable columns:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;blueprint_id&lt;/li&gt; &lt;li&gt;created_at&lt;/li&gt; &lt;/ul&gt; | [optional]
156156

157157
### Return type
158158

@@ -216,7 +216,7 @@ with kandji.ApiClient(configuration) as api_client:
216216
page = '' # str | The page number of the response. (optional)
217217
size = '50' # str | A hard upper limit is set at 50 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results. (optional)
218218
sort_by = 'cve_id' # str | Field to sort by. Example: sort_by=app_name. (optional)
219-
filter = 'device_serial_number' # str | <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul> (optional)
219+
filter = '{\"detection_datetime\":{\"gte\":\"2025-05-23T17:11:31.816587Z\"}}' # str | <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>detection_datetime</li> </ul> (optional)
220220

221221
try:
222222
# List Affected Devices
@@ -238,7 +238,7 @@ Name | Type | Description | Notes
238238
**page** | **str**| The page number of the response. | [optional]
239239
**size** | **str**| A hard upper limit is set at 50 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results. | [optional]
240240
**sort_by** | **str**| Field to sort by. Example: sort_by&#x3D;app_name. | [optional]
241-
**filter** | **str**| &lt;p&gt;Filterable columns:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;blueprint_id&lt;/li&gt; &lt;li&gt;updated_at&lt;/li&gt; &lt;/ul&gt; | [optional]
241+
**filter** | **str**| &lt;p&gt;Filterable columns:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;blueprint_id&lt;/li&gt; &lt;li&gt;detection_datetime&lt;/li&gt; &lt;/ul&gt; | [optional]
242242

243243
### Return type
244244

@@ -300,7 +300,7 @@ with kandji.ApiClient(configuration) as api_client:
300300
api_instance = kandji.VulnerabilitiesApi(api_client)
301301
after = '' # str | Cursor token. (optional)
302302
size = '300' # str | A hard upper <code>limit</code> is set at 300 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results. (optional)
303-
filter = 'device_serial_number' # str | <p>Filter on any key attribute within the response.</p> <ul> <li>device_id</li> <li>device_name</li> <li>device_serial_number</li> <li>device_model</li> <li>device_os_version</li> <li>blueprint_id</li> <li>blueprint_name</li> <li>name</li> <li>path</li> <li>version</li> <li>bundle_id</li> <li>cve_id</li> <li>cve_description</li> <li>cve_link</li> <li>cvss_score</li> <li>cvss_severity</li> <li>detection_datetime</li> <li>cve_published_at</li> <li>cve_modified_at</li> </ul> (optional)
303+
filter = '{\"cve_id\":{\"in\":[\"CVE-2024-24795\"]}}' # str | <p>Filter on any key attribute within the response.</p> <ul> <li>device_id</li> <li>device_name</li> <li>device_serial_number</li> <li>device_model</li> <li>device_os_version</li> <li>blueprint_id</li> <li>blueprint_name</li> <li>name</li> <li>path</li> <li>version</li> <li>bundle_id</li> <li>cve_id</li> <li>cve_description</li> <li>cve_link</li> <li>cvss_score</li> <li>cvss_severity</li> <li>detection_datetime</li> <li>cve_published_at</li> <li>cve_modified_at</li> </ul> (optional)
304304

305305
try:
306306
# List Detections
@@ -382,7 +382,7 @@ with kandji.ApiClient(configuration) as api_client:
382382
page = '' # str | The page number of the response. (optional)
383383
size = '50' # str | A hard upper limit is set at 50 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results. (optional)
384384
sort_by = 'cve_id' # str | <p>Field to sort by.</p> <ul> <li>cve_id</li> <li>software (the name of the software)</li> <li>cvss_severity</li> <li>first_detection_date</li> <li>latest_detection_date</li> </ul> (optional)
385-
filter = 'device_serial_number' # str | <p>Filterable columns</p> <ul> <li>cve_id</li> <li>app_name</li> <li>severity</li> <li>first_detection_date</li> <li>latest_detection_date</li> </ul> (optional)
385+
filter = '{\"cve_id\":{\"in\":[\"CVE-2024-24795\"]}}' # str | <p>Filterable columns</p> <ul> <li>cve_id</li> <li>app_name</li> <li>severity</li> <li>first_detection_date</li> <li>latest_detection_date</li> </ul> (optional)
386386

387387
try:
388388
# List Vulnerabilities

kandji/api/vulnerabilities_api.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def list_affected_apps(
310310
page: Annotated[Optional[StrictStr], Field(description="The page number of the response.")] = None,
311311
size: Annotated[Optional[StrictStr], Field(description="A hard upper limit is set at 50 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results.")] = None,
312312
sort_by: Annotated[Optional[StrictStr], Field(description="Field to sort by. Example: sort_by=app_name.")] = None,
313-
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>")] = None,
313+
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>created_at</li> </ul>")] = None,
314314
_request_timeout: Union[
315315
None,
316316
Annotated[StrictFloat, Field(gt=0)],
@@ -336,7 +336,7 @@ def list_affected_apps(
336336
:type size: str
337337
:param sort_by: Field to sort by. Example: sort_by=app_name.
338338
:type sort_by: str
339-
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>
339+
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>created_at</li> </ul>
340340
:type filter: str
341341
:param _request_timeout: timeout setting for this request. If one
342342
number provided, it will be total request
@@ -393,7 +393,7 @@ def list_affected_apps_with_http_info(
393393
page: Annotated[Optional[StrictStr], Field(description="The page number of the response.")] = None,
394394
size: Annotated[Optional[StrictStr], Field(description="A hard upper limit is set at 50 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results.")] = None,
395395
sort_by: Annotated[Optional[StrictStr], Field(description="Field to sort by. Example: sort_by=app_name.")] = None,
396-
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>")] = None,
396+
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>created_at</li> </ul>")] = None,
397397
_request_timeout: Union[
398398
None,
399399
Annotated[StrictFloat, Field(gt=0)],
@@ -419,7 +419,7 @@ def list_affected_apps_with_http_info(
419419
:type size: str
420420
:param sort_by: Field to sort by. Example: sort_by=app_name.
421421
:type sort_by: str
422-
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>
422+
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>created_at</li> </ul>
423423
:type filter: str
424424
:param _request_timeout: timeout setting for this request. If one
425425
number provided, it will be total request
@@ -476,7 +476,7 @@ def list_affected_apps_without_preload_content(
476476
page: Annotated[Optional[StrictStr], Field(description="The page number of the response.")] = None,
477477
size: Annotated[Optional[StrictStr], Field(description="A hard upper limit is set at 50 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results.")] = None,
478478
sort_by: Annotated[Optional[StrictStr], Field(description="Field to sort by. Example: sort_by=app_name.")] = None,
479-
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>")] = None,
479+
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>created_at</li> </ul>")] = None,
480480
_request_timeout: Union[
481481
None,
482482
Annotated[StrictFloat, Field(gt=0)],
@@ -502,7 +502,7 @@ def list_affected_apps_without_preload_content(
502502
:type size: str
503503
:param sort_by: Field to sort by. Example: sort_by=app_name.
504504
:type sort_by: str
505-
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>
505+
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>created_at</li> </ul>
506506
:type filter: str
507507
:param _request_timeout: timeout setting for this request. If one
508508
number provided, it will be total request
@@ -639,7 +639,7 @@ def list_affected_devices(
639639
page: Annotated[Optional[StrictStr], Field(description="The page number of the response.")] = None,
640640
size: Annotated[Optional[StrictStr], Field(description="A hard upper limit is set at 50 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results.")] = None,
641641
sort_by: Annotated[Optional[StrictStr], Field(description="Field to sort by. Example: sort_by=app_name.")] = None,
642-
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>")] = None,
642+
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>detection_datetime</li> </ul>")] = None,
643643
_request_timeout: Union[
644644
None,
645645
Annotated[StrictFloat, Field(gt=0)],
@@ -665,7 +665,7 @@ def list_affected_devices(
665665
:type size: str
666666
:param sort_by: Field to sort by. Example: sort_by=app_name.
667667
:type sort_by: str
668-
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>
668+
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>detection_datetime</li> </ul>
669669
:type filter: str
670670
:param _request_timeout: timeout setting for this request. If one
671671
number provided, it will be total request
@@ -722,7 +722,7 @@ def list_affected_devices_with_http_info(
722722
page: Annotated[Optional[StrictStr], Field(description="The page number of the response.")] = None,
723723
size: Annotated[Optional[StrictStr], Field(description="A hard upper limit is set at 50 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results.")] = None,
724724
sort_by: Annotated[Optional[StrictStr], Field(description="Field to sort by. Example: sort_by=app_name.")] = None,
725-
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>")] = None,
725+
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>detection_datetime</li> </ul>")] = None,
726726
_request_timeout: Union[
727727
None,
728728
Annotated[StrictFloat, Field(gt=0)],
@@ -748,7 +748,7 @@ def list_affected_devices_with_http_info(
748748
:type size: str
749749
:param sort_by: Field to sort by. Example: sort_by=app_name.
750750
:type sort_by: str
751-
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>
751+
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>detection_datetime</li> </ul>
752752
:type filter: str
753753
:param _request_timeout: timeout setting for this request. If one
754754
number provided, it will be total request
@@ -805,7 +805,7 @@ def list_affected_devices_without_preload_content(
805805
page: Annotated[Optional[StrictStr], Field(description="The page number of the response.")] = None,
806806
size: Annotated[Optional[StrictStr], Field(description="A hard upper limit is set at 50 records returned per request. If more records are expected, pagination should be used using the URL value returned in the next attribute. Additionally, filters can be added to a request to limit the results.")] = None,
807807
sort_by: Annotated[Optional[StrictStr], Field(description="Field to sort by. Example: sort_by=app_name.")] = None,
808-
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>")] = None,
808+
filter: Annotated[Optional[StrictStr], Field(description="<p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>detection_datetime</li> </ul>")] = None,
809809
_request_timeout: Union[
810810
None,
811811
Annotated[StrictFloat, Field(gt=0)],
@@ -831,7 +831,7 @@ def list_affected_devices_without_preload_content(
831831
:type size: str
832832
:param sort_by: Field to sort by. Example: sort_by=app_name.
833833
:type sort_by: str
834-
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>updated_at</li> </ul>
834+
:param filter: <p>Filterable columns:</p> <ul> <li>blueprint_id</li> <li>detection_datetime</li> </ul>
835835
:type filter: str
836836
:param _request_timeout: timeout setting for this request. If one
837837
number provided, it will be total request

0 commit comments

Comments
 (0)