Skip to content

Commit d446928

Browse files
feat(containeranalysis): update the api
#### containeranalysis:v1alpha1 The following keys were added: - schemas.DocumentNote (Total Keys: 4) - schemas.DocumentOccurrence (Total Keys: 13) - schemas.ExternalRef (Total Keys: 6) - schemas.FileNote (Total Keys: 5) - schemas.FileOccurrence (Total Keys: 14) - schemas.Note.properties.sbom.$ref (Total Keys: 1) - schemas.Note.properties.spdxFile.$ref (Total Keys: 1) - schemas.Note.properties.spdxPackage.$ref (Total Keys: 1) - schemas.Note.properties.spdxRelationship.$ref (Total Keys: 1) - schemas.Occurrence.properties.sbom.$ref (Total Keys: 1) - schemas.Occurrence.properties.spdxFile.$ref (Total Keys: 1) - schemas.Occurrence.properties.spdxPackage.$ref (Total Keys: 1) - schemas.Occurrence.properties.spdxRelationship.$ref (Total Keys: 1) - schemas.PackageNote (Total Keys: 17) - schemas.PackageOccurrence (Total Keys: 8) - schemas.RelationshipNote (Total Keys: 2) - schemas.RelationshipOccurrence (Total Keys: 6) #### containeranalysis:v1beta1 The following keys were added: - schemas.DocumentNote (Total Keys: 4) - schemas.DocumentOccurrence (Total Keys: 13) - schemas.ExternalRef (Total Keys: 6) - schemas.FileNote (Total Keys: 5) - schemas.FileOccurrence (Total Keys: 14) - schemas.Note.properties.sbom.$ref (Total Keys: 1) - schemas.Note.properties.spdxFile.$ref (Total Keys: 1) - schemas.Note.properties.spdxPackage.$ref (Total Keys: 1) - schemas.Note.properties.spdxRelationship.$ref (Total Keys: 1) - schemas.Occurrence.properties.sbom.$ref (Total Keys: 1) - schemas.Occurrence.properties.spdxFile.$ref (Total Keys: 1) - schemas.Occurrence.properties.spdxPackage.$ref (Total Keys: 1) - schemas.Occurrence.properties.spdxRelationship.$ref (Total Keys: 1) - schemas.PackageNote (Total Keys: 17) - schemas.PackageOccurrence (Total Keys: 8) - schemas.RelationshipNote (Total Keys: 2) - schemas.RelationshipOccurrence (Total Keys: 6)
1 parent 2fc53bd commit d446928

10 files changed

+2662
-16
lines changed

docs/dyn/containeranalysis_v1alpha1.projects.notes.html

+240
Large diffs are not rendered by default.

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

+46
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,52 @@ <h3>Method Details</h3>
356356
&quot;uri&quot;: &quot;A String&quot;, # The unique URI of the resource. E.g., &quot;https://gcr.io/project/image@sha256:foo&quot; for a Docker image.
357357
},
358358
&quot;resourceUrl&quot;: &quot;A String&quot;, # The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests.
359+
&quot;sbom&quot;: { # DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # Describes a specific software bill of materials document.
360+
&quot;createTime&quot;: &quot;A String&quot;, # Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard
361+
&quot;creatorComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields
362+
&quot;creators&quot;: [ # Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person&#x27;s name
363+
&quot;A String&quot;,
364+
],
365+
&quot;documentComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document
366+
&quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
367+
&quot;A String&quot;,
368+
],
369+
&quot;id&quot;: &quot;A String&quot;, # Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally
370+
&quot;licenseListVersion&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created
371+
&quot;namespace&quot;: &quot;A String&quot;, # Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘#’ delimiter
372+
&quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
373+
},
374+
&quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
375+
&quot;attributions&quot;: [ # This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts
376+
&quot;A String&quot;,
377+
],
378+
&quot;comment&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record any general comments about the file
379+
&quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
380+
&quot;A String&quot;,
381+
],
382+
&quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
383+
&quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
384+
&quot;A String&quot;,
385+
],
386+
&quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
387+
&quot;licenseComments&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record any relevant background references or analysis that went in to arriving at the Concluded License for a file
388+
&quot;licenseConcluded&quot;: &quot;A String&quot;, # This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined
389+
&quot;notice&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file
390+
},
391+
&quot;spdxPackage&quot;: { # PackageOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
392+
&quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
393+
&quot;filename&quot;: &quot;A String&quot;, # Provide the actual file name of the package, or path of the directory being treated as a package
394+
&quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
395+
&quot;licenseComments&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record any relevant background information or analysis that went in to arriving at the Concluded License for a package
396+
&quot;licenseConcluded&quot;: &quot;A String&quot;, # package or alternative values, if the governing license cannot be determined
397+
&quot;sourceInfo&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package
398+
},
399+
&quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific relationship between SPDX elements.
400+
&quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
401+
&quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
402+
&quot;target&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are &quot;known unknowns&quot;, the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
403+
&quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
404+
},
359405
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was last updated.
360406
&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). # Describes an upgrade.
361407
&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)