Skip to content

Latest commit

 

History

History
124 lines (95 loc) · 4.47 KB

File metadata and controls

124 lines (95 loc) · 4.47 KB
title reportRoot: getAttackSimulationRepeatOffenders
description List repeat offender users of a tenant in attack simulation and training campaigns.
author stuartcl
ms.localizationpriority medium
ms.subservice reports
doc_type apiPageType
ms.date 04/05/2024

reportRoot: getAttackSimulationRepeatOffenders (deprecated)

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

[!INCLUDE attacksim-deprecate-queryurl-reportapi]

List the users of a tenant 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/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 a attackSimulationRepeatOffender collection in the response body.

Examples

Request

GET https://graph.microsoft.com/beta/reports/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

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

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

{
  "value": [
    {
      "repeatOffenceCount": 1,
      "attackSimulationUser": {
        "userId": "99af58b9-ef1a-412b-a581-cb42fe8c8e21",
        "displayName": "Sample User",
        "email": "sampleuser@contoso.com"
      }
    }
  ]
}

Related content

securityReportsRoot: getAttackSimulationRepeatOffenders