Get advanced settings

GET https://daas.digicert.com/apicontroller/v1/sensor/advancedSettings?sensorId=A79683A885D9967C&divisionId=677793&accountId=5153184
Use this endpoint to get the advanced settings details available for the active sensors.

Example requests and responses

cURL

curl --location --request GET 'https://daas.digicert.com/apicontroller/v1/sensor/advancedSettings?sensorId=A79683A885D9967C&divisionId=677793&accountId=5153184' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{"updatePreference":"1","sensorName":"10.198.148.237_499","licenseKey":{{license_key}},"accountId":"5153184","divisionId":677793}'

200 OK

{
    "error": null,
    "data": {
        "accountId": "5153184",
        "divisionIds": [
            677793
        ],
        "sensorId": "2A3C8D6874EADB1B",
        "sensorAdvancedSettings": {
            "heartbeatInterval": 120,
            "commPorts": {
                "hbPort": 8080,
                "dataCommPort": 8443,
                "empty": false
            },
            "portChangeInProgress": false,
            "programLogs": null
        }
    }
}

Request parameters

NameReq/Opt.TypeDescription
licenseKeyrequiredstringLicense key of the sensor to get the settings for.
accountIdrequiredstringAccount ID.
divisionIdrequiredintegerDivision ID.
updatePreferencerequiredstringSensor upgrade preference.
0 Automatic upgrade.
1 Manual upgrade.
Manually upgrade the sensor from the UI.
sensorNamerequiredstringName of the sensor.

Response parameters

NameTypeDescription
errorobjectIncludes error codes, if any.
dataobjectObject with information about the filter results.
.. accountIdstringAccount ID.
.. divisionIdsarrayUser’s division IDs.
.. sensorIdstringSensor license key ID.
.. sensorAdvancedSettingsarrayIncludes the advanced sensor settings.
.. .. heartbeatIntervalintegerSensor heartbeat interval.
.. .. commPortsarrayIncludes the port communication settings.
.. .. .. hbPortintegerAt this port, sensor will start the proxy server for agents.
.. .. .. dataCommPortintegerSSL port for data communication from agent to sensor.
.. .. portChangeInProgressbooleanIf true, hbPort and dataCommPort changes are in progress.
.. .. programLogsarrayChanges the log level of sensor.