Fetch Sensor Details

Shows details of a sensor.

GETcsapi/v1.3/sensors/{sensorId}

Input ParametersInput Parameters

Parameter Mandatory/Optional Data Type Description
sensorId Mandatory string Specify the ID of a specific sensor in the user’s scope.

SampleSample

API request

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

Response

{
  "data": [
    {
      "uuid": "355c837a-a2f2-42b6-9c67-0e1ac7aeaa84",
      "activationUuid": "6a2b840b-1be1-4fca-b684-cda9d1d91bd4",
      "hostname": "ntest_123",
      "customerUuid": "********-27a8-****-****-***3c9eecdb5",
      "dockerVersion": "19.03.9",
      "ipv4": "10.***.119.***",
      "os": "CentOS Linux 7 (Core)",
      "ipv6": "",
      "sensorVersion": "1.33.0-22",
      "platform": "LINUX_SENSOR",
      "lastCheckedIn": "1723458120996",
      "label": [
        {
          "key": "image-source",
          "value": "SJC-POD04"
        },
        {
          "key": "build-date",
          "value": "Mon Jun 17 12:45:50 UTC 2024"
        },
        {
          "key": "jira-id",
          "value": "BI-109"
        },
      ],
      "privileged": "false",
      "macAddress": "**:50:**:aa:**:7e",
      "vulnSigVersion": null,
      "hostUuid": "5a840df2-70d2-411b-810e-c9bf3ca6fbb4",
      "configurationProfile": null,
      "status": "Running",
      "registry": "docker.io",
      "sha": "27606079e8936bec637fc850378cbe7a86f73d76720818efa41f3a5df9ebc2f1",
      "sensorId": "27606079e893",
      "name": "qualys-container-sensor",
      "created": "1723425360000",
      "imageId": "7176cf0a4e58",
      "imageSha": "7176cf0a4e58ab3496b4abcce8621b85fca14656b19a2a96bff2bcbab1081af8",
      "imageRepoDigest": null,
      "binaryVersion": null,
      "containerIpv4": null,
      "containerIpv6": null,
      "containerMacAddress": "",
      "sensorType": "GENERAL",
      "containerRuntime": "DOCKER",
      "containerRuntimeVersion": "19.03.9",
      "architecture": "x86_64",
      "associatedSensorProfile": "00000000-0000-0000-0000-000000000000",
      "associatedSensorProfileName": "Default",
      "tags": {
        "uuid": "a959914f-061d-4925-a372-8b84512b28ec",
        "id": 141753861,
        "name": "Tag3",
        "backgroundColor": "#000000",
        "foregroundColor": "#000000",
        "icon": "",
        "criticalityScore": 0,
        "tagType": null
      },
      "clusterUid": null,
      "cluster": null,
      "cloudProvider": null
    }