@google-cloud/containeranalysis 6.8.0 → 7.0.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.
@@ -1336,6 +1336,38 @@
1336
1336
  "availabilityImpact": {
1337
1337
  "type": "Impact",
1338
1338
  "id": 12
1339
+ },
1340
+ "attackRequirements": {
1341
+ "type": "AttackRequirements",
1342
+ "id": 13
1343
+ },
1344
+ "vulnerableSystemConfidentialityImpact": {
1345
+ "type": "Impact",
1346
+ "id": 14
1347
+ },
1348
+ "vulnerableSystemIntegrityImpact": {
1349
+ "type": "Impact",
1350
+ "id": 15
1351
+ },
1352
+ "vulnerableSystemAvailabilityImpact": {
1353
+ "type": "Impact",
1354
+ "id": 16
1355
+ },
1356
+ "subsequentSystemConfidentialityImpact": {
1357
+ "type": "Impact",
1358
+ "id": 17
1359
+ },
1360
+ "subsequentSystemIntegrityImpact": {
1361
+ "type": "Impact",
1362
+ "id": 18
1363
+ },
1364
+ "subsequentSystemAvailabilityImpact": {
1365
+ "type": "Impact",
1366
+ "id": 19
1367
+ },
1368
+ "exploitMaturity": {
1369
+ "type": "ExploitMaturity",
1370
+ "id": 20
1339
1371
  }
1340
1372
  },
1341
1373
  "nested": {
@@ -1376,7 +1408,9 @@
1376
1408
  "values": {
1377
1409
  "USER_INTERACTION_UNSPECIFIED": 0,
1378
1410
  "USER_INTERACTION_NONE": 1,
1379
- "USER_INTERACTION_REQUIRED": 2
1411
+ "USER_INTERACTION_REQUIRED": 2,
1412
+ "USER_INTERACTION_PASSIVE": 3,
1413
+ "USER_INTERACTION_ACTIVE": 4
1380
1414
  }
1381
1415
  },
1382
1416
  "Scope": {
@@ -1395,6 +1429,22 @@
1395
1429
  "IMPACT_PARTIAL": 4,
1396
1430
  "IMPACT_COMPLETE": 5
1397
1431
  }
1432
+ },
1433
+ "AttackRequirements": {
1434
+ "values": {
1435
+ "ATTACK_REQUIREMENTS_UNSPECIFIED": 0,
1436
+ "ATTACK_REQUIREMENTS_NONE": 1,
1437
+ "ATTACK_REQUIREMENTS_PRESENT": 2
1438
+ }
1439
+ },
1440
+ "ExploitMaturity": {
1441
+ "values": {
1442
+ "EXPLOIT_MATURITY_UNSPECIFIED": 0,
1443
+ "EXPLOIT_MATURITY_NOT_DEFINED": 1,
1444
+ "EXPLOIT_MATURITY_ATTACKED": 2,
1445
+ "EXPLOIT_MATURITY_POC": 3,
1446
+ "EXPLOIT_MATURITY_UNREPORTED": 4
1447
+ }
1398
1448
  }
1399
1449
  }
1400
1450
  },
@@ -1402,7 +1452,8 @@
1402
1452
  "values": {
1403
1453
  "CVSS_VERSION_UNSPECIFIED": 0,
1404
1454
  "CVSS_VERSION_2": 1,
1405
- "CVSS_VERSION_3": 2
1455
+ "CVSS_VERSION_3": 2,
1456
+ "CVSS_VERSION_4": 3
1406
1457
  }
1407
1458
  },
1408
1459
  "DeploymentNote": {
@@ -3343,6 +3394,10 @@
3343
3394
  "advisoryPublishTime": {
3344
3395
  "type": "google.protobuf.Timestamp",
3345
3396
  "id": 9
3397
+ },
3398
+ "cvssV4": {
3399
+ "type": "CVSS",
3400
+ "id": 10
3346
3401
  }
3347
3402
  },
3348
3403
  "nested": {
@@ -3506,6 +3561,10 @@
3506
3561
  "risk": {
3507
3562
  "type": "Risk",
3508
3563
  "id": 15
3564
+ },
3565
+ "cvssV4": {
3566
+ "type": "CVSS",
3567
+ "id": 16
3509
3568
  }
3510
3569
  },
