Fetch a List of Sensor Profiles

Use this API to get a list of sensor profiles in your account.

GET/csapi/v1.3/sensorProfile

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

filter

 Optional

 string

Filter the sensor profiles list by providing a query using Qualys syntax.

Refer to the “How to Search” topic in the online help for assistance with creating your query.

SampleSample

API request

    curl -X GET 
"<qualys_base_url>/csapi/v1.3/sensorProfile" 
-H "accept: application/json" 
-H "Authorization: Bearer <token>"
    

Response

    {
    "data": [
        {
            "profileId": "00000000-0000-0000-0000-000000000000",
            "profileName": "Default",
            "profileType": null,
            "associatedSensorsCount": 1,
            "createdBy": "System",
            "created": "1657782140652",
            "updatedBy": "System",
            "updated": "1657782140652"
            "tags": [{
                    "uuid": "d2773122-9306-415a-b2a1-b70748a576b3",
                    "id": 141648580, 
                    "name": "Tag1",
                    "backgroundColor": "#000000",
                    "foregroundColor": "#000000",
                    "icon": "",
                    "criticalityScore": 0,
                    "tagType": null }]
        },
        {
            "profileId": "8aee8879-d536-4efd-b23d-41dcb77a4a32",
            "profileName": "North",
            "profileType": "Registry",
            "associatedSensorsCount": 1,
            "createdBy": "jack_reader",
            "created": "1657793883813",
            "updatedBy": "jack_reader",
            "updated": "1657866985321"
            "tags": []
        }
    ],
    "count": 2,
    "groups": {}
}