イベント・データ公開参照スキーマおよびサンプル・ファイル

Oracle Cloud Infrastructure (OCI)バケットおよびOCIストリームに公開されるOracle Access Governanceコンポーネントのスキーマおよびサンプル出力コード・スニペットを定義します。

ヘッダー・スキーマおよびサンプル出力リファレンス

Day 0およびDay Nエクスポートをカバーするイベント・タイプに関連するヘッダーと、作成、更新および削除操作用のポリシー、アイデンティティ、リソースなどを含むデータ・オブジェクトの公開をカバーする別のイベント・タイプがあります。

第0日メッセージ・ヘッダー・スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "eventId": {
      "type": "string"
    },
    "correlationId": {
      "type": "string"
    },
    "eventTime": {
      "type": "string"
    },
    "eventTypeVersion": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "messageType": {
      "type": "string"
    },
    "eventType": {
      "type": "string"
    },
    "opcRequestId": {
      "type": "string"
    },
    "tenancyId": {
      "type": "string"
    },
    "serviceInstanceId": {
      "type": "string"
    }
  },
  "additionalProperties": false
}

日0サンプル・ヘッダー

{
  "headers": {
    "eventId": "752d5e14-a784-4d91-9cf4-57c0a72d7620",
    "correlationId": "9a0041f5-f67f-4b06-8fbd-c9b64d1d5ee3",
    "eventTime": "2024-09-05T16:57:59.922065942Z",
    "eventTypeVersion": "1.0",
    "version": "1.0",
    "operation": "CREATE",
    "messageType": "DAY0",
    "eventType": "com.oracle.idm.agcs.data.enablement.DAY0",
    "opcRequestId": "2cec8907-abcd-1234-be17-2dc91122/00ab2d02/2497,
    "tenancyId": "ocid1.tenancy.oc1..aaaaaaaazp2vvzjsn6newkqrpkwndxpdoixtqfgyhnf4y24h7d5ny27h6f3q",
    "serviceInstanceId": "ocid1.agcsgovernanceinstance.oc1.iad.amaaaaaaebkbezqawho7s4aseb4u43vrzy53yiv7ylgfjqk223wpjc7j4ubq"
  }
}

第0日オブジェクト・エクスポート・ヘッダー・スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "eventId": {
      "type": "string"
    },
    "correlationId": {
      "type": "string"
    },
    "eventTime": {
      "type": "string"
    },
    "eventTypeVersion": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "messageType": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "eventType": {
      "type": "string"
    },
    "opcRequestId": {
      "type": "string"
    },
    "tenancyId": {
      "type": "string"
    },
    "serviceInstanceId": {
      "type": "string"
    }
  },
  "additionalProperties": false
}

出力例: 0日目のオブジェクト・エクスポート・ヘッダー

{
  "headers": {
    "eventId": "8787e121-abcd-1234",
    "correlationId": "dc989b5c-abcd-1234",
    "eventTime": "2024-08-27T21:44:15.274034651Z",
    "eventType": "com.oracle.idm.agcs.data.enablement.policyStatement.created",
    "eventTypeVersion": "1.0",
    "operation": "CREATE",
    "messageType": "TARGET_ACCESS_POLICY_STATEMENT",
    "status": "IN_PROGRESS",
    "opcRequestId": "2cec8907-abcd-1234-be17-2dc91122/00ab2d02/2497",
    "tenancyId": "ocid1.tenancy.oc1..abcd1234",
    "serviceInstanceId": "ocid1.dev.dev.1234"
  }
}

Day Nオブジェクト・エクスポート・ヘッダー・スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "eventId": {
      "type": "string"
    },
    "eventTime": {
      "type": "string"
    },
    "eventTypeVersion": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "messageType": {
      "type": "string"
    },
    "eventType": {
      "type": "string"
    },
    "opcRequestId": {
      "type": "string"
    },
    "tenancyId": {
      "type": "string"
    },
    "serviceInstanceId": {
      "type": "string"
    }
  },
  "additionalProperties": false
}

出力例: 0日目のオブジェクト・エクスポート・ヘッダー

{
  "headers": {
    "eventId": "b8bfe07f-1234",
    "eventTime": "2024-05-18T23:19:56.360412Z",
    "tenancyId": "ocid.tenancy.oc1.1234",
    "serviceInstanceId": "ocid1.instance.oc1.1234",
    "opcRequestId": "request-1234",
    "eventType": "com.oracle.idm.agcs.cloudGroup.created",
    "eventTypeVersion": "1.0",
    "operation": "CREATE",
    "messageType": "GROUP"
  }
}

ヘッダー・スキーマ属性定義

出力ファイルで使用可能なDay 0およびDay Nヘッダーのスキーマを次に示します。

日付0のヘッダー・スキーマ属性定義
属性 説明
correlationId 2つ以上のイベントを関連付ける一意の識別子。たとえば、新しいリソースが作成され、新しいポリシーによってリソースへのアクセス権が付与される場合、2つのイベントが公開され、この識別子で識別されます。
eventId OCIバケットまたはOCIストリームに公開された各イベントの一意の識別子。これにより、各イベントを個別に処理およびトレースできます。
eventTime イベントが発生したときのタイムスタンプ(ナノ秒精度)。これは、データを順次かつ正確に消費するために必要です。

フォーマット: YYYY-MM-DDTHH:MM:SS.sssssssssZ

eventTypeversion 各イベントのレスポンスの送信に使用されるスキーマ・バージョン。スキーマに大幅な変更がある場合は、バージョンが更新されます。詳細は、セマンティック・バージョニングのガイドラインを参照してください。
messageType 公開されるデータ・コンポーネントのタイプ。たとえば、次の値を指定できます。
IDENTITY, GROUP, POLICY, RESOURCE, ACCESS_GUARDRAIL, ACCESS_BUNDLE, OCI_GROUP 
操作 データ公開イベントに関連付けられた基本操作。CREATE、UPDATE、DELETEが可能です。ポリシーなどの一部の操作では、ポリシーを更新する必要がある場合、イベントは更新操作よりも作成操作と削除操作の組合せでパブリッシュされます。
ステータス イベント公開ステータス。使用可能な値: START、IN PROGRESS、SUCCESS、FAILED。これらは出力ファイルに送信されます。ただし、Oracle Access Governanceコンソールでは、「成功」または「失敗」ステータスを確認できます。
eventType イベント操作の追跡にサービスで使用されるイベント値。たとえば、ポリシーに新しいポリシー・ステートメントを追加した場合、値はcom.oracle.idm.agcs.data.enablement.policyStatement.createdです
opcRequestId リクエストの一意のOracle割当て識別子。特定のリクエストについてオラクル社に連絡する必要がある場合は、このリクエストIDを指定してください。
tenancyId データがによって公開されるテナンシOracle Cloud Identifier (OCID)。Oracle Access Governance。
serviceInstanceId Oracle Access Governanceアプリケーションのサービス・インスタンスOCID。

監査履歴スキーマおよびサンプル出力ファイル

監査履歴スキーマを次に示します。

監査イベント・スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "$defs": {
    "AuditHeaders": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": "string"
      }
    },
    "AuditParameters": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": "string"
      }
    },
    "AuditIdentity": {
      "type": "object",
      "properties": {
        "host": {
          "type": "string"
        },
        "userAgent": {
          "type": "string"
        },
        "principalId": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "AuditRequest": {
      "type": "object",
      "properties": {
        "requestTime": {
          "type": "integer",
          "format": "date-time"
        },
        "id": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "action": {
          "type": "string"
        },
        "parameters": {
          "type": "object",
          "existingJavaType": "Object"
        },
        "headers": {
          "type": "object",
          "existingJavaType": "Object"
        },
        "payload": {
          "type": "object",
          "existingJavaType": "Object"
        }
      },
      "additionalProperties": false
    },
    "AuditResponse": {
      "type": "object",
      "properties": {
        "responseTime": {
          "type": "integer",
          "format": "date-time"
        },
        "status": {
          "type": "string"
        },
        "headers": {
          "type": "object",
          "existingJavaType": "Object"
        },
        "payload": {
          "type": "object",
          "existingJavaType": "Object"
        }
      },
      "additionalProperties": false
    },
    "AuditStateChange": {
      "type": "object",
      "properties": {
        "previous": {
          "type": "object",
          "existingJavaType": "Object"
        },
        "current": {
          "type": "object",
          "existingJavaType": "Object"
        }
      },
      "additionalProperties": false
    }
  },
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "eventType": {
      "type": "string"
    },
    "eventTypeVersion": {
      "type": "string"
    },
    "contentType": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "availabilityDomain": {
      "type": "string"
    },
    "identity": {
      "$ref": "#/$defs/AuditIdentity"
    },
    "request": {
      "$ref": "#/$defs/AuditRequest"
    },
    "response": {
      "$ref": "#/$defs/AuditResponse"
    },
    "stateChange": {
      "$ref": "#/$defs/AuditStateChange"
    }
  },
  "additionalProperties": false,
  "required": [
    "eventType",
    "source",
    "identity"
  ]
}

サンプル出力コード・スニペット

JSONLのデータ・セクションには、Oracle Access Governanceのアクセス・バンドルの作成に関連する監査イベントの詳細が含まれています。イベント・タイプはcom.example.idm.agcs.audit.permission-manager.createAccessBundleです。この例では、de-testという名前のバンドルが Active statusで作成され、承認なしが必要で、Ama Macleadによって管理されています。

