Skip to content

Latest commit

 

History

History
132 lines (103 loc) · 4.96 KB

File metadata and controls

132 lines (103 loc) · 4.96 KB
title securityReportsRoot: getAttackSimulationRepeatOffenders
description List the tenant users who have yielded to attacks more than once in attack simulation and training campaigns.
author stuartcl
ms.localizationpriority medium
ms.subservice reports
doc_type apiPageType
ms.date 04/04/2024

securityReportsRoot: getAttackSimulationRepeatOffenders

Namespace: microsoft.graph

List the tenant users who have yielded to attacks more than once in attack simulation and training campaigns.

This function supports @odata.nextLink for pagination.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

GET /reports/security/getAttackSimulationRepeatOffenders

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this function returns a 200 OK response code and an attackSimulationRepeatOffender collection in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/v1.0/reports/security/getAttackSimulationRepeatOffenders

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-Type: application/json

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.attackSimulationRepeatOffender)",
    "@odata.nextLink": "https://graph.microsoft.com/v1.0/reports/security/getAttackSimulationRepeatOffenders?$skiptoken=+RID%3",
    "value": [
        {
            "repeatOffenceCount": 5,
            "attackSimulationUser": {
                "userId": "6fcdab00-385b-46f2-a329-b843b49e9147",
                "displayName": "Reed Flores",
                "email": "reed@contoso.com"
            }
        },
        {
            "repeatOffenceCount": 638,
            "attackSimulationUser": {
                "userId": "478a22cd-aecc-41df-b995-88c8de17aaf5",
                "displayName": "Reed Flores",
                "email": "reed@contoso.com"
            }
        }
    ]
}