AnsweredAssumed Answered

Why containter sensor always return sensor with status set to provisioned?

Question asked by james zhang on May 5, 2020

While using container sensor API to get all the sensors stored under my account, i noticed the status field of the API response is always set to "provisioned". If i go to container sensor portal configuration section, i can see the sensors status contains "Running" or "Unknown" that is reflecting the correct sensor status.

 

Is there any reason for the API sensor status always set to "Provisioned" other than returning "Running" or "Unknown" like portal?

 

The way i'm looking at it, it makes the call to remove sensor API call not very useful as the remove sensor API only works for those that are in "Unknown" status per API document.

 

The url the get sensor status:

 

https://qualysapi.qg2.apps.qualys.com/csapi/v1.1/sensors?pageSize=50&pageNumber=1

Outcomes