Skip to content

Commit bce8d1c

Browse files
feat(containeranalysis): update the api
#### containeranalysis:v1 The following keys were added: - schemas.BaseImage (Total Keys: 6) - schemas.BuildStep.properties.results (Total Keys: 2) - schemas.GrafeasV1FileLocation.properties.layerDetails.$ref (Total Keys: 1) - schemas.LayerDetails (Total Keys: 8) - schemas.StepResult (Total Keys: 5) The following keys were changed: - endpoints (Total Keys: 1) #### containeranalysis:v1alpha1 The following keys were added: - schemas.BaseImage (Total Keys: 6) - schemas.BuildStep.properties.results (Total Keys: 2) - schemas.FileLocation.properties.layerDetails.$ref (Total Keys: 1) - schemas.LayerDetails (Total Keys: 8) - schemas.StepResult (Total Keys: 5) The following keys were changed: - endpoints (Total Keys: 1) #### containeranalysis:v1beta1 The following keys were added: - schemas.BuildStep.properties.results (Total Keys: 2) - schemas.StepResult (Total Keys: 5) The following keys were changed: - endpoints (Total Keys: 1)
1 parent 27cce21 commit bce8d1c

12 files changed

+798
-6
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,18 @@ <h3>Method Details</h3>
866866
&quot;fileLocation&quot;: [ # The location at which this package was found.
867867
{ # Indicates the location at which a package was found.
868868
&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.
869+
&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).
870+
&quot;baseImages&quot;: [ # The base images the layer is found within.
871+
{ # BaseImage describes a base image of a container image.
872+
&quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
873+
&quot;name&quot;: &quot;A String&quot;, # The name of the base image.
874+
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
875+
},
876+
],
877+
&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.
878+
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
879+
&quot;index&quot;: 42, # The index of the layer in the container image.
880+
},
869881
},
870882
],
871883
&quot;fixAvailable&quot;: True or False, # Output only. Whether a fix is available for this package.

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

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,18 @@ <h3>Method Details</h3>
882882
&quot;fileLocation&quot;: [ # The location at which this package was found.
883883
{ # Indicates the location at which a package was found.
884884
&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.
885+
&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).
886+
&quot;baseImages&quot;: [ # The base images the layer is found within.
887+
{ # BaseImage describes a base image of a container image.
888+
&quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
889+
&quot;name&quot;: &quot;A String&quot;, # The name of the base image.
890+
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
891+
},
892+
],
893+
&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.
894+
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
895+
&quot;index&quot;: 42, # The index of the layer in the container image.
896+
},
885897
},
886898
],
887899
&quot;fixAvailable&quot;: True or False, # Output only. Whether a fix is available for this package.
@@ -1708,6 +1720,18 @@ <h3>Method Details</h3>
17081720
&quot;fileLocation&quot;: [ # The location at which this package was found.
17091721
{ # Indicates the location at which a package was found.
17101722
&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.
1723+
&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).
1724+
&quot;baseImages&quot;: [ # The base images the layer is found within.
1725+
{ # BaseImage describes a base image of a container image.
1726+
&quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
1727+
&quot;name&quot;: &quot;A String&quot;, # The name of the base image.
1728+
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
1729+
},
1730+
],
1731+
&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.
1732+
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
1733+
&quot;index&quot;: 42, # The index of the layer in the container image.
1734+
},
17111735
},
17121736
],
17131737
&quot;fixAvailable&quot;: True or False, # Output only. Whether a fix is available for this package.
@@ -2539,6 +2563,18 @@ <h3>Method Details</h3>
25392563
&quot;fileLocation&quot;: [ # The location at which this package was found.
25402564
{ # Indicates the location at which a package was found.
25412565
&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.
2566+
&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).
2567+
&quot;baseImages&quot;: [ # The base images the layer is found within.
2568+
{ # BaseImage describes a base image of a container image.
2569+
&quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
2570+
&quot;name&quot;: &quot;A String&quot;, # The name of the base image.
2571+
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
2572+
},
2573+
],
2574+
&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.
2575+
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
2576+
&quot;index&quot;: 42, # The index of the layer in the container image.
2577+
},
25422578
},
25432579
],
25442580
&quot;fixAvailable&quot;: True or False, # Output only. Whether a fix is available for this package.
@@ -3361,6 +3397,18 @@ <h3>Method Details</h3>
33613397
&quot;fileLocation&quot;: [ # The location at which this package was found.
33623398
{ # Indicates the location at which a package was found.
33633399
&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.
3400+
&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).
3401+
&quot;baseImages&quot;: [ # The base images the layer is found within.
3402+
{ # BaseImage describes a base image of a container image.
3403+
&quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
3404+
&quot;name&quot;: &quot;A String&quot;, # The name of the base image.
3405+
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
3406+
},
3407+
],
3408+
&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.
3409+
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
3410+
&quot;index&quot;: 42, # The index of the layer in the container image.
3411+
},
33643412
},
33653413
],
33663414
&quot;fixAvailable&quot;: True or False, # Output only. Whether a fix is available for this package.
@@ -4208,6 +4256,18 @@ <h3>Method Details</h3>
42084256
&quot;fileLocation&quot;: [ # The location at which this package was found.
42094257
{ # Indicates the location at which a package was found.
42104258
&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.
4259+
&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).
4260+
&quot;baseImages&quot;: [ # The base images the layer is found within.
4261+
{ # BaseImage describes a base image of a container image.
4262+
&quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
4263+
&quot;name&quot;: &quot;A String&quot;, # The name of the base image.
4264+
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
4265+
},
4266+
],
4267+
&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.
4268+
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
4269+
&quot;index&quot;: 42, # The index of the layer in the container image.
4270+
},
42114271
},
42124272
],
42134273
&quot;fixAvailable&quot;: True or False, # Output only. Whether a fix is available for this package.
@@ -5416,6 +5476,18 @@ <h3>Method Details</h3>
54165476
&quot;fileLocation&quot;: [ # The location at which this package was found.
54175477
{ # Indicates the location at which a package was found.
54185478
&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.
5479+
&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).
5480+
&quot;baseImages&quot;: [ # The base images the layer is found within.
5481+
{ # BaseImage describes a base image of a container image.
5482+
&quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
5483+
&quot;name&quot;: &quot;A String&quot;, # The name of the base image.
5484+
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
5485+
},
5486+
],
5487+
&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.
5488+
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
5489+
&quot;index&quot;: 42, # The index of the layer in the container image.
5490+
},
54195491
},
54205492
],
54215493
&quot;fixAvailable&quot;: True or False, # Output only. Whether a fix is available for this package.
@@ -6256,6 +6328,18 @@ <h3>Method Details</h3>
62566328
&quot;fileLocation&quot;: [ # The location at which this package was found.
62576329
{ # Indicates the location at which a package was found.
62586330
&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.
6331+
&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).
6332+
&quot;baseImages&quot;: [ # The base images the layer is found within.
6333+
{ # BaseImage describes a base image of a container image.
6334+
&quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
6335+
&quot;name&quot;: &quot;A String&quot;, # The name of the base image.
6336+
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
6337+
},
6338+
],
6339+
&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.
6340+
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
6341+
&quot;index&quot;: 42, # The index of the layer in the container image.
6342+
},
62596343
},
62606344
],
62616345
&quot;fixAvailable&quot;: True or False, # Output only. Whether a fix is available for this package.
@@ -7079,6 +7163,18 @@ <h3>Method Details</h3>
70797163
&quot;fileLocation&quot;: [ # The location at which this package was found.
70807164
{ # Indicates the location at which a package was found.
70817165
&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.
7166+
&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).
7167+
&quot;baseImages&quot;: [ # The base images the layer is found within.
7168+
{ # BaseImage describes a base image of a container image.
7169+
&quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
7170+
&quot;name&quot;: &quot;A String&quot;, # The name of the base image.
7171+
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
7172+
},
7173+
],
7174+
&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.
7175+
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
7176+
&quot;index&quot;: 42, # The index of the layer in the container image.
7177+
},
70827178
},
70837179
],
70847180
&quot;fixAvailable&quot;: True or False, # Output only. Whether a fix is available for this package.

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,18 @@ <h3>Method Details</h3>
866866
&quot;fileLocation&quot;: [ # The location at which this package was found.
867867
{ # Indicates the location at which a package was found.
868868
&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.
869+
&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).
870+
&quot;baseImages&quot;: [ # The base images the layer is found within.
871+
{ # BaseImage describes a base image of a container image.
872+
&quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
873+
&quot;name&quot;: &quot;A String&quot;, # The name of the base image.
874+
&quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
875+
},
876+
],
877+
&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.
878+
&quot;diffId&quot;: &quot;A String&quot;, # The diff ID (typically a sha256 hash) of the layer in the container image.
879+
&quot;index&quot;: 42, # The index of the layer in the container image.
880+
},
869881
},
870882
],
871883
&quot;fixAvailable&quot;: True or False, # Output only. Whether a fix is available for this package.

0 commit comments

Comments
 (0)