{
  "headers": {
    "eventType": "com.example.idm.agcs.data.enablement.auditEvents",
    "operation": "CREATE",
    "messageType": "AUDIT_EVENTS",
    "eventTime": "2025-03-11T15:54:27.324101844Z",
    "tenancyId": "ocid1.tenancy.oc1..aaaaaaaahvjxelu7yccuhj3wrq5uqiybu7f5tfxvwteiwaupnlkj4woz6ybq",
    "serviceInstanceId": "ocid1.notreviewedplaceholder.dev.dev.amaaaaaapzw5rdiaifkgmp5r4e3e6u2vsmpomz2hwywo7maxrwy6zjr2wamq",
    "opcRequestId": "c58addc8-21f8-44b7-bc52-622be741/a478894e-f008-47fb-839a-d56ca9bf/1CBBC187BDBAC903BE9719055AF7A296",
    "eventTypeVersion": "1.0",
    "eventId": "ebb9f39d-28c9-49ff-8313-b9d69a5ef73b"
  },
  "data": "{\"source\":\"permission-manager\",\"eventType\":\"com.example.idm.agcs.audit.permission-manager.createAccessBundle\",\"eventTypeVersion\":\"20230331\",\"contentType\":\"application/json\",\"region\":\"IAD\",\"availabilityDomain\":\"IAD_AD_1\",\"identity\":{\"host\":\"sept12-test-1-idatelmkmn63.campaign.access-governance.oci.oc-test.com\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0\",\"principalId\":\"globalId.sept12-test-1-agent.18.w5rdiaifkgmp5r4e3e6u2vsmpomz2hwywo7maxrwy6zjr2wamq\"},\"request\":{\"requestTime\":1741708466446,\"id\":\"c58addc8-21f8-44b7-bc52-622be741/xxxxxx-f008-47fb-839a-d56ca9bf\",\"path\":\"/pm/20230331/accessBundles\",\"action\":\"POST\",\"parameters\":{},\"headers\":{\"X-RESOURCE-ACCOUNT-GUID\":[\"idcs-cloudservices-us-phoenix-idcs-1\"],\"Origin\":[\"https://sept12-test-1-idatelmkmn63.campaign.access-governance.oci.oc-test.com\"],\"idcs_authn_strength\":[\"2\"],\"X-REQ-POLICY\":[\"mypolicy\"],\"User-Agent\":[\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0\"],\"X-RESOURCE-IDENTITY-SERVICE-GUID\":[\"idcs-824f604a4d4b48b8918cde1416682c66\"],\"Sec-Fetch-Dest\":[\"empty\"],\"Accept-Encoding\":[\"gzip, deflate, br, zstd\"],\"DNT\":[\"1\"],\"idcs_user_tenant_name\":[\"idcs-824f604a4d4b48b8918cde1416682c66\"],\"Sec-Fetch-Mode\":[\"cors\"],\"remote_user\":[\"AMACLEAD@TESTMAIL.COM\"],\"idcs_cloudgate_id\":[\"ag-idcs-app_APPID\"],\"X-RESOURCE-IDENTITY-DOMAIN-NAME\":[\"idcs-824f604a4d4b48b8918cde1416682c66\"],\"idcs_user_csr\":[\"false\"],\"X-RESOURCE-SERVICE-INSTANCE-IDENTITY-POLICYNAME\":[\"mypolicy\"],\"Cookie\":[\"*****\"],\"X-RESOURCE-LISTENER-PATH-PREFIX\":[\"/pm\"],\"Accept\":[\"*/*\"],\"Priority\":[\"u\\u003d0\"],\"X-USERID\":[\"e4b4b893e2f8448ab76bf5ba85dad344\"],\"idcs_user_id\":[\"e4b4b893e2f8448ab76bf5ba85dad344\"],\"Accept-Language\":[\"en-US,en;q\\u003d0.5\"],\"x-user-identity-domain-name\":[\"idcs-824f604a4d4b48b8918cde1416682c66\"],\"X-RESOURCE-LOGICAL-SERVICE-GUID\":[\"0747931e-0c54-4cb2-9ba5-7a2daf70ba20\"],\"opc-request-id\":[\"c58addc8-21f8-44b7-bc52-622be741/a478894e-f008-47fb-839a-d56ca9bf\"],\"X-USERNAME\":[\"Pre1 Ama Middle1 Maclead Suf1\"],\"X-RESOURCE-SERVICE-PERMANENT-HOST\":[\"sept12-test-1-idatelmkmn63.campaign.access-governance.oci.oc-test.com\"],\"idcs_user_assertion\":[\"*****\"],\"X-RESOURCE-SERVICE-INSTANCE-IDENTITY-APPNAME\":[\"AG-sept12-test-1_APPID\"],\"idcs_authn_method\":[\"oauth\"],\"X-RESOURCE-SERVICE-INSTANCE-POLICY-APPNAME\":[\"AG-sept12-test-1_APPID\"],\"x-user-identity-service-guid\":[\"idcs-824f604a4d4b48b8918cde1416682c66\"],\"idcs_user_display_name\":[\"Ama Maclead\"],\"WL-Proxy-SSL\":[\"true\"],\"X-POLICY-IDENTITY-SERVICE-GUID\":[\"idcs-824f604a4d4b48b8918cde1416682c66\"],\"X-RESOURCE-SUB-ACCOUNT-NAMES\":[\"idcs-cloudservices-us-phoenix-idcs-1\"],\"is_ssl\":[\"ssl\"],\"Sec-GPC\":[\"1\"],\"idcs_service_url\":[\"https://idcs-824f604a4d4b48b8918cde1416682c66.identity.oraclecloud.com:443\"],\"Content-Length\":[\"4415\"],\"idcs_session_id\":[\"6190bce48bdd4a8b8ad233e06e21e980:9cf06f\"],\"Content-Type\":[\"application/json\"],\"X-USERGROUPS\":[\"Auditor-Group,NewGrpCreate,QAGrp GA1,00jc,FlatFileMgr,joe-data,Administrators,AGCS_groot_001,ag_policy_user_test_group,AccessGovPPGrp5324_1,Auto_OCIGroup,AGCSGroup6658,API_NS_GROUP46,Nandha-test,EWBGroup1,agcs_cross,AGFFGrp5342,AdvancedGovernance,TestCreate2,TestPolicyagcs,QAGrp GA2,OCIMembGroup,TestAug29Nandhatest,Create1,hamburger,agcs_email_group,DataFeed_writer_access_group,Admin,Badge_Access,vasil-test-user,AGCS_Users,Test45Nandha,agcs_agent_users,AG_User\"],\"Referer\":[\"https://sept12-test-1-idatelmkmn63.campaign.access-governance.oci.oc-test.com/ui/access-bundle/create/\"],\"Sec-Fetch-Site\":[\"same-origin\"],\"Host\":[\"sept12-test-1-idatelmkmn63.campaign.access-governance.oci.oc-test.com\"],\"X-RESOURCE-WEBTIER-POLICY-DISABLED\":[\"false\"],\"X-RESOURCE-SERVICE-INSTANCE-GUID\":[\"ocid1.notreviewedplaceholder.dev.dev.amaaaaaapzw5rdiaifkgmp5r4e3e6u2vsmpomz2hwywo7maxrwy6zjr2wamq\"],\"idcs_remote_user\":[\"AMACLEAD@TESTMAIL.COM\"],\"X-RESOURCE-SERVICE-TYPE\":[\"AccessGovernance\"],\"idcs_remote_user_mappingattr\":[\"userName\"]}},\"response\":{\"responseTime\":1741708466994,\"status\":\"200\",\"headers\":{\"Content-Type\":[\"application/json\"]},\"payload\":{\"permissions\":[{\"id\":\"groups.ICF.e933985f-fd7c-487f-86f4-9743c5c7f4ed.2b512719820c9a2004c592558020f4f3\",\"name\":\"2222222\",\"type\":\"ENTITLEMENTS\",\"timeCreatedOn\":1.737460861402E12,\"resource\":{\"id\":\"resource.ICF.e933985f-fd7c-487f-86f4-9743c5c7f4ed.1313a1286b70dddd47d43ceb507d9f84\",\"name\":\"AD_FULL_DN_QA\",\"displayName\":\"AD_FULL_DN_QA\",\"type\":\"AD\"},\"entitlementType\":{\"id\":\"etype.ICF.e933985f-fd7c-487f-86f4-9743c5c7f4ed.4b32eb973e48ea15527a4fc67f17574e\",\"name\":\"icf.connector.entitlement.type.groups\",\"displayName\":\"Group\",\"externalId\":\"groups\"}}],\"id\":\"de8a3a17-fc25-492f-838d-bb323c4b22f4\",\"name\":\"de-test\",\"description\":\"\",\"requestableBy\":{\"id\":\"ANY\",\"name\":\"Anyone\",\"displayName\":\"Anyone\"},\"status\":\"Active\",\"approvalWorkflowId\":{\"id\":\"NO_APPROVAL_REQUIRED\",\"name\":\"No Approval Required\",\"displayName\":\"No Approval Required\"},\"target\":{\"id\":\"e933985f-fd7c-487f-86f4-9743c5c7f4ed\",\"name\":\"AD_FULL_DN_QA\",\"displayName\":\"AD_FULL_DN_QA\"},\"targetType\":\"ICF\",\"timeCreatedOn\":1.741708466865E12,\"timeUpdatedOn\":1.741708466865E12,\"ownershipCollectionId\":\"5da53d00-4cde-4309-a284-11c492aba2e0\",\"owners\":[{\"id\":\"globalId.sept12-test-1-agent.18.w5rdiaifkgmp5r4e3e6u2vsmpomz2hwywo7maxrwy6zjr2wamq\",\"name\":\"Ama Maclead\",\"isPrimary\":true}],\"createdBy\":{\"id\":\"globalId.sept12-test-1-agent.18.w5rdiaifkgmp5r4e3e6u2vsmpomz2hwywo7maxrwy6zjr2wamq\",\"name\":\"Ama Maclead\",\"displayName\":\"Ama Maclead\"},\"updatedBy\":{\"id\":\"globalId.sept12-test-1-agent.18.w5rdiaifkgmp5r4e3e6u2vsmpomz2hwywo7maxrwy6zjr2wamq\",\"name\":\"Ama Maclead\",\"displayName\":\"Ama Maclead\"},\"customAttributes\":{},\"targetAttributes\":{\"accountAttributes\":[{\"name\":\"password\",\"title\":\"Password\",\"values\":[],\"type\":\"GuardedString\",\"children\":[],\"discriminator\":\"AccountPassword\",\"isQuestion\":false},{\"name\":\"organizationName\",\"title\":\"Organization\",\"values\":[\"OU\\u003dABC,DC\\u003dadlrg12c,DC\\u003dus,DC\\u003doracle,DC\\u003dcom\"],\"type\":\"String\",\"children\":[],\"isQuestion\":false},{\"name\":\"passwordNeverExpires\",\"title\":\"Password never expires\",\"values\":[\"false\"],\"type\":\"Boolean\",\"children\":[],\"isQuestion\":false},{\"name\":\"userMustChangePasswordAtNextLogon\",\"title\":\"User must change password at next logon\",\"values\":[\"false\"],\"type\":\"Boolean\",\"children\":[],\"isQuestion\":false},{\"name\":\"passwordNotRequired\",\"title\":\"Do not require a password\",\"values\":[\"false\"],\"type\":\"Boolean\",\"children\":[],\"isQuestion\":false},{\"name\":\"accountExpirationDate\",\"title\":\"Account expiration date\",\"values\":[],\"type\":\"String\",\"children\":[],\"isQuestion\":false},{\"name\":\"company\",\"title\":\"Company\",\"values\":[],\"type\":\"String\",\"children\":[],\"isQuestion\":true},{\"name\":\"manager\",\"title\":\"Manager\",\"values\":[],\"type\":\"String\",\"children\":[],\"isQuestion\":false},{\"name\":\"office\",\"title\":\"Office\",\"values\":[],\"type\":\"String\",\"children\":[],\"isQuestion\":true}],\"entitlementAttributes\":[{\"name\":\"groups.ICF.e933985f-fd7c-487f-86f4-9743c5c7f4ed.2b512719820c9a2004c592558020f4f3\",\"title\":\"2222222\",\"values\":[\"CN\\u003d2222222,OU\\u003dstaging_adgroup,OU\\u003dagcs-itsuite,DC\\u003dadlrg12c,DC\\u003dus,DC\\u003doracle,DC\\u003dcom\"],\"type\":\"RepeatableFieldSet\",\"entitlementType\":\"groups\",\"children\":[]}]},\"externalId\":\"ocid1.notreviewedplaceholder.dev.dev.amaaaaaapzw5rdiaifkgmp5r4e3e6u2vsmpomz2hwywo7maxrwy6zjr2wamq\",\"isAgManaged\":true,\"displayName\":\"de-test\",\"isAccountProfileExists\":true,\"accountProfileId\":\"462ac465-c0a3-48d4-bb60-3c7b5cae0882\",\"accountProfileName\":\"AD_Profile_Jan21\",\"accessGuardrails\":[],\"createdByRef\":{\"value\":\"globalId.sept12-test-1-agent.18.w5rdiaifkgmp5r4e3e6u2vsmpomz2hwywo7maxrwy6zjr2wamq\",\"displayName\":\"Ama Maclead\",\"resourceType\":\"AccessBundle\"},\"updatedByRef\":{\"value\":\"globalId.sept12-test-1-agent.18.w5rdiaifkgmp5r4e3e6u2vsmpomz2hwywo7maxrwy6zjr2wamq\",\"displayName\":\"Ama Maclead\",\"resourceType\":\"AccessBundle\"}}},\"stateChange\":{}}"
}

監査履歴スキーマ属性定義

アクセス・バンドル・イベントの作成を含む監査履歴出力ファイルの属性定義を次に示します。

