Skip to content

Commit 985124a

Browse files
feat(containeranalysis): update the api
#### containeranalysis:v1 The following keys were deleted: - resources.projects.resources.resources.methods.generatePackagesSummary (Total Keys: 12) - schemas.GeneratePackagesSummaryRequest (Total Keys: 2) - schemas.LicensesSummary (Total Keys: 5) - schemas.PackagesSummaryResponse (Total Keys: 4) The following keys were added: - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.properties.npmPackages (Total Keys: 2) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage (Total Keys: 4) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource (Total Keys: 3) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Results.properties.npmPackages (Total Keys: 2) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Source.properties.gitSource.$ref (Total Keys: 1) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage (Total Keys: 6) - schemas.Note.properties.sbomReference.$ref (Total Keys: 1) - schemas.Occurrence.properties.sbomReference.$ref (Total Keys: 1) - schemas.SBOMReferenceNote (Total Keys: 4) - schemas.SBOMReferenceOccurrence (Total Keys: 6) - schemas.SbomReferenceIntotoPayload (Total Keys: 7) - schemas.SbomReferenceIntotoPredicate (Total Keys: 7) #### containeranalysis:v1alpha1 The following keys were added: - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.properties.npmPackages (Total Keys: 2) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage (Total Keys: 4) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource (Total Keys: 3) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Results.properties.npmPackages (Total Keys: 2) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Source.properties.gitSource.$ref (Total Keys: 1) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage (Total Keys: 6) #### containeranalysis:v1beta1 The following keys were added: - resources.projects.resources.resources.methods.generatePackagesSummary (Total Keys: 12) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.properties.npmPackages (Total Keys: 2) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage (Total Keys: 4) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource (Total Keys: 3) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Results.properties.npmPackages (Total Keys: 2) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1Source.properties.gitSource.$ref (Total Keys: 1) - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage (Total Keys: 6) - schemas.GeneratePackagesSummaryRequest (Total Keys: 2) - schemas.LicensesSummary (Total Keys: 5) - schemas.PackagesSummaryResponse (Total Keys: 4)
1 parent c064178 commit 985124a

9 files changed

+870
-104
lines changed

docs/dyn/containeranalysis_v1.projects.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ <h2>Instance Methods</h2>
8484
</p>
8585
<p class="firstline">Returns the occurrences Resource.</p>
8686

87-
<p class="toc_element">
88-
<code><a href="containeranalysis_v1.projects.resources.html">resources()</a></code>
89-
</p>
90-
<p class="firstline">Returns the resources Resource.</p>
91-
9287
<p class="toc_element">
9388
<code><a href="#close">close()</a></code></p>
9489
<p class="firstline">Close httplib2 connections.</p>

docs/dyn/containeranalysis_v1.projects.notes.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ <h3>Method Details</h3>
232232
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
233233
},
234234
],
235+
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
236+
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
237+
&quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
238+
},
235239
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
236240
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this note was last updated. This field can be used as a filter in list requests.
237241
&quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update. # A note describing available package upgrades.
@@ -526,6 +530,10 @@ <h3>Method Details</h3>
526530
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
527531
},
528532
],
533+
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
534+
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
535+
&quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
536+
},
529537
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
530538
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this note was last updated. This field can be used as a filter in list requests.
531539
&quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update. # A note describing available package upgrades.
@@ -825,6 +833,10 @@ <h3>Method Details</h3>
825833
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
826834
},
827835
],
836+
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
837+
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
838+
&quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
839+
},
828840
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
829841
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this note was last updated. This field can be used as a filter in list requests.
830842
&quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update. # A note describing available package upgrades.
@@ -1116,6 +1128,10 @@ <h3>Method Details</h3>
11161128
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
11171129
},
11181130
],
1131+
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
1132+
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
1133+
&quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
1134+
},
11191135
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
11201136
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this note was last updated. This field can be used as a filter in list requests.
11211137
&quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update. # A note describing available package upgrades.
@@ -1431,6 +1447,10 @@ <h3>Method Details</h3>
14311447
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
14321448
},
14331449
],
1450+
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
1451+
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
1452+
&quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
1453+
},
14341454
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
14351455
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this note was last updated. This field can be used as a filter in list requests.
14361456
&quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update. # A note describing available package upgrades.
@@ -1777,6 +1797,10 @@ <h3>Method Details</h3>
17771797
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
17781798
},
17791799
],
1800+
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
1801+
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
1802+
&quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
1803+
},
17801804
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
17811805
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this note was last updated. This field can be used as a filter in list requests.
17821806
&quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update. # A note describing available package upgrades.
@@ -2085,6 +2109,10 @@ <h3>Method Details</h3>
20852109
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
20862110
},
20872111
],
2112+
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
2113+
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
2114+
&quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
2115+
},
20882116
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
20892117
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this note was last updated. This field can be used as a filter in list requests.
20902118
&quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update. # A note describing available package upgrades.
@@ -2376,6 +2404,10 @@ <h3>Method Details</h3>
23762404
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
23772405
},
23782406
],
2407+
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
2408+
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
2409+
&quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
2410+
},
23792411
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
23802412
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this note was last updated. This field can be used as a filter in list requests.
23812413
&quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update. # A note describing available package upgrades.

docs/dyn/containeranalysis_v1.projects.notes.occurrences.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,35 @@ <h3>Method Details</h3>
657657
},
658658
&quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the note.
659659
&quot;resourceUri&quot;: &quot;A String&quot;, # 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.
660+
&quot;sbomReference&quot;: { # The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details. # Describes a specific SBOM reference occurrences.
661+
&quot;payload&quot;: { # The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details. # The actual payload that contains the SBOM reference data.
662+
&quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
663+
&quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
664+
&quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
665+
&quot;a_key&quot;: &quot;A String&quot;,
666+
},
667+
&quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
668+
&quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
669+
&quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
670+
},
671+
&quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
672+
&quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
673+
{
674+
&quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
675+
&quot;a_key&quot;: &quot;A String&quot;,
676+
},
677+
&quot;name&quot;: &quot;A String&quot;,
678+
},
679+
],
680+
},
681+
&quot;payloadType&quot;: &quot;A String&quot;, # The kind of payload that SbomReferenceIntotoPayload takes. Since it&#x27;s in the intoto format, this value is expected to be &#x27;application/vnd.in-toto+json&#x27;.
682+
&quot;signatures&quot;: [ # The signatures over the payload.
683+
{
684+
&quot;keyid&quot;: &quot;A String&quot;,
685+
&quot;sig&quot;: &quot;A String&quot;,
686+
},
687+
],
688+
},
660689
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was last updated.
661690
&quot;upgrade&quot;: { # An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). For Windows, both distribution and windows_update contain information for the Windows update. # Describes an available package upgrade on the linked resource.
662691
&quot;distribution&quot;: { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities. # Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence.

0 commit comments

Comments
 (0)