recommendationBase 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

公开 建议 资源类型的属性的抽象类型。

方法

无。

属性

属性 类型 说明
actionSteps actionStep 集合 完成 建议时要采取的操作列表。
好处 String 解释 为什么完成建议 将使你受益。 对应于 Microsoft Entra 管理中心中显示的建议的“值”部分。
“类别” recommendationCategory 指示建议所属的智能指导类别。 可能的值包括 identityBestPractice、identitySecureScore、unknownFutureValue、mdiSecureScore。 使用 Prefer: include-unknown-enum-members 请求标头从这个 可进化的枚举中获取以下值: mdiSecureScore.
categoryGroup recommendationCategoryGroup 建议所属的业务分类组,用于在 Microsoft Entra 管理中心中整理建议。 可取值包括:strengthenAuthentication、detectAndRespondToThreats、enforceLeastPrivilege、governAppsCredentialsAndAgents、hardenInfrastructure、defenderForIdentity、unknownFutureValue。 只读。 支持 $filter(eq)。
completedBySystemDateTime DateTimeOffset 建议服务验证 建议已完全 修正并将其 状态 设置为 completedBySystem的日期和时间。 如果 null 系统未完成建议。 支持 $filter。
completedByUserDateTime DateTimeOffset 在当前审阅周期内,用户将 建议 标记为已完成的日期和时间,包括从用户标记为已完成的所有受影响资源汇总该值的时间。 null如果用户在当前周期中未完成建议。 支持 $filter。
createdDateTime DateTimeOffset 检测到 建议 适用于目录的日期和时间。
currentScore 双精度 租户已获得的点数。 仅适用于类别设置为 identitySecureScore.
displayName String 建议的标题。
failedReviewDateTime DateTimeOffset 建议服务最近验证用户标记为已完成的一个或多个受影响资源仍然受到影响的日期和时间,并将它们移动到 needsMoreAction。 在修正已审核资源时被清除,因此它与 remediatedDateTime 互斥。 当前 null 没有用户审核的资源未通过验证。 支持 $filter。
featureAreas recommendationFeatureAreas 集合 与 建议 相关的目录功能。
id String 为租户生成的 建议 对象的唯一标识符。 这是租户 ID 和为建议分配的 Microsoft Entra ID 昵称的串联。 例如,7918d4b5-0442-4a97-be2d-36f9f9962ece_Microsoft.Identity.IAM.Insights.ThirdPartyApps
impactStartDateTime DateTimeOffset 应完成 建议 的未来日期和时间。
impactType String 指示建议的影响范围。 tenantLevel 指示建议影响整个租户。 其他可能的值包括 users, apps。
insights String 描述为什么建议唯一适用于目录。 对应于 Microsoft Entra 管理中心中显示的建议的说明部分。
lastCheckedDateTime DateTimeOffset 建议被视为适用于目录的最新日期和时间。
lastModifiedBy String 上次更新推荐状态的用户名称。
lastModifiedDateTime DateTimeOffset 上次更新推荐状态的日期和时间。
maxScore 双精度 可获得的最大积分数。 仅适用于类别设置为 identitySecureScore.
needsMoreActionResourceCount Int32 用户标记为已完成且建议服务随后验证的受影响资源数仍受影响 (移至 needsMoreAction) 。 此值在设置 failedReviewDateTime 时大于零。 是null建议不参与评审生命周期的情况。
nistClassifications nistClassification 集合 NIST 网络安全框架 (建议所映射 的 CSF) 2.0 类别。 只读。
postponeUntilDateTime DateTimeOffset 推迟推荐的状态将再次变为active的未来日期和时间。
priority recommendationPriority 指示要完成的 建议 的时间敏感性。 Microsoft 自动分配此值。 可能的值包括 low、medium、high、critical、unknownFutureValue。
recommendationType recommendationType 用于识别 建议的友好短名称。 可能的值为: adfsAppsMigration、、enableDesktopSSO、 enablePHSenableProvisioningswitchFromPerUserMFAtenantMFAthirdPartyAppsturnOffPerUserMFAuseAuthenticatorAppuseMyAppsstaleAppsstaleAppCredsapplicationCredentialExpiryservicePrincipalKeyExpiryadminMFAV2blockLegacyAuthenticationintegratedAppsmfaRegistrationV2pwagePolicyNewpasswordHashSynconeAdminroleOverlapselfServicePasswordResetsigninRiskPolicyuserRiskPolicyverifyAppPublisherprivateLinkForAADappRoleAssignmentsGroupsappRoleAssignmentsUsersmanagedIdentityoverprivilegedAppsunknownFutureValuelongLivedCredentialsaadConnectDeprecatedadalToMsalMigrationownerlessAppsinactiveGuestsaadGraphDeprecationApplicationaadGraphDeprecationServicePrincipalmfaServerDeprecation 使用Prefer: include-unknown-enum-members请求标头可在此可进化枚举中获取以下成员: longLivedCredentials 、、、 aadGraphDeprecationApplicationmfaServerDeprecationadalToMsalMigrationownerlessAppsinactiveGuestsaadGraphDeprecationServicePrincipalaadConnectDeprecated
releaseType releaseType 建议的当前发布类型。 可能的值包括 preview、generallyAvailable、unknownFutureValue。
remediatedDateTime DateTimeOffset 建议服务验证用户标记为已完成的受影响资源是否已修正的日期和时间,这意味着用户审核的资源已达到 completedBySystem。 如果已审阅资源随后验证失败,则由 failedReviewDateTime 取代。 如果 null 系统未在当前周期中验证用户驱动的修正。 支持 $filter。
remediationImpact String 修正对用户影响的描述。 仅适用于类别设置为 identitySecureScore.
requiredLicenses requiredLicenses 查看建议所需的许可证。 可能的值为:notApplicable、、microsoftEntraIdFree、。 microsoftEntraIdP2microsoftEntraSuitemicrosoftEntraIdP1microsoftEntraIdGovernancemicrosoftEntraWorkloadIdunknownFutureValueaatp 使用 Prefer: include-unknown-enum-members 请求标头从这个 可进化的枚举中获取以下值: aatp, microsoftEntraSuite.
status recommendationStatus 根据用户或系统操作指示 建议 的状态。 可能的值为: active、 completedBySystem、 needsMoreActionalternateMitigationplannedriskAcceptedpostponedthirdPartycompletedByUserdismissedunknownFutureValue。 使用 Prefer: include-unknown-enum-members 请求标头从这个 可进化的枚举中获取以下值: riskAccepted , , thirdParty , plannedalternateMitigationneedsMoreAction, , . 默认情况下,建议的 状态 设置为 active 首次生成建议时。 当我们的服务检测到以前处于活动状态的建议不再适用时,completedBySystem将设置为状态。
statusModifiedDateTime DateTimeOffset 建议状态上次更改的日期和时间,例如从 activecompletedByUser、 、 dismissedpostponed或 。needsMoreAction 与 lastModifiedDateTime 不同,当仅建议的见解数据更改而 状态 保持不变时,不会更新此值。 直到 null 推荐的 状态 首次更改为止。 支持 $filter。

