Get user risk score report

get

/api/v1/reports/details/{reportName}

This call will retrieve the user risk score report. Filters can be applied using the query parameters.

Request

Supported Media Types
Path Parameters
  • The name of the report to be retrieved. Sample value is 'Userrisk'. This report name must be present as a path parameter.
Query Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Successfully read user risk score.
Body ()
Root Schema : ReportResponse
Type: object
Show Source
Nested Schema : userRiskScores
Type: array
The list of users and their associated risk scores.
Show Source
Nested Schema : userRiskScores
Type: object
Show Source
Nested Schema : userRiskDetails
Type: array
Risk details that includes risk level, username, risk score, reasons for the risk, detected date, reasons and counts.
Show Source
Nested Schema : userRiskDetails
Type: object
Show Source

400 Response

Bad request format. Check the response for more information on which fields are inaccurate. Ensure that you have a request which follows the format.
Body ()
Root Schema : Error
Type: object
Show Source

401 Response

Unauthorized get API call. See response for more details.
Body ()
Root Schema : Error
Type: object
Show Source

403 Response

Retrieving all user risk score events is forbidden. It is likely that the CASB APIs aren???t enabled for the tenant.
Body ()
Root Schema : Error
Type: object
Show Source

404 Response

Requested Resource(instance ID) is not present.
Body ()
Root Schema : Error
Type: object
Show Source

500 Response

Internal Server error occured. See response for more details.
Body ()
Root Schema : Error
Type: object
Show Source

503 Response

Service is unavailable.
Body ()
Root Schema : Error
Type: object
Show Source

504 Response

Gateway timed out. Please retry.
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top

Examples

The following example shows how to retrieve a user risk report by submitting a GET request.

Example Response Body: Retrieving a User Risk Report

The following example shows the contents of the response body in JSON format:

