web: explain the public-only default when an agent refuses a target [CI]
This commit is contained in:
1 parent
32547032d8
commit
fee236fe56
1 file changed
+1
-1
@@ -11,7 +11,7 @@ export const TARGET_STATUS: Record<TargetDto['status'], { label: string; tone: '
|
||||
|
||||
/** Agent 拒绝任务的原因,翻成人话。 */
|
||||
export const REJECT_REASONS: Record<string, string> = {
|
||||
policy_denied: '本机不允许这个目标:把它所在的网段加进 agent.json 的 limits.allowed_target_cidrs',
|
||||
policy_denied: '本机不允许这个目标:默认只允许公网地址(目标在内网、回环或链路本地);如果配置过 agent.json 的 limits.allowed_target_cidrs,则只允许其中列出的网段',
|
||||
budget_exceeded: '超出本机的速率预算',
|
||||
unsupported: '这个 Agent 不支持这种采集方法',
|
||||
invalid_params: '参数不合法',
|
||||
|
||||
Reference in new issue
Block a user