The search REST API returns the codes for column names, rather than the column (or field) names themselves. getFieldsTitles maps those codes to the actual column names.

The numbers that are returned are in response to search RESTAPI results.

This API is available in Guardium V9.5 and later.

REST API syntax

This API is available only as a REST service with the GET method. Call this API as follows:
GET https://[Guardium hostname or IP address]:8443/restAPI/fieldsTitles

This API takes no parameters.


Use this API to return a map of all column codes and their names in a search query. For example:

curl -k --header "Authorization: Bearer 3499f352-aa98-4046-89d8-aba3d8c7d0fc" "”

Returns the following information:

    "Message":  "{"19": "Number of Instances",
                "35": "Execute Privileged Groups",
                "36": "Execute Privileged Users",
                "18": "Anomaly Score",
                "33": "Write Privileged Groups",
                "15": "Violation",
                "34": "Write Privileged Users",
                "16": "Severity",
                "39": "Modification Time",
                "13": "Details",
                "14": "Error",
                "9": "Time",
                "8": "Date"}",                                                              
    "ID":  0