AS AgentScopeAPI 手册 / API Reference

Finding

public record Finding( String patternId, Severity severity, Category category, String file, int line, String matchText, String description)
源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85

承载 Finding数据的记录类型。位于 io.agentscope.harness.agent.skill.curator 包。核心成员包括 patternId、severity、category、file、line、matchText。

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
patternIdString
执行 `patternId` 方法。
Performs the pattern id operation.
severitySeverity
执行严重程度相关操作。
Performs the severity operation.
categoryCategory
执行类别相关操作。
Performs the category operation.
fileString
执行文件相关操作。
Performs the file operation.
lineint
执行 `line` 方法。
Performs the line operation.
matchTextString
执行 `matchText` 方法。
Performs the match text operation.
descriptionString
执行 `description` 方法。
Performs the description operation.

记录组件详情Record Component Detail

patternId

String patternId

执行 patternId 方法。

Performs the pattern id operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85

severity

Severity severity

执行严重程度相关操作。

Performs the severity operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85

category

Category category

执行类别相关操作。

Performs the category operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85

file

String file

执行文件相关操作。

Performs the file operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85

line

int line

执行 line 方法。

Performs the line operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85

matchText

String matchText

执行 matchText 方法。

Performs the match text operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85

description

String description

执行 description 方法。

Performs the description operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85
基于官方固定版本源码静态生成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.