feat: A new message `File` is added · googleapis/googleapis@4066512
@@ -17,6 +17,7 @@ syntax = "proto3";
1717package grafeas.v1;
18181919import "google/api/field_behavior.proto";
20+import "google/protobuf/any.proto";
2021import "google/protobuf/timestamp.proto";
2122import "grafeas/v1/common.proto";
2223@@ -39,6 +40,13 @@ message SecretOccurrence {
39404041// Status of the secret.
4142repeated SecretStatus statuses = 3 [(google.api.field_behavior) = OPTIONAL];
43+44+// Scan result of the secret.
45+google.protobuf.Any data = 4;
46+47+// Hash value, typically a digest for the secret data, that allows unique
48+// identification of a specific secret.
49+Digest digest = 5;
4250}
43514452// The location of the secret.
@@ -84,7 +92,50 @@ enum SecretKind {
8492SECRET_KIND_UNSPECIFIED = 0;
8593// The secret kind is unknown.
8694SECRET_KIND_UNKNOWN = 1;
87-// A GCP service account key per:
95+// A Google Cloud service account key per:
8896// https://cloud.google.com/iam/docs/creating-managing-service-account-keys
8997SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY = 2;
98+// A Google Cloud API key per:
99+// https://cloud.google.com/docs/authentication/api-keys
100+SECRET_KIND_GCP_API_KEY = 3;
101+// A Google Cloud OAuth2 client credentials per:
102+// https://developers.google.com/identity/protocols/oauth2
103+SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS = 4;
104+// A Google Cloud OAuth2 access token per:
105+// https://cloud.google.com/docs/authentication/token-types#access
106+SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN = 5;
107+// An Anthropic Admin API key.
108+SECRET_KIND_ANTHROPIC_ADMIN_API_KEY = 6;
109+// An Anthropic API key.
110+SECRET_KIND_ANTHROPIC_API_KEY = 7;
111+// An Azure access token.
112+SECRET_KIND_AZURE_ACCESS_TOKEN = 8;
113+// An Azure Identity Platform ID token.
114+SECRET_KIND_AZURE_IDENTITY_TOKEN = 9;
115+// A Docker Hub personal access token.
116+SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN = 10;
117+// A GitHub App refresh token.
118+SECRET_KIND_GITHUB_APP_REFRESH_TOKEN = 11;
119+// A GitHub App server-to-server token.
120+SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN = 12;
121+// A GitHub App user-to-server token.
122+SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN = 13;
123+// A GitHub personal access token (classic).
124+SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN = 14;
125+// A GitHub fine-grained personal access token.
126+SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN = 15;
127+// A GitHub OAuth token.
128+SECRET_KIND_GITHUB_OAUTH_TOKEN = 16;
129+// A Hugging Face API key.
130+SECRET_KIND_HUGGINGFACE_API_KEY = 17;
131+// An OpenAI API key.
132+SECRET_KIND_OPENAI_API_KEY = 18;
133+// A Perplexity API key.
134+SECRET_KIND_PERPLEXITY_API_KEY = 19;
135+// A Stripe secret key.
136+SECRET_KIND_STRIPE_SECRET_KEY = 20;
137+// A Stripe restricted key.
138+SECRET_KIND_STRIPE_RESTRICTED_KEY = 21;
139+// A Stripe webhook secret.
140+SECRET_KIND_STRIPE_WEBHOOK_SECRET = 22;
90141}