名前空間: microsoft.graph
攻撃シミュレーションとトレーニング キャンペーンで複数回攻撃を受けたテナント ユーザーを一覧表示します。
この関数では、改ページ調整がサポートされています @odata.nextLink
。
この API は、次の国内クラウド展開で使用できます。
グローバル サービス |
米国政府機関 L4 |
米国政府機関 L5 (DOD) |
21Vianet が運営する中国 |
✅ |
❌ |
❌ |
❌ |
アクセス許可
この API の最小特権としてマークされているアクセス許可またはアクセス許可を選択します。
アプリで必要な場合にのみ、より高い特権のアクセス許可またはアクセス許可を使用します。 委任されたアクセス許可とアプリケーションのアクセス許可の詳細については、「 アクセス許可の種類」を参照してください。 これらのアクセス許可の詳細については、 アクセス許可のリファレンスを参照してください。
アクセス許可の種類 |
最小特権アクセス許可 |
特権の高いアクセス許可 |
委任 (職場または学校のアカウント) |
AttackSimulation.Read.All |
注意事項なし。 |
委任 (個人用 Microsoft アカウント) |
サポートされていません。 |
サポートされていません。 |
アプリケーション |
AttackSimulation.Read.All |
注意事項なし。 |
HTTP 要求
GET /reports/security/getAttackSimulationRepeatOffenders
名前 |
説明 |
Authorization |
ベアラー {token}。 必須です。
認証と承認の詳細については、こちらをご覧ください。 |
要求本文
このメソッドには、要求本文を指定しません。
応答
成功した場合、この関数は 200 OK
応答コードと、応答本文の attackSimulationRepeatOffender コレクションを返します。
例
要求
次の例は要求を示しています。
GET https://graph.microsoft.com/v1.0/reports/security/getAttackSimulationRepeatOffenders
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Reports.Security.GetAttackSimulationRepeatOffenders.GetAsGetAttackSimulationRepeatOffendersGetResponseAsync();
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
// Code snippets are only available for the latest major version. Current major version is $v1.*
// Dependencies
import (
"context"
msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go"
//other-imports
)
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=go
getAttackSimulationRepeatOffenders, err := graphClient.Reports().Security().GetAttackSimulationRepeatOffenders().GetAsGetAttackSimulationRepeatOffendersGetResponse(context.Background(), nil)
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
var result = graphClient.reports().security().getAttackSimulationRepeatOffenders().get();
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
const options = {
authProvider,
};
const client = Client.init(options);
let getAttackSimulationRepeatOffenders = await client.api('/reports/security/getAttackSimulationRepeatOffenders')
.get();
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
<?php
use Microsoft\Graph\GraphServiceClient;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$result = $graphServiceClient->reports()->security()->getAttackSimulationRepeatOffenders()->get()->wait();
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.reports.security.get_attack_simulation_repeat_offenders.get()
プロジェクトに SDK を追加し、authProvider インスタンスを作成する方法の詳細については、SDK のドキュメントを参照してください。
応答
次の例は応答を示しています。
注: ここに示す応答オブジェクトは、読みやすさのために短縮されている場合があります。
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"
}
}
]
}