Skip to content

Commit 696db3f

Browse files
yoshi-automationfeywind
authored andcommitted
feat(containeranalysis): update the API
#### containeranalysis:v1alpha1 The following keys were added: - schemas.LayerDetails.properties.chainId.description - schemas.LayerDetails.properties.chainId.type The following keys were changed: - schemas.SecretOccurrence.properties.kind.enum - schemas.SecretOccurrence.properties.kind.enumDescriptions #### containeranalysis:v1beta1 The following keys were changed: - schemas.SecretOccurrence.properties.kind.enum - schemas.SecretOccurrence.properties.kind.enumDescriptions #### containeranalysis:v1 The following keys were changed: - schemas.SecretOccurrence.properties.kind.enum - schemas.SecretOccurrence.properties.kind.enumDescriptions
1 parent cb4850b commit 696db3f

File tree

4 files changed

+137
-9
lines changed

4 files changed

+137
-9
lines changed

discovery/containeranalysis-v1.json

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,7 +1715,7 @@
17151715
}
17161716
}
17171717
},
1718-
"revision": "20250829",
1718+
"revision": "20251004",
17191719
"rootUrl": "https://containeranalysis.googleapis.com/",
17201720
"schemas": {
17211721
"AliasContext": {
@@ -6281,12 +6281,52 @@
62816281
"enum": [
62826282
"SECRET_KIND_UNSPECIFIED",
62836283
"SECRET_KIND_UNKNOWN",
6284-
"SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY"
6284+
"SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY",
6285+
"SECRET_KIND_GCP_API_KEY",
6286+
"SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS",
6287+
"SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN",
6288+
"SECRET_KIND_ANTHROPIC_ADMIN_API_KEY",
6289+
"SECRET_KIND_ANTHROPIC_API_KEY",
6290+
"SECRET_KIND_AZURE_ACCESS_TOKEN",
6291+
"SECRET_KIND_AZURE_IDENTITY_TOKEN",
6292+
"SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN",
6293+
"SECRET_KIND_GITHUB_APP_REFRESH_TOKEN",
6294+
"SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN",
6295+
"SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN",
6296+
"SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN",
6297+
"SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN",
6298+
"SECRET_KIND_GITHUB_OAUTH_TOKEN",
6299+
"SECRET_KIND_HUGGINGFACE_API_KEY",
6300+
"SECRET_KIND_OPENAI_API_KEY",
6301+
"SECRET_KIND_PERPLEXITY_API_KEY",
6302+
"SECRET_KIND_STRIPE_SECRET_KEY",
6303+
"SECRET_KIND_STRIPE_RESTRICTED_KEY",
6304+
"SECRET_KIND_STRIPE_WEBHOOK_SECRET"
62856305
],
62866306
"enumDescriptions": [
62876307
"Unspecified",
62886308
"The secret kind is unknown.",
6289-
"A GCP service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys"
6309+
"A Google Cloud service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys",
6310+
"A Google Cloud API key per: https://cloud.google.com/docs/authentication/api-keys",
6311+
"A Google Cloud OAuth2 client credentials per: https://developers.google.com/identity/protocols/oauth2",
6312+
"A Google Cloud OAuth2 access token per: https://cloud.google.com/docs/authentication/token-types#access",
6313+
"An Anthropic Admin API key.",
6314+
"An Anthropic API key.",
6315+
"An Azure access token.",
6316+
"An Azure Identity Platform ID token.",
6317+
"A Docker Hub personal access token.",
6318+
"A GitHub App refresh token.",
6319+
"A GitHub App server-to-server token.",
6320+
"A GitHub App user-to-server token.",
6321+
"A GitHub personal access token (classic).",
6322+
"A GitHub fine-grained personal access token.",
6323+
"A GitHub OAuth token.",
6324+
"A Hugging Face API key.",
6325+
"An OpenAI API key.",
6326+
"A Perplexity API key.",
6327+
"A Stripe secret key.",
6328+
"A Stripe restricted key.",
6329+
"A Stripe webhook secret."
62906330
],
62916331
"type": "string"
62926332
},

discovery/containeranalysis-v1alpha1.json

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,7 @@
14521452
}
14531453
}
14541454
},
1455-
"revision": "20250829",
1455+
"revision": "20250928",
14561456
"rootUrl": "https://containeranalysis.googleapis.com/",
14571457
"schemas": {
14581458
"AnalysisCompleted": {
@@ -5150,6 +5150,10 @@
51505150
},
51515151
"type": "array"
51525152
},
5153+
"chainId": {
5154+
"description": "The chain ID of the layer in the container image.",
5155+
"type": "string"
5156+
},
51535157
"command": {
51545158
"description": "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.",
51555159
"type": "string"
@@ -6624,12 +6628,52 @@
66246628
"enum": [
66256629
"SECRET_KIND_UNSPECIFIED",
66266630
"SECRET_KIND_UNKNOWN",
6627-
"SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY"
6631+
"SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY",
6632+
"SECRET_KIND_GCP_API_KEY",
6633+
"SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS",
6634+
"SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN",
6635+
"SECRET_KIND_ANTHROPIC_ADMIN_API_KEY",
6636+
"SECRET_KIND_ANTHROPIC_API_KEY",
6637+
"SECRET_KIND_AZURE_ACCESS_TOKEN",
6638+
"SECRET_KIND_AZURE_IDENTITY_TOKEN",
6639+
"SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN",
6640+
"SECRET_KIND_GITHUB_APP_REFRESH_TOKEN",
6641+
"SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN",
6642+
"SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN",
6643+
"SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN",
6644+
"SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN",
6645+
"SECRET_KIND_GITHUB_OAUTH_TOKEN",
6646+
"SECRET_KIND_HUGGINGFACE_API_KEY",
6647+
"SECRET_KIND_OPENAI_API_KEY",
6648+
"SECRET_KIND_PERPLEXITY_API_KEY",
6649+
"SECRET_KIND_STRIPE_SECRET_KEY",
6650+
"SECRET_KIND_STRIPE_RESTRICTED_KEY",
6651+
"SECRET_KIND_STRIPE_WEBHOOK_SECRET"
66286652
],
66296653
"enumDescriptions": [
66306654
"Unspecified",
66316655
"The secret kind is unknown.",
6632-
"A GCP service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys"
6656+
"A Google Cloud service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys",
6657+
"A Google Cloud API key per: https://cloud.google.com/docs/authentication/api-keys",
6658+
"A Google Cloud OAuth2 client credentials per: https://developers.google.com/identity/protocols/oauth2",
6659+
"A Google Cloud OAuth2 access token per: https://cloud.google.com/docs/authentication/token-types#access",
6660+
"An Anthropic Admin API key. This is called Workspace API key in Scalibr.",
6661+
"An Anthropic API key. This is called Model key in Scalibr.",
6662+
"An Azure access token.",
6663+
"An Azure Identity Platform ID token.",
6664+
"A Docker Hub personal access token.",
6665+
"A GitHub App refresh token.",
6666+
"A GitHub App server-to-server token.",
6667+
"A GitHub App user-to-server token.",
6668+
"A GitHub personal access token (classic).",
6669+
"A GitHub fine-grained personal access token.",
6670+
"A GitHub OAuth token.",
6671+
"A Hugging Face API key.",
6672+
"An OpenAI API key.",
6673+
"A Perplexity API key.",
6674+
"A Stripe secret key.",
6675+
"A Stripe restricted key.",
6676+
"A Stripe webhook secret."
66336677
],
66346678
"type": "string"
66356679
},

