Get distinct values of a list of filters

This endpoint returns the possible distinct values for each of the filter names provided in the "filters" parameter.

The scope of the filter values is restricted with the same type of filters we use to restrict the list of Audit Trail Events we retrieve in the /audits endpoint. Beware that a given filter may be included, rather in the list of filters, rather included in the filter restrictions.E.g: we can search the distinct "action" values, or we can search for the values of other filters for a given "action=sentMessage"

Get distinct values of a list of filters

get

This operation returns the possible distinct values for each of the filter names provided in the "filters" parameter. The scope of the filter values is restricted with the same type of filters we use to restrict the list of Audit Trail Events we retrieve in the /audits endpoint. Beware that a given filter may be included, rather in the list of filters, rather included in the filter restrictions. E.g: we can search the distinct "action" values, or we can search for the values of other filters for a given "action=sentMessage". This operation returns only audits for the categories the requester is entitled to.

Query parameters
filtersstringRequired

Names of the filters for which we want to retrieve their distinct values

Example: action,originatingUser,affectedUser,group,attribute
startDatestringOptional

start range date restriction. Date must be formatted the following way: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'

endDatestringOptional

end range date restriction. Date must be formatted the following way: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'

categoriesstringRequired

List of Audit Trail categories restriction

Example: login,malwarescan
affectedUserIdstringOptional

"Affected User Id" filter single value restriction

originatingUserIdstringOptional

"Originating User Id" filter single value restriction (a.k.a. "Performed by)"

actionIdstringOptional

"Action Id" filter single value restriction

attributestringOptional

"Attribute" filter single value restriction

groupIdstringOptional

"Group Id" filter single value restriction (used by Info barrier, Role Scope...)

authorizationRolestringOptional

"Authorization Role" filter single value restriction

streamIdstringOptional

"Stream Id" filter single value restriction (using either Base64 or Base64URL encoding)

policyIdstringOptional

"Policy Id" filter single value restriction

applicationIdstringOptional

"Application Id" filter single value restriction

tempAuthIdstringOptional

"Temporary Authorization Id" filter single value restriction

disclaimerIdstringOptional

"Disclaimer Id" filter single value restriction

Responses
200
Success
application/json
get
GET /at2/v1/filters/values?filters=action%2CoriginatingUser%2CaffectedUser%2Cgroup%2Cattribute&categories=login%2Cmalwarescan HTTP/1.1
Host: youraudittrailURL.symphony.com
Accept: */*
[
  {
    "values": [
      "values",
      "values"
    ],
    "name": "name",
    "complexValues": [
      null,
      null
    ]
  }
]

Last updated

Was this helpful?