You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html
+19-4Lines changed: 19 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -521,11 +521,17 @@ <h3>Method Details</h3>
521
521
"name": "A String", # Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
522
522
"noteName": "A String", # Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
523
523
"package": { # Details on how a particular software package was installed on a system. # Describes the installation of a package on the linked resource.
524
-
"location": [ # Required. All of the places within the filesystem versions of this package have been found.
524
+
"architecture": "A String", # Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
525
+
"cpeUri": "A String", # Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
526
+
"license": { # License information. # Licenses that have been declared by the authors of the package.
"expression": "A String", # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
529
+
},
530
+
"location": [ # All of the places within the filesystem versions of this package have been found.
525
531
{ # An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
526
-
"cpeUri": "A String", # Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
532
+
"cpeUri": "A String", # Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
527
533
"path": "A String", # The path from which we gathered that this package/version is installed.
528
-
"version": { # Version contains structured information about the version of a package. # The version installed at this location.
534
+
"version": { # Version contains structured information about the version of a package. # Deprecated. The version installed at this location.
529
535
"epoch": 42, # Used to correct mistakes in the version numbering scheme.
530
536
"fullName": "A String", # Human readable version string. This string is of the form :- and is only set when kind is NORMAL.
531
537
"inclusive": True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
@@ -535,7 +541,16 @@ <h3>Method Details</h3>
535
541
},
536
542
},
537
543
],
538
-
"name": "A String", # Output only. The name of the installed package.
544
+
"name": "A String", # Required. Output only. The name of the installed package.
545
+
"packageType": "A String", # Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
546
+
"version": { # Version contains structured information about the version of a package. # Output only. The version of the package.
547
+
"epoch": 42, # Used to correct mistakes in the version numbering scheme.
548
+
"fullName": "A String", # Human readable version string. This string is of the form :- and is only set when kind is NORMAL.
549
+
"inclusive": True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
550
+
"kind": "A String", # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
551
+
"name": "A String", # Required only when version kind is NORMAL. The main part of the version name.
552
+
"revision": "A String", # The iteration of the package build from the above version.
553
+
},
539
554
},
540
555
"remediation": "A String", # A description of actions that can be taken to remedy the note.
541
556
"resourceUri": "A String", # Required. Immutable. A URI that represents the resource for which the occurrence applies. For example, `https://gcr.io/project/image@sha256:123abc` for a Docker image.
Copy file name to clipboardExpand all lines: docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html
+19-4Lines changed: 19 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -521,11 +521,17 @@ <h3>Method Details</h3>
521
521
"name": "A String", # Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
522
522
"noteName": "A String", # Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
523
523
"package": { # Details on how a particular software package was installed on a system. # Describes the installation of a package on the linked resource.
524
-
"location": [ # Required. All of the places within the filesystem versions of this package have been found.
524
+
"architecture": "A String", # Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
525
+
"cpeUri": "A String", # Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
526
+
"license": { # License information. # Licenses that have been declared by the authors of the package.
"expression": "A String", # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
529
+
},
530
+
"location": [ # All of the places within the filesystem versions of this package have been found.
525
531
{ # An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
526
-
"cpeUri": "A String", # Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
532
+
"cpeUri": "A String", # Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
527
533
"path": "A String", # The path from which we gathered that this package/version is installed.
528
-
"version": { # Version contains structured information about the version of a package. # The version installed at this location.
534
+
"version": { # Version contains structured information about the version of a package. # Deprecated. The version installed at this location.
529
535
"epoch": 42, # Used to correct mistakes in the version numbering scheme.
530
536
"fullName": "A String", # Human readable version string. This string is of the form :- and is only set when kind is NORMAL.
531
537
"inclusive": True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
@@ -535,7 +541,16 @@ <h3>Method Details</h3>
535
541
},
536
542
},
537
543
],
538
-
"name": "A String", # Output only. The name of the installed package.
544
+
"name": "A String", # Required. Output only. The name of the installed package.
545
+
"packageType": "A String", # Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
546
+
"version": { # Version contains structured information about the version of a package. # Output only. The version of the package.
547
+
"epoch": 42, # Used to correct mistakes in the version numbering scheme.
548
+
"fullName": "A String", # Human readable version string. This string is of the form :- and is only set when kind is NORMAL.
549
+
"inclusive": True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
550
+
"kind": "A String", # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
551
+
"name": "A String", # Required only when version kind is NORMAL. The main part of the version name.
552
+
"revision": "A String", # The iteration of the package build from the above version.
553
+
},
539
554
},
540
555
"remediation": "A String", # A description of actions that can be taken to remedy the note.
541
556
"resourceUri": "A String", # Required. Immutable. A URI that represents the resource for which the occurrence applies. For example, `https://gcr.io/project/image@sha256:123abc` for a Docker image.
"description": "Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: \"LGPL-2.1-only OR MIT\", \"LGPL-2.1-only AND MIT\", \"GPL-2.0-or-later WITH Bison-exception-2.2\".",
1266
+
"type": "string"
1267
+
}
1268
+
},
1269
+
"type": "object"
1270
+
},
1256
1271
"ListOperationsResponse": {
1257
1272
"description": "The response message for Operations.ListOperations.",
1258
1273
"id": "ListOperationsResponse",
@@ -1294,7 +1309,7 @@
1294
1309
"id": "Location",
1295
1310
"properties": {
1296
1311
"cpeUri": {
1297
-
"description": "Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.",
1312
+
"description": "Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)",
1298
1313
"type": "string"
1299
1314
},
1300
1315
"path": {
@@ -1303,7 +1318,7 @@
1303
1318
},
1304
1319
"version": {
1305
1320
"$ref": "Version",
1306
-
"description": "The version installed at this location."
1321
+
"description": "Deprecated. The version installed at this location."
1307
1322
}
1308
1323
},
1309
1324
"type": "object"
@@ -1642,16 +1657,51 @@
1642
1657
"description": "Details on how a particular software package was installed on a system.",
1643
1658
"id": "PackageOccurrence",
1644
1659
"properties": {
1660
+
"architecture": {
1661
+
"description": "Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.",
1662
+
"enum": [
1663
+
"ARCHITECTURE_UNSPECIFIED",
1664
+
"X86",
1665
+
"X64"
1666
+
],
1667
+
"enumDescriptions": [
1668
+
"Unknown architecture.",
1669
+
"X86 architecture.",
1670
+
"X64 architecture."
1671
+
],
1672
+
"readOnly": true,
1673
+
"type": "string"
1674
+
},
1675
+
"cpeUri": {
1676
+
"description": "Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.",
1677
+
"readOnly": true,
1678
+
"type": "string"
1679
+
},
1680
+
"license": {
1681
+
"$ref": "License",
1682
+
"description": "Licenses that have been declared by the authors of the package."
1683
+
},
1645
1684
"location": {
1646
-
"description": "Required. All of the places within the filesystem versions of this package have been found.",
1685
+
"description": "All of the places within the filesystem versions of this package have been found.",
1647
1686
"items": {
1648
1687
"$ref": "Location"
1649
1688
},
1650
1689
"type": "array"
1651
1690
},
1652
1691
"name": {
1653
-
"description": "Output only. The name of the installed package.",
1692
+
"description": "Required. Output only. The name of the installed package.",
1693
+
"readOnly": true,
1654
1694
"type": "string"
1695
+
},
1696
+
"packageType": {
1697
+
"description": "Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).",
1698
+
"readOnly": true,
1699
+
"type": "string"
1700
+
},
1701
+
"version": {
1702
+
"$ref": "Version",
1703
+
"description": "Output only. The version of the package.",
"description": "Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: \"LGPL-2.1-only OR MIT\", \"LGPL-2.1-only AND MIT\", \"GPL-2.0-or-later WITH Bison-exception-2.2\".",
1262
+
"type": "string"
1263
+
}
1264
+
},
1265
+
"type": "object"
1266
+
},
1252
1267
"ListOperationsResponse": {
1253
1268
"description": "The response message for Operations.ListOperations.",
1254
1269
"id": "ListOperationsResponse",
@@ -1290,7 +1305,7 @@
1290
1305
"id": "Location",
1291
1306
"properties": {
1292
1307
"cpeUri": {
1293
-
"description": "Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.",
1308
+
"description": "Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)",
1294
1309
"type": "string"
1295
1310
},
1296
1311
"path": {
@@ -1299,7 +1314,7 @@
1299
1314
},
1300
1315
"version": {
1301
1316
"$ref": "Version",
1302
-
"description": "The version installed at this location."
1317
+
"description": "Deprecated. The version installed at this location."
1303
1318
}
1304
1319
},
1305
1320
"type": "object"
@@ -1638,16 +1653,51 @@
1638
1653
"description": "Details on how a particular software package was installed on a system.",
1639
1654
"id": "PackageOccurrence",
1640
1655
"properties": {
1656
+
"architecture": {
1657
+
"description": "Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.",
1658
+
"enum": [
1659
+
"ARCHITECTURE_UNSPECIFIED",
1660
+
"X86",
1661
+
"X64"
1662
+
],
1663
+
"enumDescriptions": [
1664
+
"Unknown architecture.",
1665
+
"X86 architecture.",
1666
+
"X64 architecture."
1667
+
],
1668
+
"readOnly": true,
1669
+
"type": "string"
1670
+
},
1671
+
"cpeUri": {
1672
+
"description": "Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.",
1673
+
"readOnly": true,
1674
+
"type": "string"
1675
+
},
1676
+
"license": {
1677
+
"$ref": "License",
1678
+
"description": "Licenses that have been declared by the authors of the package."
1679
+
},
1641
1680
"location": {
1642
-
"description": "Required. All of the places within the filesystem versions of this package have been found.",
1681
+
"description": "All of the places within the filesystem versions of this package have been found.",
1643
1682
"items": {
1644
1683
"$ref": "Location"
1645
1684
},
1646
1685
"type": "array"
1647
1686
},
1648
1687
"name": {
1649
-
"description": "Output only. The name of the installed package.",
1688
+
"description": "Required. Output only. The name of the installed package.",
1689
+
"readOnly": true,
1650
1690
"type": "string"
1691
+
},
1692
+
"packageType": {
1693
+
"description": "Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).",
1694
+
"readOnly": true,
1695
+
"type": "string"
1696
+
},
1697
+
"version": {
1698
+
"$ref": "Version",
1699
+
"description": "Output only. The version of the package.",
0 commit comments