关系

关系 类型 说明
impactedResources impactedResource 集合 与 建议关联的目录对象的列表。
tags recommendationTag 集合 应用于 建议的用户定义的自由格式标签。 该集合不可直接写入;标记通过 addTag 和 removeTag 操作创建和删除。

JSON 表示形式

以下 JSON 表示形式显示资源类型。

{
  "@odata.type": "#microsoft.graph.recommendationBase",
  "id": "String (identifier)",
  "actionSteps": [
    {
      "@odata.type": "microsoft.graph.actionStep"
    }
  ],
  "benefits": "String",
  "category": "String",
  "categoryGroup": "String",
  "completedBySystemDateTime": "String (timestamp)",
  "completedByUserDateTime": "String (timestamp)",
  "createdDateTime": "String (timestamp)",
  "currentScore": "Double",
  "displayName": "String",
  "failedReviewDateTime": "String (timestamp)",
  "featureAreas": [
    "String"
  ],
  "releaseType": "String",
  "requiredLicenses": "String",
  "impactType": "String",
  "impactStartDateTime": "String (timestamp)",
  "insights": "String",
  "lastCheckedDateTime": "String (timestamp)",
  "lastModifiedDateTime": "String (timestamp)",
  "lastModifiedBy": "String",
  "maxScore": "Double",
  "needsMoreActionResourceCount": "Int32",
  "nistClassifications": [
    {
      "@odata.type": "microsoft.graph.nistClassification"
    }
  ],
  "postponeUntilDateTime": "String (timestamp)",
  "priority": "String",
  "remediatedDateTime": "String (timestamp)",
  "status": "String",
  "statusModifiedDateTime": "String (timestamp)",
  "remediationImpact": "String",
  "recommendationType": "String"
}