容器类型的 SharePoint Embedded 操作通过 Microsoft Purview 捕获到 Microsoft 365 统一审核日志中。 这些事件使合规性管理员和开发人员能够跟踪对容器类型定义的更改。
有关搜索审核日志的一般信息,请参阅 搜索审核日志。 有关 SharePoint Embedded 中存储的内容可用的所有合规性功能的更广泛概述,请参阅 安全性和合规性。
容器类型活动
创建、更新或删除容器类型时,会记录以下事件。 有关详细信息,请参阅 SharePoint Embedded 容器类型。
这些事件在统一审核日志中使用 工作负载 值 SharePoint 。
| 友好名称 | 操作 | 说明 |
|---|---|---|
| 创建的容器类型 | ContainerTypeCreated | 已创建新的 SharePoint Embedded 容器类型定义。 |
| 已删除的容器类型 | ContainerTypeDeleted | 已删除租户拥有的 SharePoint Embedded 容器类型。 |
| 更新了容器类型 | ContainerTypeUpdated | SharePoint Embedded 容器类型的属性(如名称或配置)已更改。 |
| 更新了容器类型所有者 | ContainerTypeOwnersUpdated | 所有者已添加到 SharePoint Embedded 容器类型或从中删除。 |
这些事件显示在 SharePoint Embedded Container Type 活动 类别下的 Microsoft Purview 审核日志中。 有关所有审核活动的完整参考,请参阅 审核日志活动。
搜索 SharePoint Embedded 审核事件
若要搜索这些事件,请使用 Microsoft Purview 审核日志搜索。 搜索时,将活动类别筛选器设置为 SharePoint Embedded 容器类型活动 以查找相关事件。
还可以使用 PowerShell 进行搜索:
Search-UnifiedAuditLog -Operations ContainerTypeCreated,ContainerTypeDeleted,ContainerTypeUpdated,ContainerTypeOwnersUpdated -StartDate (Get-Date).AddDays(-7) -EndDate (Get-Date)
容器类型审核事件包括 ContainerTypeId 属性,用于标识相关容器类型。 与容器级文件事件不同,容器类型事件不包括 ContainerInstanceId ,因为它们在类型级别应用,而不是应用于单个容器实例。
架构参考
容器类型审核事件使用 SharePoint 基本架构。 有关完整的架构定义和枚举值,请参阅Office 365管理活动 API 架构。