details (det)
描述
列出当前对象的评估详细信息。
检索有关当前评估或按评估标识选择的评估的详细信息。使用 listassess (la)
可获取评估及其标识的列表。
提示: 使用
details
命令之前,请使用 log
命令来打开记录。您可以生成 Microsoft™ Excel 或其他接受 CSV 数据的程序能够打开的逗号分隔文本 (.csv) 格式的日志文件。语法
details [id]
id
:当前会话中的评估的对象标识。如果未指定标识,那么会显示(或向日志文件发送)最新评估的详细信息。
示例
显示最新评估的详细信息:
AllApplications\Myapps>> details
File, line, col, name, type, severity, confidence
C:\MyApps\WebGoat\webgoat\src\lessons\CommandInjection.java
, 119
, 0
, java.lang.Throwable.printStackTrace
, Vulnerability.Info
, 3-SeverityType_info
, 3-ConfidenceType_low
.
.
.
C:\MyApps\WebGoat\webgoat\src\session\ECSFactory.java
, 625
, 0
, java.lang.String.equalsIgnoreCase
, Vulnerability.Info
, 3-SeverityType_info
, 3-ConfidenceType_low
-------------------
Total Call Sites: 1283
Total Definitive Security Findings with High Severity: 10
Total Definitive Security Findings with Medium Severity: 15
Total Definitive Security Findings with Low Severity: 53
Total Suspect Security Findings with High Severity: 24
Total Suspect Security Findings with Medium Severity: 25
Total Suspect Security Findings with Low Severity: 6
Total Scan Coverage Findings with High Severity: 123
Total Scan Coverage Findings with Medium Severity: 69
Total Scan Coverage Findings with Low Severity: 56
Total Lines: 17197
Max V-Density: 929.8482293423273
Max V/kloc: 22.155027039599933
V-Density: 929.8482293423273
V/kloc: 22.155027039599933