監査履歴データ・スキーマ属性定義
属性 説明
データ 詳細なリクエスト、レスポンス、アイデンティティおよびイベント関連の詳細が含まれます。
ソース イベントを生成したOracle Access Governanceサービスの名前。たとえば、アクセス・バンドルはソースpermission-managerから取得されます。
リクエスト イベントがAPIリクエストによってトリガーされた場合のAPIリクエストの詳細。
応答 イベントがAPIリクエストによってトリガーされた場合の、リクエストに対するAPIレスポンスの詳細。
アイデンティティ イベントをトリガーしたAPIリクエストに関連付けられたクライアント識別子およびOracle Access GovernanceグローバルID。
eventType 生成されたイベント・タイプの一意の識別子。
eventTypeVersion イベントを生成したサービスのREST APIバージョン。
contentType

イベントで送信されたデータの形式

availabilityDomain イベントの生成元のOCI可用性ドメイン。
stateChange Oracle Access Governanceリソースの状態の変更の詳細。
サポートされている監査イベントタイプのリストを表示するには、Audit Event Services and Operationsを参照してください。

バンドル・スキーマおよびサンプル出力ファイルへのアクセス

作成、変更および削除のためのアクセス・バンドル・スキーマを次に示します。

バンドル作成/更新スキーマへのアクセス

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "externalId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "displayName": {
        "type": "string"
      },
      "referenceRequestId": {
        "type": "string"
      },
      "requestableBy": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "approvalWorkflow": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/approvalWorkflow.json"
      },
      "accessGuardrailIds": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "targetId": {
        "type": "string"
      },
      "tags": {
        "type": "string"
      },
      "classifications": {
        "type": "string"
      },
      "accessBundleType": {
        "type": "string"
      },
      "permissionIds": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "createdBy": {
        "type": "string"
      },
      "createdByRef": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "createdOn": {
        "type": "integer"
      },
      "updatedBy": {
        "type": "string"
      },
      "updatedByRef": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "updatedOn": {
        "type": "integer"
      },
      "agManaged": {
        "type": "boolean"
      },
      "managedByIds": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "owner": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "ownerShipCollectionId": {
        "type": "string"
      },
      "ownerUIDs": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "additionalProperties": false,
    "required": [
      "id"
    ]
  }
}

バンドル削除スキーマへのアクセス

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "id"
  ]
}

サンプル出力コード・スニペット

{
  "headers": {
    "eventId": "3d69xx10-0183-4abe-a813-2469b02de0xx",
    "correlationId": "838exx73d-3fc2-42fd-9469-e52fb3b76xx",
    "eventTime": "2025-02-12T17:11:15.816211Z",
    "eventType": "com.oracle.idm.agcs.data.enablement.accessBundle.created",
    "eventTypeVersion": "1.0",
    "operation": "CREATE",
    "messageType": "ACCESS_BUNDLE",
    "status": "IN_PROGRESS",
    "opcRequestId": "oci-BAE8B2xx9941CDD-202502121711/51051CFFE76EFAE84DAE1B3C22ABCF61/BCB684CC00A2F596FC28902A234FBAFE",
    "tenancyId": "ocid1.tenancy.oc1..axxxxxxxvhjxelu7yccuhj3wrq5uqiybu7f5tfxvwteiwaupnlkj4woz6ybq",
    "serviceInstanceId": "ocid1.notreviewedplaceholder.dev.dev.amaxxxxxxzw5rdiarmplc2m2fwyd4z3h7gbxkwkasgeu64a7n6kx5ulgsbaa"
  },
  "id": "68cbxxxx-7c1f-4e29-b1c0-8b3cc9d311xx",
  "externalId": "ocid1.notreviewedplaceholder.dev.dev.amaxxxxxxzw5rdiarmplc2m2fwyd4z3h7gbxkwkasgeu64a7n6kx5ulgsbaa",
  "name": "AG_System_Shared_groups.ICF.VisionDirectory.e3bxxc25839ed26ce3083fd65d966e29",
  "description": "AG_System_Shared_MS_8740_MT_xx",
  "displayName": "AG_System_Shared_MS_8740_MT_xx",
  "requestableBy": "ANY",
  "status": "ACTIVE",
  "approvalWorkflow": {
    "id": "NO_APPROVAL_REQUIRED"
  },
  "targetId": "1ce4xx23-fc60-4dc4-9926-16ec93a4e6xx",
  "accessBundleType": "ACCESS_BUNDLE",
  "permissions": [
    "groups.ICF.VisionDirectory.e3bxxc25839ed26ce3083fd65d966e29"
  ],
  "createdBy": "AG_System_Shared",
  "createdOn": 1702546950027,
  "updatedBy": "AG_System_Shared",
  "updatedOn": 1702546950027,
  "agManaged": false
}

バンドル・スキーマ属性定義へのアクセス

アクセス・バンドル出力ファイルの属性定義を次に示します。

バンドル・スキーマ属性定義へのアクセス
属性 説明
id 各アクセス・バンドルの一意の識別子。
externalId システムの外部システム識別子。
名前 アクセス・バンドルの名前。
説明 アクセス・バンドルの説明。
displayName アクセス・バンドルの表示名。
requestableBy アクセス・バンドルをリクエストできるアイデンティティ・タイプ。たとえば、ANYまたはNONEです。
ステータス

アクセス・バンドルのステータス。たとえば、ACTIVEDRAFTなどです。

approvalWorkflow アクセス・バンドルに適用可能な承認ワークフローのID。
targetId 編成されたシステム識別子。
accessBundleType ACCESS_BUNDLE
権限 このアクセス・バンドルに関連付けられている特定の権限をリストします。

Access Guardrails参照スキーマおよびサンプル出力ファイル

作成、変更および削除用のAccess Guardrailsスキーマを次に示します。

アクセス・ガードレール・スキーマの作成/更新

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "$defs": {
    "BasicCondition": {
      "type": "object",
      "properties": {
        "dataType": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "lhs": {
          "type": "string"
        },
        "operator": {
          "type": "string"
        },
        "rhs": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "rhsUiDetails": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  },
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "externalId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "etag": {
        "type": "string"
      },
      "tags": {
        "type": "string"
      },
      "isDetectiveViolationCheckEnabled": {
        "type": "boolean"
      },
      "lifecycleState": {
        "type": "string"
      },
      "rules": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "conditions": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "additionalAttributes": {
                    "type": "object"
                  },
                  "basicCondition": {
                    "$ref": "#/$defs/BasicCondition"
                  },
                  "childConditions": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/BasicCondition"
                    }
                  },
                  "type": {
                    "type": "string"
                  }
                }
              }
            },
            "id": {
              "type": "string"
            },
            "operator": {
              "type": "string"
            },
            "type": {
              "type": "string",
              "const": "DEFAULT"
            }
          }
        }
      },
      "actionOnFailure": {
        "type": "object",
        "properties": {
          "actionType": {
            "type": "string"
          },
          "revokeLaterAfterNumberOfDays": {
            "type": "integer"
          },
          "risk": {
            "type": "string"
          },
          "shouldUserManagerBeNotified": {
            "type": "boolean"
          }
        }
      },
      "createdByRef": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "updatedByRef": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "owner": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "ownerShipCollectionId": {
        "type": "string"
      }
    }
  }
}

アクセス・ガードレール・スキーマの削除

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "required": [
    "id"
  ]
}

サンプル出力コード・スニペット

{
  "headers": {
    "eventId": "f56fxxx4-8978-41fb-9c65-4d76c62dxxxx",
    "correlationId": "06c5xxxda-1197-4bbb-af61-f52b3c3axx",
    "eventTime": "2025-02-13T20:06:46.552420Z",
    "eventType": "com.oracle.idm.agcs.data.enablement.accessGuardrail.created",
    "eventTypeVersion": "1.0",
    "operation": "CREATE",
    "messageType": "ACCESS_GUARDRAIL",
    "status": "IN_PROGRESS",
    "opcRequestId": "oci-6274xxx9150164E-202502132006/8BA77549ECC927ABE9AF11A5C8C36634/85A585D070E8CCCEA80DA02F16D22FD8",
    "tenancyId": "ocid1.tenancy.oc1..axxaaaaahvjxelu7yccuhj3wrq5uqiybu7f5tfxvwteiwaupnlkj4woz6ybq",
    "serviceInstanceId": "ocid1.agcsgovernanceinstance.dev.dev.amxxxxxxpzw5rdiax5zfaryw34s3l763zzn7lzott4cvv2d4bqb6lmzhqmiq"
  }
}
{
  "id": "1a1xxx8c-18f2-42f2-979d-ebd06adaxxxx",
  "externalId": "1a1xxx8c-18f2-42f2-979d-ebd06adaxxxx",
  "name": "MS_LowRisk",
  "description": "MS_LowRisk",
  "etag": "5fa7xxxface30e64407aec2349cb5d056aaaf9705d9d0a4caac7c15b799d7904343",
  "tags": "",
  "isDetectiveViolationCheckEnabled": false,
  "lifecycleState": "ACTIVE",
  "rules": [
    {
      "conditions": [
        {
          "basicCondition": {
            "dataType": "String",
            "displayName": "Location",
            "lhs": "addresses.country",
            "operator": "Eq",
            "rhs": ["AD"],
            "rhsUiDetails": []
          },
          "childConditions": [],
          "type": "IDENTITY_ATTRIBUTE"
        }
      ],
      "id": "b2e0xxx05-baca-4d56-953c-fb8cbf508xxx",
      "operator": "OR",
      "type": "DEFAULT"
    }
  ],
  "actionOnFailure": {
    "actionType": "REVOKE_LATER",
    "revokeLaterAfterNumberOfDays": 1.0,
    "risk": "LOW",
    "shouldUserManagerBeNotified": false
  },
  "createdByRef": {
    "displayName": "Ama Maclead",
    "resourceType": "ACCESS_GUARDRAIL",
    "value": "globalId.OCI.xxx98-5989-4da8-b35b-ede2039defxxx"
  },
  "updatedByRef": {
    "displayName": "Ama Maclead",
    "value": "globalId.OCI.xxx98-5989-4da8-b35b-ede2039defxxx"
  },
  "owner": {
    "displayName": "Ama Maclead",
    "value": "globalId.OCI.xxx98-5989-4da8-b35b-ede2039defxxx"
  },
  "ownerShipCollectionId": "38a8xxx4-db2f-4556-bb2b-804def74dxxx"
}

アクセス・ガードレール・スキーマ属性定義

Access Guardrails出力ファイルの属性定義を次に示します。

アクセス・ガードレール属性定義
属性 説明
id アクセス・ガードレールの一意の識別子。
externalId トラッキング用の外部システム識別子。これは、Oracle Access Governance内で作成されるため、アクセス・ガードレールのIDと同じです。
名前 アクセス・ガードレールの名前。
説明 付与された権限タイプの識別子。
isDetectiveViolationCheckEnabled 違反検出が有効かどうかを示すブール・フラグ。
lifecycleState

アクセスガードレールの現在の状態。たとえば、ACTIVEINACTIVEDELETEDです。

ルール アクセス・ガードレールの条件のリスト。
条件 適用する特定の制約。
actionOnFailure アクセス・ガードレール違反がトリガーされたときにOracle Access Governanceが実行する必要があるアクションまたは操作を指定します。失敗アクションは、actionType (REVOKE_LATERまたはREVOKE_IMMEDIATELYなど)によって管理されます。
createdByRef アクセス・ガードレールを作成したユーザーの参照。

承認ワークフロー参照スキーマおよびサンプル出力ファイル

作成、変更および削除用のOracle Access Governance承認ワークフロー・スキーマを次に示します。

承認ワークフロー作成/更新済スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "createdBy": {
        "type": "string"
      },
      "createdOn": {
        "existingJavaType": "Long",
        "type": "integer"
      },
      "updatedBy": {
        "type": "string"
      },
      "updatedOn": {
        "existingJavaType": "Long",
        "type": "integer"
      },
      "version": {
        "type": "integer"
      },
      "etagVersion": {
        "existingJavaType": "Long",
        "type": "integer"
      },
      "tags": {
        "type": "string"
      },
      "summary": {
        "type": "string"
      },
      "customAttributes": {
        "existingJavaType": "java.util.Map",
        "type": "object"
      }
    }
  }
}

