Skip to content

Commit 957ba50

Browse files
fix(ondemandscanning): update the API
#### ondemandscanning:v1beta1 The following keys were changed: - schemas.BinarySourceInfo.properties.binaryVersion.description - schemas.LayerDetails.description - schemas.PackageData.properties.patchedCve.description #### ondemandscanning:v1 The following keys were changed: - schemas.BinarySourceInfo.properties.binaryVersion.description - schemas.LayerDetails.description - schemas.PackageData.properties.patchedCve.description
1 parent db72ac5 commit 957ba50

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

‎discovery/ondemandscanning-v1.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20250217",
342+
"revision": "20250321",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -532,7 +532,7 @@
532532
"properties": {
533533
"binaryVersion": {
534534
"$ref": "PackageVersion",
535-
"description": "The binary package. This is significant when the source is different than the binary itself. Historically if they've differed, we've stored the name of the source and its version in the package/version fields, but we should also store the binary package info, as that's what's actually installed. See b/175908657#comment15."
535+
"description": "The binary package. This is significant when the source is different than the binary itself. Historically if they've differed, we've stored the name of the source and its version in the package/version fields, but we should also store the binary package info, as that's what's actually installed."
536536
},
537537
"sourceVersion": {
538538
"$ref": "PackageVersion",
@@ -1637,7 +1637,7 @@
16371637
"type": "object"
16381638
},
16391639
"LayerDetails": {
1640-
"description": "Details about the layer a package was found in. This should be the same as the LayerDetails message in google3/third_party/scalibr/binary/proto/scan_result.proto.",
1640+
"description": "Details about the layer a package was found in.",
16411641
"id": "LayerDetails",
16421642
"properties": {
16431643
"baseImages": {
@@ -2063,7 +2063,7 @@
20632063
"type": "string"
20642064
},
20652065
"patchedCve": {
2066-
"description": "CVEs that this package is no longer vulnerable to go/drydock-dd-custom-binary-scanning",
2066+
"description": "CVEs that this package is no longer vulnerable to",
20672067
"items": {
20682068
"type": "string"
20692069
},

‎discovery/ondemandscanning-v1beta1.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20250217",
342+
"revision": "20250321",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -527,7 +527,7 @@
527527
"properties": {
528528
"binaryVersion": {
529529
"$ref": "PackageVersion",
530-
"description": "The binary package. This is significant when the source is different than the binary itself. Historically if they've differed, we've stored the name of the source and its version in the package/version fields, but we should also store the binary package info, as that's what's actually installed. See b/175908657#comment15."
530+
"description": "The binary package. This is significant when the source is different than the binary itself. Historically if they've differed, we've stored the name of the source and its version in the package/version fields, but we should also store the binary package info, as that's what's actually installed."
531531
},
532532
"sourceVersion": {
533533
"$ref": "PackageVersion",
@@ -1632,7 +1632,7 @@
16321632
"type": "object"
16331633
},
16341634
"LayerDetails": {
1635-
"description": "Details about the layer a package was found in. This should be the same as the LayerDetails message in google3/third_party/scalibr/binary/proto/scan_result.proto.",
1635+
"description": "Details about the layer a package was found in.",
16361636
"id": "LayerDetails",
16371637
"properties": {
16381638
"baseImages": {
@@ -2058,7 +2058,7 @@
20582058
"type": "string"
20592059
},
20602060
"patchedCve": {
2061-
"description": "CVEs that this package is no longer vulnerable to go/drydock-dd-custom-binary-scanning",
2061+
"description": "CVEs that this package is no longer vulnerable to",
20622062
"items": {
20632063
"type": "string"
20642064
},

‎src/apis/ondemandscanning/v1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export namespace ondemandscanning_v1 {
257257
}
258258
export interface Schema$BinarySourceInfo {
259259
/**
260-
* The binary package. This is significant when the source is different than the binary itself. Historically if they've differed, we've stored the name of the source and its version in the package/version fields, but we should also store the binary package info, as that's what's actually installed. See b/175908657#comment15.
260+
* The binary package. This is significant when the source is different than the binary itself. Historically if they've differed, we've stored the name of the source and its version in the package/version fields, but we should also store the binary package info, as that's what's actually installed.
261261
*/
262262
binaryVersion?: Schema$PackageVersion;
263263
/**
@@ -881,7 +881,7 @@ export namespace ondemandscanning_v1 {
881881
directive?: string | null;
882882
}
883883
/**
884-
* Details about the layer a package was found in. This should be the same as the LayerDetails message in google3/third_party/scalibr/binary/proto/scan_result.proto.
884+
* Details about the layer a package was found in.
885885
*/
886886
export interface Schema$LayerDetails {
887887
/**
@@ -1170,7 +1170,7 @@ export namespace ondemandscanning_v1 {
11701170
*/
11711171
packageType?: string | null;
11721172
/**
1173-
* CVEs that this package is no longer vulnerable to go/drydock-dd-custom-binary-scanning
1173+
* CVEs that this package is no longer vulnerable to
11741174
*/
11751175
patchedCve?: string[] | null;
11761176
/**

‎src/apis/ondemandscanning/v1beta1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export namespace ondemandscanning_v1beta1 {
253253
}
254254
export interface Schema$BinarySourceInfo {
255255
/**
256-
* The binary package. This is significant when the source is different than the binary itself. Historically if they've differed, we've stored the name of the source and its version in the package/version fields, but we should also store the binary package info, as that's what's actually installed. See b/175908657#comment15.
256+
* The binary package. This is significant when the source is different than the binary itself. Historically if they've differed, we've stored the name of the source and its version in the package/version fields, but we should also store the binary package info, as that's what's actually installed.
257257
*/
258258
binaryVersion?: Schema$PackageVersion;
259259
/**
@@ -877,7 +877,7 @@ export namespace ondemandscanning_v1beta1 {
877877
directive?: string | null;
878878
}
879879
/**
880-
* Details about the layer a package was found in. This should be the same as the LayerDetails message in google3/third_party/scalibr/binary/proto/scan_result.proto.
880+
* Details about the layer a package was found in.
881881
*/
882882
export interface Schema$LayerDetails {
883883
/**
@@ -1166,7 +1166,7 @@ export namespace ondemandscanning_v1beta1 {
11661166
*/
11671167
packageType?: string | null;
11681168
/**
1169-
* CVEs that this package is no longer vulnerable to go/drydock-dd-custom-binary-scanning
1169+
* CVEs that this package is no longer vulnerable to
11701170
*/
11711171
patchedCve?: string[] | null;
11721172
/**

0 commit comments

Comments
 (0)