获取培训
命名空间:microsoft.graph
获取租户的攻击模拟 训练 。
此 API 可用于以下国家级云部署。
全局服务 | 美国政府 L4 | 美国政府 L5 (DOD) | 由世纪互联运营的中国 |
---|---|---|---|
✅ | ❌ | ❌ | ❌ |
权限
要调用此 API,需要以下权限之一。 若要了解详细信息,包括如何选择权限的信息,请参阅权限。
权限类型 | 权限(从最低特权到最高特权) |
---|---|
委派(工作或学校帐户) | AttackSimulation.Read.All、AttackSimulation.ReadWrite.All |
委派(个人 Microsoft 帐户) | 不支持。 |
应用程序 | AttackSimulation.Read.All、AttackSimulation.ReadWrite.All |
HTTP 请求
GET /security/attackSimulation/trainings/{trainingId}
可选的查询参数
此方法当前不支持 OData 查询参数 来自定义响应。
请求标头
名称 | 说明 |
---|---|
Authorization | 持有者 {token}。 必填。 详细了解 身份验证和授权。 |
请求正文
请勿提供此方法的请求正文。
响应
如果成功,此方法在 200 OK
响应正文中返回响应代码和 训练 对象。
示例
请求
以下示例显示了一个请求。
GET https://graph.microsoft.com/v1.0/security/attackSimulation/trainings/21b2b7d1-11ae-a7a8-99c8-9029a4e70cc9
响应
以下示例显示了相应的响应。
注意:为了提高可读性,可能缩短了此处显示的响应对象。
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#security/attackSimulation/trainings/$entity",
"id": "db8175cd-bafe-433a-a823-a2d6dd6c5e6a",
"displayName": "Mass Market Phishing - Amazon Gift Card",
"description": "Mass Market Phishing - Amazon Gift Card",
"durationInMinutes": 3,
"source": "global",
"type": "unknown",
"tags": [
"CredentialHarvesting",
"DriveByUrl",
"Compliance",
"Basic",
"Phishing"
],
"availabilityStatus": "available",
"supportedLocales": [
"tr",
"pl",
"fa",
"da",
"nl"
],
"hasEvaluation": false,
"createdDateTime": "2020-09-18T06:54:46.1930597Z",
"lastModifiedDateTime": "2023-03-28T12:01:33.3568194Z",
"createdBy": {
"email": "yibsu",
"id": null,
"displayName": null
},
"lastModifiedBy": {
"email": "yibsu",
"id": null,
"displayName": null
}
}
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