承認ワークフローサブスキーマ

{
   "$schema":"https://json-schema.org/draft/2019-09/schema",
   "type":"object",
   "properties":{
      "id":{
         "type":"string"
      },
      "name":{
         "type":"string"
      },
      "description":{
         "type":"string"
      }
   }
}

承認ワークフローの出力コード・スニペットの例

[
  {
    "id": "Guid_xxxx7b0f-fcf9-xxxx-8017-xxxx986bxxxx",
    "name": "approval-managers",
    "description": "to see all types of approvals for managers",
    "status": "Disabled",
    "createdBy": "John Doe",
    "createdOn": 1755804997376,
    "version": 1,
    "etagVersion": 1755804993088
  },
  {
    "id": "Guid_xxxx7b0f-fcf9-xxxx-8017-xxxx986bxxxx",
    "name": "demo-approval",
    "description": "to see all types of approval",
    "status": "Deleted",
    "createdBy": "John Doe",
    "createdOn": 1755869379403,
    "version": 2,
    "etagVersion": 1755869376530
  },
  {
    "id": "Guid_53f7xxxx-5479-4a1e-xxxx-5475142bxxxx",
    "name": "Single Custom User - John Doe",
    "description": "Single Custom User - John Doe",
    "status": "Disabled",
    "createdBy": "John Doe",
    "createdOn": 1754435320958,
    "version": 1,
    "etagVersion": 1754435319187
  },
  {
    "id": "Guid_53f7xxxx-5479-4a1e-xxxx-5475142bxxxx",
    "name": "Single Custom User - John Doe",
    "description": "Single Custom User - John Doe",
    "status": "Active",
    "createdBy": "John Doe",
    "createdOn": 1755715720883,
    "version": 2,
    "etagVersion": 1755715719141
  }
]

承認ワークフロー・スキーマ属性定義

承認ワークフロー出力ファイルの属性定義を次に示します。

属性 説明
id 承認ワークフロー・オブジェクトの一意識別子。
名前 承認ワークフローの名前。
説明 ワークフローの目的の説明。
ステータス ワークフローのステータスです。たとえば、ACTIVEDISABLEDDELETEDです。
createdBy オブジェクトを作成したユーザーの名前です。
CreatedOn オブジェクトが作成された時点のタイムスタンプ(ミリ秒)。
バージョン このオブジェクトのバージョン。更新ごとに増分されます。
etagVersion バージョンを表すタイムスタンプ(ミリ秒)。

アイデンティティ参照スキーマおよびサンプル出力ファイル

作成、変更および削除用のアイデンティティ・スキーマを次に示します。

アイデンティティ作成スキーマ

{
   "$schema": "https://json-schema.org/draft/2019-09/schema",
   "title": "identities",
   "type": "array",
   "items": {
      "type": "object",
      "properties": {
         "compartmentId": {
            "type": "string"
         },
         "messageType": {
            "type": "string"
         },
         "correlationId": {
            "type": "string"
         },
         "globalIdentity": {
            "type": "object",
            "properties": {
               "identity": {
                  "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/identity.json"
               },
               "attributes": {
                  "type": "object",
                  "properties": {
                     "clearance": {
                        "type": "string"
                     },
                     "employeeNumber": {
                        "type": "string"
                     }
                  }
               },
               "id": {
                  "type": "string"
               },
               "targetIdentities": {
                  "type": "array",
                  "items": {
                     "properties": {
                        "targetIdentity": {
                           "type": "object",
                           "properties": {
                              "targetId": {
                                 "type": "string"
                              },
                              "identity": {
                                 "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/identity.json"
                              },
                              "externalId": {
                                 "type": "string"
                              },
                              "id": {
                                 "type": "string"
                              },
                              "domainId": {
                                 "type": "string"
                              }
                           }
                        }
                     }
                  }
               }
            }
         },
         "operation": {
            "type": "string"
         },
         "timestamp": {
            "type": "string"
         }
      },
      "additionalProperties": false,
      "required": [
         "globalIdentity"
      ]
   }
}

アイデンティティ変更スキーマ

{
   "$schema": "https://json-schema.org/draft/2019-09/schema",
   "title": "identities",
   "type": "object",
   "properties": {
      "compartmentId": {
         "type": "string"
      },
      "messageType": {
         "type": "string"
      },
      "correlationId": {
         "type": "string"
      },
      "globalIdentity": {
         "type": "object",
         "properties": {
            "identity": {
               "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/identity.json"
            },
            "attributes": {
               "type": "object",
               "properties": {
                  "clearance": {
                     "type": "string"
                  },
                  "employeeNumber": {
                     "type": "string"
                  }
               }
            },
            "id": {
               "type": "string"
            },
            "targetIdentities": {
               "type": "array",
               "items": {
                  "properties": {
                     "targetIdentity": {
                        "type": "object",
                        "properties": {
                           "targetId": {
                              "type": "string"
                           },
                           "identity": {
                              "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/identity.json"
                           },
                           "externalId": {
                              "type": "string"
                           },
                           "id": {
                              "type": "string"
                           },
                           "domainId": {
                              "type": "string"
                           }
                        }
                     }
                  }
               }
            }
         }
      },
      "operation": {
         "type": "string"
      },
      "timestamp": {
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "globalIdentity"
   ]
}

アイデンティティ削除スキーマ

{
   "$schema": "https://json-schema.org/draft/2019-09/schema",
   "title": "identities",
   "type": "object",
   "properties": {
      "compartmentId": {
         "type": "string"
      },
      "globalIdentity": {
         "type": "object",
         "properties": {
            "id": {
               "type": "string"
            },
            "targetIdentities": {
               "type": "array",
               "items": {
                  "properties": {
                     "targetIdentity": {
                        "type": "object",
                        "properties": {
                           "id": {
                              "type": "string"
                           }
                        },
                        "additionalProperties": false
                     }
                  }
               }
            }
         },
         "additionalProperties": false
      }
   },
   "additionalProperties": false,
   "required": [
      "globalIdentity"
   ]
}

サンプル出力コード・スニペット

{
   "globalIdentity": {
      "id": "globalId.ICF.EBS_HRMS_STAGE.f014bda5ef4003efa0d8149e59216953",
      "identity": {
         "agStatus": "AG_ACTIVE",
         "agSubType": "WORKFORCE",
         "agRisk": {
            "value": 0,
            "customAttributes": {}
         },
         "agOrganizations": [
            {
               "value": "ba987bed-15ae-47a2-a5b0-265432568ed0",
               "displayName": "PERF_ORGANIZATION-1708541816625"
            },
            {
               "value": "4bf99c0b-ae99-4787-a318-b5eb1e30b89d",
               "displayName": "PERF_ORGANIZATION-1708541866473"
            }
         ],
         "customAttributes": {
            "dateOfBirth": 56160000000,
            "businessGroupId": "7328",
            "supervisorName": "Ivanchuk, Mr. Dmytro",
            "personType": "8351",
            "personId": "28727",
            "grade": "Professional.1",
            "maritalStatus": "S",
            "nationality": "UKR",
            "job": "Buyer",
            "startDate": 828921600000
         },
         "department": "Purchasing",
         "displayName": "Ivan Shevchuk",
         "emails": [
            {
               "value": "Ivan.Shevchuk@example.com"
            }
         ],
         "name": {
            "familyName": "Shevchuk",
            "givenName": "Ivan"
         },
         "organization": {},
         "primaryEmail": "Ivan.Shevchuk@example.com",
         "status": "Active",
         "title": "MR.",
         "userName": "28727"
      },
      "targetIdentities": [
         {
            "id": "targetId.account.ICF.EBS-UM.bdf6f156f130553394a859e02f793182",
            "externalId": "1015628",
            "targetId": "a83f87df-75ca-4c4d-966a-2928626e82b8",
            "identity": {
               "customAttributes": {
                  "operationType": "CREATE_OR_UPDATE",
                  "passwordExpireType": "None",
                  "effectiveStartDate": 1689206400000,
                  "roles": []
               },
               "name": {},
               "primaryEmail": "Ivan.Shevchuk@example.com",
               "status": "true"
            }
         },
         {
            "id": "targetId.account.ICF.EBS_HRMS_STAGE.f014bda5ef4003efa0d8149e59216953",
            "externalId": "28727",
            "targetId": "f2a858e5-c449-4a5a-9714-c2e7471b1d2a",
            "identity": {
               "customAttributes": {
                  "personType": "8351",
                  "title": "MR.",
                  "businessGroupId": "7328",
                  "dateOfBirth": 56160000000,
                  "employeeNumber": "4",
                  "assignments": [
                     {
                        "element": {
                           "organizationId": "7376",
                           "UID": "28936",
                           "jobId": "30930",
                           "gradeId": "18000",
                           "supervisorId": "28725",
                           "effectiveDate": "828921600000"
                        }
                     }
                  ],
                  "hireDate": 828921600000,
                  "gender": "M",
                  "maritalStatus": "S",
                  "operationType": "CREATE_OR_UPDATE",
                  "nationality": "UKR",
                  "lastName": "Shevchuk",
                  "firstName": "Ivan",
                  "addresses": []
               },
               "name": {},
               "primaryEmail": "Ivan.Shevchuk@example.com",
               "status": "true"
            }
         }
      ]
   }
}

アイデンティティ・スキーマ属性定義

アイデンティティ・エクスポート・ファイルの属性定義を次に示します。

日付0のアイデンティティ・スキーマ属性定義
属性 説明
globalIdentity 様々なガバナンスおよびプロビジョニング操作を実行するために、Oracle Access Governanceによって正しい情報源として使用されるコンポジット・アイデンティティ・プロファイル・オブジェクト。これには、コア属性およびカスタム属性を含むアクセス・プロファイル詳細が含まれます。詳細は、「アイデンティティ・アクセス詳細リファレンス」を参照してください。
globalIdentity→id Oracle Access Governance内のリソースの一意の識別子。これには、リソース値の収集元となるオーケストレートされたシステム情報も含まれます。
targetIdentities Oracle Access Governanceと統合された編成済アイデンティティ・オブジェクトで、コンポジット・アイデンティティ・プロファイルと一致しました。
targetIdentities→id Oracle Access Governance内のリソースの一意の識別子。このケースでは、Oracle Access Governanceと統合されたオーケストレート済システムを示します。これには、オーケストレートされたシステム名識別子が含まれます。
targetId Oracle Access Governanceと統合されたオーケストレート済システムの一意の識別子。

グループ参照スキーマおよびサンプル出力ファイル

作成、変更および削除用のグループ・スキーマを次に示します。

グループ作成/更新済スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "domainId": {
        "type": "string"
      },
      "compartmentId": {
        "type": "string"
      },
      "externalId": {
        "type": "string"
      },
      "targetId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "add": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/group/identities.json"
      },
      "remove": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/group/identities.json"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "id"
  ]
}

グループ・アイデンティティ変更サブスキーマ

グループ内のアイデンティティが変更されるたびに。

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "identities": {
      "type": "array",
      "items": {
        "properties": {
          "id": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "targetIdentityId": {
            "type": "string"
          }
        }
      }
    }
  }
}

グループ削除済スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "id"
  ]
}

サンプル出力コード・スニペット