{
  "type": "ReportResponse",
  "tenantName": "e6d29a75-cdaf-4dfa-b35d-90c77899eb10",
  "reportId": "userrisk",
  "maxCount": 100,
  "totalCount": 6,
  "size": 6,
  "title": "Users at risk",
  "description": "User risk scores based on LORIC's analysis of suspicious activity patterns",
  "userRiskScores": [
    {
      "appname": "SFDC",
      "appinstance": "publiceventsapi",
      "appInstanceId": "bd4716ef-d9b3-4348-8793-347134edce7a",
      "userRiskDetails": [
        {
          "displayname": "Risk Level",
          "value": "Normal"
        },
        {
          "displayname": "User name",
          "value": "andylemarc@mycompany.com"
        },
        {
          "displayname": "Maximum Risk Score",
          "value": "00"
        },
        {
          "displayname": "Reasons",
          "value": "[\"bd4716ef-d9b3-4348-8793-347134edce7a\", \"2017-10-24T23:29:38Z\", {\"MSG_NO_RISK_FACTORS\":\"No risk factors\"}]"
        },
        {
          "displayname": "Detected Date",
          "value": "2017-10-24T00:00:00Z"
        },
        {
          "displayname": "ReasonsAverage",
          "value": "{}"
        },
        {
          "displayname": "ReasonsCounts",
          "value": "{}"
        },
        {
          "displayname": "Detected Date ISOFormat",
          "value": "2017-10-24T00:00:00Z"
        }
      ]
    },
    {
      "appname": "SFDC",
      "appinstance": "publiceventsapi",
      "appInstanceId": "bd4716ef-d9b3-4348-8793-347134edce7a",
      "userRiskDetails": [
        {
          "displayname": "Risk Level",
          "value": "Normal"
        },
        {
          "displayname": "User name",
          "value": "carlagomez@mycompany.com"
        },
        {
          "displayname": "Maximum Risk Score",
          "value": "00"
        },
        {
          "displayname": "Reasons",
          "value": "[\"bd4716ef-d9b3-4348-8793-347134edce7a\", \"2017-10-24T23:29:38Z\", {\"MSG_NO_RISK_FACTORS\":\"No risk factors\"}]"
        },
        {
          "displayname": "Detected Date",
          "value": "2017-10-24T00:00:00Z"
        },
        {
          "displayname": "ReasonsAverage",
          "value": "{}"
        },
        {
          "displayname": "ReasonsCounts",
          "value": "{}"
        },
        {
          "displayname": "Detected Date ISOFormat",
          "value": "2017-10-24T00:00:00Z"
        }
      ]
    },
    {
      "appname": "SFDC",
      "appinstance": "publiceventsapi",
      "appInstanceId": "bd4716ef-d9b3-4348-8793-347134edce7a",
      "userRiskDetails": [
        {
          "displayname": "Risk Level",
          "value": "Normal"
        },
        {
          "displayname": "User name",
          "value": "billwong@mycompany.com"
        },
        {
          "displayname": "Maximum Risk Score",
          "value": "00"
        },
        {
          "displayname": "Reasons",
          "value": "[\"bd4716ef-d9b3-4348-8793-347134edce7a\", \"2017-10-24T23:29:38Z\", {\"MSG_NO_RISK_FACTORS\":\"No risk factors\"}]"
        },
        {
          "displayname": "Detected Date",
          "value": "2017-10-24T00:00:00Z"
        },
        {
          "displayname": "ReasonsAverage",
          "value": "{}"
        },
        {
          "displayname": "ReasonsCounts",
          "value": "{}"
        },
        {
          "displayname": "Detected Date ISOFormat",
          "value": "2017-10-24T00:00:00Z"
        }
      ]
    },
    {
      "appname": "SFDC",
      "appinstance": "publiceventsapi",
      "appInstanceId": "bd4716ef-d9b3-4348-8793-347134edce7a",
      "userRiskDetails": [
        {
          "displayname": "Risk Level",
          "value": "Normal"
        },
        {
          "displayname": "User name",
          "value": "suelee@mycompany.com"
        },
        {
          "displayname": "Maximum Risk Score",
          "value": "00"
        },
        {
          "displayname": "Reasons",
          "value": "[\"bd4716ef-d9b3-4348-8793-347134edce7a\", \"2017-10-24T23:29:38Z\", {\"MSG_NO_RISK_FACTORS\":\"No risk factors\"}]"
        },
        {
          "displayname": "Detected Date",
          "value": "2017-10-24T00:00:00Z"
        },
        {
          "displayname": "ReasonsAverage",
          "value": "{}"
        },
        {
          "displayname": "ReasonsCounts",
          "value": "{}"
        },
        {
          "displayname": "Detected Date ISOFormat",
          "value": "2017-10-24T00:00:00Z"
        }
      ]
    },
    {
      "appname": "SFDC",
      "appinstance": "publiceventsapi",
      "appInstanceId": "bd4716ef-d9b3-4348-8793-347134edce7a",
      "userRiskDetails": [
        {
          "displayname": "Risk Level",
          "value": "Normal"
        },
        {
          "displayname": "User name",
          "value": "sashakopek@mycompany.com"
        },
        {
          "displayname": "Maximum Risk Score",
          "value": "00"
        },
        {
          "displayname": "Reasons",
          "value": "[\"bd4716ef-d9b3-4348-8793-347134edce7a\", \"2017-10-24T23:29:38Z\", {\"NETWRK_PREFIX_EVENTS\":\"Total IP network prefix for all events\"}]"
        },
        {
          "displayname": "Detected Date",
          "value": "2017-10-24T00:00:00Z"
        },
        {
          "displayname": "ReasonsAverage",
          "value": "{\"NETWRK_PREFIX_EVENTS\":\"1\"}"
        },
        {
          "displayname": "ReasonsCounts",
          "value": "{\"NETWRK_PREFIX_EVENTS\":\"1\"}"
        },
        {
          "displayname": "Detected Date ISOFormat",
          "value": "2017-10-24T00:00:00Z"
        }
      ]
    },
    {
      "appname": "SFDC",
      "appinstance": "publiceventsapi",
      "appInstanceId": "bd4716ef-d9b3-4348-8793-347134edce7a",
      "userRiskDetails": [
        {
          "displayname": "Risk Level",
          "value": "Normal"
        },
        {
          "displayname": "User name",
          "value": "leiamacintosh@mycompany.com"
        },
        {
          "displayname": "Maximum Risk Score",
          "value": "00"
        },
        {
          "displayname": "Reasons",
          "value": "[\"bd4716ef-d9b3-4348-8793-347134edce7a\", \"2017-10-24T23:29:38Z\", {\"NETWRK_PREFIX_EVENTS\":\"Total IP network prefix for all events\"}]"
        },
        {
          "displayname": "Detected Date",
          "value": "2017-10-24T00:00:00Z"
        },
        {
          "displayname": "ReasonsAverage",
          "value": "{\"NETWRK_PREFIX_EVENTS\":\"1\"}"
        },
        {
          "displayname": "ReasonsCounts",
          "value": "{\"NETWRK_PREFIX_EVENTS\":\"3\"}"
        },
        {
          "displayname": "Detected Date ISOFormat",
          "value": "2017-10-24T00:00:00Z"
        }
      ]
    }
  ]
}
Back to Top