Fetch Details of a Sensor Profile

Use this API to get details of a sensor profile in your account.

GET/csapi/v1.3/sensorProfile/{sensorProfileId}

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

sensorProfileId

Mandatory

string

The ID/UUID of the sensor profile for which you want to get details.

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.

SampleSample

API request

    curl -X GET
"<qualys_base_url>/csapi/v1.3/sensorProfile/6963d471-7598-4d4d-b95ce540c75745b2?pageNo=0&pageSize=50&sort=created%3Adesc" 
-H "accept: application/json" 
-H "Authorization: Bearer <token>"

Response

    {
    "profileId": "6963d471-7598-4d4d-b95c-e540c75745b2",
    "profileName": "General-test2",
    "profileType": "General",
    "description": "",
    "createdBy": "test_zp53",
    "created": "1669108423070",
    "updatedBy": null,
    "updated": "1669618992177",
    "associatedSensorsCount": 1,
    "associatedRegistriesCount": 0,
    "associatedSensors": [
        "f1edef37-8d72-4f5d-87ed-9d6da981cffe"
    ],
    "associatedRegistries": null,
    "config": {
        "weeklyInactiveWindowSchedules": [
            {
                "startTime": "01:15",
                "endTime": "03:00",
                "repeatOnDays": [
                    "SUNDAY"
                ]
            }
        ],
        "vulnerabilityManagement": {
            "containerScanningInterval": 48,
            "imageExclusionRegexList": [],
            "globalScanningFlag": true,
            "scanningPolicy": "DynamicWithStaticScanningAsFallback"
        },
        "performanceManagement": {
            "maxNoOfArchivedLogFiles": 5,
            "maxLogFileSize": 10,
            "logSecurityLevel": "INFORMATION"
        }
    }
}