[
  {
    "id": "group.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.50cbbfe63d291f31cbcb6e4f948445f7",
    "domainId": "resource.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.acbae60a4440ffff0b51950c34c3c6e6",
    "compartmentId": "resource.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.ff11b1e772ef27a021fc45519970f965",
    "externalId": "ocid1.group.oc1..aaaaaaaag5ltzaypusliz5owrqshcrd6kvtiy7gz3eqfha22bpfvgxzlscxq",
    "targetId": "435e1c98-5989-4da8-b35b-ede2039defa0",
    "name": "ab-testgroup1",
    "add": {
      "identities": [
        {
          "id": "globalId.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.8cbb3bb593396504e540b75c4900d59e",
          "externalId": "fec6a739324843ecbc7d6add45180b58",
          "targetIdentityId": "targetId.account.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.8cbb3bb593396504e540b75c4900d59e"
        }
      ]
    },
    "remove": {
      "identities": []
    }
  },
  {
    "id": "group.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.53b402291db7755134f6663ff22cd1a7",
    "domainId": "resource.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.acbae60a4440ffff0b51950c34c3c6e6",
    "compartmentId": "resource.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.ff11b1e772ef27a021fc45519970f965",
    "externalId": "ocid1.group.oc1..aaaaaaaaz2oxykpn5cn6ex2jfbgaymtsmalmltopeuu4acmfmwsq4cv55gia",
    "targetId": "435e1c98-5989-4da8-b35b-ede2039defa0",
    "name": "grp-lca1s",
    "add": {
      "identities": [
        {
          "externalId": "ff09a2c5bee34be0ad88564381f93fbd",
          "targetIdentityId": "targetId.account.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.a30f20e40ac98bbc43a6b0c0387cf196"
        },
        {
          "id": "globalId.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.8cbb3bb593396504e540b75c4900d59e",
          "externalId": "fec6a739324843ecbc7d6add45180b58",
          "targetIdentityId": "targetId.account.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.8cbb3bb593396504e540b75c4900d59e"
        }
      ]
    },
    "remove": {
      "identities": []
    }
  }

グループ・スキーマ属性定義

グループ・エクスポート・ファイルの属性定義を次に示します。OCIグループの詳細のみを公開できます。

グループ・スキーマ属性定義
属性 説明
id Oracle Access Governance内のリソースの一意の識別子。これには、リソース値の収集元となるオーケストレートされたシステム情報も含まれます。
domainId Oracle Access Governanceに取り込まれたアイデンティティ・コレクション(IAMグループ)に関連付けられた一意のドメイン識別子(OCID)。これは、OCIオーケストレート済システムにのみ適用され、OCI IAMグループが含まれます。
externalId OCIコンソール上のオブジェクトのOCIDを示します。OCIグループの場合、外部IDはocid1.group.oc1.ab1234aのようになります
compartmentId アイデンティティ・コレクションに関連付けられた一意のコンパートメント識別子(OCID)。これは、OCIオーケストレート済システムにのみ適用され、OCI IAMグループが含まれます。
名前 アイデンティティ・コレクションの名前。
説明 アイデンティティ・コレクションの説明。
追加 アイデンティティ・コレクションに含まれるアイデンティティの配列。
削除 このアイデンティティ・コレクションから除外されたアイデンティティの配列。更新操作と作成操作は同じスキーマを共有します。ただし、新しいアイデンティティ・コレクションが作成されると、この属性のアイデンティティは受信されません。

グローバル・アイデンティティ・コレクション参照スキーマおよびサンプル出力ファイル

作成、変更および削除のためのグローバル・アイデンティティ・コレクション・スキーマを次に示します。

グローバル・アイデンティティ・コレクションの作成/更新済スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "externalId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "displayName": {
        "type": "string"
      },
      "identityCollectionId": {
        "type": "string"
      },
      "identityCollectionDescription": {
        "type": "string"
      },
      "identityCollectionType": {
        "type": "string"
      },
      "isManagedAtTarget": {
        "type": "string"
      },
      "targetId": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "tags": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "createdBy": {
        "type": "string"
      },
      "createdByRef": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "createdOn": {
        "type": "integer"
      },
      "updatedBy": {
        "type": "string"
      },
      "updatedByRef": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "updatedOn": {
        "type": "integer"
      },
      "agRisk": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/agRisk.json"
      },
      "agManaged": {
        "type": "boolean"
      },
      "managedByIds": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "owner": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "ownerShipCollectionId": {
        "type": "string"
      },
      "ownerUIDs": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "additionalProperties": false,
    "required": [
      "id"
    ]
  }
}

グローバル・アイデンティティ収集削除済スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "id"
  ]
}

サンプル出力コード・スニペット

[
  {
    "agManaged": true,
    "displayName": "MS_Testing_Creater",
    "identityGroupType": "HUMAN",
    "membershipRule": "",
    "identityGroupDescription": "",
    "managedByIds": [],
    "tags": [],
    "name": "MS_Testing_Creater",
    "status": "ACTIVE",
    "createdBy": "globalId.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.e316de730fdbd176fceb9a39cd0c5199",
    "updatedBy": "AG_System",
    "createdOn": 1729868777184,
    "updatedOn": 1739700586808,
    "isManagedAtTarget": "false",
    "membersCount": 4.0,
    "agRisk": {
      "value": 1.0,
      "customAttributes": {}
    },
    "currentMembers": 4.0,
    "expectedMembers": 1.0,
    "createdByRef": {
      "value": "globalId.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.e316de730fdbd176fceb9a39cd0c5199",
      "displayName": "Ama Maclead",
      "resourceType": "IDENTITY_GROUP"
    },
    "updatedByRef": {
      "value": "AG_System",
      "displayName": "AG System",
      "resourceType": "IDENTITY_GROUP"
    },
    "owner": {
      "value": "globalId.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.e316de730fdbd176fceb9a39cd0c5199",
      "displayName": "Ama Maclead"
    },
    "ownerShipCollectionId": "f60c54b8-6cda-4e54-ae54-793b877cee80",
    "id": "00074b25-d331-449e-a496-636f556ccabe",
    "externalId": "ocid1.agcsgovernanceinstance.dev.dev.amaaaaaapzw5rdiax5zfaryw34s3l763zzn7lzott4cvv2d4bqb6lmzhqmiq",
    "schemas": [],
    "meta": {
      "resourceType": "IDENTITY_GROUP",
      "created": 1729868777184,
      "lastModified": 1739700586818
    }
  },
  {
    "agManaged": false,
    "displayName": "jh-test-groupC",
    "identityGroupType": "OCI_GROUP",
    "membershipRule": "",
    "managedByIds": [],
    "name": "jh-test-groupC_accessgovtest_Default_accessgovtest",
    "status": "ACTIVE",
    "createdBy": "AG_System",
    "updatedBy": "AG_System",
    "createdOn": 1729164621130,
    "updatedOn": 1739700455175,
    "customAttributes": {
      "compartmentFQN": "accessgovtest",
      "ocid": "ocid1.group.oc1..aaaaaaaaaohimj6cm4pvztilf3afvqbjhp6ozeihks54xrfdwpq6wzgt6r4a",
      "domainOCID": "ocid1.domain.oc1..aaaaaaaayrdl7hgnjeqbpi4nvt72hxtki4uw7o5zif4j3zfh7zpfc6truzoq",
      "cloudAccountName": "accessgovtest",
      "domainId": "resource.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.acbae60a4440ffff0b51950c34c3c6e6",
      "roleAssignments": [],
      "compartmentId": "resource.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.ff11b1e772ef27a021fc45519970f965",
      "compartmentOCID": "ocid1.tenancy.oc1..aaaaaaaazp2vvzjsn6newkqrpkwndxpdoixtqfgyhnf4y24h7d5ny27h6f3q",
      "idcsId": "077d73db4c344f2bbf2d18a11a6550b7",
      "mappedTo": [],
      "compartmentName": "accessgovtest",
      "domainName": "Default",
      "mappedFrom": [],
      "tags": [],
      "isReviewable": true
    },
    "isManagedAtTarget": "false",
    "membersCount": 0.0,
    "agRisk": {
      "value": 0.0,
      "customAttributes": {}
    },
    "currentMembers": 0.0,
    "expectedMembers": 2.0,
    "createdByRef": {
      "value": "AG_System",
      "displayName": "AG System",
      "resourceType": "IDENTITY_GROUP"
    },
    "updatedByRef": {
      "value": "AG_System",
      "displayName": "AG System",
      "resourceType": "IDENTITY_GROUP"
    },
    "owner": {},
    "id": "0028ba84-1029-4fcd-aa61-b30f6b730f29",
    "externalId": "group.OCI.435e1c98-5989-4da8-b35b-ede2039defa0.55702b2d2cfdb76a5539e2c310e0751b",
    "schemas": [],
    "meta": {
      "resourceType": "IDENTITY_GROUP",
      "created": 1729164621130,
      "lastModified": 1739700455183
    }
  }
]

グローバル・アイデンティティ・コレクション・スキーマ属性定義

Oracle Access Governanceで管理または収集されるグローバル・アイデンティティ・コレクションの属性定義を次に示します。

グローバル・アイデンティティ・コレクション・スキーマ属性定義
属性 説明
agManaged アイデンティティ・コレクションがOracle Access Governanceによって管理されているかどうかを示します。
displayName アイデンティティ・コレクションの表示名。
identityGroupType アイデンティティ・グループのタイプ(HUMANまたはOCI_GROUP)を指定します。
membershipRule 特定の条件文に基づいてメンバーシップ基準のルールを定義します。
managedByIds このアイデンティティ・グループを管理するIDのリスト。
タグ カテゴリ化に関連するタグ
名前 アイデンティティ・コレクションの名前。
ステータス アイデンティティ・コレクションの現在のステータス。(たとえば、ACTIVEDRAFTなど)。
createdBy グループを作成したID。OCIアイデンティティ・コレクションの場合、AG Systemです。
currentMembers グループ内のアクティブなメンバーの数。
expectedMembers ルールに基づく予想メンバー数。

所有権コレクション参照スキーマおよびサンプル出力ファイル

作成、変更およびサンプル出力用のOracle Access Governance所有権収集スキーマを次に示します。

Ownershipコレクション作成/更新済スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ownershipCollectionId": {
        "type": "string"
      },
      "entityId": {
        "type": "string"
      },
      "isPrimary": {
        "type": "string"
      },
      "entityName": {
        "type": "string"
      },
      "externalId": {
        "type": "string"
      },
      "usageName": {
        "type": "string"
      },
      "timeCreated": {
        "existingJavaType": "Long",
        "type": "integer"
      },
      "lastModified": {
        "existingJavaType": "Long",
        "type": "integer"
      }
    },
    "additionalProperties": false
  }
}

サンプル出力コード・スニペット


  {
    "ownershipCollectionId": "0be7a88c-xxxxd-4896-9e60-81c9dad5d496",
    "entityId": "globalId.OIG.18.w5rdxxiaax2ycwhy3g2ocmpc2nhhbmqtp57ue2nycsr7bzxvivga",
    "isPrimary": "true",
    "entityName": "Maclead Amel",
    "externalId": "ocid1.xxxxxxxx.dev.dev.amaaaaaapzw5rdiaax2ycwhy3g2ocmpc2nhhbmqtp57ue2nycsr7bzxvivga",
    "usageName": "Ownership Collection Creation",
    "timeCreated": 1765235454128,
    "lastModified": 1765235454128
  }

所有権コレクション・スキーマ属性定義

所有権コレクション出力ファイルの属性定義を次に示します。

所有権コレクション・スキーマ属性定義
属性 説明
ownershipCollectionId 所有権コレクションの一意の識別子。
エンティティID 関連付けられたエンティティの識別子。
isPrimary エンティティがプライマリ所有者(trueまたはfalse)かどうかを示します
entityName エンティティの表示名。
externalId このエンティティの外部システム識別子。
usageName 所有権コレクションの目的またはタイプ。
timeCreated 作成タイムスタンプ(ミリ秒単位)。
lastModified 最終変更タイムスタンプ(ミリ秒単位)。

