| Mulesoft Government Cloud のサポートは API コミュニティマネージャーバージョン 2.4.x 以前でのみ利用できます。 |
MuleSoft Government Cloud 組織は、Salesforce Experience Cloud API コミュニティマネージャーインスタンスに公開されるデータエンティティを制限できます。
制限は、Anypoint Platform 組織管理プレーンで定義され、データブリッジレベルで適用されます。
エンティティと制限を定義する前に、組織のシステム管理者権限を持つユーザーのユーザー名とパスワードを送信して Anypoint Platform ID サービスの API エンドポイント /accounts/login から認証トークンを取得します。
制限されるデータエンティティや許可される操作をそれぞれで定義するには、トークンを使用して API 要求を実行し、Anypoint Platform 組織のプロパティを設定します。
この設定にリストされていないエンティティでは、作成、参照、更新、削除操作が許可されます。
この設定にリストされているエンティティでは、リストされている操作のみが許可され、権限の配列に存在しないすべての操作はブロックされます。ブロックされている操作を試行すると、HTTP 403 エラーが返されます。
要求の例
このサンプル API 要求では、AnypointApplication エンティティではすべての操作が可能ですが、AnypointCategory では参照操作のみが可能です。
curl --location --request PUT 'https://gov.anypoint.mulesoft.com/accounts/api/organizations/<ORG_ID>' \
--header 'Authorization: Bearer <YOUR_BEARER_KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{ "properties": {
"acm": {
"entities": {
"AnypointApplication": {
"permissions": ["create", "read", "update", "delete"]
},
"AnypointCategory": {
"permissions": ["read"]
}
}
}
}}'
使用可能なエンティティ
-
AnypointApi -
AnypointApis -
AnypointApiCategory -
AnypointApiCategories -
AnypointApiFile -
AnypointApiGroupInstance -
AnypointApiGroupInstances -
AnypointApiGroupInstanceApiInstance -
AnypointApiGroupInstancesApiInstances -
AnypointApiGroupTier -
AnypointApiGroupTiers -
AnypointApiGroupTierLimit -
AnypointApiGroupTierLimits -
AnypointApiGroupVersion -
AnypointApiGroupVersions -
AnypointApiInstance -
AnypointApiInstances -
AnypointApiPage -
AnypointApiPages -
AnypointApiProduct -
AnypointApiProducts -
AnypointApiStat -
AnypointApiStats -
AnypointApiTier -
AnypointApiTiers -
AnypointApiTierLimit -
AnypointApiTierLimits -
AnypointApiVersion -
AnypointApiVersions -
AnypointApiVersionQuery -
AnypointApiVersionQueries -
AnypointApplication -
AnypointApplications -
AnypointApplicationOwner -
AnypointApplicationOwners -
AnypointAssets -
AnypointAssetCategories -
AnypointAssetVersions -
AnypointCategory -
AnypointCategories -
AnypointContract -
AnypointContracts -
AnypointContractOperation -
AnypointEnvironment -
AnypointEnvironments -
AnypointOrganization -
AnypointOrganizations -
AnypointResetClientOperation -
AnypointUser -
AnypointUsers -
CacheEvict -
ResetApplicationSecret -
RestoreApiContract -
RevokeApiContract