3511
3570
  "nested": {
@@ -6294,6 +6353,10 @@
6294
6353
  "common": {
6295
6354
  "type": "CommonLanguageSettings",
6296
6355
  "id": 1
6356
+ },
6357
+ "libraryPackage": {
6358
+ "type": "string",
6359
+ "id": 2
6297
6360
  }
6298
6361
  }
6299
6362
  },
@@ -6403,6 +6466,10 @@
6403
6466
  "rule": "repeated",
6404
6467
  "type": "string",
6405
6468
  "id": 3
6469
+ },
6470
+ "batching": {
6471
+ "type": "BatchingConfigProto",
6472
+ "id": 4
6406
6473
  }
6407
6474
  },
6408
6475
  "nested": {
@@ -6460,6 +6527,79 @@
6460
6527
  }
6461
6528
  }
6462
6529
  },
6530
+ "BatchingConfigProto": {
6531
+ "fields": {
6532
+ "thresholds": {
6533
+ "type": "BatchingSettingsProto",
6534
+ "id": 1
6535
+ },
6536
+ "batchDescriptor": {
6537
+ "type": "BatchingDescriptorProto",
6538
+ "id": 2
6539
+ }
6540
+ }
6541
+ },
6542
+ "BatchingSettingsProto": {
6543
+ "fields": {
6544
+ "elementCountThreshold": {
6545
+ "type": "int32",
6546
+ "id": 1
6547
+ },
6548
+ "requestByteThreshold": {
6549
+ "type": "int64",
6550
+ "id": 2
6551
+ },
6552
+ "delayThreshold": {
6553
+ "type": "google.protobuf.Duration",
6554
+ "id": 3
6555
+ },
6556
+ "elementCountLimit": {
6557
+ "type": "int32",
6558
+ "id": 4
6559
+ },
6560
+ "requestByteLimit": {
6561
+ "type": "int32",
6562
+ "id": 5
6563
+ },
6564
+ "flowControlElementLimit": {
6565
+ "type": "int32",
6566
+ "id": 6
6567
+ },
6568
+ "flowControlByteLimit": {
6569
+ "type": "int32",
6570
+ "id": 7
6571
+ },
6572
+ "flowControlLimitExceededBehavior": {
6573
+ "type": "FlowControlLimitExceededBehaviorProto",
6574
+ "id": 8
6575
+ }
6576
+ }
6577
+ },
6578
+ "FlowControlLimitExceededBehaviorProto": {
6579
+ "values": {
6580
+ "UNSET_BEHAVIOR": 0,
6581
+ "THROW_EXCEPTION": 1,
6582
+ "BLOCK": 2,
6583
+ "IGNORE": 3
6584
+ }
6585
+ },
6586
+ "BatchingDescriptorProto": {
6587
+ "fields": {
6588
+ "batchedField": {
6589
+ "type": "string",
6590
+ "id": 1
6591
+ },
6592
+ "discriminatorFields": {
6593
+ "rule": "repeated",
6594
+ "type": "string",
6595
+ "id": 2
6596
+ },
6597
+ "subresponseField": {
6598
+ "type": "string",
6599
+ "id": 3
6600
+ }
6601
+ }
6602
+ },
6463
6603
  "LaunchStage": {
6464
6604
  "values": {
6465
6605
  "LAUNCH_STAGE_UNSPECIFIED": 0,
@@ -6609,6 +6749,8 @@
6609
6749
  "EDITION_PROTO3": 999,
6610
6750
  "EDITION_2023": 1000,
6611
6751
  "EDITION_2024": 1001,
6752
+ "EDITION_2026": 1002,
6753
+ "EDITION_UNSTABLE": 9999,
6612
6754
  "EDITION_1_TEST_ONLY": 1,
6613
6755
  "EDITION_2_TEST_ONLY": 2,
6614
6756
  "EDITION_99997_TEST_ONLY": 99997,
@@ -6803,6 +6945,10 @@
6803
6945
  }
6804
6946
  },
