@bussolabs/closeyourit-cli 0.17.1 → 0.18.0

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/opencli.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "opencli": "0.1",
4
4
  "info": {
5
5
  "title": "closeyourit",
6
- "version": "0.17.1",
6
+ "version": "0.18.0",
7
7
  "description": "CLI for CloseYourIt — manage org, errors, tokens and tickets with your user token",
8
8
  "license": {
9
9
  "name": "MIT",
@@ -10085,6 +10085,222 @@
10085
10085
  }
10086
10086
  ]
10087
10087
  },
10088
+ {
10089
+ "name": "vulnerabilities",
10090
+ "commands": [
10091
+ {
10092
+ "name": "ignore",
10093
+ "description": "Ignore a vulnerability: you accept living with the risk",
10094
+ "aliases": [
10095
+ "vulns:ignore"
10096
+ ],
10097
+ "options": [
10098
+ {
10099
+ "name": "--note",
10100
+ "description": "Why you are keeping it (shown alongside the ignored row)",
10101
+ "arguments": [
10102
+ {
10103
+ "name": "NOTE",
10104
+ "required": true
10105
+ }
10106
+ ]
10107
+ }
10108
+ ],
10109
+ "arguments": [
10110
+ {
10111
+ "name": "ID",
10112
+ "required": true,
10113
+ "description": "Vulnerability finding id"
10114
+ }
10115
+ ],
10116
+ "examples": [
10117
+ "closeyourit vulnerabilities ignore <finding-id>",
10118
+ "closeyourit vulnerabilities ignore <finding-id> --note \"Not reachable from our code.\""
10119
+ ]
10120
+ },
10121
+ {
10122
+ "name": "list",
10123
+ "description": "List known vulnerabilities of the project dependencies (cross-project)",
10124
+ "aliases": [
10125
+ "vulns:list"
10126
+ ],
10127
+ "options": [
10128
+ {
10129
+ "name": "--project",
10130
+ "aliases": [
10131
+ "-p"
10132
+ ],
10133
+ "description": "Filter by project id (UUID) or key",
10134
+ "arguments": [
10135
+ {
10136
+ "name": "PROJECT",
10137
+ "required": true
10138
+ }
10139
+ ]
10140
+ },
10141
+ {
10142
+ "name": "--severity",
10143
+ "description": "Filter by severity (critical, high, moderate, low, unknown)",
10144
+ "arguments": [
10145
+ {
10146
+ "name": "SEVERITY",
10147
+ "required": true
10148
+ }
10149
+ ]
10150
+ },
10151
+ {
10152
+ "name": "--status",
10153
+ "description": "Filter by status (open, resolved, ignored)",
10154
+ "arguments": [
10155
+ {
10156
+ "name": "STATUS",
10157
+ "required": true
10158
+ }
10159
+ ]
10160
+ },
10161
+ {
10162
+ "name": "--package",
10163
+ "description": "Filter by package name (partial match)",
10164
+ "arguments": [
10165
+ {
10166
+ "name": "PACKAGE",
10167
+ "required": true
10168
+ }
10169
+ ]
10170
+ },
10171
+ {
10172
+ "name": "--page",
10173
+ "description": "Page number",
10174
+ "arguments": [
10175
+ {
10176
+ "name": "PAGE",
10177
+ "required": true
10178
+ }
10179
+ ]
10180
+ }
10181
+ ],
10182
+ "examples": [
10183
+ "closeyourit vulnerabilities list",
10184
+ "closeyourit vulnerabilities list --severity critical",
10185
+ "closeyourit vulnerabilities list --project acme-api --status open",
10186
+ "closeyourit vulnerabilities list --package nokogiri --json"
10187
+ ]
10188
+ },
10189
+ {
10190
+ "name": "promote",
10191
+ "description": "Open a ticket from a vulnerability (automatic promotion only fires on high/critical)",
10192
+ "aliases": [
10193
+ "vulns:promote"
10194
+ ],
10195
+ "arguments": [
10196
+ {
10197
+ "name": "ID",
10198
+ "required": true,
10199
+ "description": "Vulnerability finding id"
10200
+ }
10201
+ ],
10202
+ "examples": [
10203
+ "closeyourit vulnerabilities promote <finding-id>"
10204
+ ]
10205
+ },
10206
+ {
10207
+ "name": "reopen",
10208
+ "description": "Reopen an ignored vulnerability: you changed your mind",
10209
+ "aliases": [
10210
+ "vulns:reopen"
10211
+ ],
10212
+ "arguments": [
10213
+ {
10214
+ "name": "ID",
10215
+ "required": true,
10216
+ "description": "Vulnerability finding id"
10217
+ }
10218
+ ],
10219
+ "examples": [
10220
+ "closeyourit vulnerabilities reopen <finding-id>"
10221
+ ]
10222
+ },
10223
+ {
10224
+ "name": "rescan",
10225
+ "description": "Rescan a project now, without waiting for the nightly run",
10226
+ "aliases": [
10227
+ "vulns:rescan"
10228
+ ],
10229
+ "options": [
10230
+ {
10231
+ "name": "--project",
10232
+ "aliases": [
10233
+ "-p"
10234
+ ],
10235
+ "description": "Project id (UUID) or key",
10236
+ "required": true,
10237
+ "arguments": [
10238
+ {
10239
+ "name": "PROJECT",
10240
+ "required": true
10241
+ }
10242
+ ]
10243
+ }
10244
+ ],
10245
+ "examples": [
10246
+ "closeyourit vulnerabilities rescan --project acme-api"
10247
+ ]
10248
+ },
10249
+ {
10250
+ "name": "runtimes",
10251
+ "description": "List the support state of the declared runtimes (Ruby, Node, Flutter…)",
10252
+ "aliases": [
10253
+ "vulns:runtimes"
10254
+ ],
10255
+ "options": [
10256
+ {
10257
+ "name": "--project",
10258
+ "aliases": [
10259
+ "-p"
10260
+ ],
10261
+ "description": "Filter by project id (UUID) or key",
10262
+ "arguments": [
10263
+ {
10264
+ "name": "PROJECT",
10265
+ "required": true
10266
+ }
10267
+ ]
10268
+ },
10269
+ {
10270
+ "name": "--page",
10271
+ "description": "Page number",
10272
+ "arguments": [
10273
+ {
10274
+ "name": "PAGE",
10275
+ "required": true
10276
+ }
10277
+ ]
10278
+ }
10279
+ ],
10280
+ "examples": [
10281
+ "closeyourit vulnerabilities runtimes",
10282
+ "closeyourit vulnerabilities runtimes --project acme-api --json"
10283
+ ]
10284
+ },
10285
+ {
10286
+ "name": "show",
10287
+ "description": "Show a single vulnerability: advisory, package, manifest and the fixing version",
10288
+ "aliases": [
10289
+ "vulns:show"
10290
+ ],
10291
+ "arguments": [
10292
+ {
10293
+ "name": "ID",
10294
+ "required": true,
10295
+ "description": "Vulnerability finding id"
10296
+ }
10297
+ ],
10298
+ "examples": [
10299
+ "closeyourit vulnerabilities show <finding-id>"
10300
+ ]
10301
+ }
10302
+ ]
10303
+ },
10088
10304
  {
10089
10305
  "name": "whoami",
10090
10306
  "description": "Show the authenticated account, organization, token prefix and permissions",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bussolabs/closeyourit-cli",
3
- "version": "0.17.1",
3
+ "version": "0.18.0",
4
4
  "description": "CLI for CloseYourIt — manage org, errors, tokens and tickets with your user token",
5
5
  "publishConfig": {
6
6
  "access": "public"