认证活动有效载荷

您可以使用以下认证活动事件有效载荷,为事件通知 Webhook 和 API 触发异步工作流和同步操作。

下表列出了认证活动事件中包含的属性。

表 1. 证书活动属性
名称 数据类型 描述
data.action 字符串 用户针对该资源执行的操作。
data.api_grant_type 字符串 JWT 中的 grant-type。
data.applicationid 字符串 用于定义操作目标的补充信息。 被以下资源使用: 应用程序权限
data.applicationname 字符串 应用程序名称是以下资源的目标: 应用程序、授权
data.applications 字符串 本次活动将审核的申请。
data.assignee_id 字符串 指定受让人ID。
data.assignee_realm 字符串 指定受让人所属的领域。
data.assignee_type 字符串 指定该分配是针对用户还是组。
data.assignee_username 字符串 指定受让人姓名。
data.campaign_id 字符串 该活动的唯一标识符。
data.campaign_name 字符串 指定营销活动名称。
data.campaign_type 字符串 指定该活动是针对用户授权、组授权还是账户。
data.cause 字符串 指定错误消息。
data.configurationname 字符串 指定广告系列配置名称。
data.currentstatus 字符串 指定活动实例的状态。
data.finerStatus 字符串 指定账户的详细状态。 它可以取以下任一值:已授权、符合要求、匹配、不符合要求、未授权、未受管、未匹配或未匹配。
data.id 字符串 指定数据集记录 ID。
data.instance_id 字符串 该活动实例的唯一标识符。
data.isreviewerlastactionautomatic Boolean 指定审阅者的上一项操作是否为自动操作。
data.justification 字符串 说明该作业的评分依据。
data.name 字符串 指定广告系列实例名称。
data.numberofrecordstoreview 字符串 指定待审核的作业总数。
data.optionalrev_id 字符串 指定活动配置的可选审核人。
data.owner_id 字符串 指定活动配置的所有者。
data.performedby_id 字符串 在该实例上执行该操作的用户 ID。
data.performedby_type 字符串 指定对实例执行了该操作的用户类型。 例如,系统、API 或用户。
data.resource 字符串 指定审核操作的资源。 例如,活动、实例或任务。
data.reviewer_id 字符串 审稿人的唯一标识符。
data.reviewer_username 字符串 指定审阅者的姓名。
data.reviewerlastaction 字符串 指定审阅者的最后一次操作。
data.reviewerlastactiontime 字符串 指定审阅者执行上一次操作的时间。
data.target 字符串 指定活动配置的目标。
data.target_type 字符串 指定广告系列配置的目标类型。 可以是权益,也可以是账户。
data.targetid 字符串 这可以是账户 ID 或授权 ID,具体取决于 data.target_type。
data.tenant_id 指定创建该营销活动配置所针对的租户。
data.timeclosed 字符串 指定配置实例关闭的时间。
data.timestarted 字符串 指定配置实例上次启动的时间。

示例

以下代码是一个示例有效载荷。 使用 Events API 获取实际属性。 参见 https://docs.verify.ibm.com/verify/reference/getalleventshttps://docs.verify.ibm.com/verify/docs/pulling-event-data

{
    "data": {
      "tenant_id": "tenant name.ibmcloudsecurity.com",
      "performedby_type": "system",
      "targetid": "11111111-1111-1111-1111-111111111111",
      "resource": "assignment",
      "campaign_type": "userassignment",
      "target_type": "entitlement",
      "reviewer_realm": "cloudIdentityRealm",
      "cause": "The assignment has not been processed",
      "isreviewerlastactionautomatic": false,
      "assignee_realm": "cloudIdentityRealm",
      "reviewerlastaction": "none",
      "target": "Basic access",
      "applicationname": "Office 365",
      "campaign_name": "Test 1:1:1 campaign",
      "assignee_type": "user",
      "instance_id": "22222222-2222-2222-2222-222222222222",
      "reviewer_id": "50WNARX3HF",
      "action": "notprocessedatsignoff",
      "id": "33333333-3333-3333-3333-333333333333",
      "applicationid": "4444444444444444444",
      "assignee_username": "testuser-admin",
      "campaign_id": "55555555555555555555555555555555",
      "assignee_id": "6666666666",
      "reviewer_username": "testuser-owner"
    },
    "year": 2023,
    "event_type": "cert_campaign",
    "month": 1,
    "indexed_at": 1674752403007,
    "tenantid": "77777777-7777-7777-7777-777777777777",
    "tenantname": "tenant name.ibmcloudsecurity.com",
    "correlationid": "CORR_ID-88888888-8888-8888-8888-888888888888",
    "servicename": "certmgr",
    "id": "99999999-9999-9999-9999-999999999999",
    "time": 1674752402521,
    "day": 26
  }