Skip to content

Commit bbbb5a2

Browse files
feat(containeranalysis): update the api
#### containeranalysis:v1 The following keys were added: - schemas.DiscoveryOccurrence.properties.archiveTime (Total Keys: 3) #### containeranalysis:v1alpha1 The following keys were added: - schemas.CVSS (Total Keys: 17) - schemas.Discovered.properties.archiveTime (Total Keys: 2) - schemas.Discovered.properties.lastScanTime (Total Keys: 2) - schemas.VulnerabilityDetails.properties.cvssV3.$ref (Total Keys: 1)
1 parent e856261 commit bbbb5a2

8 files changed

+389
-80
lines changed

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ <h3>Method Details</h3>
160160
},
161161
},
162162
&quot;intotoStatement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;. # In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence&#x27;s envelope.
163-
&quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
164-
&quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
163+
&quot;_type&quot;: &quot;A String&quot;, # Always `https://in-toto.io/Statement/v0.1`.
164+
&quot;predicateType&quot;: &quot;A String&quot;, # `https://slsa.dev/provenance/v0.1` for SlsaProvenance.
165165
&quot;provenance&quot;: {
166166
&quot;builderConfig&quot;: { # required
167167
&quot;id&quot;: &quot;A String&quot;,
@@ -233,7 +233,7 @@ <h3>Method Details</h3>
233233
},
234234
&quot;subject&quot;: [
235235
{
236-
&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
236+
&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
237237
&quot;a_key&quot;: &quot;A String&quot;,
238238
},
239239
&quot;name&quot;: &quot;A String&quot;,
@@ -363,9 +363,9 @@ <h3>Method Details</h3>
363363
&quot;compliance&quot;: { # An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason. # Describes a compliance violation on a linked resource.
364364
&quot;nonComplianceReason&quot;: &quot;A String&quot;,
365365
&quot;nonCompliantFiles&quot;: [
366-
{ # Details about files that caused a compliance check to fail.
366+
{ # Details about files that caused a compliance check to fail. display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using &#x27;path&#x27;.
367367
&quot;displayCommand&quot;: &quot;A String&quot;, # Command to display the non-compliant files.
368-
&quot;path&quot;: &quot;A String&quot;, # display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using &#x27;path&#x27;. Empty if `display_command` is set.
368+
&quot;path&quot;: &quot;A String&quot;, # Empty if `display_command` is set.
369369
&quot;reason&quot;: &quot;A String&quot;, # Explains why a file is non compliant for a CIS check.
370370
},
371371
],
@@ -393,6 +393,7 @@ <h3>Method Details</h3>
393393
],
394394
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
395395
},
396+
&quot;archiveTime&quot;: &quot;A String&quot;, # Output only. The time occurrences related to this discovery occurrence were archived.
396397
&quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
397398
&quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
398399
&quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
@@ -409,8 +410,8 @@ <h3>Method Details</h3>
409410
],
410411
},
411412
&quot;statement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;.
412-
&quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
413-
&quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
413+
&quot;_type&quot;: &quot;A String&quot;, # Always `https://in-toto.io/Statement/v0.1`.
414+
&quot;predicateType&quot;: &quot;A String&quot;, # `https://slsa.dev/provenance/v0.1` for SlsaProvenance.
414415
&quot;provenance&quot;: {
415416
&quot;builderConfig&quot;: { # required
416417
&quot;id&quot;: &quot;A String&quot;,
@@ -482,7 +483,7 @@ <h3>Method Details</h3>
482483
},
483484
&quot;subject&quot;: [
484485
{
485-
&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
486+
&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
486487
&quot;a_key&quot;: &quot;A String&quot;,
487488
},
488489
&quot;name&quot;: &quot;A String&quot;,

0 commit comments

Comments
 (0)