Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent c064178 commit 985124a
Show file tree
Hide file tree
Showing 9 changed files with 870 additions and 104 deletions.
5 changes: 0 additions & 5 deletions docs/dyn/containeranalysis_v1.projects.html
Expand Up @@ -84,11 +84,6 @@ <h2>Instance Methods</h2>
</p>
<p class="firstline">Returns the occurrences Resource.</p>

<p class="toc_element">
<code><a href="containeranalysis_v1.projects.resources.html">resources()</a></code>
</p>
<p class="firstline">Returns the resources Resource.</p>

<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
Expand Down
32 changes: 32 additions & 0 deletions docs/dyn/containeranalysis_v1.projects.notes.html
Expand Up @@ -232,6 +232,10 @@ <h3>Method Details</h3>
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
},
],
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
&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.
},
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
&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.
&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.
Expand Down Expand Up @@ -526,6 +530,10 @@ <h3>Method Details</h3>
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
},
],
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
&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.
},
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
&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.
&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.
Expand Down Expand Up @@ -825,6 +833,10 @@ <h3>Method Details</h3>
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
},
],
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
&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.
},
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
&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.
&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.
Expand Down Expand Up @@ -1116,6 +1128,10 @@ <h3>Method Details</h3>
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
},
],
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
&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.
},
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
&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.
&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.
Expand Down Expand Up @@ -1431,6 +1447,10 @@ <h3>Method Details</h3>
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
},
],
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
&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.
},
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
&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.
&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.
Expand Down Expand Up @@ -1777,6 +1797,10 @@ <h3>Method Details</h3>
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
},
],
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
&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.
},
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
&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.
&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.
Expand Down Expand Up @@ -2085,6 +2109,10 @@ <h3>Method Details</h3>
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
},
],
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
&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.
},
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
&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.
&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.
Expand Down Expand Up @@ -2376,6 +2404,10 @@ <h3>Method Details</h3>
&quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
},
],
&quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
&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.
},
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
&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.
&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.
Expand Down
29 changes: 29 additions & 0 deletions docs/dyn/containeranalysis_v1.projects.notes.occurrences.html
Expand Up @@ -657,6 +657,35 @@ <h3>Method Details</h3>
},
&quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the note.
&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.
&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.
&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.
&quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
&quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
&quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
&quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
&quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
},
&quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
&quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
{
&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
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;,
},
],
},
&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;.
&quot;signatures&quot;: [ # The signatures over the payload.
{
&quot;keyid&quot;: &quot;A String&quot;,
&quot;sig&quot;: &quot;A String&quot;,
},
],
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was last updated.
&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.
&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.
Expand Down

0 comments on commit 985124a

Please sign in to comment.