search
cancel
Search
CB Protection: API Returns Incorrect Number of Computer Records
book
Article ID: 288546
calendar_today
Updated On:
Products
Carbon Black App Control (formerly Cb Protection)
Show More
Show Less
Issue/Introduction
When using the API to return a list of computers, the number of results returned is larger than the number of computers shown in the console.
Environment
CB Protection Server: All Supported Versions
Cause
Computer records are not deleted from the database. Instead, they are flagged as deleted.
By default, when querying the v1/computer object, all computer records are returned.
Resolution
When querying the computer records via the API, include a filter for deleted computers, such as
https://myServer/api/bit9platform/v1/Computer?q=deleted:false
Feedback
thumb_up
Yes
thumb_down
No