0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Agentforce : エージェントのアクセス権

0
Last updated at Posted at 2025-05-25

You may find the following help article useful, it provides detailed guidance on assigning the appropriate permissions to Agentforce agents.

https://help.salesforce.com/s/articleView?id=ai.agent_user.htm&type=5

エージェントのアクセス権

デフォルトでは、エージェント ユーザーに付与される権限は限られています。セキュリティの観点からは、これは最小権限の原則に準拠しているため、素晴らしいことです。ただし、これは、AI エージェントを設定するときに、エージェントが作業を行うために必要なすべての権限を明示的に付与する必要があることも意味します。そうしないと、エージェントは適切に機能しません。したがって、エージェントを計画するときは、これらのガイドラインに留意してください。

オブジェクトの権限

エージェントに、フロー、Apex、またはプロンプトテンプレートを通じてエージェントが操作するすべてのオブジェクトに対する作成、読み取り、更新、および削除 (CRUD) 権限を付与します。

権限セット

エージェント ユーザーに必要な権限セットを割り当てます。これらはユースケースによって異なりますが、次のような例があります。

  • Agentforce Service Agent Object Access
  • Agentforce Service Agent User
  • Data Cloud User
  • Platform—Flow User
  • Prompt Template User
  • Service—Knowledge Access

エージェントライセンス

CRUD アクセス用の新しい権限セットを作成する場合は、それを Einstein Agent ライセンスに関連付けます。

ロール

エージェント ユーザーに、CEO ロールなどの標準オブジェクトを表示および変更できるロールを割り当てます。

  • Apex:エージェントが Apex クラスを使用する場合、エージェントが使用する Apex クラスのセキュリティをエージェント ユーザーのプロファイルに拡張します。
  • フロー:エージェントを動かすためにフローを使用する場合は、必ずエージェント ユーザーとしてフローを実行してデバッグし、見落としている可能性のある権限の問題がないか確認してください。

Salesforce でエージェントの権限を設定する場合、最初はうまくいかない可能性が高いため、エージェントのプロトタイプを作成するときに、サンドボックスでセキュリティ制御をテストしてください。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?