fortify-ssc
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFortify Software Security Center (SSC) Skill
Fortify Software Security Center (SSC) Skill
Fortify Software Security Center (SSC) integration via Model Context Protocol (MCP).
通过Model Context Protocol (MCP)集成Fortify Software Security Center (SSC)。
When to Use This Skill
何时使用此Skill
- List application and application version
- List security issues/vulnerabilities with filtering by severity, category, etc.
- Count issues grouped by severity, category, etc.
- 列出应用及应用版本
- 按严重程度、类别等筛选列出安全问题/漏洞
- 按严重程度、类别等分组统计问题数量
Available MCP Tools
可用的MCP工具
Only key MCP tools for SSC are listed here.
| Tool | Description | When to Use |
|---|---|---|
| List authentication sessions | Check authentication status |
| List applications | Discover available applications |
| Get details of a specific application | Retrieve detailed information about an application |
| List application versions | Discover available application versions |
| Get details of a specific application version | Retrieve detailed information about an application version |
| List issues | Retrieve a list of security issues/vulnerabilities |
| Discover available filtering options for issues | Look for most appropriate filter to use |
| Discover available grouping options for issues | Look for most appropriate group to use |
| Group and count issues | Count issues grouped by severity, category, etc. Always include |
| Wait for background jobs to complete | When |
此处仅列出SSC的核心MCP工具。
| 工具 | 描述 | 适用场景 |
|---|---|---|
| 列出认证会话 | 检查认证状态 |
| 列出应用 | 发现可用应用 |
| 获取指定应用的详情 | 检索应用的详细信息 |
| 列出应用版本 | 发现可用的应用版本 |
| 获取指定应用版本的详情 | 检索应用版本的详细信息 |
| 列出问题 | 检索安全问题/漏洞列表 |
| 发现问题的可用筛选选项 | 查找最合适的筛选条件 |
| 发现问题的可用分组选项 | 查找最合适的分组方式 |
| 分组统计问题数量 | 按严重程度、类别等统计问题数量。必须包含 |
| 等待后台任务完成 | 当响应中存在 |
Parameter Formats
参数格式
Common formats and examples for key parameters:
| Parameter | Format | Example |
|---|---|---|
| | |
| | |
| Filter set title or ID - predefined SSC filter combinations (e.g., "Security Auditor View", "Quick View"); distinct from | |
| Comma-separated values to include additional data (see reference files for specific options) | |
| Group name from | |
核心参数的通用格式及示例:
| 参数 | 格式 | 示例 |
|---|---|---|
| | |
| | |
| 筛选集标题或ID - SSC预定义的筛选组合(如"Security Auditor View"、"Quick View");与 | |
| 逗号分隔的值,用于包含额外数据(具体选项请参考文档) | |
| 来自 | |
Authentication
认证
All operations require authentication. Always verify session before any operation:
tool
fcli_ssc_session_list with refresh-cache=true- If =
Expired→ proceedNo - If expired → ask user to run locally:
fcli ssc session login --url "<URL>" -u "<user>" -p '<pass>' - When running any SSC tool, if authentication error occurs, prompt user to re-authenticate locally.
Note: Reference workflows assume authentication has been verified.
所有操作均需要认证。在执行任何操作前,请务必验证会话:
tool
fcli_ssc_session_list with refresh-cache=true- 如果=
Expired→ 继续执行No - 如果已过期 → 请用户在本地执行:
fcli ssc session login --url "<URL>" -u "<user>" -p '<pass>' - 当运行任何SSC工具时,如果出现认证错误,请提示用户在本地重新认证。
注意: 参考工作流默认已完成认证验证。
Filtering: Prefer --filter; query Optional
筛选:优先使用--filter;query为可选选项
- Prefer for server-side filtering (fastest, smallest payloads)
--filter - Optionally use as a client-side post-filter when you need a simple match on returned fields
query - Always discover available filters with before applying them
issue_list_filters
- 优先使用进行服务器端筛选(速度最快,负载最小)
--filter - 可选使用作为客户端后筛选,当你需要对返回字段进行简单匹配时使用
query - 在应用筛选前,请务必先通过查看可用的筛选选项
issue_list_filters
Pagination
分页
- If = true → use
pagination.hasMorefor next pagepagination-offset - If present → background loading; wait with
pagination.jobToken(see Background Job Handling)fcli_ssc_mcp_job - Once appears → all records collected
pagination.totalRecords
- 如果= true → 使用
pagination.hasMore获取下一页pagination-offset - 如果存在→ 后台加载中;使用
pagination.jobToken等待(参见后台任务处理)fcli_ssc_mcp_job - 当出现时 → 已收集所有记录
pagination.totalRecords
Error Recovery
错误恢复
| Error | Recovery |
|---|---|
| "Session expired" | Refer to flow in |
| "Application version not found" | Run |
| "Unknown filter" | Run |
| 错误信息 | 解决方法 |
|---|---|
| "Session expired" | 参考「认证」章节中的流程 |
| "Application version not found" | 运行 |
| "Unknown filter" | 运行 |
Decision Tree: Choosing the Right Approach
决策树:选择合适的操作方式
| User Intent | Action |
|---|---|
| "list/show vulnerabilities" | |
| "how many / count / summary" | |
| "find app / which version" | |
| 用户意图 | 操作 |
|---|---|
| "列出/展示漏洞" | |
| "数量/统计/汇总" | |
| "查找应用/版本信息" | |
Best Practices
最佳实践
DO:
- ✅ Use for filtering
--filter - ✅ Prioritize server-side filtering over client-side
- ✅ Prioritize use MCP tool over FCLI CLI directly
Do NOT:
- ❌ Guess application/version names - ask the user
- ❌ Prompt user for credentials - ask user to run locally
fcli ssc session login - ❌ Assume filter names exist - always run first
issue_list_filters - ❌ Make multiple API calls for details - use parameter instead
--embed
建议:
- ✅ 使用进行筛选
--filter - ✅ 优先使用服务器端筛选而非客户端筛选
- ✅ 优先使用MCP工具而非直接使用FCLI CLI
不建议:
- ❌ 猜测应用/版本名称 - 询问用户
- ❌ 向用户索要凭证 - 请用户在本地执行
fcli ssc session login - ❌ 假设筛选选项存在 - 务必先运行
issue_list_filters - ❌ 多次调用API获取详情 - 改用参数
--embed
References
参考资料
Example Workflows
示例工作流
| Workflow | Use When User Says... |
|---|---|
| List and find Applications Versions | "list applications", "show application versions", "what applications are available" |
| List, Filter and Query Issues | "list vulnerabilities", "show security issues", "filter issues by severity", "include suppressed issues" |
| Summarise and Count Issues | "count issues", "show summary", "breakdown by severity" |
| Provide Recommendations | "show recommendations", "provide remediation advice", "how to fix" |
| Background Job Handling | When |
| 工作流 | 用户提问场景... |
|---|---|
| 列出并查找应用版本 | "列出应用"、"展示应用版本"、"有哪些可用的应用" |
| 列出、筛选及查询问题 | "列出漏洞"、"展示安全问题"、"按严重程度筛选问题"、"包含已忽略的问题" |
| 汇总并统计问题 | "统计问题数量"、"展示汇总信息"、"按严重程度分类" |
| 提供修复建议 | "展示修复建议"、"提供整改方案"、"如何修复" |
| 后台任务处理 | 当响应中出现 |