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 |
|---|---|---|
patternId | String | 执行 `patternId` 方法。 Performs the pattern id operation. |
severity | Severity | 执行严重程度相关操作。 Performs the severity operation. |
category | Category | 执行类别相关操作。 Performs the category operation. |
file | String | 执行文件相关操作。 Performs the file operation. |
line | int | 执行 `line` 方法。 Performs the line operation. |
matchText | String | 执行 `matchText` 方法。 Performs the match text operation. |
description | String | 执行 `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–85severity
Severity severity执行严重程度相关操作。
Performs the severity operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85category
Category category执行类别相关操作。
Performs the category operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85file
String file执行文件相关操作。
Performs the file operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85line
int line执行 line 方法。
Performs the line operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85matchText
String matchText执行 matchText 方法。
Performs the match text operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85description
String description执行 description 方法。
Performs the description operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillSecurityScanner.java:78–85