discovery/containeranalysis-v1beta1.json

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,7 +1771,7 @@
17711771
}
17721772
}
17731773
},
1774-
"revision": "20250905",
1774+
"revision": "20251004",
17751775
"rootUrl": "https://containeranalysis.googleapis.com/",
17761776
"schemas": {
17771777
"AliasContext": {
@@ -6821,12 +6821,52 @@
68216821
"enum": [
68226822
"SECRET_KIND_UNSPECIFIED",
68236823
"SECRET_KIND_UNKNOWN",
6824-
"SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY"
6824+
"SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY",
6825+
"SECRET_KIND_GCP_API_KEY",
6826+
"SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS",
6827+
"SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN",
6828+
"SECRET_KIND_ANTHROPIC_ADMIN_API_KEY",
6829+
"SECRET_KIND_ANTHROPIC_API_KEY",
6830+
"SECRET_KIND_AZURE_ACCESS_TOKEN",
6831+
"SECRET_KIND_AZURE_IDENTITY_TOKEN",
6832+
"SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN",
6833+
"SECRET_KIND_GITHUB_APP_REFRESH_TOKEN",
6834+
"SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN",
6835+
"SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN",
6836+
"SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN",
6837+
"SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN",
6838+
"SECRET_KIND_GITHUB_OAUTH_TOKEN",
6839+
"SECRET_KIND_HUGGINGFACE_API_KEY",
6840+
"SECRET_KIND_OPENAI_API_KEY",
6841+
"SECRET_KIND_PERPLEXITY_API_KEY",
6842+
"SECRET_KIND_STRIPE_SECRET_KEY",
6843+
"SECRET_KIND_STRIPE_RESTRICTED_KEY",
6844+
"SECRET_KIND_STRIPE_WEBHOOK_SECRET"
68256845
],
68266846
"enumDescriptions": [
68276847
"Unspecified",
68286848
"The secret kind is unknown.",
6829-
"A GCP service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys"
6849+
"A Google Cloud service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys",
6850+
"A Google Cloud API key per: https://cloud.google.com/docs/authentication/api-keys",
6851+
"A Google Cloud OAuth2 client credentials per: https://developers.google.com/identity/protocols/oauth2",
6852+
"A Google Cloud OAuth2 access token per: https://cloud.google.com/docs/authentication/token-types#access",
6853+
"An Anthropic Admin API key.",
6854+
"An Anthropic API key.",
6855+
"An Azure access token.",
6856+
"An Azure Identity Platform ID token.",
6857+
"A Docker Hub personal access token.",
6858+
"A GitHub App refresh token.",
6859+
"A GitHub App server-to-server token.",
6860+
"A GitHub App user-to-server token.",
6861+
"A GitHub personal access token (classic).",
6862+
"A GitHub fine-grained personal access token.",
6863+
"A GitHub OAuth token.",
6864+
"A Hugging Face API key.",
6865+
"An OpenAI API key.",
6866+
"A Perplexity API key.",
6867+
"A Stripe secret key.",
6868+
"A Stripe restricted key.",
6869+
"A Stripe webhook secret."
68306870
],
68316871
"type": "string"
68326872
},

src/apis/containeranalysis/v1alpha1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2544,6 +2544,10 @@ export namespace containeranalysis_v1alpha1 {
25442544
* The base images the layer is found within.
25452545
*/
25462546
baseImages?: Schema$BaseImage[];
2547+
/**
2548+
* The chain ID of the layer in the container image.
2549+
*/
2550+
chainId?: string | null;
25472551
/**
25482552
* 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.
25492553
*/

0 commit comments

Comments
 (0)