Skip to content

Commit 369df27

Browse files
feat(ondemandscanning): update the api
#### ondemandscanning:v1 The following keys were added: - schemas.AnalyzePackagesRequestV1.properties.includeOsvData.deprecated (Total Keys: 1) - schemas.BuildDefinition (Total Keys: 9) - schemas.BuildMetadata (Total Keys: 7) - schemas.BuildOccurrence.properties.inTotoSlsaProvenanceV1.$ref (Total Keys: 1) - schemas.DiscoveryOccurrence.properties.sbomStatus.$ref (Total Keys: 1) - schemas.InTotoSlsaProvenanceV1 (Total Keys: 7) - schemas.ProvenanceBuilder (Total Keys: 7) - schemas.ResourceDescriptor (Total Keys: 12) - schemas.RunDetails (Total Keys: 6) - schemas.SBOMStatus (Total Keys: 4) - schemas.SlsaProvenanceV1 (Total Keys: 4) #### ondemandscanning:v1beta1 The following keys were added: - schemas.BuildDefinition (Total Keys: 9) - schemas.BuildMetadata (Total Keys: 7) - schemas.BuildOccurrence.properties.inTotoSlsaProvenanceV1.$ref (Total Keys: 1) - schemas.DiscoveryOccurrence.properties.sbomStatus.$ref (Total Keys: 1) - schemas.InTotoSlsaProvenanceV1 (Total Keys: 7) - schemas.ProvenanceBuilder (Total Keys: 7) - schemas.ResourceDescriptor (Total Keys: 12) - schemas.RunDetails (Total Keys: 6) - schemas.SBOMStatus (Total Keys: 4) - schemas.SlsaProvenanceV1 (Total Keys: 4)
1 parent e7cd8af commit 369df27

File tree

4 files changed

+547
-2
lines changed

4 files changed

+547
-2
lines changed

docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,87 @@ <h3>Method Details</h3>
124124
],
125125
},
126126
&quot;build&quot;: { # Details of a build occurrence. # Describes a verifiable build.
127+
&quot;inTotoSlsaProvenanceV1&quot;: { # In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.
128+
&quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
129+
&quot;predicate&quot;: { # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
130+
&quot;buildDefinition&quot;: {
131+
&quot;buildType&quot;: &quot;A String&quot;,
132+
&quot;externalParameters&quot;: {
133+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
134+
},
135+
&quot;internalParameters&quot;: {
136+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
137+
},
138+
&quot;resolvedDependencies&quot;: [
139+
{
140+
&quot;annotations&quot;: {
141+
&quot;a_key&quot;: &quot;&quot;,
142+
},
143+
&quot;content&quot;: &quot;A String&quot;,
144+
&quot;digest&quot;: {
145+
&quot;a_key&quot;: &quot;A String&quot;,
146+
},
147+
&quot;downloadLocation&quot;: &quot;A String&quot;,
148+
&quot;mediaType&quot;: &quot;A String&quot;,
149+
&quot;name&quot;: &quot;A String&quot;,
150+
&quot;uri&quot;: &quot;A String&quot;,
151+
},
152+
],
153+
},
154+
&quot;runDetails&quot;: {
155+
&quot;builder&quot;: {
156+
&quot;builderDependencies&quot;: [
157+
{
158+
&quot;annotations&quot;: {
159+
&quot;a_key&quot;: &quot;&quot;,
160+
},
161+
&quot;content&quot;: &quot;A String&quot;,
162+
&quot;digest&quot;: {
163+
&quot;a_key&quot;: &quot;A String&quot;,
164+
},
165+
&quot;downloadLocation&quot;: &quot;A String&quot;,
166+
&quot;mediaType&quot;: &quot;A String&quot;,
167+
&quot;name&quot;: &quot;A String&quot;,
168+
&quot;uri&quot;: &quot;A String&quot;,
169+
},
170+
],
171+
&quot;id&quot;: &quot;A String&quot;,
172+
&quot;version&quot;: {
173+
&quot;a_key&quot;: &quot;A String&quot;,
174+
},
175+
},
176+
&quot;byproducts&quot;: [
177+
{
178+
&quot;annotations&quot;: {
179+
&quot;a_key&quot;: &quot;&quot;,
180+
},
181+
&quot;content&quot;: &quot;A String&quot;,
182+
&quot;digest&quot;: {
183+
&quot;a_key&quot;: &quot;A String&quot;,
184+
},
185+
&quot;downloadLocation&quot;: &quot;A String&quot;,
186+
&quot;mediaType&quot;: &quot;A String&quot;,
187+
&quot;name&quot;: &quot;A String&quot;,
188+
&quot;uri&quot;: &quot;A String&quot;,
189+
},
190+
],
191+
&quot;metadata&quot;: {
192+
&quot;finishedOn&quot;: &quot;A String&quot;,
193+
&quot;invocationId&quot;: &quot;A String&quot;,
194+
&quot;startedOn&quot;: &quot;A String&quot;,
195+
},
196+
},
197+
},
198+
&quot;predicateType&quot;: &quot;A String&quot;,
199+
&quot;subject&quot;: [
200+
{
201+
&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
202+
&quot;a_key&quot;: &quot;A String&quot;,
203+
},
204+
&quot;name&quot;: &quot;A String&quot;,
205+
},
206+
],
207+
},
127208
&quot;intotoProvenance&quot;: { # Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
128209
&quot;builderConfig&quot;: { # required
129210
&quot;id&quot;: &quot;A String&quot;,
@@ -455,6 +536,10 @@ <h3>Method Details</h3>
455536
&quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
456537
&quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
457538
&quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
539+
&quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
540+
&quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.
541+
&quot;sbomState&quot;: &quot;A String&quot;, # The progress of the SBOM generation.
542+
},
458543
},
459544
&quot;dsseAttestation&quot;: { # Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at the top level of the Occurrence. # Describes an attestation of an artifact using dsse.
460545
&quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # If doing something security critical, make sure to verify the signatures in this metadata.

docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,87 @@ <h3>Method Details</h3>
124124
],
125125
},
126126
&quot;build&quot;: { # Details of a build occurrence. # Describes a verifiable build.
127+
&quot;inTotoSlsaProvenanceV1&quot;: { # In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.
128+
&quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
129+
&quot;predicate&quot;: { # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
130+
&quot;buildDefinition&quot;: {
131+
&quot;buildType&quot;: &quot;A String&quot;,
132+
&quot;externalParameters&quot;: {
133+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
134+
},
135+
&quot;internalParameters&quot;: {
136+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
137+
},
138+
&quot;resolvedDependencies&quot;: [
139+
{
140+
&quot;annotations&quot;: {
141+
&quot;a_key&quot;: &quot;&quot;,
142+
},
143+
&quot;content&quot;: &quot;A String&quot;,
144+
&quot;digest&quot;: {
145+
&quot;a_key&quot;: &quot;A String&quot;,
146+
},
147+
&quot;downloadLocation&quot;: &quot;A String&quot;,
148+
&quot;mediaType&quot;: &quot;A String&quot;,
149+
&quot;name&quot;: &quot;A String&quot;,
150+
&quot;uri&quot;: &quot;A String&quot;,
151+
},
152+
],
153+
},
154+
&quot;runDetails&quot;: {
155+
&quot;builder&quot;: {
156+
&quot;builderDependencies&quot;: [
157+
{
158+
&quot;annotations&quot;: {
159+
&quot;a_key&quot;: &quot;&quot;,
160+
},
161+
&quot;content&quot;: &quot;A String&quot;,
162+
&quot;digest&quot;: {
163+
&quot;a_key&quot;: &quot;A String&quot;,
164+
},
165+
&quot;downloadLocation&quot;: &quot;A String&quot;,
166+
&quot;mediaType&quot;: &quot;A String&quot;,
167+
&quot;name&quot;: &quot;A String&quot;,
168+
&quot;uri&quot;: &quot;A String&quot;,
169+
},
170+
],
171+
&quot;id&quot;: &quot;A String&quot;,
172+
&quot;version&quot;: {
173+
&quot;a_key&quot;: &quot;A String&quot;,
174+
},
175+
},
176+
&quot;byproducts&quot;: [
177+
{
178+
&quot;annotations&quot;: {
179+
&quot;a_key&quot;: &quot;&quot;,
180+
},
181+
&quot;content&quot;: &quot;A String&quot;,
182+
&quot;digest&quot;: {
183+
&quot;a_key&quot;: &quot;A String&quot;,
184+
},
185+
&quot;downloadLocation&quot;: &quot;A String&quot;,
186+
&quot;mediaType&quot;: &quot;A String&quot;,
187+
&quot;name&quot;: &quot;A String&quot;,
188+
&quot;uri&quot;: &quot;A String&quot;,
189+
},
190+
],
191+
&quot;metadata&quot;: {
192+
&quot;finishedOn&quot;: &quot;A String&quot;,
193+
&quot;invocationId&quot;: &quot;A String&quot;,
194+
&quot;startedOn&quot;: &quot;A String&quot;,
195+
},
196+
},
197+
},
198+
&quot;predicateType&quot;: &quot;A String&quot;,
199+
&quot;subject&quot;: [
200+
{
201+
&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
202+
&quot;a_key&quot;: &quot;A String&quot;,
203+
},
204+
&quot;name&quot;: &quot;A String&quot;,
205+
},
206+
],
207+
},
127208
&quot;intotoProvenance&quot;: { # Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
128209
&quot;builderConfig&quot;: { # required
129210
&quot;id&quot;: &quot;A String&quot;,
@@ -455,6 +536,10 @@ <h3>Method Details</h3>
455536
&quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
456537
&quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
457538
&quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
539+
&quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
540+
&quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.
541+
&quot;sbomState&quot;: &quot;A String&quot;, # The progress of the SBOM generation.
542+
},
458543
},
459544
&quot;dsseAttestation&quot;: { # Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at the top level of the Occurrence. # Describes an attestation of an artifact using dsse.
460545
&quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # If doing something security critical, make sure to verify the signatures in this metadata.

0 commit comments

Comments
 (0)