Skip to content

Commit 9656b67

Browse files
committed
fix(nac_clients): rename edr_provider to edr_providers for consistency in query parameters
1 parent 91f50a8 commit 9656b67

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎src/mistapi/api/v1/orgs/nac_clients.py‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ def countOrgNacClients(
5252
5353
QUERY PARAMS
5454
------------
55-
distinct : str{'ap', 'auth_type', 'device_mac', 'edr_managed', 'edr_provider', 'edr_status', 'family', 'hostname', 'idp_id', 'mfg', 'mdm_compliance', 'mdm_managed', 'mdm_provider', 'model', 'mxedge_id', 'nacrule_matched', 'nacrule_name', 'nacrule_id', 'nas_ip', 'nas_vendor', 'os', 'site_id', 'ssid', 'status', 'type', 'usermac_label', 'username', 'vlan'}, default: type
56-
Field used to group this count response. enum: `ap`, `auth_type`, `device_mac`, `edr_managed`, `edr_provider`, `edr_status`, `family`, `hostname`, `idp_id`, `mfg`, `mdm_compliance`, `mdm_managed`, `mdm_provider`, `model`, `mxedge_id`, `nacrule_matched`, `nacrule_name`, `nacrule_id`, `nas_ip`, `nas_vendor`, `os`, `site_id`, `ssid`, `status`, `type`, `usermac_label`, `username`, `vlan`
55+
distinct : str{'ap', 'auth_type', 'device_mac', 'edr_managed', 'edr_providers', 'edr_status', 'family', 'hostname', 'idp_id', 'mfg', 'mdm_compliance', 'mdm_managed', 'mdm_provider', 'model', 'mxedge_id', 'nacrule_matched', 'nacrule_name', 'nacrule_id', 'nas_ip', 'nas_vendor', 'os', 'site_id', 'ssid', 'status', 'type', 'usermac_label', 'username', 'vlan'}, default: type
56+
Field used to group this count response. enum: `ap`, `auth_type`, `device_mac`, `edr_managed`, `edr_providers`, `edr_status`, `family`, `hostname`, `idp_id`, `mfg`, `mdm_compliance`, `mdm_managed`, `mdm_provider`, `model`, `mxedge_id`, `nacrule_matched`, `nacrule_name`, `nacrule_id`, `nas_ip`, `nas_vendor`, `os`, `site_id`, `ssid`, `status`, `type`, `usermac_label`, `username`, `vlan`
5757
last_nacrule_id : str
5858
NAC Policy Rule ID, if matched
5959
nacrule_matched : bool
@@ -389,7 +389,7 @@ def searchOrgNacClients(
389389
auth_type: str | None = None,
390390
cert_expiry_duration: str | None = None,
391391
edr_managed: bool | None = None,
392-
edr_provider: str | None = None,
392+
edr_providers: str | None = None,
393393
edr_status: str | None = None,
394394
family: str | None = None,
395395
hostname: str | None = None,
@@ -444,8 +444,8 @@ def searchOrgNacClients(
444444
Filter by certificate expiry within a specific duration from now (e.g., "7d" for 7 days, "1m" for 1 month). Accepts multiple comma-separated values.
445445
edr_managed : bool
446446
Filters NAC clients that are integrated with EDR providers
447-
edr_provider : str{'crowdstrike', 'sentinelone'}
448-
EDR provider used to filter NAC clients. enum: `crowdstrike`, `sentinelone`
447+
edr_providers : str{'crowdstrike', 'sentinelone'}
448+
EDR provider of the client's organization. enum: `crowdstrike`, `sentinelone`
449449
edr_status : str{'sentinelone_healthy', 'sentinelone_infected', 'crowdstrike_low', 'crowdstrike_medium', 'crowdstrike_high', 'crowdstrike_critical', 'crowdstrike_informational'}
450450
EDR status used to filter NAC clients. enum: `sentinelone_healthy`, `sentinelone_infected`, `crowdstrike_low`, `crowdstrike_medium`, `crowdstrike_high`, `crowdstrike_critical`, `crowdstrike_informational`
451451
family : str
@@ -525,8 +525,8 @@ def searchOrgNacClients(
525525
query_params["cert_expiry_duration"] = str(cert_expiry_duration)
526526
if edr_managed:
527527
query_params["edr_managed"] = str(edr_managed)
528-
if edr_provider:
529-
query_params["edr_provider"] = str(edr_provider)
528+
if edr_providers:
529+
query_params["edr_providers"] = str(edr_providers)
530530
if edr_status:
531531
query_params["edr_status"] = str(edr_status)
532532
if family:

0 commit comments

Comments
 (0)