@maxim_mazurok/gapi.client.ondemandscanning-v1 0.0.20250421 → 0.0.20250505
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +27 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://ondemandscanning.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250505
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -315,6 +315,8 @@ declare namespace gapi.client {
|
|
|
315
315
|
interface GrafeasV1LayerDetails {
|
|
316
316
|
/** The base images the layer is found within. */
|
|
317
317
|
baseImages?: GrafeasV1BaseImage[];
|
|
318
|
+
/** 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 */
|
|
319
|
+
chainId?: string;
|
|
318
320
|
/** 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. */
|
|
319
321
|
command?: string;
|
|
320
322
|
/** The diff ID (typically a sha256 hash) of the layer in the container image. */
|
|
@@ -422,6 +424,8 @@ declare namespace gapi.client {
|
|
|
422
424
|
interface LayerDetails {
|
|
423
425
|
/** The base images the layer is found within. */
|
|
424
426
|
baseImages?: BaseImage[];
|
|
427
|
+
/** 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 */
|
|
428
|
+
chainId?: string;
|
|
425
429
|
/** 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. */
|
|
426
430
|
command?: string;
|
|
427
431
|
/** The diff ID (sha256 hash) of the layer in the container image. */
|
|
@@ -518,6 +522,8 @@ declare namespace gapi.client {
|
|
|
518
522
|
resourceUri?: string;
|
|
519
523
|
/** Describes a specific SBOM reference occurrences. */
|
|
520
524
|
sbomReference?: SBOMReferenceOccurrence;
|
|
525
|
+
/** Describes a secret. */
|
|
526
|
+
secret?: SecretOccurrence;
|
|
521
527
|
/** Output only. The time this occurrence was last updated. */
|
|
522
528
|
updateTime?: string;
|
|
523
529
|
/** Describes an available package upgrade on the linked resource. */
|
|
@@ -708,6 +714,26 @@ declare namespace gapi.client {
|
|
|
708
714
|
/** The progress of the SBOM generation. */
|
|
709
715
|
sbomState?: string;
|
|
710
716
|
}
|
|
717
|
+
interface SecretLocation {
|
|
718
|
+
/** The secret is found from a file. */
|
|
719
|
+
fileLocation?: GrafeasV1FileLocation;
|
|
720
|
+
}
|
|
721
|
+
interface SecretOccurrence {
|
|
722
|
+
/** Required. Type of secret. */
|
|
723
|
+
kind?: string;
|
|
724
|
+
/** Optional. Locations where the secret is detected. */
|
|
725
|
+
locations?: SecretLocation[];
|
|
726
|
+
/** Optional. Status of the secret. */
|
|
727
|
+
statuses?: SecretStatus[];
|
|
728
|
+
}
|
|
729
|
+
interface SecretStatus {
|
|
730
|
+
/** Optional. Optional message about the status code. */
|
|
731
|
+
message?: string;
|
|
732
|
+
/** Optional. The status of the secret. */
|
|
733
|
+
status?: string;
|
|
734
|
+
/** Optional. The time the secret status was last updated. */
|
|
735
|
+
updateTime?: string;
|
|
736
|
+
}
|
|
711
737
|
interface Signature {
|
|
712
738
|
/** The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * "openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA" See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" * "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5" */
|
|
713
739
|
publicKeyId?: string;
|