@maxim_mazurok/gapi.client.threatintelligence-v1beta 0.0.20260118
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 +1781 -0
- package/package.json +20 -0
- package/readme.md +75 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1781 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Threat Intelligence API v1beta 0.0 */
|
|
2
|
+
// Project: https://www.google.com
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
|
|
8
|
+
// IMPORTANT
|
|
9
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
|
+
// Generated from: https://threatintelligence.googleapis.com/$discovery/rest?version=v1beta
|
|
12
|
+
// Revision: 20260118
|
|
13
|
+
|
|
14
|
+
/// <reference types="gapi.client" />
|
|
15
|
+
|
|
16
|
+
declare namespace gapi.client {
|
|
17
|
+
/** Load Threat Intelligence API v1beta */
|
|
18
|
+
function load(
|
|
19
|
+
urlOrObject: 'https://threatintelligence.googleapis.com/$discovery/rest?version=v1beta',
|
|
20
|
+
): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(name: 'threatintelligence', version: 'v1beta'): Promise<void>;
|
|
23
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
24
|
+
function load(
|
|
25
|
+
name: 'threatintelligence',
|
|
26
|
+
version: 'v1beta',
|
|
27
|
+
callback: () => any,
|
|
28
|
+
): void;
|
|
29
|
+
|
|
30
|
+
namespace threatintelligence {
|
|
31
|
+
interface AffectedSoftware {
|
|
32
|
+
/** Optional. The product of the software. */
|
|
33
|
+
product?: string;
|
|
34
|
+
/** Optional. The vendor of the software. */
|
|
35
|
+
vendor?: string;
|
|
36
|
+
}
|
|
37
|
+
interface Alert {
|
|
38
|
+
/** Optional. AI summary of the finding. */
|
|
39
|
+
aiSummary?: string;
|
|
40
|
+
/** Output only. Assets that are impacted by this alert. */
|
|
41
|
+
assets?: string[];
|
|
42
|
+
/** Output only. Audit information for the alert. */
|
|
43
|
+
audit?: Audit;
|
|
44
|
+
/** Output only. The resource names of the Configurations bound to this alert. Format: projects/{project}/configurations/{configuration} */
|
|
45
|
+
configurations?: string[];
|
|
46
|
+
/** Output only. Details object for the alert, not all alerts will have a details object. */
|
|
47
|
+
detail?: AlertDetail;
|
|
48
|
+
/** Output only. A short title for the alert. */
|
|
49
|
+
displayName?: string;
|
|
50
|
+
/** Output only. alert names of the alerts that are duplicates of this alert. Format: projects/{project}/alerts/{alert} */
|
|
51
|
+
duplicatedBy?: string[];
|
|
52
|
+
/** Output only. alert name of the alert this alert is a duplicate of. Format: projects/{project}/alerts/{alert} */
|
|
53
|
+
duplicateOf?: string;
|
|
54
|
+
/** Optional. If included when updating an alert, this should be set to the current etag of the alert. If the etags do not match, the update will be rejected and an ABORTED error will be returned. */
|
|
55
|
+
etag?: string;
|
|
56
|
+
/** Output only. External ID for the alert. This is used internally to provide protection against out of order updates. */
|
|
57
|
+
externalId?: string;
|
|
58
|
+
/** Output only. Findings that are covered by this alert. */
|
|
59
|
+
findings?: string[];
|
|
60
|
+
/** Identifier. Server generated name for the alert. format is projects/{project}/alerts/{alert} */
|
|
61
|
+
name?: string;
|
|
62
|
+
/** Output only. High-Precision Priority Analysis for the alert. */
|
|
63
|
+
priorityAnalysis?: PriorityAnalysis;
|
|
64
|
+
/** Output only. High-Precision Relevance Analysis verdict for the alert. */
|
|
65
|
+
relevanceAnalysis?: RelevanceAnalysis;
|
|
66
|
+
/** Output only. High-Precision Severity Analysis for the alert. */
|
|
67
|
+
severityAnalysis?: SeverityAnalysis;
|
|
68
|
+
/** Output only. State of the alert. */
|
|
69
|
+
state?: string;
|
|
70
|
+
}
|
|
71
|
+
interface AlertDetail {
|
|
72
|
+
/** Data Leak alert detail type. */
|
|
73
|
+
dataLeak?: DataLeakAlertDetail;
|
|
74
|
+
/** Output only. Name of the detail type. Will be set by the server during creation to the name of the field that is set in the detail union. */
|
|
75
|
+
detailType?: string;
|
|
76
|
+
/** Initial Access Broker alert detail type. */
|
|
77
|
+
initialAccessBroker?: InitialAccessBrokerAlertDetail;
|
|
78
|
+
/** Insider Threat alert detail type. */
|
|
79
|
+
insiderThreat?: InsiderThreatAlertDetail;
|
|
80
|
+
/** Domain Monitoring alert detail type. */
|
|
81
|
+
suspiciousDomain?: SuspiciousDomainAlertDetail;
|
|
82
|
+
/** Technology Watchlist alert detail type. */
|
|
83
|
+
targetTechnology?: TargetTechnologyAlertDetail;
|
|
84
|
+
}
|
|
85
|
+
interface AlertDocument {
|
|
86
|
+
/** Output only. AI summary of the finding. */
|
|
87
|
+
aiSummary?: string;
|
|
88
|
+
/** Output only. The author of the document. */
|
|
89
|
+
author?: string;
|
|
90
|
+
/** Output only. Time when the origin source collected the intel. */
|
|
91
|
+
collectionTime?: string;
|
|
92
|
+
/** Output only. The content of the document. */
|
|
93
|
+
content?: string;
|
|
94
|
+
/** Output only. The time the document was created. */
|
|
95
|
+
createTime?: string;
|
|
96
|
+
/** Output only. Time when GTI received the intel. */
|
|
97
|
+
ingestTime?: string;
|
|
98
|
+
/** Output only. The language code of the document. */
|
|
99
|
+
languageCode?: string;
|
|
100
|
+
/** Identifier. Server generated name for the alert document. format is projects/{project}/alerts/{alert}/documents/{document} */
|
|
101
|
+
name?: string;
|
|
102
|
+
/** Output only. Source of the intel item, e.g. DarkMarket. */
|
|
103
|
+
source?: string;
|
|
104
|
+
/** Output only. Time when the intel was last updated by the source. */
|
|
105
|
+
sourceUpdateTime?: string;
|
|
106
|
+
/** Output only. URI of the intel item from the source. */
|
|
107
|
+
sourceUri?: string;
|
|
108
|
+
/** Output only. The title of the document, if available. */
|
|
109
|
+
title?: string;
|
|
110
|
+
/** Output only. The translation of the document, if available. */
|
|
111
|
+
translation?: AlertDocumentTranslation;
|
|
112
|
+
}
|
|
113
|
+
interface AlertDocumentTranslation {
|
|
114
|
+
/** Output only. The translated content of the document. */
|
|
115
|
+
translatedContent?: string;
|
|
116
|
+
/** Output only. The translated title of the document. */
|
|
117
|
+
translatedTitle?: string;
|
|
118
|
+
}
|
|
119
|
+
interface AssetDiscoveryConfig {
|
|
120
|
+
/** Output only. Timestamp of the last scan completed. This field is set by the system and cannot be modified by the user. */
|
|
121
|
+
lastScanCompleteTime?: string;
|
|
122
|
+
/** Output only. Timestamp of the last scan started - used for scheduling the next scan. This field is set by the system and cannot be modified by the user. */
|
|
123
|
+
lastScanStartTime?: string;
|
|
124
|
+
/** Required. Frequency at which the scheduled discovery scan should be run. If not specified, the default frequency is DAILY. */
|
|
125
|
+
scanFrequency?: string;
|
|
126
|
+
/** Optional. Seed assets that are out of scope for the scheduled discovery scan. */
|
|
127
|
+
scopeExclusionAssets?: AssetDiscoverySeed[];
|
|
128
|
+
/** Required. Seed assets for the scheduled discovery scan. At least one seed asset is required. */
|
|
129
|
+
seedAssets?: AssetDiscoverySeed[];
|
|
130
|
+
/** Required. Workflow to be used for the scheduled discovery scan. If not specified, the default workflow is EXTERNAL_DISCOVERY. */
|
|
131
|
+
workflow?: string;
|
|
132
|
+
}
|
|
133
|
+
interface AssetDiscoverySeed {
|
|
134
|
+
/** Required. Type of the seed asset. */
|
|
135
|
+
seedType?: string;
|
|
136
|
+
/** Required. Value for the seed asset. Could be an IP address, network service, email addresses, etc. */
|
|
137
|
+
seedValue?: string;
|
|
138
|
+
}
|
|
139
|
+
interface Audit {
|
|
140
|
+
/** Output only. Time of creation. */
|
|
141
|
+
createTime?: string;
|
|
142
|
+
/** Output only. Agent that created or updated the record, could be a UserId or a JobId. */
|
|
143
|
+
creator?: string;
|
|
144
|
+
/** Output only. Agent that last updated the record, could be a UserId or a JobId. */
|
|
145
|
+
updater?: string;
|
|
146
|
+
/** Output only. Time of creation or last update. */
|
|
147
|
+
updateTime?: string;
|
|
148
|
+
}
|
|
149
|
+
interface CompromisedCredentialsFindingDetail {
|
|
150
|
+
/** Optional. Reference to the author this detail was extracted from. This is deprecated and will be removed. */
|
|
151
|
+
author?: string;
|
|
152
|
+
/** Optional. Claimed site the credential is intended for. */
|
|
153
|
+
credentialService?: string;
|
|
154
|
+
/** Optional. Reference to the dark web document. This is deprecated and will be removed. */
|
|
155
|
+
darkWebDoc?: string;
|
|
156
|
+
/** Optional. This will contain a link to the external reference for this credential. If set, this is a link back to the DTM product to allow customers to get additional context about this finding. */
|
|
157
|
+
externalReferenceUri?: string;
|
|
158
|
+
/** Optional. If the source of the credential was from a file dump this will contain the name of the file the credential was found in. This can be used by customers for context on where the credential was found and to try to find other references to the file in the wild. */
|
|
159
|
+
fileDump?: string;
|
|
160
|
+
/** Optional. A list of hashes of the file dump. These will be prefixed with the algorithm. Example: "sha256:" */
|
|
161
|
+
fileDumpHashes?: string[];
|
|
162
|
+
/** Optional. If file_dump is set this will contain the size of the dump file in bytes. File dumps can be very large. */
|
|
163
|
+
fileDumpSizeBytes?: string;
|
|
164
|
+
/** Optional. Reference to the forum this detail was extracted from. This is deprecated and will be removed. */
|
|
165
|
+
forum?: string;
|
|
166
|
+
/** Optional. This will indicate the malware family that leaked this credential, if known. */
|
|
167
|
+
malwareFamily?: string;
|
|
168
|
+
/** Optional. This indicates our best guess as to when the credential was leaked to the particular venue that triggered this finding. This is not necessarily the time the credential was actually leaked and it may not always be be accurate. */
|
|
169
|
+
postedTime?: string;
|
|
170
|
+
/** Optional. If the source of a credential is publicly addressable this will contain a uri to the where the credential was found. */
|
|
171
|
+
sourceUri?: string;
|
|
172
|
+
/** Required. This field will always be set and will be used to identify the user named in the credential leak. In cases where customers are authorized to see the actual user key this will be set to the actual user key. In cases where the customer is not authorized to see the actual user key this will be set to a hash of the user key. The hashed value is an intentionally opaque value that is not intended to be used for any other purpose than to uniquely identify the user in the context of this specific customer, service domain, and user name. Example: "user@example.com" or "redacted:". */
|
|
173
|
+
userKey?: string;
|
|
174
|
+
/** Optional. Claimed evidence of the password/secret. This will always be hashed. In the event where the plaintext password is known it will be set to "redacted:" where the same hash will be presented when the same password is found for the same organization for the same service. Redaction is done by hashing the password with a salt that is unique to the customer organization and service. In the event where the plaintext password is not known it will be set to ":" where the algorithm is the hash algorithm used and the hash is the hash of the password using that algorithm. In the event we don't know the exact algorithm used we will set it to "hashed:". */
|
|
175
|
+
userSecretEvidence?: string;
|
|
176
|
+
}
|
|
177
|
+
interface Configuration {
|
|
178
|
+
/** Output only. Audit information for the configuration. */
|
|
179
|
+
audit?: Audit;
|
|
180
|
+
/** Optional. A description of the configuration. */
|
|
181
|
+
description?: string;
|
|
182
|
+
/** Required. Domain specific details for the configuration. */
|
|
183
|
+
detail?: ConfigurationDetail;
|
|
184
|
+
/** Output only. Human readable name for the configuration. */
|
|
185
|
+
displayName?: string;
|
|
186
|
+
/** Identifier. Server generated name for the configuration. format is vaults/{vault}/configurations/{configuration} */
|
|
187
|
+
name?: string;
|
|
188
|
+
/** Required. Name of the service that provides the configuration. */
|
|
189
|
+
provider?: string;
|
|
190
|
+
/** Optional. State of the configuration. */
|
|
191
|
+
state?: string;
|
|
192
|
+
/** Optional. A user-manipulatable version. Does not adhere to a specific format */
|
|
193
|
+
version?: string;
|
|
194
|
+
}
|
|
195
|
+
interface ConfigurationDetail {
|
|
196
|
+
/** Asset Discovery detail config. */
|
|
197
|
+
assetDiscovery?: AssetDiscoveryConfig;
|
|
198
|
+
/** Customer Profile detail config. */
|
|
199
|
+
customerProfile?: CustomerProfileConfig;
|
|
200
|
+
/** Output only. Name of the detail type. Will be set by the server during creation to the name of the field that is set in the detail union. */
|
|
201
|
+
detailType?: string;
|
|
202
|
+
/** Domain Monitoring detail config. */
|
|
203
|
+
domainMonitoring?: DomainMonitoringConfig;
|
|
204
|
+
/** Initial Access Broker (IAB) detail config. */
|
|
205
|
+
initialAccessBroker?: InitialAccessBrokerConfig;
|
|
206
|
+
/** Technology Watchlist detail config. */
|
|
207
|
+
technologyWatchlist?: TechnologyWatchListConfig;
|
|
208
|
+
}
|
|
209
|
+
interface ConfigurationRevision {
|
|
210
|
+
/** Output only. The time the Revision was created */
|
|
211
|
+
createTime?: string;
|
|
212
|
+
/** Identifier. The name of the ConfigurationRevision Format: vaults//configurations//revisions/ OR projects//configurations//revisions/ */
|
|
213
|
+
name?: string;
|
|
214
|
+
/** The snapshot of the configuration */
|
|
215
|
+
snapshot?: Configuration;
|
|
216
|
+
}
|
|
217
|
+
interface CustomerProfileCitation {
|
|
218
|
+
/** Required. The citation id for the citation. Should be unique within the profile. */
|
|
219
|
+
citationId?: string;
|
|
220
|
+
/** Required. The name of the document the citation is from. */
|
|
221
|
+
document?: string;
|
|
222
|
+
/** The time the citation was retrieved. */
|
|
223
|
+
retrievalTime?: string;
|
|
224
|
+
/** Required. The source of the citation. */
|
|
225
|
+
source?: string;
|
|
226
|
+
/** Optional. The url of the citation. */
|
|
227
|
+
uri?: string;
|
|
228
|
+
}
|
|
229
|
+
interface CustomerProfileCitedString {
|
|
230
|
+
/** Optional. The citation ids for the string. */
|
|
231
|
+
citationIds?: string[];
|
|
232
|
+
/** Required. The value of the string. */
|
|
233
|
+
value?: string;
|
|
234
|
+
}
|
|
235
|
+
interface CustomerProfileCompany {
|
|
236
|
+
/** Optional. The citation ids for the company. */
|
|
237
|
+
citationIds?: string[];
|
|
238
|
+
/** Required. The name of the company. */
|
|
239
|
+
company?: string;
|
|
240
|
+
}
|
|
241
|
+
interface CustomerProfileConfig {
|
|
242
|
+
/** Optional. Citations for the organization profile. */
|
|
243
|
+
citations?: CustomerProfileCitation[];
|
|
244
|
+
/** Optional. Contact information for the organization. */
|
|
245
|
+
contactInfo?: CustomerProfileContactInfo[];
|
|
246
|
+
/** Optional. Executives of the organization. */
|
|
247
|
+
executives?: CustomerProfilePerson[];
|
|
248
|
+
/** Optional. The industries the organization is involved in. */
|
|
249
|
+
industries?: CustomerProfileIndustry[];
|
|
250
|
+
/** Optional. Locations the organization is present or conducts business in. */
|
|
251
|
+
locations?: CustomerProfileLocation[];
|
|
252
|
+
/** Required. The name of the organization. */
|
|
253
|
+
org?: string;
|
|
254
|
+
/** Optional. A summary of the organization. */
|
|
255
|
+
orgSummary?: string;
|
|
256
|
+
/** Optional. The parent companies of the organization. */
|
|
257
|
+
parentCompanies?: CustomerProfileCompany[];
|
|
258
|
+
/** Optional. Product information for the organization. */
|
|
259
|
+
products?: CustomerProfileProduct[];
|
|
260
|
+
/** Optional. Security considerations for the organization. */
|
|
261
|
+
securityConsiderations?: CustomerProfileSecurityConsiderations;
|
|
262
|
+
/** Optional. A summarized version of the customer profile. */
|
|
263
|
+
summary?: CustomerProfileSummary;
|
|
264
|
+
/** Optional. Technology presence of the organization. */
|
|
265
|
+
technologyPresence?: string;
|
|
266
|
+
/** Optional. Web presence of the organization. */
|
|
267
|
+
webPresences?: CustomerProfileWebPresence[];
|
|
268
|
+
}
|
|
269
|
+
interface CustomerProfileContactInfo {
|
|
270
|
+
/** The address of the contact. */
|
|
271
|
+
address?: string;
|
|
272
|
+
/** Optional. The citation ids for the contact information. */
|
|
273
|
+
citationIds?: string[];
|
|
274
|
+
/** The email address of the contact. */
|
|
275
|
+
email?: string;
|
|
276
|
+
/** Optional. The name of the contact. */
|
|
277
|
+
label?: string;
|
|
278
|
+
/** The other contact information. */
|
|
279
|
+
other?: string;
|
|
280
|
+
/** The phone number of the contact. */
|
|
281
|
+
phone?: string;
|
|
282
|
+
}
|
|
283
|
+
interface CustomerProfileIndustry {
|
|
284
|
+
/** Optional. The citation ids for the industry. */
|
|
285
|
+
citationIds?: string[];
|
|
286
|
+
/** Required. The name of the industry. */
|
|
287
|
+
industry?: string;
|
|
288
|
+
}
|
|
289
|
+
interface CustomerProfileLocation {
|
|
290
|
+
/** Required. The address of the location. */
|
|
291
|
+
address?: string;
|
|
292
|
+
/** Required. The brand of the location. */
|
|
293
|
+
brand?: string;
|
|
294
|
+
/** Optional. The citation ids for the location. */
|
|
295
|
+
citationIds?: string[];
|
|
296
|
+
/** Optional. The type of location. */
|
|
297
|
+
facilityType?: string;
|
|
298
|
+
}
|
|
299
|
+
interface CustomerProfilePerson {
|
|
300
|
+
/** Optional. The citation ids for the person. */
|
|
301
|
+
citationIds?: string[];
|
|
302
|
+
/** Required. The name of the person. */
|
|
303
|
+
name?: string;
|
|
304
|
+
/** Optional. The title of the person. */
|
|
305
|
+
title?: string;
|
|
306
|
+
}
|
|
307
|
+
interface CustomerProfileProduct {
|
|
308
|
+
/** Required. The brand of the product. */
|
|
309
|
+
brand?: string;
|
|
310
|
+
/** Optional. The citation ids for the product. */
|
|
311
|
+
citationIds?: string[];
|
|
312
|
+
/** Required. The name of the product. */
|
|
313
|
+
product?: string;
|
|
314
|
+
}
|
|
315
|
+
interface CustomerProfileSecurityConsiderations {
|
|
316
|
+
/** Optional. A series of considerations for the security of the organization, such as "high risk of compromise" or "vulnerable to cyberbullying". */
|
|
317
|
+
considerations?: string[];
|
|
318
|
+
/** Optional. A note about the security considerations. */
|
|
319
|
+
note?: string;
|
|
320
|
+
}
|
|
321
|
+
interface CustomerProfileSummary {
|
|
322
|
+
/** Optional. The area the customer serves. */
|
|
323
|
+
areaServed?: CustomerProfileCitedString;
|
|
324
|
+
/** Optional. A narrative summary of brands. */
|
|
325
|
+
brands?: CustomerProfileCitedString;
|
|
326
|
+
/** Optional. The entity type of the customer. */
|
|
327
|
+
entityType?: CustomerProfileCitedString;
|
|
328
|
+
/** Optional. The date the customer was founded. */
|
|
329
|
+
founded?: CustomerProfileCitedString;
|
|
330
|
+
/** Optional. The headquarters of the customer. */
|
|
331
|
+
headquarters?: CustomerProfileCitedString;
|
|
332
|
+
/** Optional. The industry the customer is in. */
|
|
333
|
+
industry?: CustomerProfileCitedString;
|
|
334
|
+
/** Optional. A narrative summary of key people. */
|
|
335
|
+
keyPeopleSummary?: CustomerProfileCitedString;
|
|
336
|
+
/** Optional. The parent company of the customer. */
|
|
337
|
+
parentCompany?: CustomerProfileCitedString;
|
|
338
|
+
/** Optional. The primary website of the customer. */
|
|
339
|
+
primaryWebsite?: CustomerProfileCitedString;
|
|
340
|
+
/** Optional. A narrative summary of products. */
|
|
341
|
+
productsSummary?: CustomerProfileCitedString;
|
|
342
|
+
/** Optional. A narrative summary of services. */
|
|
343
|
+
servicesSummary?: CustomerProfileCitedString;
|
|
344
|
+
/** Optional. The official name of the customer. */
|
|
345
|
+
title?: CustomerProfileCitedString;
|
|
346
|
+
}
|
|
347
|
+
interface CustomerProfileWebPresence {
|
|
348
|
+
/** Optional. The citation ids for the web presence. */
|
|
349
|
+
citationIds?: string[];
|
|
350
|
+
/** Required. The domain name of the web presence. */
|
|
351
|
+
domain?: string;
|
|
352
|
+
}
|
|
353
|
+
interface DataLeakAlertDetail {
|
|
354
|
+
/** Required. Array of ids to accommodate multiple discovery documents */
|
|
355
|
+
discoveryDocumentIds?: string[];
|
|
356
|
+
/** Required. Data Leak specific severity This will be the string representation of the DataLeakFindingDetail.Severityenum. (e.g., "LOW", "MEDIUM", "HIGH", "CRITICAL") */
|
|
357
|
+
severity?: string;
|
|
358
|
+
}
|
|
359
|
+
interface DataLeakFindingDetail {
|
|
360
|
+
/** Required. The unique identifier of the document that triggered the Data Leak finding. This ID can be used to retrieve the content of the document for further analysis. */
|
|
361
|
+
documentId?: string;
|
|
362
|
+
/** Required. Reference to the match score of the Data Leak finding. This is a float value greater than 0 and less than or equal to 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. */
|
|
363
|
+
matchScore?: number;
|
|
364
|
+
/** Required. The severity of the Data Leak finding. This indicates the potential impact of the threat. */
|
|
365
|
+
severity?: string;
|
|
366
|
+
}
|
|
367
|
+
interface DomainMonitoringConfig {
|
|
368
|
+
/** The domains to use as "seeds" for Suspicious Domain Monitoring. */
|
|
369
|
+
domains?: DomainMonitoringDomain[];
|
|
370
|
+
}
|
|
371
|
+
interface DomainMonitoringDomain {
|
|
372
|
+
/** The domain name to match against. */
|
|
373
|
+
domain?: string;
|
|
374
|
+
}
|
|
375
|
+
interface EntityProfile {
|
|
376
|
+
/** Optional. List of specific countries of operation. Purpose: Essential for matching geographically targeted threats (e.g., actor specifies victims in 'DE'). Use ISO 3166-1 alpha-2 codes (e.g., "US", "GB", "JP", "DE"). */
|
|
377
|
+
countries?: string[];
|
|
378
|
+
/** Required. List of primary internet domain names associated with the entity. Purpose: Crucial for explicit matching against domains mentioned in threat intel and can inform semantic matching. Must contain at least one domain. Example: ["acme.com", "acme.co.uk"] */
|
|
379
|
+
domains?: string[];
|
|
380
|
+
/** Optional. List of primary industry sectors the entity operates within. Purpose: Crucial for matching industry-specific threats and understanding attacker motivation. Use standardized GTI Industry Classification values. Example: ["Technology", "Financial Services", "Healthcare"] */
|
|
381
|
+
industries?: string[];
|
|
382
|
+
/** Required. Canonical name of the entity (e.g., the legal company name). Purpose: Primary identifier for the customer. */
|
|
383
|
+
name?: string;
|
|
384
|
+
/** Optional. Specific geographic areas of *significant* operational concentration or strategic importance below the country level, if clearly identifiable and relevant. Purpose: Useful for highly localized threats, less commonly populated than `countries`. Example: ["Silicon Valley", "Frankfurt am Main Metropolitan Region"] */
|
|
385
|
+
operationalAreas?: string[];
|
|
386
|
+
/** Required. A concise, machine-generated (e.g., LLM) or human-curated summary of the entity. Purpose: Captures the semantic essence for embedding generation and similarity matching. Should synthesize key aspects like core business, scale, and market. Example: "Acme Corporation is a large, US-based multinational conglomerate operating..." */
|
|
387
|
+
profileSummary?: string;
|
|
388
|
+
/** Optional. List of primary geopolitical regions where the entity has significant operations. Purpose: Filters geographically relevant threats. Use standardized names or codes where possible (e.g., "North America", "EMEA", "APAC", UN M49 codes). */
|
|
389
|
+
regions?: string[];
|
|
390
|
+
/** Optional. List of more granular sub-industries, if applicable and known. Purpose: Provides finer-grained context for more specific threat matching. Should align with GTI classifications if possible. Example: ["Semiconductors", "Cloud Computing Services", "Investment Banking"] */
|
|
391
|
+
subIndustries?: string[];
|
|
392
|
+
}
|
|
393
|
+
interface EnumerateAlertFacetsResponse {
|
|
394
|
+
/** List of facets and the counts. */
|
|
395
|
+
facets?: Facet[];
|
|
396
|
+
}
|
|
397
|
+
interface Evidence {
|
|
398
|
+
/** A list of semantic themes or concepts found to be common, related, or aligned between the sources, supporting the verdict. */
|
|
399
|
+
commonThemes?: string[];
|
|
400
|
+
/** A list of semantic themes or descriptions unique to one source or semantically distant. */
|
|
401
|
+
distinctThemes?: string[];
|
|
402
|
+
}
|
|
403
|
+
interface Facet {
|
|
404
|
+
/** Name of the facet. This is also the string that needs to be used in the filtering expression. */
|
|
405
|
+
facet?: string;
|
|
406
|
+
/** List of counts for the facet (if categorical). */
|
|
407
|
+
facetCounts?: FacetCount[];
|
|
408
|
+
/** The type of the facet. Options include "string", "int", "float", "bool", "enum", "timestamp", "user" and are useful to show the right sort of UI controls when building a AIP-160 style filtering string. */
|
|
409
|
+
facetType?: string;
|
|
410
|
+
/** Max value of the facet stringified based on type. Will be populated and formatted the same as min_value. */
|
|
411
|
+
maxValue?: string;
|
|
412
|
+
/** Min value of the facet stringified based on type. This is only populated for facets that have a clear ordering, for types like enum it will be left empty. Timestamps will be formatted using RFC3339. */
|
|
413
|
+
minValue?: string;
|
|
414
|
+
/** Total number of records that contain this facet with ANY value. */
|
|
415
|
+
totalCount?: string;
|
|
416
|
+
}
|
|
417
|
+
interface FacetCount {
|
|
418
|
+
/** Count of records with the value. */
|
|
419
|
+
count?: number;
|
|
420
|
+
/** Value of the facet stringified. Timestamps will be formatted using RFC3339. */
|
|
421
|
+
value?: string;
|
|
422
|
+
}
|
|
423
|
+
interface Finding {
|
|
424
|
+
/** Optional. AI summary of the finding. */
|
|
425
|
+
aiSummary?: string;
|
|
426
|
+
/** Optional. Name of the alert that this finding is bound to. */
|
|
427
|
+
alert?: string;
|
|
428
|
+
/** Optional. Optional - asset name if known. Format: vaults/{vault}/assets/{asset} */
|
|
429
|
+
asset?: string;
|
|
430
|
+
/** Output only. Audit data about the finding. */
|
|
431
|
+
audit?: Audit;
|
|
432
|
+
/** Optional. Configuration names that are bound to this finding. */
|
|
433
|
+
configurations?: string[];
|
|
434
|
+
/** Required. Holder of the domain specific details of the finding. */
|
|
435
|
+
detail?: FindingDetail;
|
|
436
|
+
/** Required. A short descriptive title for the finding <= 250 chars. EX: "Actor 'baddy' offering $1000 for credentials of 'goodguy'". */
|
|
437
|
+
displayName?: string;
|
|
438
|
+
/** Optional. Optional - name of the issue that this finding is bound to. Format: vaults/{vault}/issues/{issue} */
|
|
439
|
+
issue?: string;
|
|
440
|
+
/** Identifier. Server generated name for the finding (leave clear during creation). Format: vaults/{vault}/findings/{finding} */
|
|
441
|
+
name?: string;
|
|
442
|
+
/** Required. Logical source of this finding (name of the sub-engine). */
|
|
443
|
+
provider?: string;
|
|
444
|
+
/** Output only. High-Precision Relevance Analysis verdict for the finding. */
|
|
445
|
+
relevanceAnalysis?: RelevanceAnalysis;
|
|
446
|
+
/** Output only. When identical finding (same labels and same details) has re-occurred. */
|
|
447
|
+
reoccurrenceTimes?: string[];
|
|
448
|
+
/** Optional. Deprecated: Use the `severity_analysis` field instead. Base severity score from the finding source. */
|
|
449
|
+
severity?: number;
|
|
450
|
+
/** Output only. High-Precision Severity Analysis verdict for the finding. */
|
|
451
|
+
severityAnalysis?: SeverityAnalysis;
|
|
452
|
+
}
|
|
453
|
+
interface FindingDetail {
|
|
454
|
+
/** Compromised Credentials detail type. */
|
|
455
|
+
compromisedCredentials?: CompromisedCredentialsFindingDetail;
|
|
456
|
+
/** Data Leak finding detail type. */
|
|
457
|
+
dataLeak?: DataLeakFindingDetail;
|
|
458
|
+
/** Output only. Name of the detail type. Will be set by the server during creation to the name of the field that is set in the detail union. */
|
|
459
|
+
detailType?: string;
|
|
460
|
+
/** Inband vulnerability detail type. */
|
|
461
|
+
inbandVulnerability?: InbandVulnerabilityFindingDetail;
|
|
462
|
+
/** Initial Access Broker finding detail type. */
|
|
463
|
+
initialAccessBroker?: InitialAccessBrokerFindingDetail;
|
|
464
|
+
/** Insider Threat finding detail type. */
|
|
465
|
+
insiderThreat?: InsiderThreatFindingDetail;
|
|
466
|
+
/** Misconfiguration finding detail type. */
|
|
467
|
+
misconfiguration?: MisconfigurationFindingDetail;
|
|
468
|
+
/** Domain Monitoring finding detail type. */
|
|
469
|
+
suspiciousDomain?: SuspiciousDomainFindingDetail;
|
|
470
|
+
/** Technology Watchlist finding detail type. */
|
|
471
|
+
targetTechnology?: TargetTechnologyFindingDetail;
|
|
472
|
+
}
|
|
473
|
+
interface InbandVulnerability {
|
|
474
|
+
/** Optional. The software that is affected by the vulnerability. */
|
|
475
|
+
affectedSoftware?: AffectedSoftware[];
|
|
476
|
+
/** Optional. The authors of the vulnerability detection. */
|
|
477
|
+
authors?: string[];
|
|
478
|
+
/** Required. The CVE ID of the vulnerability. */
|
|
479
|
+
cveId?: string;
|
|
480
|
+
/** Required. The CVSS V3.1 score (Base score)for the vulnerability. ( ) */
|
|
481
|
+
cvssV31Score?: number;
|
|
482
|
+
/** Optional. Temporal CVSS V3.1 score for the vulnerability. */
|
|
483
|
+
cvssV31ScoreTemporal?: number;
|
|
484
|
+
/** Optional. The human readable description. This can be basic HTML formatted text. */
|
|
485
|
+
description?: string;
|
|
486
|
+
/** Optional. The date the vulnerability was first disclosed. */
|
|
487
|
+
disclosureTime?: string;
|
|
488
|
+
/** Optional. Exploitation state of the vulnerability, for example "Available". */
|
|
489
|
+
exploitationState?: string;
|
|
490
|
+
/** Required. The external ID of the vulnerability. */
|
|
491
|
+
externalVulnerabilityId?: string;
|
|
492
|
+
/** Optional. Whether this is exploited in the wild. */
|
|
493
|
+
isExploitedWild?: boolean;
|
|
494
|
+
/** Optional. Reference URLs to the vulnerability. */
|
|
495
|
+
referenceUrls?: string[];
|
|
496
|
+
/** Optional. The human readable remediation recommendation. This can be basic HTML formatted text. */
|
|
497
|
+
remediation?: string;
|
|
498
|
+
/** Optional. Risk rating for the vulnerability, for example "High". */
|
|
499
|
+
riskRating?: string;
|
|
500
|
+
/** Optional. Human readable name for the vulnerability. */
|
|
501
|
+
title?: string;
|
|
502
|
+
}
|
|
503
|
+
interface InbandVulnerabilityFindingDetail {
|
|
504
|
+
/** Optional. A short description of the proof of the vulnerability. */
|
|
505
|
+
formattedProofDetails?: string;
|
|
506
|
+
/** Optional. The URI that lead to this detection, if appropriate. */
|
|
507
|
+
requestUri?: string;
|
|
508
|
+
/** Required. Vulnerability metadata. */
|
|
509
|
+
vulnerability?: InbandVulnerability;
|
|
510
|
+
}
|
|
511
|
+
interface InitialAccessBrokerAlertDetail {
|
|
512
|
+
/** Required. Array of ids to accommodate multiple discovery documents */
|
|
513
|
+
discoveryDocumentIds?: string[];
|
|
514
|
+
/** Required. IAB specific severity */
|
|
515
|
+
severity?: string;
|
|
516
|
+
}
|
|
517
|
+
interface InitialAccessBrokerConfig {
|
|
518
|
+
/** Represents the comprehensive profile of the customer entity used for matching. */
|
|
519
|
+
entityProfile?: EntityProfile;
|
|
520
|
+
}
|
|
521
|
+
interface InitialAccessBrokerFindingDetail {
|
|
522
|
+
/** Required. The unique identifier of the document that triggered the IAB finding. This ID can be used to retrieve the content of the document for further analysis. */
|
|
523
|
+
documentId?: string;
|
|
524
|
+
/** Required. Reference to the match score of the IAB finding. This is a float value between 0 and 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. */
|
|
525
|
+
matchScore?: number;
|
|
526
|
+
/** Required. The severity of the IAB finding. This indicates the potential impact of the threat. */
|
|
527
|
+
severity?: string;
|
|
528
|
+
}
|
|
529
|
+
interface InsiderThreatAlertDetail {
|
|
530
|
+
/** Required. Array of ids to accommodate multiple discovery documents */
|
|
531
|
+
discoveryDocumentIds?: string[];
|
|
532
|
+
/** Required. InsiderThreat specific severity This will be the string representation of the InsiderThreatFindingDetail.Severityenum. (e.g., "LOW", "MEDIUM", "HIGH", "CRITICAL") */
|
|
533
|
+
severity?: string;
|
|
534
|
+
}
|
|
535
|
+
interface InsiderThreatFindingDetail {
|
|
536
|
+
/** Required. The unique identifier of the document that triggered the InsiderThreat finding. This ID can be used to retrieve the content of the document for further analysis. */
|
|
537
|
+
documentId?: string;
|
|
538
|
+
/** Required. Reference to the match score of the InsiderThreat finding. This is a float value greater than 0 and less than or equal to 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. */
|
|
539
|
+
matchScore?: number;
|
|
540
|
+
/** Required. The severity of the InsiderThreat finding. This indicates the potential impact of the threat. */
|
|
541
|
+
severity?: string;
|
|
542
|
+
}
|
|
543
|
+
interface ListAlertsResponse {
|
|
544
|
+
/** List of alerts. */
|
|
545
|
+
alerts?: Alert[];
|
|
546
|
+
/** Page token. */
|
|
547
|
+
nextPageToken?: string;
|
|
548
|
+
}
|
|
549
|
+
interface ListConfigurationRevisionsResponse {
|
|
550
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
551
|
+
nextPageToken?: string;
|
|
552
|
+
/** The Configuration Revisions associated with the specified Configuration */
|
|
553
|
+
revisions?: ConfigurationRevision[];
|
|
554
|
+
}
|
|
555
|
+
interface ListConfigurationsResponse {
|
|
556
|
+
/** List of configurations. */
|
|
557
|
+
configurations?: Configuration[];
|
|
558
|
+
/** Page token. */
|
|
559
|
+
nextPageToken?: string;
|
|
560
|
+
}
|
|
561
|
+
interface ListFindingsResponse {
|
|
562
|
+
/** List of findings. */
|
|
563
|
+
findings?: Finding[];
|
|
564
|
+
/** Page token. */
|
|
565
|
+
nextPageToken?: string;
|
|
566
|
+
}
|
|
567
|
+
interface MarkAlertAsBenignRequest {}
|
|
568
|
+
interface MarkAlertAsDuplicateRequest {
|
|
569
|
+
/** Optional. Name of the alert to mark as a duplicate of. Format: projects/{project}/alerts/{alert} */
|
|
570
|
+
duplicateOf?: string;
|
|
571
|
+
}
|
|
572
|
+
interface MarkAlertAsEscalatedRequest {}
|
|
573
|
+
interface MarkAlertAsFalsePositiveRequest {}
|
|
574
|
+
interface MarkAlertAsNotActionableRequest {}
|
|
575
|
+
interface MarkAlertAsReadRequest {}
|
|
576
|
+
interface MarkAlertAsResolvedRequest {}
|
|
577
|
+
interface MarkAlertAsTrackedExternallyRequest {}
|
|
578
|
+
interface MarkAlertAsTriagedRequest {}
|
|
579
|
+
interface MisconfigurationFindingDetail {
|
|
580
|
+
/** Required. The misconfiguration metadata. */
|
|
581
|
+
misconfigurationMetadata?: MisconfigurationMetadata;
|
|
582
|
+
}
|
|
583
|
+
interface MisconfigurationMetadata {
|
|
584
|
+
/** Optional. Description of the misconfiguration. */
|
|
585
|
+
description?: string;
|
|
586
|
+
/** Optional. A user-friendly name for the misconfiguration. */
|
|
587
|
+
displayName?: string;
|
|
588
|
+
/** Required. The identifier for the misconfiguration. This is an internal name generated by the finding provider. */
|
|
589
|
+
misconfigurationId?: string;
|
|
590
|
+
/** Optional. References to external resources that provide more information about the misconfiguration. */
|
|
591
|
+
references?: MisconfigurationReference[];
|
|
592
|
+
/** Optional. Recommended remediation steps for the misconfiguration. */
|
|
593
|
+
remediation?: string;
|
|
594
|
+
/** Optional. The endpoint which was found to have the vulnerability. */
|
|
595
|
+
vulnerableUri?: string;
|
|
596
|
+
}
|
|
597
|
+
interface MisconfigurationReference {
|
|
598
|
+
/** Required. The type of the reference (e.g., "description", "remediation"). */
|
|
599
|
+
type?: string;
|
|
600
|
+
/** Required. The URI of the reference. */
|
|
601
|
+
uri?: string;
|
|
602
|
+
}
|
|
603
|
+
interface PriorityAnalysis {
|
|
604
|
+
/** The level of confidence in the given verdict. */
|
|
605
|
+
confidence?: string;
|
|
606
|
+
/** The level of Priority. */
|
|
607
|
+
priorityLevel?: string;
|
|
608
|
+
/** Human-readable explanation from the model, detailing why a particular result is considered to have a certain priority. */
|
|
609
|
+
reasoning?: string;
|
|
610
|
+
}
|
|
611
|
+
interface RefreshAlertUriStatusRequest {}
|
|
612
|
+
interface RefreshAlertUriStatusResponse {
|
|
613
|
+
/** Output only. Status of the alert in WebRisk. */
|
|
614
|
+
state?: string;
|
|
615
|
+
}
|
|
616
|
+
interface RelevanceAnalysis {
|
|
617
|
+
/** The level of confidence in the given verdict. */
|
|
618
|
+
confidence?: string;
|
|
619
|
+
/** Evidence supporting the verdict, including matched and unmatched items. */
|
|
620
|
+
evidence?: Evidence;
|
|
621
|
+
/** Human-readable explanation from the matcher, detailing why a particular result is considered relevant or not relevant. */
|
|
622
|
+
reasoning?: string;
|
|
623
|
+
/** The level of relevance. */
|
|
624
|
+
relevanceLevel?: string;
|
|
625
|
+
/** Indicates whether the threat is considered relevant. */
|
|
626
|
+
relevant?: boolean;
|
|
627
|
+
}
|
|
628
|
+
interface ReportAlertUriRequest {}
|
|
629
|
+
interface ReportAlertUriResponse {
|
|
630
|
+
/** Output only. Status of the alert in WebRisk. */
|
|
631
|
+
state?: string;
|
|
632
|
+
}
|
|
633
|
+
interface SearchFindingsResponse {
|
|
634
|
+
/** List of findings. */
|
|
635
|
+
findings?: Finding[];
|
|
636
|
+
/** Page token. */
|
|
637
|
+
nextPageToken?: string;
|
|
638
|
+
}
|
|
639
|
+
interface SeverityAnalysis {
|
|
640
|
+
/** The level of confidence in the given verdict. */
|
|
641
|
+
confidence?: string;
|
|
642
|
+
/** Human-readable explanation from the model, detailing why a particular result is considered to have a certain severity. */
|
|
643
|
+
reasoning?: string;
|
|
644
|
+
/** The level of severity. */
|
|
645
|
+
severityLevel?: string;
|
|
646
|
+
}
|
|
647
|
+
interface SuspiciousDomainAlertDetail {
|
|
648
|
+
/** The DNS details of the suspicious domain. */
|
|
649
|
+
dns?: SuspiciousDomainDnsDetails;
|
|
650
|
+
/** Required. The suspicious domain name. */
|
|
651
|
+
domain?: string;
|
|
652
|
+
/** The GTI details of the suspicious domain. */
|
|
653
|
+
gtiDetails?: SuspiciousDomainGtiDetails;
|
|
654
|
+
/** Output only. Name of Web Risk submission operation. */
|
|
655
|
+
webRiskOperation?: string;
|
|
656
|
+
/** Output only. Status of the Web Risk submission. */
|
|
657
|
+
webRiskState?: string;
|
|
658
|
+
/** The whois details of the suspicious domain. */
|
|
659
|
+
whois?: SuspiciousDomainWhoIsDetails;
|
|
660
|
+
}
|
|
661
|
+
interface SuspiciousDomainDnsDetails {
|
|
662
|
+
/** The DNS records of the suspicious domain. */
|
|
663
|
+
dnsRecords?: SuspiciousDomainDnsRecord[];
|
|
664
|
+
/** The time the DNS details were retrieved. */
|
|
665
|
+
retrievalTime?: string;
|
|
666
|
+
}
|
|
667
|
+
interface SuspiciousDomainDnsRecord {
|
|
668
|
+
/** The name of the DNS record. */
|
|
669
|
+
record?: string;
|
|
670
|
+
/** The TTL of the DNS record. */
|
|
671
|
+
ttl?: number;
|
|
672
|
+
/** The type of the DNS record. */
|
|
673
|
+
type?: string;
|
|
674
|
+
/** The value of the DNS record. */
|
|
675
|
+
value?: string;
|
|
676
|
+
}
|
|
677
|
+
interface SuspiciousDomainFindingDetail {
|
|
678
|
+
/** The DNS details of the suspicious domain. */
|
|
679
|
+
dns?: SuspiciousDomainDnsDetails;
|
|
680
|
+
/** Required. The suspicious domain name. */
|
|
681
|
+
domain?: string;
|
|
682
|
+
/** The GTI details of the suspicious domain. */
|
|
683
|
+
gtiDetails?: SuspiciousDomainGtiDetails;
|
|
684
|
+
/** Required. Reference to the match score of the finding. This is a float value between 0 and 1 calculated by the matching engine. */
|
|
685
|
+
matchScore?: number;
|
|
686
|
+
/** Required. The severity of the finding. This indicates the potential impact of the threat. */
|
|
687
|
+
severity?: string;
|
|
688
|
+
/** The whois details of the suspicious domain. */
|
|
689
|
+
whois?: SuspiciousDomainWhoIsDetails;
|
|
690
|
+
}
|
|
691
|
+
interface SuspiciousDomainGtiDetails {
|
|
692
|
+
/** The threat score of the suspicious domain. The threat score is a number between 0 and 100. */
|
|
693
|
+
threatScore?: number;
|
|
694
|
+
/** Output only. The verdict of the suspicious domain. */
|
|
695
|
+
verdict?: string;
|
|
696
|
+
/** VirusTotal link for the domain */
|
|
697
|
+
virustotalUri?: string;
|
|
698
|
+
}
|
|
699
|
+
interface SuspiciousDomainWhoIsDetails {
|
|
700
|
+
/** The time the whois details were retrieved. */
|
|
701
|
+
retrievalTime?: string;
|
|
702
|
+
/** The whois details of the suspicious domain. */
|
|
703
|
+
whois?: string;
|
|
704
|
+
}
|
|
705
|
+
interface TargetTechnologyAlertDetail {
|
|
706
|
+
/** Output only. The vulnerability match details. */
|
|
707
|
+
vulnerabilityMatch?: VulnerabilityMatch;
|
|
708
|
+
}
|
|
709
|
+
interface TargetTechnologyFindingDetail {
|
|
710
|
+
/** Output only. The vulnerability match details. */
|
|
711
|
+
vulnerabilityMatch?: VulnerabilityMatch;
|
|
712
|
+
}
|
|
713
|
+
interface TechnologyWatchListAlertThreshold {
|
|
714
|
+
/** Optional. The minimum cvss V3 score for the alert. Ex: 7.0. Valid range is [0.0, 10.0]. */
|
|
715
|
+
cvssScoreMinimum?: number;
|
|
716
|
+
/** Optional. The minimum epss score for the alert. Ex: 0.8. Valid range is [0.0, 1.0]. */
|
|
717
|
+
epssScoreMinimum?: number;
|
|
718
|
+
/** Optional. The exploitation states of the alert. */
|
|
719
|
+
exploitationStates?: string[];
|
|
720
|
+
/** Optional. The minimum priority for the alert. */
|
|
721
|
+
priorityMinimum?: string;
|
|
722
|
+
}
|
|
723
|
+
interface TechnologyWatchListConfig {
|
|
724
|
+
/** Optional. Alert thresholds to effectively reduce noise. */
|
|
725
|
+
alertThreshold?: TechnologyWatchListAlertThreshold;
|
|
726
|
+
/** Optional. List of vendor, technology or cpe fingerprint. example: Microsoft office 360 Apache Server 3.5 cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:* */
|
|
727
|
+
technologies?: string[];
|
|
728
|
+
}
|
|
729
|
+
interface UpsertConfigurationResponse {
|
|
730
|
+
/** Output only. Created configuration ID with server assigned id. */
|
|
731
|
+
configuration?: string;
|
|
732
|
+
}
|
|
733
|
+
interface VulnerabilityMatch {
|
|
734
|
+
/** Output only. The collection ID of the vulnerability. Ex: "vulnerability--cve-2025-9876". */
|
|
735
|
+
collectionId?: string;
|
|
736
|
+
/** Output only. The CVE ID of the vulnerability. Ex: "CVE-2025-9876". See https://www.cve.org/ for more information. */
|
|
737
|
+
cveId?: string;
|
|
738
|
+
/** Output only. The CVSS v3 score of the vulnerability. Example: 6.4. */
|
|
739
|
+
cvss3Score?: number;
|
|
740
|
+
/** Output only. A description of the vulnerability. */
|
|
741
|
+
description?: string;
|
|
742
|
+
/** Output only. The exploitation state of the vulnerability. */
|
|
743
|
+
exploitationState?: string;
|
|
744
|
+
/** Output only. The risk rating of the vulnerability. */
|
|
745
|
+
riskRating?: string;
|
|
746
|
+
/** Output only. The affected technologies. Ex: "Apache Struts". */
|
|
747
|
+
technologies?: string[];
|
|
748
|
+
}
|
|
749
|
+
interface DocumentsResource {
|
|
750
|
+
/** Gets a specific document associated with an alert. */
|
|
751
|
+
get(request?: {
|
|
752
|
+
/** V1 error format. */
|
|
753
|
+
'$.xgafv'?: string;
|
|
754
|
+
/** OAuth access token. */
|
|
755
|
+
access_token?: string;
|
|
756
|
+
/** Data format for response. */
|
|
757
|
+
alt?: string;
|
|
758
|
+
/** JSONP */
|
|
759
|
+
callback?: string;
|
|
760
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
761
|
+
fields?: string;
|
|
762
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
763
|
+
key?: string;
|
|
764
|
+
/** Required. Name of the alert document to get. Format: projects/{project}/alerts/{alert}/documents/{document} */
|
|
765
|
+
name: string;
|
|
766
|
+
/** OAuth 2.0 token for the current user. */
|
|
767
|
+
oauth_token?: string;
|
|
768
|
+
/** Returns response with indentations and line breaks. */
|
|
769
|
+
prettyPrint?: boolean;
|
|
770
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
771
|
+
quotaUser?: string;
|
|
772
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
773
|
+
upload_protocol?: string;
|
|
774
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
775
|
+
uploadType?: string;
|
|
776
|
+
}): Request<AlertDocument>;
|
|
777
|
+
}
|
|
778
|
+
interface AlertsResource {
|
|
779
|
+
/** Marks an alert as benign - BENIGN. */
|
|
780
|
+
benign(request: {
|
|
781
|
+
/** V1 error format. */
|
|
782
|
+
'$.xgafv'?: string;
|
|
783
|
+
/** OAuth access token. */
|
|
784
|
+
access_token?: string;
|
|
785
|
+
/** Data format for response. */
|
|
786
|
+
alt?: string;
|
|
787
|
+
/** JSONP */
|
|
788
|
+
callback?: string;
|
|
789
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
790
|
+
fields?: string;
|
|
791
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
792
|
+
key?: string;
|
|
793
|
+
/** Required. Name of the alert to mark as a benign. Format: projects/{project}/alerts/{alert} */
|
|
794
|
+
name: string;
|
|
795
|
+
/** OAuth 2.0 token for the current user. */
|
|
796
|
+
oauth_token?: string;
|
|
797
|
+
/** Returns response with indentations and line breaks. */
|
|
798
|
+
prettyPrint?: boolean;
|
|
799
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
800
|
+
quotaUser?: string;
|
|
801
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
802
|
+
upload_protocol?: string;
|
|
803
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
804
|
+
uploadType?: string;
|
|
805
|
+
/** Request body */
|
|
806
|
+
resource: MarkAlertAsBenignRequest;
|
|
807
|
+
}): Request<Alert>;
|
|
808
|
+
benign(
|
|
809
|
+
request: {
|
|
810
|
+
/** V1 error format. */
|
|
811
|
+
'$.xgafv'?: string;
|
|
812
|
+
/** OAuth access token. */
|
|
813
|
+
access_token?: string;
|
|
814
|
+
/** Data format for response. */
|
|
815
|
+
alt?: string;
|
|
816
|
+
/** JSONP */
|
|
817
|
+
callback?: string;
|
|
818
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
819
|
+
fields?: string;
|
|
820
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
821
|
+
key?: string;
|
|
822
|
+
/** Required. Name of the alert to mark as a benign. Format: projects/{project}/alerts/{alert} */
|
|
823
|
+
name: string;
|
|
824
|
+
/** OAuth 2.0 token for the current user. */
|
|
825
|
+
oauth_token?: string;
|
|
826
|
+
/** Returns response with indentations and line breaks. */
|
|
827
|
+
prettyPrint?: boolean;
|
|
828
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
829
|
+
quotaUser?: string;
|
|
830
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
831
|
+
upload_protocol?: string;
|
|
832
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
833
|
+
uploadType?: string;
|
|
834
|
+
},
|
|
835
|
+
body: MarkAlertAsBenignRequest,
|
|
836
|
+
): Request<Alert>;
|
|
837
|
+
/** Marks an alert as a duplicate of another alert. - DUPLICATE. */
|
|
838
|
+
duplicate(request: {
|
|
839
|
+
/** V1 error format. */
|
|
840
|
+
'$.xgafv'?: string;
|
|
841
|
+
/** OAuth access token. */
|
|
842
|
+
access_token?: string;
|
|
843
|
+
/** Data format for response. */
|
|
844
|
+
alt?: string;
|
|
845
|
+
/** JSONP */
|
|
846
|
+
callback?: string;
|
|
847
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
848
|
+
fields?: string;
|
|
849
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
850
|
+
key?: string;
|
|
851
|
+
/** Required. Name of the alert to mark as a duplicate. Format: projects/{project}/alerts/{alert} */
|
|
852
|
+
name: string;
|
|
853
|
+
/** OAuth 2.0 token for the current user. */
|
|
854
|
+
oauth_token?: string;
|
|
855
|
+
/** Returns response with indentations and line breaks. */
|
|
856
|
+
prettyPrint?: boolean;
|
|
857
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
858
|
+
quotaUser?: string;
|
|
859
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
860
|
+
upload_protocol?: string;
|
|
861
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
862
|
+
uploadType?: string;
|
|
863
|
+
/** Request body */
|
|
864
|
+
resource: MarkAlertAsDuplicateRequest;
|
|
865
|
+
}): Request<Alert>;
|
|
866
|
+
duplicate(
|
|
867
|
+
request: {
|
|
868
|
+
/** V1 error format. */
|
|
869
|
+
'$.xgafv'?: string;
|
|
870
|
+
/** OAuth access token. */
|
|
871
|
+
access_token?: string;
|
|
872
|
+
/** Data format for response. */
|
|
873
|
+
alt?: string;
|
|
874
|
+
/** JSONP */
|
|
875
|
+
callback?: string;
|
|
876
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
877
|
+
fields?: string;
|
|
878
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
879
|
+
key?: string;
|
|
880
|
+
/** Required. Name of the alert to mark as a duplicate. Format: projects/{project}/alerts/{alert} */
|
|
881
|
+
name: string;
|
|
882
|
+
/** OAuth 2.0 token for the current user. */
|
|
883
|
+
oauth_token?: string;
|
|
884
|
+
/** Returns response with indentations and line breaks. */
|
|
885
|
+
prettyPrint?: boolean;
|
|
886
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
887
|
+
quotaUser?: string;
|
|
888
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
889
|
+
upload_protocol?: string;
|
|
890
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
891
|
+
uploadType?: string;
|
|
892
|
+
},
|
|
893
|
+
body: MarkAlertAsDuplicateRequest,
|
|
894
|
+
): Request<Alert>;
|
|
895
|
+
/** EnumerateAlertFacets returns the facets and the number of alerts that meet the filter criteria and have that value for each facet. */
|
|
896
|
+
enumerateFacets(request?: {
|
|
897
|
+
/** V1 error format. */
|
|
898
|
+
'$.xgafv'?: string;
|
|
899
|
+
/** OAuth access token. */
|
|
900
|
+
access_token?: string;
|
|
901
|
+
/** Data format for response. */
|
|
902
|
+
alt?: string;
|
|
903
|
+
/** JSONP */
|
|
904
|
+
callback?: string;
|
|
905
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
906
|
+
fields?: string;
|
|
907
|
+
/** Optional. Filter on what alerts will be enumerated. */
|
|
908
|
+
filter?: string;
|
|
909
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
910
|
+
key?: string;
|
|
911
|
+
/** OAuth 2.0 token for the current user. */
|
|
912
|
+
oauth_token?: string;
|
|
913
|
+
/** Required. Parent of the alerts. */
|
|
914
|
+
parent: string;
|
|
915
|
+
/** Returns response with indentations and line breaks. */
|
|
916
|
+
prettyPrint?: boolean;
|
|
917
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
918
|
+
quotaUser?: string;
|
|
919
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
920
|
+
upload_protocol?: string;
|
|
921
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
922
|
+
uploadType?: string;
|
|
923
|
+
}): Request<EnumerateAlertFacetsResponse>;
|
|
924
|
+
/** Marks an alert as escalated - ESCALATED. */
|
|
925
|
+
escalate(request: {
|
|
926
|
+
/** V1 error format. */
|
|
927
|
+
'$.xgafv'?: string;
|
|
928
|
+
/** OAuth access token. */
|
|
929
|
+
access_token?: string;
|
|
930
|
+
/** Data format for response. */
|
|
931
|
+
alt?: string;
|
|
932
|
+
/** JSONP */
|
|
933
|
+
callback?: string;
|
|
934
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
935
|
+
fields?: string;
|
|
936
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
937
|
+
key?: string;
|
|
938
|
+
/** Required. Name of the alert to mark as escalated. Format: projects/{project}/alerts/{alert} */
|
|
939
|
+
name: string;
|
|
940
|
+
/** OAuth 2.0 token for the current user. */
|
|
941
|
+
oauth_token?: string;
|
|
942
|
+
/** Returns response with indentations and line breaks. */
|
|
943
|
+
prettyPrint?: boolean;
|
|
944
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
945
|
+
quotaUser?: string;
|
|
946
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
947
|
+
upload_protocol?: string;
|
|
948
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
949
|
+
uploadType?: string;
|
|
950
|
+
/** Request body */
|
|
951
|
+
resource: MarkAlertAsEscalatedRequest;
|
|
952
|
+
}): Request<Alert>;
|
|
953
|
+
escalate(
|
|
954
|
+
request: {
|
|
955
|
+
/** V1 error format. */
|
|
956
|
+
'$.xgafv'?: string;
|
|
957
|
+
/** OAuth access token. */
|
|
958
|
+
access_token?: string;
|
|
959
|
+
/** Data format for response. */
|
|
960
|
+
alt?: string;
|
|
961
|
+
/** JSONP */
|
|
962
|
+
callback?: string;
|
|
963
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
964
|
+
fields?: string;
|
|
965
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
966
|
+
key?: string;
|
|
967
|
+
/** Required. Name of the alert to mark as escalated. Format: projects/{project}/alerts/{alert} */
|
|
968
|
+
name: string;
|
|
969
|
+
/** OAuth 2.0 token for the current user. */
|
|
970
|
+
oauth_token?: string;
|
|
971
|
+
/** Returns response with indentations and line breaks. */
|
|
972
|
+
prettyPrint?: boolean;
|
|
973
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
974
|
+
quotaUser?: string;
|
|
975
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
976
|
+
upload_protocol?: string;
|
|
977
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
978
|
+
uploadType?: string;
|
|
979
|
+
},
|
|
980
|
+
body: MarkAlertAsEscalatedRequest,
|
|
981
|
+
): Request<Alert>;
|
|
982
|
+
/** Marks an alert as a false positive - FALSE_POSITIVE. */
|
|
983
|
+
falsePositive(request: {
|
|
984
|
+
/** V1 error format. */
|
|
985
|
+
'$.xgafv'?: string;
|
|
986
|
+
/** OAuth access token. */
|
|
987
|
+
access_token?: string;
|
|
988
|
+
/** Data format for response. */
|
|
989
|
+
alt?: string;
|
|
990
|
+
/** JSONP */
|
|
991
|
+
callback?: string;
|
|
992
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
993
|
+
fields?: string;
|
|
994
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
995
|
+
key?: string;
|
|
996
|
+
/** Required. Name of the alert to mark as a false positive. Format: projects/{project}/alerts/{alert} */
|
|
997
|
+
name: string;
|
|
998
|
+
/** OAuth 2.0 token for the current user. */
|
|
999
|
+
oauth_token?: string;
|
|
1000
|
+
/** Returns response with indentations and line breaks. */
|
|
1001
|
+
prettyPrint?: boolean;
|
|
1002
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1003
|
+
quotaUser?: string;
|
|
1004
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1005
|
+
upload_protocol?: string;
|
|
1006
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1007
|
+
uploadType?: string;
|
|
1008
|
+
/** Request body */
|
|
1009
|
+
resource: MarkAlertAsFalsePositiveRequest;
|
|
1010
|
+
}): Request<Alert>;
|
|
1011
|
+
falsePositive(
|
|
1012
|
+
request: {
|
|
1013
|
+
/** V1 error format. */
|
|
1014
|
+
'$.xgafv'?: string;
|
|
1015
|
+
/** OAuth access token. */
|
|
1016
|
+
access_token?: string;
|
|
1017
|
+
/** Data format for response. */
|
|
1018
|
+
alt?: string;
|
|
1019
|
+
/** JSONP */
|
|
1020
|
+
callback?: string;
|
|
1021
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1022
|
+
fields?: string;
|
|
1023
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1024
|
+
key?: string;
|
|
1025
|
+
/** Required. Name of the alert to mark as a false positive. Format: projects/{project}/alerts/{alert} */
|
|
1026
|
+
name: string;
|
|
1027
|
+
/** OAuth 2.0 token for the current user. */
|
|
1028
|
+
oauth_token?: string;
|
|
1029
|
+
/** Returns response with indentations and line breaks. */
|
|
1030
|
+
prettyPrint?: boolean;
|
|
1031
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1032
|
+
quotaUser?: string;
|
|
1033
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1034
|
+
upload_protocol?: string;
|
|
1035
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1036
|
+
uploadType?: string;
|
|
1037
|
+
},
|
|
1038
|
+
body: MarkAlertAsFalsePositiveRequest,
|
|
1039
|
+
): Request<Alert>;
|
|
1040
|
+
/** Get an alert by name. */
|
|
1041
|
+
get(request?: {
|
|
1042
|
+
/** V1 error format. */
|
|
1043
|
+
'$.xgafv'?: string;
|
|
1044
|
+
/** OAuth access token. */
|
|
1045
|
+
access_token?: string;
|
|
1046
|
+
/** Data format for response. */
|
|
1047
|
+
alt?: string;
|
|
1048
|
+
/** JSONP */
|
|
1049
|
+
callback?: string;
|
|
1050
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1051
|
+
fields?: string;
|
|
1052
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1053
|
+
key?: string;
|
|
1054
|
+
/** Required. Name of the alert to get. Format: projects/{project}/alerts/{alert} */
|
|
1055
|
+
name: string;
|
|
1056
|
+
/** OAuth 2.0 token for the current user. */
|
|
1057
|
+
oauth_token?: string;
|
|
1058
|
+
/** Returns response with indentations and line breaks. */
|
|
1059
|
+
prettyPrint?: boolean;
|
|
1060
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1061
|
+
quotaUser?: string;
|
|
1062
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1063
|
+
upload_protocol?: string;
|
|
1064
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1065
|
+
uploadType?: string;
|
|
1066
|
+
}): Request<Alert>;
|
|
1067
|
+
/** Get a list of alerts that meet the filter criteria. */
|
|
1068
|
+
list(request?: {
|
|
1069
|
+
/** V1 error format. */
|
|
1070
|
+
'$.xgafv'?: string;
|
|
1071
|
+
/** OAuth access token. */
|
|
1072
|
+
access_token?: string;
|
|
1073
|
+
/** Data format for response. */
|
|
1074
|
+
alt?: string;
|
|
1075
|
+
/** JSONP */
|
|
1076
|
+
callback?: string;
|
|
1077
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1078
|
+
fields?: string;
|
|
1079
|
+
/** Optional. Filter criteria. */
|
|
1080
|
+
filter?: string;
|
|
1081
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1082
|
+
key?: string;
|
|
1083
|
+
/** OAuth 2.0 token for the current user. */
|
|
1084
|
+
oauth_token?: string;
|
|
1085
|
+
/** Optional. Order by criteria in the csv format: "field1,field2 desc" or "field1,field2" or "field1 asc, field2". */
|
|
1086
|
+
orderBy?: string;
|
|
1087
|
+
/** Optional. Page size. */
|
|
1088
|
+
pageSize?: number;
|
|
1089
|
+
/** Optional. Page token. */
|
|
1090
|
+
pageToken?: string;
|
|
1091
|
+
/** Required. Parent of the alerts. Format: projects/{project} */
|
|
1092
|
+
parent: string;
|
|
1093
|
+
/** Returns response with indentations and line breaks. */
|
|
1094
|
+
prettyPrint?: boolean;
|
|
1095
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1096
|
+
quotaUser?: string;
|
|
1097
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1098
|
+
upload_protocol?: string;
|
|
1099
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1100
|
+
uploadType?: string;
|
|
1101
|
+
}): Request<ListAlertsResponse>;
|
|
1102
|
+
/** Marks an alert as not actionable - NOT_ACTIONABLE. */
|
|
1103
|
+
notActionable(request: {
|
|
1104
|
+
/** V1 error format. */
|
|
1105
|
+
'$.xgafv'?: string;
|
|
1106
|
+
/** OAuth access token. */
|
|
1107
|
+
access_token?: string;
|
|
1108
|
+
/** Data format for response. */
|
|
1109
|
+
alt?: string;
|
|
1110
|
+
/** JSONP */
|
|
1111
|
+
callback?: string;
|
|
1112
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1113
|
+
fields?: string;
|
|
1114
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1115
|
+
key?: string;
|
|
1116
|
+
/** Required. Name of the alert to mark as a not actionable. Format: projects/{project}/alerts/{alert} */
|
|
1117
|
+
name: string;
|
|
1118
|
+
/** OAuth 2.0 token for the current user. */
|
|
1119
|
+
oauth_token?: string;
|
|
1120
|
+
/** Returns response with indentations and line breaks. */
|
|
1121
|
+
prettyPrint?: boolean;
|
|
1122
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1123
|
+
quotaUser?: string;
|
|
1124
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1125
|
+
upload_protocol?: string;
|
|
1126
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1127
|
+
uploadType?: string;
|
|
1128
|
+
/** Request body */
|
|
1129
|
+
resource: MarkAlertAsNotActionableRequest;
|
|
1130
|
+
}): Request<Alert>;
|
|
1131
|
+
notActionable(
|
|
1132
|
+
request: {
|
|
1133
|
+
/** V1 error format. */
|
|
1134
|
+
'$.xgafv'?: string;
|
|
1135
|
+
/** OAuth access token. */
|
|
1136
|
+
access_token?: string;
|
|
1137
|
+
/** Data format for response. */
|
|
1138
|
+
alt?: string;
|
|
1139
|
+
/** JSONP */
|
|
1140
|
+
callback?: string;
|
|
1141
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1142
|
+
fields?: string;
|
|
1143
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1144
|
+
key?: string;
|
|
1145
|
+
/** Required. Name of the alert to mark as a not actionable. Format: projects/{project}/alerts/{alert} */
|
|
1146
|
+
name: string;
|
|
1147
|
+
/** OAuth 2.0 token for the current user. */
|
|
1148
|
+
oauth_token?: string;
|
|
1149
|
+
/** Returns response with indentations and line breaks. */
|
|
1150
|
+
prettyPrint?: boolean;
|
|
1151
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1152
|
+
quotaUser?: string;
|
|
1153
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1154
|
+
upload_protocol?: string;
|
|
1155
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1156
|
+
uploadType?: string;
|
|
1157
|
+
},
|
|
1158
|
+
body: MarkAlertAsNotActionableRequest,
|
|
1159
|
+
): Request<Alert>;
|
|
1160
|
+
/** Marks an alert as read - READ. */
|
|
1161
|
+
read(request: {
|
|
1162
|
+
/** V1 error format. */
|
|
1163
|
+
'$.xgafv'?: string;
|
|
1164
|
+
/** OAuth access token. */
|
|
1165
|
+
access_token?: string;
|
|
1166
|
+
/** Data format for response. */
|
|
1167
|
+
alt?: string;
|
|
1168
|
+
/** JSONP */
|
|
1169
|
+
callback?: string;
|
|
1170
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1171
|
+
fields?: string;
|
|
1172
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1173
|
+
key?: string;
|
|
1174
|
+
/** Required. Name of the alert to mark as read. Format: projects/{project}/alerts/{alert} */
|
|
1175
|
+
name: string;
|
|
1176
|
+
/** OAuth 2.0 token for the current user. */
|
|
1177
|
+
oauth_token?: string;
|
|
1178
|
+
/** Returns response with indentations and line breaks. */
|
|
1179
|
+
prettyPrint?: boolean;
|
|
1180
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1181
|
+
quotaUser?: string;
|
|
1182
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1183
|
+
upload_protocol?: string;
|
|
1184
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1185
|
+
uploadType?: string;
|
|
1186
|
+
/** Request body */
|
|
1187
|
+
resource: MarkAlertAsReadRequest;
|
|
1188
|
+
}): Request<Alert>;
|
|
1189
|
+
read(
|
|
1190
|
+
request: {
|
|
1191
|
+
/** V1 error format. */
|
|
1192
|
+
'$.xgafv'?: string;
|
|
1193
|
+
/** OAuth access token. */
|
|
1194
|
+
access_token?: string;
|
|
1195
|
+
/** Data format for response. */
|
|
1196
|
+
alt?: string;
|
|
1197
|
+
/** JSONP */
|
|
1198
|
+
callback?: string;
|
|
1199
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1200
|
+
fields?: string;
|
|
1201
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1202
|
+
key?: string;
|
|
1203
|
+
/** Required. Name of the alert to mark as read. Format: projects/{project}/alerts/{alert} */
|
|
1204
|
+
name: string;
|
|
1205
|
+
/** OAuth 2.0 token for the current user. */
|
|
1206
|
+
oauth_token?: string;
|
|
1207
|
+
/** Returns response with indentations and line breaks. */
|
|
1208
|
+
prettyPrint?: boolean;
|
|
1209
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1210
|
+
quotaUser?: string;
|
|
1211
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1212
|
+
upload_protocol?: string;
|
|
1213
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1214
|
+
uploadType?: string;
|
|
1215
|
+
},
|
|
1216
|
+
body: MarkAlertAsReadRequest,
|
|
1217
|
+
): Request<Alert>;
|
|
1218
|
+
/** Return the status of a URI submitted to Google WebRisk. */
|
|
1219
|
+
refreshUriStatus(request: {
|
|
1220
|
+
/** V1 error format. */
|
|
1221
|
+
'$.xgafv'?: string;
|
|
1222
|
+
/** OAuth access token. */
|
|
1223
|
+
access_token?: string;
|
|
1224
|
+
/** Data format for response. */
|
|
1225
|
+
alt?: string;
|
|
1226
|
+
/** JSONP */
|
|
1227
|
+
callback?: string;
|
|
1228
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1229
|
+
fields?: string;
|
|
1230
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1231
|
+
key?: string;
|
|
1232
|
+
/** Required. Name of alert to refresh status from WebRisk */
|
|
1233
|
+
name: string;
|
|
1234
|
+
/** OAuth 2.0 token for the current user. */
|
|
1235
|
+
oauth_token?: string;
|
|
1236
|
+
/** Returns response with indentations and line breaks. */
|
|
1237
|
+
prettyPrint?: boolean;
|
|
1238
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1239
|
+
quotaUser?: string;
|
|
1240
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1241
|
+
upload_protocol?: string;
|
|
1242
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1243
|
+
uploadType?: string;
|
|
1244
|
+
/** Request body */
|
|
1245
|
+
resource: RefreshAlertUriStatusRequest;
|
|
1246
|
+
}): Request<RefreshAlertUriStatusResponse>;
|
|
1247
|
+
refreshUriStatus(
|
|
1248
|
+
request: {
|
|
1249
|
+
/** V1 error format. */
|
|
1250
|
+
'$.xgafv'?: string;
|
|
1251
|
+
/** OAuth access token. */
|
|
1252
|
+
access_token?: string;
|
|
1253
|
+
/** Data format for response. */
|
|
1254
|
+
alt?: string;
|
|
1255
|
+
/** JSONP */
|
|
1256
|
+
callback?: string;
|
|
1257
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1258
|
+
fields?: string;
|
|
1259
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1260
|
+
key?: string;
|
|
1261
|
+
/** Required. Name of alert to refresh status from WebRisk */
|
|
1262
|
+
name: string;
|
|
1263
|
+
/** OAuth 2.0 token for the current user. */
|
|
1264
|
+
oauth_token?: string;
|
|
1265
|
+
/** Returns response with indentations and line breaks. */
|
|
1266
|
+
prettyPrint?: boolean;
|
|
1267
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1268
|
+
quotaUser?: string;
|
|
1269
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1270
|
+
upload_protocol?: string;
|
|
1271
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1272
|
+
uploadType?: string;
|
|
1273
|
+
},
|
|
1274
|
+
body: RefreshAlertUriStatusRequest,
|
|
1275
|
+
): Request<RefreshAlertUriStatusResponse>;
|
|
1276
|
+
/** Report the URI associated with an alert to Google WebRisk. */
|
|
1277
|
+
reportAlertUri(request: {
|
|
1278
|
+
/** V1 error format. */
|
|
1279
|
+
'$.xgafv'?: string;
|
|
1280
|
+
/** OAuth access token. */
|
|
1281
|
+
access_token?: string;
|
|
1282
|
+
/** Data format for response. */
|
|
1283
|
+
alt?: string;
|
|
1284
|
+
/** JSONP */
|
|
1285
|
+
callback?: string;
|
|
1286
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1287
|
+
fields?: string;
|
|
1288
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1289
|
+
key?: string;
|
|
1290
|
+
/** Required. Name of alert to submit to WebRisk. */
|
|
1291
|
+
name: string;
|
|
1292
|
+
/** OAuth 2.0 token for the current user. */
|
|
1293
|
+
oauth_token?: string;
|
|
1294
|
+
/** Returns response with indentations and line breaks. */
|
|
1295
|
+
prettyPrint?: boolean;
|
|
1296
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1297
|
+
quotaUser?: string;
|
|
1298
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1299
|
+
upload_protocol?: string;
|
|
1300
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1301
|
+
uploadType?: string;
|
|
1302
|
+
/** Request body */
|
|
1303
|
+
resource: ReportAlertUriRequest;
|
|
1304
|
+
}): Request<ReportAlertUriResponse>;
|
|
1305
|
+
reportAlertUri(
|
|
1306
|
+
request: {
|
|
1307
|
+
/** V1 error format. */
|
|
1308
|
+
'$.xgafv'?: string;
|
|
1309
|
+
/** OAuth access token. */
|
|
1310
|
+
access_token?: string;
|
|
1311
|
+
/** Data format for response. */
|
|
1312
|
+
alt?: string;
|
|
1313
|
+
/** JSONP */
|
|
1314
|
+
callback?: string;
|
|
1315
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1316
|
+
fields?: string;
|
|
1317
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1318
|
+
key?: string;
|
|
1319
|
+
/** Required. Name of alert to submit to WebRisk. */
|
|
1320
|
+
name: string;
|
|
1321
|
+
/** OAuth 2.0 token for the current user. */
|
|
1322
|
+
oauth_token?: string;
|
|
1323
|
+
/** Returns response with indentations and line breaks. */
|
|
1324
|
+
prettyPrint?: boolean;
|
|
1325
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1326
|
+
quotaUser?: string;
|
|
1327
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1328
|
+
upload_protocol?: string;
|
|
1329
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1330
|
+
uploadType?: string;
|
|
1331
|
+
},
|
|
1332
|
+
body: ReportAlertUriRequest,
|
|
1333
|
+
): Request<ReportAlertUriResponse>;
|
|
1334
|
+
/** Marks an alert to closed state - RESOLVED. */
|
|
1335
|
+
resolve(request: {
|
|
1336
|
+
/** V1 error format. */
|
|
1337
|
+
'$.xgafv'?: string;
|
|
1338
|
+
/** OAuth access token. */
|
|
1339
|
+
access_token?: string;
|
|
1340
|
+
/** Data format for response. */
|
|
1341
|
+
alt?: string;
|
|
1342
|
+
/** JSONP */
|
|
1343
|
+
callback?: string;
|
|
1344
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1345
|
+
fields?: string;
|
|
1346
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1347
|
+
key?: string;
|
|
1348
|
+
/** Required. Name of the alert to mark as resolved. Format: projects/{project}/alerts/{alert} */
|
|
1349
|
+
name: string;
|
|
1350
|
+
/** OAuth 2.0 token for the current user. */
|
|
1351
|
+
oauth_token?: string;
|
|
1352
|
+
/** Returns response with indentations and line breaks. */
|
|
1353
|
+
prettyPrint?: boolean;
|
|
1354
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1355
|
+
quotaUser?: string;
|
|
1356
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1357
|
+
upload_protocol?: string;
|
|
1358
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1359
|
+
uploadType?: string;
|
|
1360
|
+
/** Request body */
|
|
1361
|
+
resource: MarkAlertAsResolvedRequest;
|
|
1362
|
+
}): Request<Alert>;
|
|
1363
|
+
resolve(
|
|
1364
|
+
request: {
|
|
1365
|
+
/** V1 error format. */
|
|
1366
|
+
'$.xgafv'?: string;
|
|
1367
|
+
/** OAuth access token. */
|
|
1368
|
+
access_token?: string;
|
|
1369
|
+
/** Data format for response. */
|
|
1370
|
+
alt?: string;
|
|
1371
|
+
/** JSONP */
|
|
1372
|
+
callback?: string;
|
|
1373
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1374
|
+
fields?: string;
|
|
1375
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1376
|
+
key?: string;
|
|
1377
|
+
/** Required. Name of the alert to mark as resolved. Format: projects/{project}/alerts/{alert} */
|
|
1378
|
+
name: string;
|
|
1379
|
+
/** OAuth 2.0 token for the current user. */
|
|
1380
|
+
oauth_token?: string;
|
|
1381
|
+
/** Returns response with indentations and line breaks. */
|
|
1382
|
+
prettyPrint?: boolean;
|
|
1383
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1384
|
+
quotaUser?: string;
|
|
1385
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1386
|
+
upload_protocol?: string;
|
|
1387
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1388
|
+
uploadType?: string;
|
|
1389
|
+
},
|
|
1390
|
+
body: MarkAlertAsResolvedRequest,
|
|
1391
|
+
): Request<Alert>;
|
|
1392
|
+
/** Marks an alert as tracked externally - TRACKED_EXTERNALLY. */
|
|
1393
|
+
trackExternally(request: {
|
|
1394
|
+
/** V1 error format. */
|
|
1395
|
+
'$.xgafv'?: string;
|
|
1396
|
+
/** OAuth access token. */
|
|
1397
|
+
access_token?: string;
|
|
1398
|
+
/** Data format for response. */
|
|
1399
|
+
alt?: string;
|
|
1400
|
+
/** JSONP */
|
|
1401
|
+
callback?: string;
|
|
1402
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1403
|
+
fields?: string;
|
|
1404
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1405
|
+
key?: string;
|
|
1406
|
+
/** Required. Name of the alert to mark as tracked externally. Format: projects/{project}/alerts/{alert} */
|
|
1407
|
+
name: string;
|
|
1408
|
+
/** OAuth 2.0 token for the current user. */
|
|
1409
|
+
oauth_token?: string;
|
|
1410
|
+
/** Returns response with indentations and line breaks. */
|
|
1411
|
+
prettyPrint?: boolean;
|
|
1412
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1413
|
+
quotaUser?: string;
|
|
1414
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1415
|
+
upload_protocol?: string;
|
|
1416
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1417
|
+
uploadType?: string;
|
|
1418
|
+
/** Request body */
|
|
1419
|
+
resource: MarkAlertAsTrackedExternallyRequest;
|
|
1420
|
+
}): Request<Alert>;
|
|
1421
|
+
trackExternally(
|
|
1422
|
+
request: {
|
|
1423
|
+
/** V1 error format. */
|
|
1424
|
+
'$.xgafv'?: string;
|
|
1425
|
+
/** OAuth access token. */
|
|
1426
|
+
access_token?: string;
|
|
1427
|
+
/** Data format for response. */
|
|
1428
|
+
alt?: string;
|
|
1429
|
+
/** JSONP */
|
|
1430
|
+
callback?: string;
|
|
1431
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1432
|
+
fields?: string;
|
|
1433
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1434
|
+
key?: string;
|
|
1435
|
+
/** Required. Name of the alert to mark as tracked externally. Format: projects/{project}/alerts/{alert} */
|
|
1436
|
+
name: string;
|
|
1437
|
+
/** OAuth 2.0 token for the current user. */
|
|
1438
|
+
oauth_token?: string;
|
|
1439
|
+
/** Returns response with indentations and line breaks. */
|
|
1440
|
+
prettyPrint?: boolean;
|
|
1441
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1442
|
+
quotaUser?: string;
|
|
1443
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1444
|
+
upload_protocol?: string;
|
|
1445
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1446
|
+
uploadType?: string;
|
|
1447
|
+
},
|
|
1448
|
+
body: MarkAlertAsTrackedExternallyRequest,
|
|
1449
|
+
): Request<Alert>;
|
|
1450
|
+
/** Marks an alert as triaged - TRIAGED. */
|
|
1451
|
+
triage(request: {
|
|
1452
|
+
/** V1 error format. */
|
|
1453
|
+
'$.xgafv'?: string;
|
|
1454
|
+
/** OAuth access token. */
|
|
1455
|
+
access_token?: string;
|
|
1456
|
+
/** Data format for response. */
|
|
1457
|
+
alt?: string;
|
|
1458
|
+
/** JSONP */
|
|
1459
|
+
callback?: string;
|
|
1460
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1461
|
+
fields?: string;
|
|
1462
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1463
|
+
key?: string;
|
|
1464
|
+
/** Required. Name of the alert to mark as a triaged. Format: projects/{project}/alerts/{alert} */
|
|
1465
|
+
name: string;
|
|
1466
|
+
/** OAuth 2.0 token for the current user. */
|
|
1467
|
+
oauth_token?: string;
|
|
1468
|
+
/** Returns response with indentations and line breaks. */
|
|
1469
|
+
prettyPrint?: boolean;
|
|
1470
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1471
|
+
quotaUser?: string;
|
|
1472
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1473
|
+
upload_protocol?: string;
|
|
1474
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1475
|
+
uploadType?: string;
|
|
1476
|
+
/** Request body */
|
|
1477
|
+
resource: MarkAlertAsTriagedRequest;
|
|
1478
|
+
}): Request<Alert>;
|
|
1479
|
+
triage(
|
|
1480
|
+
request: {
|
|
1481
|
+
/** V1 error format. */
|
|
1482
|
+
'$.xgafv'?: string;
|
|
1483
|
+
/** OAuth access token. */
|
|
1484
|
+
access_token?: string;
|
|
1485
|
+
/** Data format for response. */
|
|
1486
|
+
alt?: string;
|
|
1487
|
+
/** JSONP */
|
|
1488
|
+
callback?: string;
|
|
1489
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1490
|
+
fields?: string;
|
|
1491
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1492
|
+
key?: string;
|
|
1493
|
+
/** Required. Name of the alert to mark as a triaged. Format: projects/{project}/alerts/{alert} */
|
|
1494
|
+
name: string;
|
|
1495
|
+
/** OAuth 2.0 token for the current user. */
|
|
1496
|
+
oauth_token?: string;
|
|
1497
|
+
/** Returns response with indentations and line breaks. */
|
|
1498
|
+
prettyPrint?: boolean;
|
|
1499
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1500
|
+
quotaUser?: string;
|
|
1501
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1502
|
+
upload_protocol?: string;
|
|
1503
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1504
|
+
uploadType?: string;
|
|
1505
|
+
},
|
|
1506
|
+
body: MarkAlertAsTriagedRequest,
|
|
1507
|
+
): Request<Alert>;
|
|
1508
|
+
documents: DocumentsResource;
|
|
1509
|
+
}
|
|
1510
|
+
interface RevisionsResource {
|
|
1511
|
+
/** List configuration revisions that meet the filter criteria. */
|
|
1512
|
+
list(request?: {
|
|
1513
|
+
/** V1 error format. */
|
|
1514
|
+
'$.xgafv'?: string;
|
|
1515
|
+
/** OAuth access token. */
|
|
1516
|
+
access_token?: string;
|
|
1517
|
+
/** Data format for response. */
|
|
1518
|
+
alt?: string;
|
|
1519
|
+
/** JSONP */
|
|
1520
|
+
callback?: string;
|
|
1521
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1522
|
+
fields?: string;
|
|
1523
|
+
/** Optional. An AIP-160 filter string */
|
|
1524
|
+
filter?: string;
|
|
1525
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1526
|
+
key?: string;
|
|
1527
|
+
/** OAuth 2.0 token for the current user. */
|
|
1528
|
+
oauth_token?: string;
|
|
1529
|
+
/** Optional. Specify ordering of response */
|
|
1530
|
+
orderBy?: string;
|
|
1531
|
+
/** Optional. Page Size */
|
|
1532
|
+
pageSize?: number;
|
|
1533
|
+
/** Optional. A page token provided by the API */
|
|
1534
|
+
pageToken?: string;
|
|
1535
|
+
/** Required. The name of the Configuration to retrieve Revisions for */
|
|
1536
|
+
parent: string;
|
|
1537
|
+
/** Returns response with indentations and line breaks. */
|
|
1538
|
+
prettyPrint?: boolean;
|
|
1539
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1540
|
+
quotaUser?: string;
|
|
1541
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1542
|
+
upload_protocol?: string;
|
|
1543
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1544
|
+
uploadType?: string;
|
|
1545
|
+
}): Request<ListConfigurationRevisionsResponse>;
|
|
1546
|
+
}
|
|
1547
|
+
interface ConfigurationsResource {
|
|
1548
|
+
/** Get a configuration by name. */
|
|
1549
|
+
get(request?: {
|
|
1550
|
+
/** V1 error format. */
|
|
1551
|
+
'$.xgafv'?: string;
|
|
1552
|
+
/** OAuth access token. */
|
|
1553
|
+
access_token?: string;
|
|
1554
|
+
/** Data format for response. */
|
|
1555
|
+
alt?: string;
|
|
1556
|
+
/** JSONP */
|
|
1557
|
+
callback?: string;
|
|
1558
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1559
|
+
fields?: string;
|
|
1560
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1561
|
+
key?: string;
|
|
1562
|
+
/** Required. Name of the configuration to get. Format: vaults/{vault}/configurations/{configuration} */
|
|
1563
|
+
name: string;
|
|
1564
|
+
/** OAuth 2.0 token for the current user. */
|
|
1565
|
+
oauth_token?: string;
|
|
1566
|
+
/** Returns response with indentations and line breaks. */
|
|
1567
|
+
prettyPrint?: boolean;
|
|
1568
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1569
|
+
quotaUser?: string;
|
|
1570
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1571
|
+
upload_protocol?: string;
|
|
1572
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1573
|
+
uploadType?: string;
|
|
1574
|
+
}): Request<Configuration>;
|
|
1575
|
+
/** Get a list of configurations that meet the filter criteria. */
|
|
1576
|
+
list(request?: {
|
|
1577
|
+
/** V1 error format. */
|
|
1578
|
+
'$.xgafv'?: string;
|
|
1579
|
+
/** OAuth access token. */
|
|
1580
|
+
access_token?: string;
|
|
1581
|
+
/** Data format for response. */
|
|
1582
|
+
alt?: string;
|
|
1583
|
+
/** JSONP */
|
|
1584
|
+
callback?: string;
|
|
1585
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1586
|
+
fields?: string;
|
|
1587
|
+
/** Optional. Filter criteria. */
|
|
1588
|
+
filter?: string;
|
|
1589
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1590
|
+
key?: string;
|
|
1591
|
+
/** OAuth 2.0 token for the current user. */
|
|
1592
|
+
oauth_token?: string;
|
|
1593
|
+
/** Optional. Order by criteria in the csv format: "field1,field2 desc" or "field1,field2" or "field1 asc, field2". */
|
|
1594
|
+
orderBy?: string;
|
|
1595
|
+
/** Optional. Page size. */
|
|
1596
|
+
pageSize?: number;
|
|
1597
|
+
/** Optional. Page token. */
|
|
1598
|
+
pageToken?: string;
|
|
1599
|
+
/** Required. Parent of the configuration. Format: vaults/{vault} */
|
|
1600
|
+
parent: string;
|
|
1601
|
+
/** Returns response with indentations and line breaks. */
|
|
1602
|
+
prettyPrint?: boolean;
|
|
1603
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1604
|
+
quotaUser?: string;
|
|
1605
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1606
|
+
upload_protocol?: string;
|
|
1607
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1608
|
+
uploadType?: string;
|
|
1609
|
+
}): Request<ListConfigurationsResponse>;
|
|
1610
|
+
/** Creates or updates a configuration. */
|
|
1611
|
+
upsert(request: {
|
|
1612
|
+
/** V1 error format. */
|
|
1613
|
+
'$.xgafv'?: string;
|
|
1614
|
+
/** OAuth access token. */
|
|
1615
|
+
access_token?: string;
|
|
1616
|
+
/** Data format for response. */
|
|
1617
|
+
alt?: string;
|
|
1618
|
+
/** JSONP */
|
|
1619
|
+
callback?: string;
|
|
1620
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1621
|
+
fields?: string;
|
|
1622
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1623
|
+
key?: string;
|
|
1624
|
+
/** OAuth 2.0 token for the current user. */
|
|
1625
|
+
oauth_token?: string;
|
|
1626
|
+
/** Required. Parent of the configuration. */
|
|
1627
|
+
parent: string;
|
|
1628
|
+
/** Returns response with indentations and line breaks. */
|
|
1629
|
+
prettyPrint?: boolean;
|
|
1630
|
+
/** Optional. Time that the configuration should be considered to have been published. This is an advanced feature used when onboarding and bulk loading data from other systems. Do not set this field without consulting with the API team. */
|
|
1631
|
+
publishTime?: string;
|
|
1632
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1633
|
+
quotaUser?: string;
|
|
1634
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1635
|
+
upload_protocol?: string;
|
|
1636
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1637
|
+
uploadType?: string;
|
|
1638
|
+
/** Request body */
|
|
1639
|
+
resource: Configuration;
|
|
1640
|
+
}): Request<UpsertConfigurationResponse>;
|
|
1641
|
+
upsert(
|
|
1642
|
+
request: {
|
|
1643
|
+
/** V1 error format. */
|
|
1644
|
+
'$.xgafv'?: string;
|
|
1645
|
+
/** OAuth access token. */
|
|
1646
|
+
access_token?: string;
|
|
1647
|
+
/** Data format for response. */
|
|
1648
|
+
alt?: string;
|
|
1649
|
+
/** JSONP */
|
|
1650
|
+
callback?: string;
|
|
1651
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1652
|
+
fields?: string;
|
|
1653
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1654
|
+
key?: string;
|
|
1655
|
+
/** OAuth 2.0 token for the current user. */
|
|
1656
|
+
oauth_token?: string;
|
|
1657
|
+
/** Required. Parent of the configuration. */
|
|
1658
|
+
parent: string;
|
|
1659
|
+
/** Returns response with indentations and line breaks. */
|
|
1660
|
+
prettyPrint?: boolean;
|
|
1661
|
+
/** Optional. Time that the configuration should be considered to have been published. This is an advanced feature used when onboarding and bulk loading data from other systems. Do not set this field without consulting with the API team. */
|
|
1662
|
+
publishTime?: string;
|
|
1663
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1664
|
+
quotaUser?: string;
|
|
1665
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1666
|
+
upload_protocol?: string;
|
|
1667
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1668
|
+
uploadType?: string;
|
|
1669
|
+
},
|
|
1670
|
+
body: Configuration,
|
|
1671
|
+
): Request<UpsertConfigurationResponse>;
|
|
1672
|
+
revisions: RevisionsResource;
|
|
1673
|
+
}
|
|
1674
|
+
interface FindingsResource {
|
|
1675
|
+
/** Get a finding by name. */
|
|
1676
|
+
get(request?: {
|
|
1677
|
+
/** V1 error format. */
|
|
1678
|
+
'$.xgafv'?: string;
|
|
1679
|
+
/** OAuth access token. */
|
|
1680
|
+
access_token?: string;
|
|
1681
|
+
/** Data format for response. */
|
|
1682
|
+
alt?: string;
|
|
1683
|
+
/** JSONP */
|
|
1684
|
+
callback?: string;
|
|
1685
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1686
|
+
fields?: string;
|
|
1687
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1688
|
+
key?: string;
|
|
1689
|
+
/** Required. Name of the finding to get. */
|
|
1690
|
+
name: string;
|
|
1691
|
+
/** OAuth 2.0 token for the current user. */
|
|
1692
|
+
oauth_token?: string;
|
|
1693
|
+
/** Returns response with indentations and line breaks. */
|
|
1694
|
+
prettyPrint?: boolean;
|
|
1695
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1696
|
+
quotaUser?: string;
|
|
1697
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1698
|
+
upload_protocol?: string;
|
|
1699
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1700
|
+
uploadType?: string;
|
|
1701
|
+
}): Request<Finding>;
|
|
1702
|
+
/** Get a list of findings that meet the filter criteria. */
|
|
1703
|
+
list(request?: {
|
|
1704
|
+
/** V1 error format. */
|
|
1705
|
+
'$.xgafv'?: string;
|
|
1706
|
+
/** OAuth access token. */
|
|
1707
|
+
access_token?: string;
|
|
1708
|
+
/** Data format for response. */
|
|
1709
|
+
alt?: string;
|
|
1710
|
+
/** JSONP */
|
|
1711
|
+
callback?: string;
|
|
1712
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1713
|
+
fields?: string;
|
|
1714
|
+
/** Optional. Filter criteria. */
|
|
1715
|
+
filter?: string;
|
|
1716
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1717
|
+
key?: string;
|
|
1718
|
+
/** OAuth 2.0 token for the current user. */
|
|
1719
|
+
oauth_token?: string;
|
|
1720
|
+
/** Optional. Order by criteria in the csv format: "field1,field2 desc" or "field1,field2" or "field1 asc, field2". */
|
|
1721
|
+
orderBy?: string;
|
|
1722
|
+
/** Optional. Page size. */
|
|
1723
|
+
pageSize?: number;
|
|
1724
|
+
/** Optional. Page token. */
|
|
1725
|
+
pageToken?: string;
|
|
1726
|
+
/** Required. Parent of the findings. */
|
|
1727
|
+
parent: string;
|
|
1728
|
+
/** Returns response with indentations and line breaks. */
|
|
1729
|
+
prettyPrint?: boolean;
|
|
1730
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1731
|
+
quotaUser?: string;
|
|
1732
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1733
|
+
upload_protocol?: string;
|
|
1734
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1735
|
+
uploadType?: string;
|
|
1736
|
+
}): Request<ListFindingsResponse>;
|
|
1737
|
+
/** SearchFindings is a more powerful version of ListFindings that supports complex queries like "findings for issues" using functions such as `has_issue` and `has_asset` in the query string. Example to search for findings for a specific issue: `has_issue("name=\"vaults/vault-12345/issues/issue-12345\"")`) */
|
|
1738
|
+
search(request?: {
|
|
1739
|
+
/** V1 error format. */
|
|
1740
|
+
'$.xgafv'?: string;
|
|
1741
|
+
/** OAuth access token. */
|
|
1742
|
+
access_token?: string;
|
|
1743
|
+
/** Data format for response. */
|
|
1744
|
+
alt?: string;
|
|
1745
|
+
/** JSONP */
|
|
1746
|
+
callback?: string;
|
|
1747
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1748
|
+
fields?: string;
|
|
1749
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1750
|
+
key?: string;
|
|
1751
|
+
/** OAuth 2.0 token for the current user. */
|
|
1752
|
+
oauth_token?: string;
|
|
1753
|
+
/** Optional. Order by criteria in the csv format: "field1,field2 desc" or "field1,field2" or "field1 asc, field2". */
|
|
1754
|
+
orderBy?: string;
|
|
1755
|
+
/** Optional. Page size. */
|
|
1756
|
+
pageSize?: number;
|
|
1757
|
+
/** Optional. Page token. */
|
|
1758
|
+
pageToken?: string;
|
|
1759
|
+
/** Required. Parent of the findings. Format: vaults/{vault} */
|
|
1760
|
+
parent: string;
|
|
1761
|
+
/** Returns response with indentations and line breaks. */
|
|
1762
|
+
prettyPrint?: boolean;
|
|
1763
|
+
/** Optional. Query on what findings will be returned. This supports the same filter criteria as FindingService.ListFindings as well as the following relationship queries `has_issue` and `has_asset`. Examples: - has_issue("name=\"vaults/vault-12345/issues/issue-12345\"") - has_asset("name=\"vaults/vault-12345/assets/asset-12345\"") */
|
|
1764
|
+
query?: string;
|
|
1765
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1766
|
+
quotaUser?: string;
|
|
1767
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1768
|
+
upload_protocol?: string;
|
|
1769
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1770
|
+
uploadType?: string;
|
|
1771
|
+
}): Request<SearchFindingsResponse>;
|
|
1772
|
+
}
|
|
1773
|
+
interface ProjectsResource {
|
|
1774
|
+
alerts: AlertsResource;
|
|
1775
|
+
configurations: ConfigurationsResource;
|
|
1776
|
+
findings: FindingsResource;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
const projects: ProjectsResource;
|
|
1780
|
+
}
|
|
1781
|
+
}
|