Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

App Control: Timeout On /api/bit9platform/v1/computer API

App Control: Timeout On /api/bit9platform/v1/computer API

Environment

  • App Control: All Supported Versions

Symptoms

Timeouts occurring when doing an API query on /api/bit9platform/v1/computer:
Error :Invoke-RestMethod : The remote server returned an error: (408) Request Timeout.

Cause

Inefficient query

Resolution

By default, all fields are returned. Limiting the query to only required fields (by explicitly listing them) will improve performance.
GET /api/bit9platform/v1/computer?q=name:<DeviceName>&fields="id,name,connected,template,daysOffline,hasHealthCheckErrors,upgradeStatus,supportedKernel,policyStatus,enforcementLevel,disconnectedEnforcementLevel,ipAddress,policyName,policyId,automaticPolicy,agentVersion"&limit=100&offset=0

Additional Notes

Fields with known performance impacts:
  • Processor_Count
  • Machine_Model
  • Processor_Speed
  • Processor_Model
  • Memory_Size

Related Content


Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎03-27-2023
Views:
230
Contributors