Use this API to get a list of sensor profiles that could be associated with a sensor of the corresponding type.
Parameter |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
sensorType |
Mandatory |
string |
Specify the sensor type: Registry, General, or CICD. The default value is General. |
pageNumber |
Optional |
integer |
The page to be returned. Page numbers start with 1. |
pageSize |
Optional |
integer |
The number of records per page to be included in the response. The default value is 50. |
sort |
Optional |
string |
Sort the results using a Qualys token. For example created:desc. Refer to the “Sortable tokens” topic in the online help for more information. |
API request
curl -X GET
"<qualys_base_url>/csapi/v1.3/sensors/profile/associate?sensorType=GENERAL" -H "accept: application/json" -H "Authorization: Bearer <token>"
Response
{
"count": 0,
"data": [
{
"profileId": "string",
"profileName": "string",
"profileType": "Registry",
"description": "string",
"createdBy": "string",
"created": "string",
"updatedBy": "string",
"updated": "string",
"associatedSensorsCount": 0
}
]
}
Was this topic helpful?