クラウド・ポリシー参照スキーマおよびサンプル出力ファイル

作成および削除用のクラウド・ポリシー・スキーマを次に示します。

ポリシー作成スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "cloudType": {
        "type": "string"
      },
      "compartmentId": {
        "type": "string"
      },
      "externalId": {
        "type": "string"
      },
      "targetId": {
        "type": "string"
      },
      "policyStatementId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "statement": {
        "type": "string"
      },
      "subjects": {
        "type": "array",
        "items": {
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "type": {
              "type": "string"
            }
          }
        }
      },
      "verb": {
        "type": "string"
      },
      "resourceType": {
        "type": "string"
      },
      "location": {
        "type": "object",
        "properties": {
          "compartment": {
            "type": "string"
          }
        }
      },
      "tags": {
        "type": "object"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "id"
  ]
}

ポリシー変更スキーマ

ポリシーの変更は、作成操作と削除操作の組合せを使用して処理されます。ポリシーを更新するには、新しいパラメータでポリシーを置き換える前に、既存のポリシーが最初に削除されます。

ポリシー削除スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "additionalProperties": false,
    "required": [
      "id"
    ]
  }
}

サンプル出力コード・スニペット

{
  "headers": {
    "eventId": "8788h161-acde-43a4-87e4-b6f01ca3aaf0",
    "correlationId": "dc98e55c-f574-422f-a9ce-326fce9d9edc",
    "eventTime": "2024-08-27T21:44:15.274034651Z",
    "eventType": "com.oracle.idm.agcs.data.enablement.policyStatement.created",
    "eventTypeVersion": "1.0",
    "operation": "CREATE",
    "messageType": "TARGET_ACCESS_POLICY_STATEMENT",
    "status": "IN_PROGRESS",
    "opcRequestId": <opc-request-id>,
    "tenancyId": <tenancy-id>,
    "serviceInstanceId": <service-instance-ocid>
  },
  "data": "[{\"id\":\"tapolicy.OCI.agcusttokyo.aed5bbcee30da0a828e76f01deef7090\",\"externalId\":\"ocid1.policy.oc1..aaaaaaaabgvxsco3avg772ehflmwvljaur75zvzdwh6y7wqhzhvcvp2mxtha\",\"targetId\":\"fdb6c5f7-6e3a-4f36-9dd0-a17993be389f\",\"policyStatementId\":\"tapolicystmt.OCI.agcusttokyo.a72df097dce1deecf8606c59b6dec588\",\"name\":\"DummyPolicy20Nov\",\"description\":\"DummyPolicy20Nov\",\"statement\":\"Allow group \\u0027TestAlpha\\u0027/\\u0027ComputeGroup\\u0027 to manage instance-family in tenancy\",\"subjects\":[{\"id\":\"TestAlpha/ComputeGroup\"}],\"verb\":\"MANAGE\",\"resourceTypes\":[\"VolumeAttachment\",\"InstanceConsoleConnection\",\"Instance\",\"AppCatalogListing\",\"ComputeCapacityReservation\",\"DedicatedVmHost\",\"AutoScalingConfiguration\",\"InstanceAgentCommand\",\"ConsoleHistory\"],\"location\":{\"compartment\":\"agcusttokyo\"}},{\"id\":\"tapolicy.OCI.agcusttokyo.aed5bbcee30da0a828e76f01deef7090\",\"externalId\":\"ocid1.policy.oc1..aaaaaaaabgvxsco3avg772ehflmwvljaur75zvzdwh6y7wqhzhvcvp2mxtha\",\"targetId\":\"fdb6c5f7-6e3a-4f36-9dd0-a17993be389f\",\"policyStatementId\":\"tapolicystmt.OCI.agcusttokyo.08940cfb6db80a7d9b4027e3c9994d51\",\"name\":\"DummyPolicy20Nov\",\"description\":\"DummyPolicy20Nov\",\"statement\":\"Allow group \\u0027TestAlpha\\u0027/\\u002726DecCloudCompute\\u0027 to read app-catalog-listing in tenancy\",\"subjects\":[{\"id\":\"TestAlpha/26DecCloudCompute\"}],\"verb\":\"READ\",\"resourceTypes\":[\"AppCatalogListing\"],\"location\":{\"compartment\":\"agcusttokyo\"}}]"
}

クラウド・ポリシー・スキーマ属性定義

リソースへのアクセス権を付与するクラウド・ポリシーの属性定義を次に示します。

クラウド・ポリシー・スキーマ属性定義
属性 説明
id Oracle Access Governance内で割り当てられたポリシーの一意の識別子。
cloudType ポリシーがOCIに適用されることを示します。
compartmentId ポリシーに関連付けられた一意のコンパートメント識別子(OCID)。これはOCIポリシーにのみ適用されます。
externalId OCIの一意のポリシー識別子(OCID)。ポリシーの場合、外部IDはocid1.policy.oc1.aa1234のようになります。
policyStatementId ポリシーに関連付けられている各ポリシー・ステートメントの一意の識別子。
名前 クラウド・ポリシー名。
説明 クラウド・ポリシーの説明
ステートメント リソースの制御を制御するポリシー・ルール。各ポリシーは1つ以上のポリシー・ステートメントで構成されます。
サブジェクト このポリシーによってアクセス権が付与されるプリンシパルの配列(IAM group-nameなど)。
verb ポリシーの動詞を使用して、リソースに割り当てられたアクセス権付与タイプにアクセスします。可能な動詞は、inspectreaduseinspectです。manage
resourceType ポリシーに関連付けられているリソース・タイプの配列。ファミリ・リソース・タイプまたは個々のリソース・タイプです。たとえば、instancevolumesvolume-familyなどです。詳細は、OCIのリソース・タイプを参照してください
場所 特定のコンパートメントやテナンシ全体など、このポリシーによって付与されるアクセスの範囲。

ポリシー・スキーマおよびサンプル出力ファイル

作成、変更および削除のポリシー・スキーマを次に示します。これには、リソースへのアクセスを制御するポリシー・ルールおよびステートメントが含まれます。

ポリシー作成/更新済スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "externalId": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "displayName": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "isTransformedPolicy": {
        "type": "string"
      },
      "constraints": {
        "type": "string"
      },
      "tags": {
        "type": "string"
      },
      "policyType": {
        "type": "string"
      },
      "policyVersion": {
        "type": "string"
      },
      "targetId": {
        "type": "string"
      },
      "targetPolicyId": {
        "type": "string"
      },
      "policyRules": {
        "type": "array",
        "items": {
          "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/policyRule.json"
        }
      },
      "createdBy": {
        "type": "string"
      },
      "createdByRef": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "createdOn": {
        "type": "integer"
      },
      "updatedBy": {
        "type": "string"
      },
      "updatedByRef": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "updatedOn": {
        "type": "integer"
      },
      "agRisk": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/agRisk.json"
      },
      "agManaged": {
        "type": "boolean"
      },
      "managedByIds": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "owner": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "ownerShipCollectionId": {
        "type": "string"
      },
      "ownerUIDs": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "additionalProperties": false,
    "required": [
      "id"
    ]
  }
}

ポリシー・ルール・サブスキーマ

ポリシーのポリシー・ルールが変更されるたびに、次のスキーマが使用されます。

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "externalId": {
      "type": "string"
    },
    "assignmentId": {
      "type": "string"
    },
    "containerId": {
      "type": "string"
    },
    "accessBundleId": {
      "type": "string"
    },
    "identityAttributes": {
      "type": "string"
    },
    "identityCollectionId": {
      "type": "string"
    },
    "identityId": {
      "type": "string"
    },
    "operationId": {
      "type": "string"
    },
    "parsedOn": {
      "existingJavaType": "Long",
      "type": "integer"
    },
    "permissionAttributes": {
      "type": "string"
    },
    "policyRuleVersion": {
      "type": "string"
    },
    "referenceRequestId": {
      "type": "string"
    },
    "resourceBundleId": {
      "type": "string"
    },
    "resourceId": {
      "type": "string"
    },
    "roleId": {
      "type": "string"
    },
    "ruleAction": {
      "type": "string"
    },
    "ruleConstraints": {
      "type": "string"
    },
    "ruleStatement": {
      "type": "string"
    },
    "ruleStatus": {
      "type": "string"
    },
    "ruleType": {
      "type": "string"
    },
    "ruleVerb": {
      "type": "string"
    },
    "targetId": {
      "type": "string"
    },
    "targetIdentityId": {
      "type": "string"
    },
    "createdBy": {
      "type": "string"
    },
    "createdOn": {
      "type": "integer"
    },
    "updatedBy": {
      "type": "string"
    },
    "updatedOn": {
      "type": "integer"
    }
  }
}

ポリシー削除済スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "id"
  ]
}

サンプル出力コード・スニペット

  {
    "id": "d1a34f78-5bdc-4e9d-bc6e-3fbb134f76a2",
    "name": "Dev_Policy",
    "displayName": "Development Access Policy",
    "status": "ACTIVE",
    "policyType": "STANDARD_POLICY",
    "policyVersion": "1",
    "policyRules": [
      {
        "id": "f23a6c89-1bd1-4d76-98bc-e4c3a75d68e2",
        "ruleAction": "Assign",
        "ruleStatement": "Assign access-bundle [Dev_Env_Access] to identity-group [Development_Team]",
        "ruleStatus": "ACTIVE",
        "ruleType": "RBAC_RULE"
      }
    ]
  },
  {
    "id": "b6f29a32-9fdc-4a6e-a34b-5cd761f84b73",
    "name": "QA_Policy",
    "displayName": "Quality Assurance Access Policy",
    "status": "ACTIVE",
    "policyType": "STANDARD_POLICY",
    "policyVersion": "1",
    "policyRules": [
      {
        "id": "e7a54b21-3c8d-496f-91ea-5c32b764f3d9",
        "ruleAction": "Assign",
        "ruleStatement": "Assign access-bundle [QA_Testing_Env_Access] to identity-group [QA_Team]",
        "ruleStatus": "ACTIVE",
        "ruleType": "RBAC_RULE"
      }
    ]
  },
  {
    "id": "a9d45162-5f7e-47ca-a215-8b6c7f90e372",
    "name": "DevOps_Policy",
    "displayName": "DevOps Access Policy",
    "status": "ACTIVE",
    "policyType": "STANDARD_POLICY",
    "policyVersion": "1",
    "policyRules": [
      {
        "id": "c5b687f4-2a8d-41fb-b9ec-f3a9d76c5e91",
        "ruleAction": "Assign",
        "ruleStatement": "Assign access-bundle [DevOps_Admin_Access] to identity-group [DevOps_Team]",
        "ruleStatus": "ACTIVE",
        "ruleType": "RBAC_RULE"
      }
    ]
  }

ポリシー・スキーマ属性定義

ポリシー出力ファイルの属性定義を次に示します。

ポリシー・スキーマ属性定義
属性 説明
id 各ポリシーの一意の識別子。
名前 ポリシーの名前。
displayName ポリシーの表示名。
requestableBy アクセス・バンドルをリクエストできるアイデンティティ・タイプ。たとえば、ANYまたはNONEです。
ステータス

ポリシーのステータスたとえば、ACTIVEINACTIVEです。

policyVersion 更新を示すポリシーのバージョン。
policyRules ポリシーに関連付けられているルールのリスト
ruleAction AssignAllowなど、実行されるアクションを定義します。
ruleStatement ルールの動作を文形式で指定します。


                                            Assign role [AG_System_Sharedgroups.ICF.VisionDirectory.f9b72xxxx834] to identity-group [DevOps_Team]
                                        

ruleStatus ルールの現在のステータス(例: ACTIVE)。
ruleType ルール・タイプたとえば、RBAC_RULEABAC_RULEです。