6805
6947
  "extensions": [
6948
+ [
6949
+ 990,
6950
+ 998
6951
+ ],
6806
6952
  [
6807
6953
  1000,
6808
6954
  536870911
@@ -7078,7 +7224,10 @@
7078
7224
  "type": "bool",
7079
7225
  "id": 10,
7080
7226
  "options": {
7081
- "default": false
7227
+ "default": false,
7228
+ "feature_support.edition_introduced": "EDITION_PROTO2",
7229
+ "feature_support.edition_removed": "EDITION_2024",
7230
+ "feature_support.removal_error": "This behavior is enabled by default in editions 2024 and above. To disable it, you can set `features.(pb.java).nest_in_file_class = YES` on individual messages, enums, or services."
7082
7231
  }
7083
7232
  },
7084
7233
  "javaGenerateEqualsAndHash": {
@@ -7138,7 +7287,9 @@
7138
7287
  "type": "bool",
7139
7288
  "id": 31,
7140
7289
  "options": {
7141
- "default": true
7290
+ "default": true,
7291
+ "feature_support.edition_removed": "EDITION_2026",
7292
+ "feature_support.removal_error": "cc_enable_arenas is enabled by default in every edition and overrides are ignored.This option is removed in editions 2026 and above."
7142
7293
  }
7143
7294
  },
7144
7295
  "objcClassPrefix": {
@@ -7180,6 +7331,10 @@
7180
7331
  }
7181
7332
  },
7182
7333
  "extensions": [
7334
+ [
7335
+ 990,
7336
+ 998
7337
+ ],
7183
7338
  [
7184
7339
  1000,
7185
7340
  536870911
@@ -7252,6 +7407,10 @@
7252
7407
  }
7253
7408
  },
7254
7409
  "extensions": [
7410
+ [
7411
+ 990,
7412
+ 998
7413
+ ],
7255
7414
  [
7256
7415
  1000,
7257
7416
  536870911
@@ -7366,6 +7525,10 @@
7366
7525
  }
7367
7526
  },
7368
7527
  "extensions": [
7528
+ [
7529
+ 990,
7530
+ 998
7531
+ ],
7369
7532
  [
7370
7533
  1000,
7371
7534
  536870911
@@ -7446,6 +7609,10 @@
7446
7609
  "editionRemoved": {
7447
7610
  "type": "Edition",
7448
7611
  "id": 4
7612
+ },
7613
+ "removalError": {
7614
+ "type": "string",
7615
+ "id": 5
7449
7616
  }
7450
7617
  }
7451
7618
  }
@@ -7465,6 +7632,10 @@
7465
7632
  }
7466
7633
  },
7467
7634
  "extensions": [
7635
+ [
7636
+ 990,
7637
+ 998
7638
+ ],
7468
7639
  [
7469
7640
  1000,
7470
7641
  536870911
@@ -7503,6 +7674,10 @@
7503
7674
  }
7504
7675
  },
7505
7676
  "extensions": [
7677
+ [
7678
+ 990,
7679
+ 998
7680
+ ],
7506
7681
  [
7507
7682
  1000,
7508
7683
  536870911
@@ -7547,6 +7722,10 @@
7547
7722
  }
7548
7723
  },
7549
7724
  "extensions": [
7725
+ [
7726
+ 990,
7727
+ 998
7728
+ ],
7550
7729
  [
7551
7730
  1000,
7552
7731
  536870911
@@ -7574,6 +7753,10 @@
7574
7753
  }
7575
7754
  },
7576
7755
  "extensions": [
7756
+ [
7757
+ 990,
7758
+ 998
7759
+ ],
7577
7760
  [
7578
7761
  1000,
7579
7762
  536870911
@@ -7608,6 +7791,10 @@
7608
7791
  }
7609
7792
  },
7610
7793
  "extensions": [
7794
+ [
7795
+ 990,
7796
+ 998
7797
+ ],
7611
7798
  [
7612
7799
  1000,
7613
7800
  536870911
@@ -7749,8 +7936,8 @@
7749
7936
  "retention": "RETENTION_SOURCE",
7750
7937
  "targets": "TARGET_TYPE_METHOD",
7751
7938
  "feature_support.edition_introduced": "EDITION_2024",
7752
- "edition_defaults.edition": "EDITION_2024",
7753
- "edition_defaults.value": "STYLE2024"
7939
+ "edition_defaults.edition": "EDITION_2026",
7940
+ "edition_defaults.value": "STYLE2026"
7754
7941
  }
7755
7942
  },
