@@ -401,6 +401,10 @@ https://cmkfjft8twwpst.blob.core.windows.net/bmm-run-command-output/20b217b5-ea3
401
401
"type" : " string" ,
402
402
"description" : " The name of the resource."
403
403
},
404
+ "clusterId" : {
405
+ "type" : " string" ,
406
+ "description" : " The resource ID of the cluster."
407
+ },
404
408
"runtimeVersion" : {
405
409
"type" : " string" ,
406
410
"description" : " The version of the runtime."
@@ -412,35 +416,41 @@ https://cmkfjft8twwpst.blob.core.windows.net/bmm-run-command-output/20b217b5-ea3
412
416
"vulnerabilitySummary" : {
413
417
"type" : " object" ,
414
418
"properties" : {
415
- "criticalCount" : {
416
- "type" : " integer" ,
417
- "description" : " Number of critical vulnerabilities."
418
- },
419
- "highCount" : {
420
- "type" : " integer" ,
421
- "description" : " Number of high severity vulnerabilities."
422
- },
423
- "mediumCount" : {
424
- "type" : " integer" ,
425
- "description" : " Number of medium severity vulnerabilities."
426
- },
427
- "lowCount" : {
428
- "type" : " integer" ,
429
- "description" : " Number of low severity vulnerabilities."
430
- },
431
- "noneCount" : {
432
- "type" : " integer" ,
433
- "description" : " Number of vulnerabilities with no severity."
419
+ "uniqueVulnerabilities" : {
420
+ "type" : " object" ,
421
+ "properties" : {
422
+ "critical" : { "type" : " integer" },
423
+ "high" : { "type" : " integer" },
424
+ "medium" : { "type" : " integer" },
425
+ "low" : { "type" : " integer" },
426
+ "unknown" : { "type" : " integer" }
427
+ },
428
+ "required" : [" critical" , " high" , " medium" , " low" , " unknown" ]
434
429
},
435
- "unknownCount" : {
436
- "type" : " integer" ,
437
- "description" : " Number of vulnerabilities with unknown severity."
430
+ "totalVulnerabilities" : {
431
+ "type" : " object" ,
432
+ "properties" : {
433
+ "critical" : { "type" : " integer" },
434
+ "high" : { "type" : " integer" },
435
+ "medium" : { "type" : " integer" },
436
+ "low" : { "type" : " integer" },
437
+ "unknown" : { "type" : " integer" }
438
+ },
439
+ "required" : [" critical" , " high" , " medium" , " low" , " unknown" ]
438
440
}
439
441
},
440
- "required" : [" criticalCount " , " highCount " , " mediumCount " , " lowCount " , " noneCount " , " unknownCount " ]
442
+ "required" : [" uniqueVulnerabilities " , " totalVulnerabilities " ]
441
443
}
442
444
},
443
- "required" : [" dateRetrieved" , " platform" , " resource" , " runtimeVersion" , " managementVersion" , " vulnerabilitySummary" ]
445
+ "required" : [
446
+ " dateRetrieved" ,
447
+ " platform" ,
448
+ " resource" ,
449
+ " clusterId" ,
450
+ " runtimeVersion" ,
451
+ " managementVersion" ,
452
+ " vulnerabilitySummary"
453
+ ]
444
454
},
445
455
"containers" : {
446
456
"type" : " object" ,
@@ -450,13 +460,18 @@ https://cmkfjft8twwpst.blob.core.windows.net/bmm-run-command-output/20b217b5-ea3
450
460
"type" : " object" ,
451
461
"properties" : {
452
462
"namespace" : {
453
- "type" : " string" ,
454
- "description" : " The namespace of the container."
463
+ "type" : " array" ,
464
+ "description" : " The namespaces where the container image is in-use." ,
465
+ "items" : { "type" : " string" }
455
466
},
456
467
"digest" : {
457
468
"type" : " string" ,
458
469
"description" : " The digest of the container image."
459
470
},
471
+ "observedCount" : {
472
+ "type" : " integer" ,
473
+ "description" : " The number of times the container image has been observed."
474
+ },
460
475
"os" : {
461
476
"type" : " object" ,
462
477
"properties" : {
@@ -467,97 +482,46 @@ https://cmkfjft8twwpst.blob.core.windows.net/bmm-run-command-output/20b217b5-ea3
467
482
},
468
483
"required" : [" family" ]
469
484
},
470
- "summary" : {
471
- "type" : " object" ,
472
- "properties" : {
473
- "criticalCount" : {
474
- "type" : " integer" ,
475
- "description" : " Number of critical vulnerabilities in this container."
476
- },
477
- "highCount" : {
478
- "type" : " integer" ,
479
- "description" : " Number of high severity vulnerabilities in this container."
480
- },
481
- "lowCount" : {
482
- "type" : " integer" ,
483
- "description" : " Number of low severity vulnerabilities in this container."
484
- },
485
- "mediumCount" : {
486
- "type" : " integer" ,
487
- "description" : " Number of medium severity vulnerabilities in this container."
488
- },
489
- "noneCount" : {
490
- "type" : " integer" ,
491
- "description" : " Number of vulnerabilities with no severity in this container."
492
- },
493
- "unknownCount" : {
494
- "type" : " integer" ,
495
- "description" : " Number of vulnerabilities with unknown severity in this container."
496
- }
497
- },
498
- "required" : [" criticalCount" , " highCount" , " lowCount" , " mediumCount" , " noneCount" , " unknownCount" ]
499
- },
500
485
"vulnerabilities" : {
501
486
"type" : " array" ,
502
487
"items" : {
503
488
"type" : " object" ,
504
489
"properties" : {
505
- "title" : {
506
- "type" : " string" ,
507
- "description" : " Title of the vulnerability."
508
- },
509
- "vulnerabilityID" : {
510
- "type" : " string" ,
511
- "description" : " Identifier of the vulnerability."
512
- },
513
- "fixedVersion" : {
514
- "type" : " string" ,
515
- "description" : " The version in which the vulnerability is fixed."
516
- },
517
- "installedVersion" : {
518
- "type" : " string" ,
519
- "description" : " The currently installed version."
520
- },
521
- "referenceLink" : {
522
- "type" : " string" ,
523
- "format" : " uri" ,
524
- "description" : " Link to the vulnerability details."
525
- },
526
- "publishedDate" : {
527
- "type" : " string" ,
528
- "format" : " date-time" ,
529
- "description" : " The date when the vulnerability was published."
530
- },
531
- "score" : {
532
- "type" : " number" ,
533
- "description" : " The CVSS score of the vulnerability."
534
- },
535
- "severity" : {
536
- "type" : " string" ,
537
- "description" : " The severity level of the vulnerability."
538
- },
539
- "resource" : {
540
- "type" : " string" ,
541
- "description" : " The resource affected by the vulnerability."
542
- },
543
- "target" : {
544
- "type" : " string" ,
545
- "description" : " The target of the vulnerability."
546
- },
547
- "packageType" : {
548
- "type" : " string" ,
549
- "description" : " The type of the package."
550
- },
551
- "exploitAvailable" : {
552
- "type" : " boolean" ,
553
- "description" : " Indicates if an exploit is available for the vulnerability."
554
- }
490
+ "title" : { "type" : " string" },
491
+ "vulnerabilityID" : { "type" : " string" },
492
+ "fixedVersion" : { "type" : " string" },
493
+ "installedVersion" : { "type" : " string" },
494
+ "referenceLink" : { "type" : " string" , "format" : " uri" },
495
+ "publishedDate" : { "type" : " string" , "format" : " date-time" },
496
+ "dataSource" : { "type" : " string" },
497
+ "score" : { "type" : " number" },
498
+ "severity" : { "type" : " string" },
499
+ "severitySource" : { "type" : " string" },
500
+ "resource" : { "type" : " string" },
501
+ "target" : { "type" : " string" },
502
+ "packageType" : { "type" : " string" },
503
+ "exploitAvailable" : { "type" : " boolean" }
555
504
},
556
- "required" : [" title" , " vulnerabilityID" , " fixedVersion" , " installedVersion" , " referenceLink" , " publishedDate" , " score" , " severity" , " resource" , " target" , " packageType" , " exploitAvailable" ]
505
+ "required" : [
506
+ " title" ,
507
+ " vulnerabilityID" ,
508
+ " fixedVersion" ,
509
+ " installedVersion" ,
510
+ " referenceLink" ,
511
+ " publishedDate" ,
512
+ " dataSource" ,
513
+ " score" ,
514
+ " severity" ,
515
+ " severitySource" ,
516
+ " resource" ,
517
+ " target" ,
518
+ " packageType" ,
519
+ " exploitAvailable"
520
+ ]
557
521
}
558
522
}
559
523
},
560
- "required" : [" namespace" , " digest" , " os" , " summary " , " vulnerabilities" ]
524
+ "required" : [" namespace" , " digest" , " os" , " observedCount " , " vulnerabilities" ]
561
525
}
562
526
}
563
527
}
0 commit comments