権限参照スキーマおよびサンプル出力ファイル

作成、変更および削除の権限スキーマを次に示します。

スキーマの作成/更新権限

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "externalId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "displayName": {
        "type": "string"
      },
      "permissionTypeId": {
        "type": "string"
      },
      "granteeName": {
        "type": "string"
      },
      "granteeType": {
        "type": "string"
      },
      "resourceId": {
        "type": "string"
      },
      "resourceName": {
        "type": "string"
      },
      "riskLevel": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "targetId": {
        "type": "string"
      },
      "userDefinedTags": {
        "type": "string"
      },
      "owner": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "customAttributes": {
        "type": "object"
      }
    },
    "additionalProperties": false,
    "required": [
      "id"
    ]
  }
}

スキーマの削除権限

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "id"
  ]
}

サンプル出力コード・スニペット

JSONL形式になります。headersセクションには、イベント・タイプ、タイムスタンプ、相関ID、テナンシ詳細、リクエスト識別子などのメタデータが含まれます。各行は、権限の詳細、グループID、外部識別子、関連付けられたリソースID、ターゲットIDおよび操作タイプを定義するpermissionエントリを表します。

{"headers":{"eventId":"a20187cX-8bbX-460d-a8X0-55806d7e235c","correlationId":"824dc4fX-7e6X-450a-aaXb-c356f3ae6fbd","eventTime":"2025-02-12T17:28:34.879845Z","eventType":"com.oracle.idm.agcs.data.enablement.permission.created","eventTypeVersion":"1.0","operation":"CREATE","messageType":"PERMISSION","status":"IN_PROGRESS","opcRequestId":"oci-D69EFA92F9FXXF1A-202502121725/39F44AEA185XXE1CF9D200A4840B7A49/CF1A12B2886X01E19C642AE5DF909F9A","tenancyId":"ocid1.tenancy.oc1..aaaaaaaahvjXXlu7yccuhj3wrq5uqiybu7f5tfxvwteiwaupnlkj4woz6ybq","serviceInstanceId":"ocid1.notreviewedplaceholder.dev.dev.amaaaaaapzwXXrdiarmplc2m2fwyd4z3h7gbxkwkasgeu64a7n6kx5ulgsbaa"}}

{"id":"groups.ICF.AD2.0013a594f9XXXe2d766114aef26a73b90","externalId":"CN\u003dADUpgradeGrp a16ug7rXXX_a1oqif0idk,OU\u003dVision,dc\u003dserverad,dc\u003dcom","name":"ADUpgradeGrp a16ug7rXXX_a1oqif0idk","permissionTypeId":"etype.ICF.AD2.ea72c837XXaa05daf0123ae94d7b0ff4","resourceId":"resource.ICF.AD2.f775de49XXdadcea269cc5072261730ac","targetId":"05452611-7305-43c3-b0XX-0ba9936a8553","customAttributes":{"operationType":"CREATE_OR_UPDATE"}}
{"id":"groups.ICF.AD2.001d73d254XXea03ba76ceab1201f083","externalId":"CN\u003dENTL_LHBPS,OU\u003dVision,dc\u003dserverad,dc\u003dcom","name":"ENTL_LHBPS","permissionTypeId":"etype.ICF.AD2.ea72c837XXaa05daf0123ae94d7b0ff4","resourceId":"resource.ICF.AD2.f775de49XXdadcea269cc5072261730ac","targetId":"05452611-7305-43c3-b0XX-0ba9936a8553","customAttributes":{"operationType":"CREATE_OR_UPDATE"}}
{"id":"groups.ICF.AD2.001ead5fXXf0d8b17161eb92b9954740","externalId":"CN\u003dEntl_TCA,OU\u003dVision,dc\u003dserverad,dc\u003dcom","name":"Entl_TCA","permissionTypeId":"etype.ICF.AD2.ea72c837XXaa05daf0123ae94d7b0ff4","resourceId":"resource.ICF.AD2.f775de49XXdadcea269cc5072261730ac","targetId":"05452611-7305-43c3-b0XX-0ba9936a8553","customAttributes":{"operationType":"CREATE_OR_UPDATE"}}

権限スキーマ属性定義

権限出力ファイルの属性定義を次に示します。

権限スキーマ属性定義
属性 説明
id グループや権限など、各権限の一意の識別子。
externalId 権限の外部システム識別子(識別名識別子など)
名前 パーミッションの名前。たとえば、Active Directory Group IT_Admins
permissionTypeId 付与された権限タイプの識別子。
resourceId 権限に関連付けられたリソースの一意の識別子。
targetId 権限が適用されるターゲット・システムの識別子。
customAttributes 権限に関連する追加属性。
operationType プロビジョニング中に実行される操作を指定します。たとえば、CREATEまたはUPDATEです。

権限割当て参照スキーマおよびサンプル出力ファイル

サブスキーマを含む、作成、変更および削除のための権限割当てスキーマを次に示します。

権限割当てスキーマの作成/更新

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "targetIdentityId": {
        "type": "string"
      },
      "globalIdentityId": {
        "type": "string"
      },
      "add": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/permissionAssignments.json"
      },
      "remove": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/permissionAssignments.json"
      }
    },
    "additionalProperties": false,
    "required": [
      "targetIdentityId"
    ]
  }
}

権限割当てサブスキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": { "type": "string" },
      "externalId": { "type": "string" },
      "status": { "type": "string" },
      "accountStatus": { "type": "string" },
      "targetId": { "type": "string" },
      "targetType": { "type": "string" },
      "granttype": { "type": "string" },
      "permissionType": { "type": "string" },
      "permissionId": { "type": "string" },
      "permissionName": { "type": "string" },
      "accessBundleId": { "type": "string" },
      "accessBundleName": { "type": "string" },
      "roleId": { "type": "string" },
      "roleName": { "type": "string" },
      "identityGroupId": { "type": "string" },
      "identityGroupName": { "type": "string" },
      "resourceId": { "type": "string" },
      "resourceDisplayName": { "type": "string" },
      "policyId": { "type": "string" },
      "policyName": { "type": "string" },
      "policyRuleId": { "type": "string" },
      "userLogin": { "type": "string" },
      "validFrom": { "type": "integer" },
      "validTo": { "type": "integer" }
    },
    "additionalProperties": false,
    "required": ["id", "permissionId"]
  }
}

権限割当てのスキーマの削除

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "globalIdentityId": {
      "type": "string"
    },
    "targetIdentityId": {
      "type": "string"
    },
    "ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "targetIdentityId"
  ]
}

サンプル出力コード・スニペット

このJSONデータは、グローバル・アイデンティティとそれに関連付けられたアクセス権限を表し、アクセス権が付与されているアイデンティティ・アカウントの詳細を示します。これには、特定のリソースにリンクされた権限割当が含まれ、各アカウントのプロビジョニング・ステータスが追跡されます。

{
  "targetIdentityId": "targetId.account.ICF.AD2.193b1cacbe9aceeee750c3191c119d91d",
  "globalIdentityId": "globalId.ICF.ADWildFire.30309426d8d71699f2139c093e41dacb",
  "add": [
    {
      "id": "215CEE0D5E52FCB8E063DB15000A41cF",
      "externalId": "34a6e879c9e8084fac787d3b59d8bf08",
      "status": "PROVISIONED",
      "accountStatus": "true",
      "targetId": "05452611-7305-43c3-b0cc-0bac936a855c",
      "targetType": "ICF",
      "granttype": "DIRECT",
      "permissionId": "groups.ICF.AD2.b11900a7c06b0b6344dec199ba54c23a",
      "permissionName": "ADVP2",
      "resourceId": "resource.ICF.AD2.f77cde493dadceac69cc507226173cac",
      "resourceDisplayName": "AD2"
    },
    {
      "id": "215CEE102C4CFCB8E063DB15000A41cF",
      "externalId": "f6aaec83c51db144a7e0acde8f4b9d65",
      "status": "PROVISIONED",
      "accountStatus": "true",
      "targetId": "05452611-7305-43c3-b0cc-0bac936a855c",
      "targetType": "ICF",
      "granttype": "DIRECT",
      "permissionId": "groups.ICF.AD2.9797bc45058c8d4fd4c1fa3282a8b6a4",
      "permissionName": "ADVP3",
      "resourceId": "resource.ICF.AD2.f77cde493dadceac69cc507226173cac",
      "resourceDisplayName": "AD2"
    }
  ]
}

権限割当てスキーマ属性定義

権限割当出力ファイルの属性定義を次に示します。

日付0のアイデンティティ・スキーマ属性定義
属性 説明
globalIdentity 様々なガバナンスおよびプロビジョニング操作を実行するために、Oracle Access Governanceによって正しい情報源として使用されるコンポジット・アイデンティティ・プロファイル・オブジェクト。これには、コア属性およびカスタム属性を含むアクセス・プロファイル詳細が含まれます。詳細は、「アイデンティティ・アクセス詳細リファレンス」を参照してください。
targetIdentities Oracle Access Governanceと統合され、コンポジット・アイデンティティ・プロファイルと一致した、オーケストレーションされたアイデンティティ・オブジェクトの一意の識別子。
追加 グローバル・アイデンティティに付与される権限のリスト。
id 各権限割当ての一意の識別子。
externalId 権限エントリの外部システム識別子。
ステータス 権限のプロビジョニング・ステータス(PROVISIONEDなど)。
accountStatus アカウントがアクティブ(trueまたはfalse)かどうかを示します。
targetId 権限が適用されるターゲット・システムの識別子。
targetType ターゲット・システムのタイプ(たとえば、ICF)。
権限付与タイプ 権限の付与方法を指定します(たとえば、DIRECT)。
permissionId 割り当てられた権限の一意の識別子。
permissionName 付与された権限の名前。
resourceId 権限に関連付けられたリソースの識別子。
resourceDisplayName リソースのわかりやすい名前(たとえば、AD2)。

ロール参照スキーマおよびサンプル出力ファイル

作成、変更および削除用のOracle Access Governanceロール・スキーマを次に示します。

作成されたロール/更新されたスキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": { "type": "string" },
      "externalId": { "type": "string" },
      "name": { "type": "string" },
      "description": { "type": "string" },
      "displayName": { "type": "string" },
      "requestableBy": { "type": "string" },
      "referenceRequestId": { "type": "string" },
      "status": { "type": "string" },
      "approvalWorkflow": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/approvalWorkflow.json"
      },
      "tags": { "type": "string" },
      "classifications": { "type": "string" },
      "accessBundleIds": {
        "type": "array",
        "items": { "type": "string" }
      },
      "createdBy": { "type": "string" },
      "createdByRef": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "createdOn": { "type": "integer" },
      "updatedBy": { "type": "string" },
      "updatedByRef": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "updatedOn": { "type": "integer" },
      "agManaged": { "type": "boolean" },
      "managedByIds": {
        "type": "array",
        "items": { "type": "string" }
      },
      "owner": {
        "$ref": "resource:com/oracle/idm/agcs/data/enablement/schema/reference.json"
      },
      "ownerShipCollectionId": { "type": "string" },
      "ownerUIDs": {
        "type": "array",
        "items": { "type": "string" }
      }
    },
    "additionalProperties": false,
    "required": ["id"]
  }
}

ロール削除済スキーマ

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": ["id"]
}

サンプル出力コード・スニペット

