Skip to content

Commit 67fea66

Browse files
feat(containeranalysis): update the api
#### containeranalysis:v1 The following keys were added: - schemas.LayerDetails.properties.chainId.type (Total Keys: 1) - schemas.Note.properties.secret.$ref (Total Keys: 1) - schemas.Occurrence.properties.secret.$ref (Total Keys: 1) - schemas.SecretLocation (Total Keys: 3) - schemas.SecretNote (Total Keys: 2) - schemas.SecretOccurrence (Total Keys: 7) - schemas.SecretStatus (Total Keys: 6) #### containeranalysis:v1alpha1 The following keys were added: - schemas.Note.properties.secret.$ref (Total Keys: 1) - schemas.Occurrence.properties.secret.$ref (Total Keys: 1) - schemas.SecretLocation (Total Keys: 3) - schemas.SecretNote (Total Keys: 2) - schemas.SecretOccurrence (Total Keys: 7) - schemas.SecretStatus (Total Keys: 6)
1 parent c079b64 commit 67fea66

13 files changed

+1071
-16
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ <h3>Method Details</h3>
237237
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
238238
&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.
239239
},
240+
&quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
241+
},
240242
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
241243
&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.
242244
&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.
@@ -537,6 +539,8 @@ <h3>Method Details</h3>
537539
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
538540
&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.
539541
},
542+
&quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
543+
},
540544
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
541545
&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.
542546
&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.
@@ -842,6 +846,8 @@ <h3>Method Details</h3>
842846
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
843847
&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.
844848
},
849+
&quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
850+
},
845851
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
846852
&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.
847853
&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.
@@ -1139,6 +1145,8 @@ <h3>Method Details</h3>
11391145
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
11401146
&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.
11411147
},
1148+
&quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
1149+
},
11421150
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
11431151
&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.
11441152
&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.
@@ -1460,6 +1468,8 @@ <h3>Method Details</h3>
14601468
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
14611469
&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.
14621470
},
1471+
&quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
1472+
},
14631473
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
14641474
&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.
14651475
&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.
@@ -1812,6 +1822,8 @@ <h3>Method Details</h3>
18121822
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
18131823
&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.
18141824
},
1825+
&quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
1826+
},
18151827
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
18161828
&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.
18171829
&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.
@@ -2126,6 +2138,8 @@ <h3>Method Details</h3>
21262138
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
21272139
&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.
21282140
},
2141+
&quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
2142+
},
21292143
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
21302144
&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.
21312145
&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.
@@ -2423,6 +2437,8 @@ <h3>Method Details</h3>
24232437
&quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
24242438
&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.
24252439
},
2440+
&quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
2441+
},
24262442
&quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
24272443
&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.
24282444
&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.locations.notes.occurrences.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,36 @@ <h3>Method Details</h3>
776776
},
777777
],
778778
},
779+
&quot;secret&quot;: { # The occurrence provides details of a secret. # Describes a secret.
780+
&quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
781+
&quot;locations&quot;: [ # Optional. Locations where the secret is detected.
782+
{ # The location of the secret.
783+
&quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
784+
&quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
785+
&quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
786+
&quot;baseImages&quot;: [ # The base images the layer is found within.
787+
{ # BaseImage describes a base image of a container image.
788+
&quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
789+
&quot;name&quot;: &quot;A String&quot;, # The name of the base image.
790+
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
791+
},
792+
],
793+
&quot;chainId&quot;: &quot;A String&quot;, # The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
794+
&quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
795+
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
796+
&quot;index&quot;: 42, # The index of the layer in the container image.
797+
},
798+
},
799+
},
800+
],
801+
&quot;statuses&quot;: [ # Optional. Status of the secret.
802+
{ # The status of the secret with a timestamp.
803+
&quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
804+
&quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
805+
&quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
806+
},
807+
],
808+
},
779809
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was last updated.
780810
&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.
781811
&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.
@@ -874,6 +904,7 @@ <h3>Method Details</h3>
874904
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
875905
},
876906
],
907+
&quot;chainId&quot;: &quot;A String&quot;, # The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
877908
&quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
878909
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
879910
&quot;index&quot;: 42, # The index of the layer in the container image.

0 commit comments

Comments
 (0)