AS AgentScopeAPI 手册 / API Reference

ScanResult

public record ScanResult(Verdict verdict, List<Finding> findings, String reportText)
源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:87

承载 Scan 结果数据的记录类型。位于 io.agentscope.harness.agent.skill.curator 包。核心成员包括 verdict、findings、reportText。

A record in io.agentscope.harness.agent.skill.curator that carries data used when components lets agents invoke external capabilities under control. Declared in io.agentscope.harness.agent.skill.curator.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
verdictVerdict
执行 `verdict` 方法。
Performs the verdict operation.
findingsList<Finding>
执行 `findings` 方法。
Performs the findings operation.
reportTextString
执行报告文本相关操作。
Performs the report text operation.

记录组件详情Record Component Detail

verdict

Verdict verdict

执行 verdict 方法。

Performs the verdict operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:87

findings

List<Finding> findings

执行 findings 方法。

Performs the findings operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:87

reportText

String reportText

执行报告文本相关操作。

Performs the report text operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:87
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.