7756
7943
  "defaultSymbolVisibility": {
@@ -7763,6 +7950,17 @@
7763
7950
  "edition_defaults.edition": "EDITION_2024",
7764
7951
  "edition_defaults.value": "EXPORT_TOP_LEVEL"
7765
7952
  }
7953
+ },
7954
+ "enforceProtoLimits": {
7955
+ "type": "ProtoLimitsFeature.EnforceProtoLimits",
7956
+ "id": 9,
7957
+ "options": {
7958
+ "retention": "RETENTION_SOURCE",
7959
+ "targets": "TARGET_TYPE_ONEOF",
7960
+ "feature_support.edition_introduced": "EDITION_2026",
7961
+ "edition_defaults.edition": "EDITION_2026",
7962
+ "edition_defaults.value": "PROTO_LIMITS2026"
7963
+ }
7766
7964
  }
7767
7965
  },
7768
7966
  "extensions": [
@@ -7839,7 +8037,8 @@
7839
8037
  "values": {
7840
8038
  "ENFORCE_NAMING_STYLE_UNKNOWN": 0,
7841
8039
  "STYLE2024": 1,
7842
- "STYLE_LEGACY": 2
8040
+ "STYLE_LEGACY": 2,
8041
+ "STYLE2026": 3
7843
8042
  }
7844
8043
  },
7845
8044
  "VisibilityFeature": {
@@ -7861,6 +8060,18 @@
7861
8060
  }
7862
8061
  }
7863
8062
  }
8063
+ },
8064
+ "ProtoLimitsFeature": {
8065
+ "fields": {},
8066
+ "nested": {
8067
+ "EnforceProtoLimits": {
8068
+ "values": {
8069
+ "PROTO_LIMITS_UNKNOWN": 0,
8070
+ "LEGACY_NO_EXPLICIT_LIMITS": 1,
8071
+ "PROTO_LIMITS2026": 2
8072
+ }
8073
+ }
8074
+ }
7864
8075
  }
7865
8076
  }
7866
8077
  },
@@ -8460,7 +8671,6 @@
8460
8671
  },
8461
8672
  "rpc": {
8462
8673
  "options": {
8463
- "cc_enable_arenas": true,
8464
8674
  "go_package": "google.golang.org/genproto/googleapis/rpc/status;status",
8465
8675
  "java_multiple_files": true,
8466
8676
  "java_outer_classname": "StatusProto",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google-cloud/containeranalysis",
3
- "version": "6.8.0",
3
+ "version": "7.0.0",
4
4
  "description": "Containeranalysis client for Node.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,31 +41,31 @@
41
41
  "prelint": "cd samples; npm link ../; npm i",
42
42
  "postpack": "minifyProtoJson",
43
43
  "samples-test": "cd samples/ && npm link ../ && npm i && npm test",
44
- "system-test": "c8 mocha build/system-test",
45
- "test": "c8 mocha build/test"
44
+ "system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test",
45
+ "test": "c8 mocha --config ../../.mocharc.cjs build/test"
46
46
  },
47
47
  "dependencies": {
48
48
  "@google-cloud/grafeas": "^6.0.0",
49
- "google-gax": "^5.0.0"
49
+ "google-gax": "^6.0.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/mocha": "^10.0.10",
53
53
  "@types/node": "^22.13.9",
54
54
  "@types/sinon": "^17.0.4",
55
55
  "c8": "^10.1.3",
56
- "gapic-tools": "^1.0.0",
56
+ "gapic-tools": "^2.0.0",
57
57
  "gts": "^6.0.2",
58
58
  "jsdoc": "^4.0.4",
59
- "jsdoc-fresh": "^4.0.0",
60
- "jsdoc-region-tag": "^3.0.0",
59
+ "jsdoc-fresh": "^6.0.0",
60
+ "jsdoc-region-tag": "^5.0.0",
61
61
  "long": "^5.3.1",
62
62
  "mocha": "^11.1.0",
63
- "pack-n-play": "^3.0.0",
63
+ "pack-n-play": "^5.0.0",
64
64
  "sinon": "21.0.3",
65
65
  "typescript": "^5.8.2"
66
66
  },
67
67
  "engines": {
68
- "node": ">=18"
68
+ "node": ">=22"
69
69
  },
70
70
  "overrides": {
71
71
  "@sinonjs/fake-timers": "15.2.1"