@cnbcool/cnb-cli 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -37912,7 +37912,7 @@
|
|
|
37912
37912
|
"path": {
|
|
37913
37913
|
"slug": {
|
|
37914
37914
|
"type": "string",
|
|
37915
|
-
"description": "
|
|
37915
|
+
"description": "repo",
|
|
37916
37916
|
"name": "slug",
|
|
37917
37917
|
"required": true
|
|
37918
37918
|
}
|
|
@@ -37920,27 +37920,27 @@
|
|
|
37920
37920
|
"query": {
|
|
37921
37921
|
"issue_rule": {
|
|
37922
37922
|
"type": "string",
|
|
37923
|
-
"description": "
|
|
37923
|
+
"description": "问题规则,用于筛选特定类型的问题",
|
|
37924
37924
|
"name": "issue_rule",
|
|
37925
37925
|
"required": false
|
|
37926
37926
|
},
|
|
37927
37927
|
"risk_level": {
|
|
37928
37928
|
"type": "string",
|
|
37929
|
-
"description": "
|
|
37929
|
+
"description": "严重程度,用于筛选特定风险等级的问题",
|
|
37930
37930
|
"name": "risk_level",
|
|
37931
37931
|
"required": false
|
|
37932
37932
|
},
|
|
37933
37933
|
"page": {
|
|
37934
37934
|
"type": "number",
|
|
37935
37935
|
"default": 1,
|
|
37936
|
-
"description": "
|
|
37936
|
+
"description": "分页页码",
|
|
37937
37937
|
"name": "page",
|
|
37938
37938
|
"required": false
|
|
37939
37939
|
},
|
|
37940
37940
|
"page_size": {
|
|
37941
37941
|
"type": "number",
|
|
37942
37942
|
"default": 10,
|
|
37943
|
-
"description": "
|
|
37943
|
+
"description": "每页条数",
|
|
37944
37944
|
"name": "page_size",
|
|
37945
37945
|
"required": false
|
|
37946
37946
|
}
|
|
@@ -37958,69 +37958,69 @@
|
|
|
37958
37958
|
"properties": {
|
|
37959
37959
|
"author_email": {
|
|
37960
37960
|
"type": "string",
|
|
37961
|
-
"description": "责任人邮箱(git
|
|
37961
|
+
"description": "责任人邮箱(git 原始信息)"
|
|
37962
37962
|
},
|
|
37963
37963
|
"author_name": {
|
|
37964
37964
|
"type": "string",
|
|
37965
|
-
"description": "责任人姓名(git
|
|
37965
|
+
"description": "责任人姓名(git 原始信息)"
|
|
37966
37966
|
},
|
|
37967
37967
|
"created_at": {
|
|
37968
37968
|
"type": "string",
|
|
37969
|
-
"description": "
|
|
37969
|
+
"description": "问题创建时间"
|
|
37970
37970
|
},
|
|
37971
37971
|
"display_name": {
|
|
37972
37972
|
"type": "string",
|
|
37973
|
-
"description": "
|
|
37973
|
+
"description": "规则展示名称"
|
|
37974
37974
|
},
|
|
37975
37975
|
"file_path": {
|
|
37976
37976
|
"type": "string",
|
|
37977
|
-
"description": "
|
|
37977
|
+
"description": "包含问题的文件路径"
|
|
37978
37978
|
},
|
|
37979
37979
|
"id": {
|
|
37980
37980
|
"type": "string",
|
|
37981
|
-
"description": "问题ID
|
|
37981
|
+
"description": "问题ID"
|
|
37982
37982
|
},
|
|
37983
37983
|
"line_no": {
|
|
37984
37984
|
"type": "number",
|
|
37985
|
-
"description": "
|
|
37985
|
+
"description": "行号"
|
|
37986
37986
|
},
|
|
37987
37987
|
"occur_version": {
|
|
37988
37988
|
"type": "string",
|
|
37989
|
-
"description": "引入问题的commit
|
|
37989
|
+
"description": "引入问题的 commit"
|
|
37990
37990
|
},
|
|
37991
37991
|
"repo_id": {
|
|
37992
37992
|
"type": "string",
|
|
37993
|
-
"description": "仓库ID
|
|
37993
|
+
"description": "仓库ID"
|
|
37994
37994
|
},
|
|
37995
37995
|
"revision": {
|
|
37996
37996
|
"type": "string",
|
|
37997
|
-
"description": "问题所在的commit
|
|
37997
|
+
"description": "问题所在的 commit"
|
|
37998
37998
|
},
|
|
37999
37999
|
"risk_level": {
|
|
38000
38000
|
"type": "string",
|
|
38001
|
-
"description": "
|
|
38001
|
+
"description": "严重级别"
|
|
38002
38002
|
},
|
|
38003
38003
|
"rule": {
|
|
38004
38004
|
"type": "string",
|
|
38005
|
-
"description": "
|
|
38005
|
+
"description": "问题规则"
|
|
38006
38006
|
},
|
|
38007
38007
|
"rule_title": {
|
|
38008
38008
|
"type": "string",
|
|
38009
|
-
"description": "
|
|
38009
|
+
"description": "规则名称"
|
|
38010
38010
|
},
|
|
38011
38011
|
"tool": {
|
|
38012
38012
|
"type": "string",
|
|
38013
|
-
"description": "
|
|
38013
|
+
"description": "扫描工具"
|
|
38014
38014
|
}
|
|
38015
38015
|
}
|
|
38016
38016
|
},
|
|
38017
|
-
"description": "
|
|
38017
|
+
"description": "问题列表"
|
|
38018
38018
|
}
|
|
38019
38019
|
}
|
|
38020
38020
|
}
|
|
38021
38021
|
},
|
|
38022
38022
|
"400": {
|
|
38023
|
-
"description": "
|
|
38023
|
+
"description": "请求参数错误",
|
|
38024
38024
|
"schema": {
|
|
38025
38025
|
"type": "object",
|
|
38026
38026
|
"properties": {
|
|
@@ -38043,7 +38043,7 @@
|
|
|
38043
38043
|
}
|
|
38044
38044
|
},
|
|
38045
38045
|
"500": {
|
|
38046
|
-
"description": "
|
|
38046
|
+
"description": "服务器内部错误",
|
|
38047
38047
|
"schema": {
|
|
38048
38048
|
"type": "object",
|
|
38049
38049
|
"properties": {
|
|
@@ -38081,13 +38081,13 @@
|
|
|
38081
38081
|
"path": {
|
|
38082
38082
|
"slug": {
|
|
38083
38083
|
"type": "string",
|
|
38084
|
-
"description": "
|
|
38084
|
+
"description": "repo",
|
|
38085
38085
|
"name": "slug",
|
|
38086
38086
|
"required": true
|
|
38087
38087
|
},
|
|
38088
38088
|
"record_id": {
|
|
38089
38089
|
"type": "number",
|
|
38090
|
-
"description": "源码扫描问题记录ID
|
|
38090
|
+
"description": "源码扫描问题记录ID",
|
|
38091
38091
|
"name": "record_id",
|
|
38092
38092
|
"required": true
|
|
38093
38093
|
}
|
|
@@ -38101,89 +38101,89 @@
|
|
|
38101
38101
|
"properties": {
|
|
38102
38102
|
"author_email": {
|
|
38103
38103
|
"type": "string",
|
|
38104
|
-
"description": "责任人邮箱(git
|
|
38104
|
+
"description": "责任人邮箱(git 原始信息)"
|
|
38105
38105
|
},
|
|
38106
38106
|
"author_name": {
|
|
38107
38107
|
"type": "string",
|
|
38108
|
-
"description": "责任人姓名(git
|
|
38108
|
+
"description": "责任人姓名(git 原始信息)"
|
|
38109
38109
|
},
|
|
38110
38110
|
"created_at": {
|
|
38111
38111
|
"type": "string",
|
|
38112
|
-
"description": "
|
|
38112
|
+
"description": "问题创建时间"
|
|
38113
38113
|
},
|
|
38114
38114
|
"description": {
|
|
38115
38115
|
"type": "string",
|
|
38116
|
-
"description": "
|
|
38116
|
+
"description": "问题描述"
|
|
38117
38117
|
},
|
|
38118
38118
|
"display_name": {
|
|
38119
38119
|
"type": "string",
|
|
38120
|
-
"description": "
|
|
38120
|
+
"description": "规则展示名称"
|
|
38121
38121
|
},
|
|
38122
38122
|
"extra_msg": {
|
|
38123
38123
|
"type": "string",
|
|
38124
|
-
"description": "
|
|
38124
|
+
"description": "额外信息"
|
|
38125
38125
|
},
|
|
38126
38126
|
"file_path": {
|
|
38127
38127
|
"type": "string",
|
|
38128
|
-
"description": "
|
|
38128
|
+
"description": "包含问题的文件路径"
|
|
38129
38129
|
},
|
|
38130
38130
|
"id": {
|
|
38131
38131
|
"type": "string",
|
|
38132
|
-
"description": "问题ID
|
|
38132
|
+
"description": "问题ID"
|
|
38133
38133
|
},
|
|
38134
38134
|
"ignored_at": {
|
|
38135
38135
|
"type": "string",
|
|
38136
|
-
"description": "
|
|
38136
|
+
"description": "忽略时间"
|
|
38137
38137
|
},
|
|
38138
38138
|
"introduce": {
|
|
38139
38139
|
"type": "string",
|
|
38140
|
-
"description": "
|
|
38140
|
+
"description": "问题介绍"
|
|
38141
38141
|
},
|
|
38142
38142
|
"line_no": {
|
|
38143
38143
|
"type": "number",
|
|
38144
|
-
"description": "
|
|
38144
|
+
"description": "行号"
|
|
38145
38145
|
},
|
|
38146
38146
|
"occur_version": {
|
|
38147
38147
|
"type": "string",
|
|
38148
|
-
"description": "引入问题的commit
|
|
38148
|
+
"description": "引入问题的 commit"
|
|
38149
38149
|
},
|
|
38150
38150
|
"reopen_at": {
|
|
38151
38151
|
"type": "string",
|
|
38152
|
-
"description": "
|
|
38152
|
+
"description": "重新开启时间"
|
|
38153
38153
|
},
|
|
38154
38154
|
"repo_id": {
|
|
38155
38155
|
"type": "string",
|
|
38156
|
-
"description": "仓库ID
|
|
38156
|
+
"description": "仓库ID"
|
|
38157
38157
|
},
|
|
38158
38158
|
"revision": {
|
|
38159
38159
|
"type": "string",
|
|
38160
|
-
"description": "问题所在的commit
|
|
38160
|
+
"description": "问题所在的 commit"
|
|
38161
38161
|
},
|
|
38162
38162
|
"risk_level": {
|
|
38163
38163
|
"type": "string",
|
|
38164
|
-
"description": "
|
|
38164
|
+
"description": "严重级别"
|
|
38165
38165
|
},
|
|
38166
38166
|
"rule": {
|
|
38167
38167
|
"type": "string",
|
|
38168
|
-
"description": "
|
|
38168
|
+
"description": "问题规则"
|
|
38169
38169
|
},
|
|
38170
38170
|
"rule_title": {
|
|
38171
38171
|
"type": "string",
|
|
38172
|
-
"description": "
|
|
38172
|
+
"description": "规则名称"
|
|
38173
38173
|
},
|
|
38174
38174
|
"state": {
|
|
38175
38175
|
"type": "string",
|
|
38176
|
-
"description": "问题状态(open/ignored
|
|
38176
|
+
"description": "问题状态(open/ignored)"
|
|
38177
38177
|
},
|
|
38178
38178
|
"tool": {
|
|
38179
38179
|
"type": "string",
|
|
38180
|
-
"description": "
|
|
38180
|
+
"description": "扫描工具"
|
|
38181
38181
|
}
|
|
38182
38182
|
}
|
|
38183
38183
|
}
|
|
38184
38184
|
},
|
|
38185
38185
|
"400": {
|
|
38186
|
-
"description": "
|
|
38186
|
+
"description": "请求参数错误",
|
|
38187
38187
|
"schema": {
|
|
38188
38188
|
"type": "object",
|
|
38189
38189
|
"properties": {
|
|
@@ -38229,7 +38229,7 @@
|
|
|
38229
38229
|
}
|
|
38230
38230
|
},
|
|
38231
38231
|
"500": {
|
|
38232
|
-
"description": "
|
|
38232
|
+
"description": "服务器内部错误",
|
|
38233
38233
|
"schema": {
|
|
38234
38234
|
"type": "object",
|
|
38235
38235
|
"properties": {
|