Fetch Sensor Details

Shows details of a sensor.

GET/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/4ad04dc3cab8" 
-H "accept: application/json" 
-H "Authorization: Bearer <token>"
    

Response

    {
    "uuid": "f1edef37-8d72-4f5d-87ed-9d6da981cffe",
    "activationUuid": "39b63fbb-3e3a-4905-829f-aaae794079fc",
    "hostname": "test-virtual-machine",
    "customerUuid": "1ab79f42-6cc3-757c-83d9-b0562c8a6dc8",
    "dockerVersion": "20.10.18",
    "ipv4": "10.115.145.155",
    "os": "Ubuntu 18.04.6 LTS",
    "ipv6": "fe80::78a0:a7a0:2424:609b",
    "sensorVersion": "1.21.0-0",
    "platform": "LINUX_SENSOR",
    "lastCheckedIn": "1669619942039",
    "label": [
        {
            "key": "build-date",
            "value": "Tue Nov 22 08:31:36 UTC 2022"
        },
        {
            "key": "name",
            "value": "test Sensor Image"
        },
        {
            "key": "vendor",
            "value": "test, Inc"
        },
        {
            "key": "Base_image_name",
            "value": "arthq.intranet.test.com:5006/secure/oraclelinux:7"
        },
        {
            "key": "image-source",
            "value": "SJC-POD01"
        },
        {
            "key": "VersionInfo",
            "value": "Qualys Sensor Version 1.21.0-0"
        },
        {
            "key": "jira-id",
            "value": "BI-122"
        },
        {
            "key": "maintainer",
            "value": "DevOps <devops@test.com>"
        }
    ],
    "privileged": "false",
    "macAddress": "00:50:56:aa:1f:17",
    "vulnSigVersion": null,
    "hostUuid": "630050dd-0110-0002-8170-0050568cd03b",
    "configurationProfile": null,
    "status": "Running",
    "registry": "docker.io",
    "sha": "4ad04dc3cab81d70fd7205cfb223d50ccc9b4e61d39514930ce2cce1fcf6454a",
    "sensorId": "4ad04dc3cab8",
    "name": "test-container-sensor",
    "created": "1669285071000",
    "imageId": "95940c047e5a",
    "imageSha": "95940c047e5a934f470dfe3ac7e97b2ef33f3a695ac75ba609e3e1f9d7afa7d1",
    "binaryVersion": null,
    "containerIpv4": null,
    "containerIpv6": null,
    "containerMacAddress": "",
    "sensorType": "GENERAL",
    "containerRuntime": "DOCKER",
    "containerRuntimeVersion": "20.10.18",
    "architecture": "x86_64",
    "associatedSensorProfile": "6963d471-7598-4d4d-b95ce540c75745b2",
    "associatedSensorProfileName": "General-test2",
    "cluster": null
}

 

 

Was this topic helpful?

success Thank you! We're glad to hear that this topic was useful.
success We appreciate your feedback. We'll work to make this topic better for you in the future.