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 |
|---|---|---|
verdict | Verdict | 执行 `verdict` 方法。 Performs the verdict operation. |
findings | List<Finding> | 执行 `findings` 方法。 Performs the findings operation. |
reportText | String | 执行报告文本相关操作。 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:87findings
List<Finding> findings执行 findings 方法。
Performs the findings operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:87reportText
String reportText执行报告文本相关操作。
Performs the report text operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:87