Get Runtime Profile for a Container

Returns a list of resources that are tracked to gather trace information, including files that are being read on the container, programs being run, ports accessed, and IP address information.

GET/csapi/v1.3/runtime/containers/{containerSha}/runtimeprofile

Input ParametersInput Parameters

Parameter Mandatory/Optional Data Type Description

containerSha

Mandatory string

Specify the SHA value of the container for which you want to get the runtime profile.

SampleSample

API request

    curl --location --request GET "<qualys_base_url>/csapi/v1.3/runtime/containers/7113e5aa32875169d41d168a871ca17a510663a6c0ea0e3a9ba03d0eea00cff6/runtimeprofile"
--header "Authorization: Bearer <token>"
    

Response

    {
    "files": [
        "/etc/ld.so.cache",
        "/etc/resolv.conf",
        "/lib/x86_64-linux-gnu/libacl.so.1",
        "/lib/x86_64-linux-gnu/libacl.so.1.1.0",
        "/lib/x86_64-linux-gnu/libattr.so.1",
        "/lib/x86_64-linux-gnu/libattr.so.1.1.0",
        "/lib/x86_64-linux-gnu/libc-2.19.so",
        "/lib/x86_64-linux-gnu/libc.so.6",
        "/lib/x86_64-linux-gnu/libdl-2.19.so",
        "/lib/x86_64-linux-gnu/libdl.so.2",
        "/lib/x86_64-linux-gnu/libpcre.so.3",
        "/lib/x86_64-linux-gnu/libpcre.so.3.13.1",
        "/lib/x86_64-linux-gnu/libpthread-2.19.so",
        "/lib/x86_64-linux-gnu/libpthread.so.0",
        "/lib/x86_64-linux-gnu/libselinux.so.1"
    ],
    "programs": [
        "/bin/cat",
        "/bin/ls",
        "/bin/sh"
    ],
    "ports": null,
    "ips": 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.