{
  "id": "1bce7e90-XXXX-41ea-8d1c-bceXXXXe31099",
  "externalId": "ocid1.dev.dev.amcxxxvcaaapzw5rdiarmplc2m2fwXXXXz3h7gbxkwkasgeu64a7n6kx5ulgsbaa",
  "name": "AD_User_Groups_Access",
  "description": "Access permissions for Active Directory User Groups",
  "displayName": "AD Group Role",
  "requestableBy": "ANY",
  "status": "ACTIVE",
  "approvalWorkflow": {
    "id": "NO_APPROVAL_REQUIRED"
  },
  "accessBundles": [
    "7c4e49ad-XXXX-4051-8b9a-80543acfXXXX"
  ],
  "createdBy": "Amel MacLead",
  "createdOn": 1703145588737,
  "updatedBy": "AG_System_Shared",
  "updatedOn": 1703145588737,
  "agManaged": false
}

ロール・スキーマ属性定義

ロール出力ファイルの属性定義を次に示します。

ロール・スキーマ属性定義
属性 説明
id 各アクセス・バンドルの一意の識別子。
externalId システムの外部システム識別子。
名前 ロールの名前。
説明 ロールの説明。
displayName ロールの名前を表示します。
requestableBy ロールをリクエストできるアイデンティティ・タイプ。たとえば、ANYまたはNONEです。
ステータス

ロールのステータス。たとえば、ACTIVEDRAFTなどです。

approvalWorkflow ロールに適用可能な承認ワークフローのID。
accessBundles 関連付けられたアクセス・バンドルのリスト。
createdOn ロールが作成された日付を示すタイムスタンプ。
createdBy ロールを作成したユーザー。
updatedBy ロールを最後に更新したユーザー。
updatedOn ロールが最後に更新された日時を示すタイムスタンプ。
agManaged エンティティが自動的に管理されるかどうかを示すブール・フラグ

リソース参照スキーマおよびサンプル

作成、変更および削除のためのリソース・スキーマを次に示します。

リソース作成スキーマ

{
   "$schema": "https://json-schema.org/draft/2019-09/schema",
   "title": "resources",
   "type": "array",
   "items": {
      "type": "object",
      "properties": {
         "id": {
            "type": "string"
         },
         "externalId": {
            "type": "string"
         },
         "targetId": {
            "type": "string"
         },
         "tenancyId": {
            "type": "string"
         },
         "resourceName": {
            "type": "string"
         },
         "resourceType": {
            "type": "string"
         },
         "description": {
            "type": "string"
         }
      },
      "additionalProperties": false
   }
}

リソース変更スキーマ

{
   "$schema": "https://json-schema.org/draft/2019-09/schema",
   "title": "resources",
   "type": "array",
   "items": {
      "type": "object",
      "properties": {
         "id": {
            "type": "string"
         },
         "externalId": {
            "type": "string"
         },
         "targetId": {
            "type": "string"
         },
         "tenancyId": {
            "type": "string"
         },
         "resourceName": {
            "type": "string"
         },
         "resourceType": {
            "type": "string"
         },
         "description": {
            "type": "string"
         }
      },
      "additionalProperties": false
   }
}

リソース削除スキーマ

{
   "$schema": "https://json-schema.org/draft/2019-09/schema",
   "type": "object",
   "properties": {
      "id": {
         "type": "string"
      },
      "additionalProperties": false,
      "required": [
         "id"
      ]
   }
}

サンプル出力コード・スニペット

{
   "id": "resource.ICF.ADUPDATE.4bbac5904b6302dc82871da2c9756fea",
   "externalId": "48713388",
   "targetId": "ade93352-e7d5-46e6-847a-c765be1f0aad",
   "tenancyId": "ocid1.tenancy.oc1..aaaaaaaahvjxelu7yccuhj3wrq5uqiybu7f5tfxvwteiwaupnlkj4woz6ybq",
   "resourceName": "ADUPDATE",
   "resourceType": "AD",
   "description": ""
}

リソース・スキーマ属性定義

リソース・エクスポート・ファイルの属性定義を次に示します。

リソース・スキーマ属性定義
属性 説明
id リソース・トレース用にOracle Access Governance内で割り当てられた一意の識別子。また、リソースがOracle Access Governanceに取り込まれるオーケストレートされたシステム識別子も含まれます。
externalId OCIの一意のリソース識別子。
targetId Oracle Access Governanceと統合されたオーケストレート済システムの一意の識別子。
tenancyId リソースが配置されている一意のテナンシ識別子(OCID)。これは、OCIオーケストレート済システムにのみ適用され、OCIリソースが含まれます。
resourceName リソース名
resourceType リソース・タイプ
説明 リソースの説明

リソースからポリシーへのステートメント

リソースに関連付けられたポリシーのリストのスキーマを次に示します。

リソース作成スキーマへのポリシー・ステートメント

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "title": "accessPolicyStatementResourceMapping",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "compartmentId": {
        "type": "string"
      },
      "id": {
        "type": "string"
      },
      "externalId": {
        "type": "string"
      },
      "targetId": {
        "type": "string"
      },
      "policies": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "externalId": {
              "type": "string"
            },
            "policyStatementId": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}

サンプル出力コード・スニペット

{
  "compartmentId": "ocid1.tenancy.oc1..ppppppp2h5y42lkaalhtrwmqyinmwipjyxc3xmod4h7m3d2bmdjg6qwerty",
  "id": "resource.OCI.agcusttokyo.1b65a16c154269702eea873f34cef690",
  "externalId": "ocid1.database.oc1.ap-tokyo-1.anxhiljrzqwertya7o46ijh4nv3rjzpnqjwqidqh37rcptyngy5g46ebnlea",
  "targetId": "e88d075e-d2a6-4f1d-8c1b-f472917b8770",
  "policies": [
    {
      "id": "tapolicy.OCI.agcusttokyo.70ffb4c4f706aa55a5a35cb7902fe47a",
      "externalId": "ocid1.policy.oc1..aaaaaaaaxkyqwertyenond5hoclrmmvhlxw3tjukgqbbstfmepigetr6ulqq",
      "policyStatementId": "tapolicystmt.OCI.agcusttokyo.99cd276ef37300a357c0a1488dae2567"
    }
  ]
}

ポリシー・スキーマ属性定義へのリソース

アイデンティティ・エクスポート・ファイルの属性定義を次に示します。

リソースからポリシーへのスキーマ属性の定義
属性 説明
compartmentId リソースに関連付けられた一意のコンパートメント識別子(OCID)。これはOCIリソースにのみ適用されます。
id Oracle Access Governance内で割り当てられたリソースの一意の識別子。
externalId リソースOCIDと呼ばれる、OCIの一意のリソース識別子。
targetId リソースに関連付けられたオーケストレート済システムを識別する一意の識別子。
ポリシー リソースにアタッチされたポリシーの配列。各ポリシーには、ポリシーID、ポリシー・ステートメントID、ポリシーを識別するための外部IDなどの詳細が含まれます

リソースへのポリシー・ステートメント

リソースのリストに関連付けられたポリシー・ステートメントのスキーマを次に示します。

リソース作成スキーマへのポリシー・ステートメント

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "title": "accessPolicyStatementResourceMapping",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "compartmentId": {
        "type": "string"
      },
      "id": {
        "type": "string"
      },
      "externalId": {
        "type": "string"
      },
      "policyStatementId": {
        "type": "string"
      },
      "targetId": {
        "type": "string"
      },
      "resources": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "externalId": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}

サンプル出力コード・スニペット

{
  "compartmentId": "ocid1.tenancy.oc1..aaaaaaaazp2vvzjsn6newkqrpkwndxpdoixtqfgyhnf4y24h7d5ny27h6f3q",
  "id": "tapolicy.OCI.ag-test.58a173b97f94c6ff0046448470573609",
  "externalId": "ocid1.policy.oc1..aaaaaaaa3axgfgqgc3f4xcbno5p7driojc2hnaxr3jw3pu5xs7lhkoopo55a",
  "policyStatementId": "tapolicystmt.OCI.ag-test.2dc34ea12d5f0cbd7e9429029b257c99",
  "targetId": "2879c2b3-721c-4ede-afc5-5aa6c3b54e99",
  "resources": [
    {
      "id": "resource.OCI.ag-test.189fa43b2323037d1da11e6f0e488296",
      "externalId": "ocid1.instance.oc1.me-abudhabi-1.anqxkljrebkbezqcpoofyvho44qcyb76uu75aonuhexk42ibcv4ohpfat5iq"
    },
    {
      "id": "resource.OCI.ag-test.s563541re3fca34e7105fe5a7c516025",
      "externalId": "ocid1.instance.oc1.iad.anuwcljsebkbezqcowg5so6mnuewanlrohoovt7ce54ujhuqxi3h75hm6mrq"
    },
    {
      "id": "resource.OCI.ag-test.d3e8c10a5659d18dda403bf00e1e2aea",
      "externalId": "ocid1.instance.oc1.iad.anuwcljtebkbezqcxvwlq62t4ldkyb5kkttgvyobqvuh3tltz7qjtxchldja"
    },
    {
      "id": "resource.OCI.ag-test.c189f74e4c77ca6416f0d92bb2db9f2a",
      "externalId": "ocid1.instance.oc1.us-sanjose-1.abcdejrebkbezqctftv5vbfucdb3amdgslvbptnjpdqyvporupbhr3sluqq"
    },
    {
      "id": "resource.OCI.ag-test.a1f0662fd624e07c6b41e14fdf918591",
      "externalId": "ocid1.instance.oc1.iad.abcdejtebkbezqctyoxut22u26pvej5wglyodyjen6fb7qqid3ovy4sfbxa"
    },
    {
      "id": "resource.OCI.ag-test.8d177901e639e144b6289ed1d81fe255",
      "externalId": "ocid1.instance.oc1.iad.qwertyjtebkbezqcoxwhqw4wfpmlozp5ghrhr74222jcivbdaannyo6a26xq"
    },
    {
      "id": "resource.OCI.ag-test.81bdacf188ed585e3aca85a131e23df5",
      "externalId": "ocid1.instance.oc1.iad.qwertyjtebkbezqcdtejri54el6u7dw4bvjmz5t2rzxar76oz5szigf2o4aq"
    },
    {
      "id": "resource.OCI.ag-test.3883fc488ff0531274fcee9d87f00fd2",
      "externalId": "ocid1.instance.oc1.iad.qwertyjtebkbezqczdrg677joyhxf2kdm2jzlzmetzzylox4lptxd2svbnva"
    },
    {
      "id": "resource.OCI.ag-test.3480fad0d9bf8a3fe13c54028f13f66c",
      "externalId": "ocid1.instance.oc1.us-sanjose-1.qwertyjrebkbezqcyrzc7xu3flvidhwoyssaoiyyewi3bidnnnuucpfjmwwq"
    },
    {
      "id": "resource.OCI.ag-test.3480fad0d9bf8a3fe13c54028f13f66c",
      "externalId": "ocid1.instance.oc1.us-sanjose-1.qwertyjrebkbezqcyrzc7xu3flvidhwoyssaoiyyewi3bidnnnuucpfjmwwq"
    },
    {
      "id": "resource.OCI.ag-test.2a14a90e547488318d2bca0b30a247f1",
      "externalId": "ocid1.instance.oc1.ad.qwertyjtebkbezqcwyajizhztiujrmmshn3cuqiou4vtodhv4femidlpj7ha"
    }
  ]
}

リソースへのポリシー・スキーマ属性定義

リソース・エクスポート・ファイルへのポリシー・アクセスに含まれる属性の定義を次に示します。

属性 説明
compartmentId ポリシーに関連付けられた一意のコンパートメント識別子(OCID)。これはOCIポリシーにのみ適用されます。
id Oracle Access Governance内で割り当てられたポリシーの一意の識別子。
externalId OCIの一意のポリシー識別子(OCID)。
targetId ポリシーに関連付けられたオーケストレート済システムを識別する一意の識別子。
リソース リソースにアタッチされたリソースの配列。各ポリシーには、ポリシーID、ポリシー・ステートメントID、ポリシーを識別するための外部IDなどの詳細が含まれます