@aws-sdk/client-codeguru-security 3.687.0 → 3.691.0
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.
|
@@ -16,12 +16,12 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
16
16
|
* <p>The identifier for the resource you don't have access to.</p>
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
resourceId?: string;
|
|
19
|
+
resourceId?: string | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* <p>The type of resource you don't have access to.</p>
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
|
-
resourceType?: string;
|
|
24
|
+
resourceType?: string | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* @internal
|
|
27
27
|
*/
|
|
@@ -37,27 +37,27 @@ export interface FindingMetricsValuePerSeverity {
|
|
|
37
37
|
* <p>A numeric value corresponding to an informational finding.</p>
|
|
38
38
|
* @public
|
|
39
39
|
*/
|
|
40
|
-
info?: number;
|
|
40
|
+
info?: number | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* <p>A numeric value corresponding to a low severity finding.</p>
|
|
43
43
|
* @public
|
|
44
44
|
*/
|
|
45
|
-
low?: number;
|
|
45
|
+
low?: number | undefined;
|
|
46
46
|
/**
|
|
47
47
|
* <p>A numeric value corresponding to a medium severity finding.</p>
|
|
48
48
|
* @public
|
|
49
49
|
*/
|
|
50
|
-
medium?: number;
|
|
50
|
+
medium?: number | undefined;
|
|
51
51
|
/**
|
|
52
52
|
* <p>A numeric value corresponding to a high severity finding.</p>
|
|
53
53
|
* @public
|
|
54
54
|
*/
|
|
55
|
-
high?: number;
|
|
55
|
+
high?: number | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* <p>A numeric value corresponding to a critical finding.</p>
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
|
-
critical?: number;
|
|
60
|
+
critical?: number | undefined;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* <p>A summary of findings metrics for an account on a specified date.</p>
|
|
@@ -68,28 +68,28 @@ export interface AccountFindingsMetric {
|
|
|
68
68
|
* <p>The date from which the findings metrics were retrieved.</p>
|
|
69
69
|
* @public
|
|
70
70
|
*/
|
|
71
|
-
date?: Date;
|
|
71
|
+
date?: Date | undefined;
|
|
72
72
|
/**
|
|
73
73
|
* <p>The number of new findings of each severity on the specified date.</p>
|
|
74
74
|
* @public
|
|
75
75
|
*/
|
|
76
|
-
newFindings?: FindingMetricsValuePerSeverity;
|
|
76
|
+
newFindings?: FindingMetricsValuePerSeverity | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* <p>The number of closed findings of each severity on the specified date.</p>
|
|
79
79
|
* @public
|
|
80
80
|
*/
|
|
81
|
-
closedFindings?: FindingMetricsValuePerSeverity;
|
|
81
|
+
closedFindings?: FindingMetricsValuePerSeverity | undefined;
|
|
82
82
|
/**
|
|
83
83
|
* <p>The number of open findings of each severity as of the specified date.</p>
|
|
84
84
|
* @public
|
|
85
85
|
*/
|
|
86
|
-
openFindings?: FindingMetricsValuePerSeverity;
|
|
86
|
+
openFindings?: FindingMetricsValuePerSeverity | undefined;
|
|
87
87
|
/**
|
|
88
88
|
* <p>The average time in days it takes to close findings of each severity as of a specified
|
|
89
89
|
* date.</p>
|
|
90
90
|
* @public
|
|
91
91
|
*/
|
|
92
|
-
meanTimeToClose?: FindingMetricsValuePerSeverity;
|
|
92
|
+
meanTimeToClose?: FindingMetricsValuePerSeverity | undefined;
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
95
|
* @public
|
|
@@ -181,12 +181,12 @@ export interface Recommendation {
|
|
|
181
181
|
* <p>The recommended course of action to remediate the finding.</p>
|
|
182
182
|
* @public
|
|
183
183
|
*/
|
|
184
|
-
text?: string;
|
|
184
|
+
text?: string | undefined;
|
|
185
185
|
/**
|
|
186
186
|
* <p>The URL address to the recommendation for remediating the finding. </p>
|
|
187
187
|
* @public
|
|
188
188
|
*/
|
|
189
|
-
url?: string;
|
|
189
|
+
url?: string | undefined;
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
192
|
* <p>Information about the suggested code fix to remediate a finding.</p>
|
|
@@ -197,12 +197,12 @@ export interface SuggestedFix {
|
|
|
197
197
|
* <p>A description of the suggested code fix and why it is being suggested. </p>
|
|
198
198
|
* @public
|
|
199
199
|
*/
|
|
200
|
-
description?: string;
|
|
200
|
+
description?: string | undefined;
|
|
201
201
|
/**
|
|
202
202
|
* <p>The suggested code fix. If applicable, includes code patch to replace your source code. </p>
|
|
203
203
|
* @public
|
|
204
204
|
*/
|
|
205
|
-
code?: string;
|
|
205
|
+
code?: string | undefined;
|
|
206
206
|
}
|
|
207
207
|
/**
|
|
208
208
|
* <p>Information about how to remediate a finding.</p>
|
|
@@ -213,13 +213,13 @@ export interface Remediation {
|
|
|
213
213
|
* <p>An object that contains information about the recommended course of action to remediate a finding.</p>
|
|
214
214
|
* @public
|
|
215
215
|
*/
|
|
216
|
-
recommendation?: Recommendation;
|
|
216
|
+
recommendation?: Recommendation | undefined;
|
|
217
217
|
/**
|
|
218
218
|
* <p>A list of <code>SuggestedFix</code> objects. Each object contains information about a suggested code
|
|
219
219
|
* fix to remediate the finding.</p>
|
|
220
220
|
* @public
|
|
221
221
|
*/
|
|
222
|
-
suggestedFixes?: SuggestedFix[];
|
|
222
|
+
suggestedFixes?: SuggestedFix[] | undefined;
|
|
223
223
|
}
|
|
224
224
|
/**
|
|
225
225
|
* <p>Information about a resource that contains a finding.</p>
|
|
@@ -230,12 +230,12 @@ export interface Resource {
|
|
|
230
230
|
* <p>The <code>scanName</code> of the scan that was run on the resource.</p>
|
|
231
231
|
* @public
|
|
232
232
|
*/
|
|
233
|
-
id?: string;
|
|
233
|
+
id?: string | undefined;
|
|
234
234
|
/**
|
|
235
235
|
* <p>The identifier for a section of the resource.</p>
|
|
236
236
|
* @public
|
|
237
237
|
*/
|
|
238
|
-
subResourceId?: string;
|
|
238
|
+
subResourceId?: string | undefined;
|
|
239
239
|
}
|
|
240
240
|
/**
|
|
241
241
|
* @public
|
|
@@ -274,12 +274,12 @@ export interface CodeLine {
|
|
|
274
274
|
* <p>The code line number.</p>
|
|
275
275
|
* @public
|
|
276
276
|
*/
|
|
277
|
-
number?: number;
|
|
277
|
+
number?: number | undefined;
|
|
278
278
|
/**
|
|
279
279
|
* <p>The code that contains a vulnerability.</p>
|
|
280
280
|
* @public
|
|
281
281
|
*/
|
|
282
|
-
content?: string;
|
|
282
|
+
content?: string | undefined;
|
|
283
283
|
}
|
|
284
284
|
/**
|
|
285
285
|
* <p>Information about the location of security vulnerabilities that Amazon CodeGuru Security
|
|
@@ -291,29 +291,29 @@ export interface FilePath {
|
|
|
291
291
|
* <p>The name of the file.</p>
|
|
292
292
|
* @public
|
|
293
293
|
*/
|
|
294
|
-
name?: string;
|
|
294
|
+
name?: string | undefined;
|
|
295
295
|
/**
|
|
296
296
|
* <p>The path to the resource with the security vulnerability.</p>
|
|
297
297
|
* @public
|
|
298
298
|
*/
|
|
299
|
-
path?: string;
|
|
299
|
+
path?: string | undefined;
|
|
300
300
|
/**
|
|
301
301
|
* <p>The first line number of the code snippet where the security vulnerability appears in your code.</p>
|
|
302
302
|
* @public
|
|
303
303
|
*/
|
|
304
|
-
startLine?: number;
|
|
304
|
+
startLine?: number | undefined;
|
|
305
305
|
/**
|
|
306
306
|
* <p>The last line number of the code snippet where the security vulnerability appears in your
|
|
307
307
|
* code.</p>
|
|
308
308
|
* @public
|
|
309
309
|
*/
|
|
310
|
-
endLine?: number;
|
|
310
|
+
endLine?: number | undefined;
|
|
311
311
|
/**
|
|
312
312
|
* <p>A list of <code>CodeLine</code> objects that describe where the security vulnerability
|
|
313
313
|
* appears in your code.</p>
|
|
314
314
|
* @public
|
|
315
315
|
*/
|
|
316
|
-
codeSnippet?: CodeLine[];
|
|
316
|
+
codeSnippet?: CodeLine[] | undefined;
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
319
319
|
* <p>Information about a security vulnerability that Amazon CodeGuru Security detected.</p>
|
|
@@ -324,30 +324,30 @@ export interface Vulnerability {
|
|
|
324
324
|
* <p>One or more URL addresses that contain details about a vulnerability.</p>
|
|
325
325
|
* @public
|
|
326
326
|
*/
|
|
327
|
-
referenceUrls?: string[];
|
|
327
|
+
referenceUrls?: string[] | undefined;
|
|
328
328
|
/**
|
|
329
329
|
* <p>One or more vulnerabilities that are related to the vulnerability being described.</p>
|
|
330
330
|
* @public
|
|
331
331
|
*/
|
|
332
|
-
relatedVulnerabilities?: string[];
|
|
332
|
+
relatedVulnerabilities?: string[] | undefined;
|
|
333
333
|
/**
|
|
334
334
|
* <p>The identifier for the vulnerability.</p>
|
|
335
335
|
* @public
|
|
336
336
|
*/
|
|
337
|
-
id?: string;
|
|
337
|
+
id?: string | undefined;
|
|
338
338
|
/**
|
|
339
339
|
* <p> An object that describes the location of the detected security vulnerability in your
|
|
340
340
|
* code.</p>
|
|
341
341
|
* @public
|
|
342
342
|
*/
|
|
343
|
-
filePath?: FilePath;
|
|
343
|
+
filePath?: FilePath | undefined;
|
|
344
344
|
/**
|
|
345
345
|
* @deprecated
|
|
346
346
|
*
|
|
347
347
|
* <p>The number of times the vulnerability appears in your code.</p>
|
|
348
348
|
* @public
|
|
349
349
|
*/
|
|
350
|
-
itemCount?: number;
|
|
350
|
+
itemCount?: number | undefined;
|
|
351
351
|
}
|
|
352
352
|
/**
|
|
353
353
|
* <p>Information about a finding that was detected in your code.</p>
|
|
@@ -358,48 +358,48 @@ export interface Finding {
|
|
|
358
358
|
* <p>The time when the finding was created.</p>
|
|
359
359
|
* @public
|
|
360
360
|
*/
|
|
361
|
-
createdAt?: Date;
|
|
361
|
+
createdAt?: Date | undefined;
|
|
362
362
|
/**
|
|
363
363
|
* <p>A description of the finding.</p>
|
|
364
364
|
* @public
|
|
365
365
|
*/
|
|
366
|
-
description?: string;
|
|
366
|
+
description?: string | undefined;
|
|
367
367
|
/**
|
|
368
368
|
* <p>The identifier for the component that generated a finding such as AmazonCodeGuruSecurity.</p>
|
|
369
369
|
* @public
|
|
370
370
|
*/
|
|
371
|
-
generatorId?: string;
|
|
371
|
+
generatorId?: string | undefined;
|
|
372
372
|
/**
|
|
373
373
|
* <p>The identifier for a finding.</p>
|
|
374
374
|
* @public
|
|
375
375
|
*/
|
|
376
|
-
id?: string;
|
|
376
|
+
id?: string | undefined;
|
|
377
377
|
/**
|
|
378
378
|
* <p>The time when the finding was last updated. Findings are updated when you remediate them
|
|
379
379
|
* or when the finding code location changes. </p>
|
|
380
380
|
* @public
|
|
381
381
|
*/
|
|
382
|
-
updatedAt?: Date;
|
|
382
|
+
updatedAt?: Date | undefined;
|
|
383
383
|
/**
|
|
384
384
|
* <p>The type of finding. </p>
|
|
385
385
|
* @public
|
|
386
386
|
*/
|
|
387
|
-
type?: string;
|
|
387
|
+
type?: string | undefined;
|
|
388
388
|
/**
|
|
389
389
|
* <p>The status of the finding. A finding status can be open or closed. </p>
|
|
390
390
|
* @public
|
|
391
391
|
*/
|
|
392
|
-
status?: Status;
|
|
392
|
+
status?: Status | undefined;
|
|
393
393
|
/**
|
|
394
394
|
* <p>The resource where Amazon CodeGuru Security detected a finding.</p>
|
|
395
395
|
* @public
|
|
396
396
|
*/
|
|
397
|
-
resource?: Resource;
|
|
397
|
+
resource?: Resource | undefined;
|
|
398
398
|
/**
|
|
399
399
|
* <p>An object that describes the detected security vulnerability.</p>
|
|
400
400
|
* @public
|
|
401
401
|
*/
|
|
402
|
-
vulnerability?: Vulnerability;
|
|
402
|
+
vulnerability?: Vulnerability | undefined;
|
|
403
403
|
/**
|
|
404
404
|
* <p>The severity of the finding. Severity can be critical, high, medium, low, or
|
|
405
405
|
* informational. For information on severity levels, see
|
|
@@ -407,40 +407,40 @@ export interface Finding {
|
|
|
407
407
|
* <i>Amazon CodeGuru Security User Guide</i>.</p>
|
|
408
408
|
* @public
|
|
409
409
|
*/
|
|
410
|
-
severity?: Severity;
|
|
410
|
+
severity?: Severity | undefined;
|
|
411
411
|
/**
|
|
412
412
|
* <p>An object that contains the details about how to remediate a finding.</p>
|
|
413
413
|
* @public
|
|
414
414
|
*/
|
|
415
|
-
remediation?: Remediation;
|
|
415
|
+
remediation?: Remediation | undefined;
|
|
416
416
|
/**
|
|
417
417
|
* <p>The title of the finding.</p>
|
|
418
418
|
* @public
|
|
419
419
|
*/
|
|
420
|
-
title?: string;
|
|
420
|
+
title?: string | undefined;
|
|
421
421
|
/**
|
|
422
422
|
* <p>One or more tags or categorizations that are associated with a detector. These tags are
|
|
423
423
|
* defined by type, programming language, or other classification such as maintainability or
|
|
424
424
|
* consistency.</p>
|
|
425
425
|
* @public
|
|
426
426
|
*/
|
|
427
|
-
detectorTags?: string[];
|
|
427
|
+
detectorTags?: string[] | undefined;
|
|
428
428
|
/**
|
|
429
429
|
* <p>The identifier for the detector that detected the finding in your code. A detector is a
|
|
430
430
|
* defined rule based on industry standards and AWS best practices. </p>
|
|
431
431
|
* @public
|
|
432
432
|
*/
|
|
433
|
-
detectorId?: string;
|
|
433
|
+
detectorId?: string | undefined;
|
|
434
434
|
/**
|
|
435
435
|
* <p>The name of the detector that identified the security vulnerability in your code. </p>
|
|
436
436
|
* @public
|
|
437
437
|
*/
|
|
438
|
-
detectorName?: string;
|
|
438
|
+
detectorName?: string | undefined;
|
|
439
439
|
/**
|
|
440
440
|
* <p>The identifier for the rule that generated the finding.</p>
|
|
441
441
|
* @public
|
|
442
442
|
*/
|
|
443
|
-
ruleId?: string;
|
|
443
|
+
ruleId?: string | undefined;
|
|
444
444
|
}
|
|
445
445
|
/**
|
|
446
446
|
* @public
|
|
@@ -471,7 +471,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
471
471
|
* <p>The internal error encountered by the server.</p>
|
|
472
472
|
* @public
|
|
473
473
|
*/
|
|
474
|
-
error?: string;
|
|
474
|
+
error?: string | undefined;
|
|
475
475
|
/**
|
|
476
476
|
* @internal
|
|
477
477
|
*/
|
|
@@ -496,12 +496,12 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
496
496
|
* <p>The identifier for the originating service.</p>
|
|
497
497
|
* @public
|
|
498
498
|
*/
|
|
499
|
-
serviceCode?: string;
|
|
499
|
+
serviceCode?: string | undefined;
|
|
500
500
|
/**
|
|
501
501
|
* <p>The identifier for the originating quota.</p>
|
|
502
502
|
* @public
|
|
503
503
|
*/
|
|
504
|
-
quotaCode?: string;
|
|
504
|
+
quotaCode?: string | undefined;
|
|
505
505
|
/**
|
|
506
506
|
* @internal
|
|
507
507
|
*/
|
|
@@ -559,7 +559,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
559
559
|
* <p>The field that caused the error, if applicable.</p>
|
|
560
560
|
* @public
|
|
561
561
|
*/
|
|
562
|
-
fieldList?: ValidationExceptionField[];
|
|
562
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
563
563
|
/**
|
|
564
564
|
* @internal
|
|
565
565
|
*/
|
|
@@ -647,7 +647,7 @@ export interface CreateScanRequest {
|
|
|
647
647
|
* the accidental creation of duplicate scans if there are failures and retries.</p>
|
|
648
648
|
* @public
|
|
649
649
|
*/
|
|
650
|
-
clientToken?: string;
|
|
650
|
+
clientToken?: string | undefined;
|
|
651
651
|
/**
|
|
652
652
|
* <p>The identifier for the resource object to be scanned.</p>
|
|
653
653
|
* @public
|
|
@@ -668,7 +668,7 @@ export interface CreateScanRequest {
|
|
|
668
668
|
* and use the full set of detectors to analyze your code.</p>
|
|
669
669
|
* @public
|
|
670
670
|
*/
|
|
671
|
-
scanType?: ScanType;
|
|
671
|
+
scanType?: ScanType | undefined;
|
|
672
672
|
/**
|
|
673
673
|
* <p>The type of analysis you want CodeGuru Security to perform in the scan, either
|
|
674
674
|
* <code>Security</code> or <code>All</code>. The <code>Security</code> type only generates
|
|
@@ -676,7 +676,7 @@ export interface CreateScanRequest {
|
|
|
676
676
|
* quality findings. Defaults to <code>Security</code> type if missing.</p>
|
|
677
677
|
* @public
|
|
678
678
|
*/
|
|
679
|
-
analysisType?: AnalysisType;
|
|
679
|
+
analysisType?: AnalysisType | undefined;
|
|
680
680
|
/**
|
|
681
681
|
* <p>An array of key-value pairs used to tag a scan. A tag is a custom attribute
|
|
682
682
|
* label with two parts:</p>
|
|
@@ -693,7 +693,7 @@ export interface CreateScanRequest {
|
|
|
693
693
|
* </ul>
|
|
694
694
|
* @public
|
|
695
695
|
*/
|
|
696
|
-
tags?: Record<string, string
|
|
696
|
+
tags?: Record<string, string> | undefined;
|
|
697
697
|
}
|
|
698
698
|
/**
|
|
699
699
|
* @public
|
|
@@ -737,7 +737,7 @@ export interface CreateScanResponse {
|
|
|
737
737
|
* <p>The ARN for the scan name.</p>
|
|
738
738
|
* @public
|
|
739
739
|
*/
|
|
740
|
-
scanNameArn?: string;
|
|
740
|
+
scanNameArn?: string | undefined;
|
|
741
741
|
}
|
|
742
742
|
/**
|
|
743
743
|
* <p>The resource specified in the request was not found.</p>
|
|
@@ -817,7 +817,7 @@ export interface EncryptionConfig {
|
|
|
817
817
|
* returns empty.</p>
|
|
818
818
|
* @public
|
|
819
819
|
*/
|
|
820
|
-
kmsKeyArn?: string;
|
|
820
|
+
kmsKeyArn?: string | undefined;
|
|
821
821
|
}
|
|
822
822
|
/**
|
|
823
823
|
* @public
|
|
@@ -847,7 +847,7 @@ export interface GetFindingsRequest {
|
|
|
847
847
|
* returned from the previous request to continue listing results after the first page.</p>
|
|
848
848
|
* @public
|
|
849
849
|
*/
|
|
850
|
-
nextToken?: string;
|
|
850
|
+
nextToken?: string | undefined;
|
|
851
851
|
/**
|
|
852
852
|
* <p>The maximum number of results to return in the response. Use this parameter when
|
|
853
853
|
* paginating results. If additional results exist beyond the number you specify, the <code>nextToken</code>
|
|
@@ -855,13 +855,13 @@ export interface GetFindingsRequest {
|
|
|
855
855
|
* additional results. If not specified, returns 1000 results.</p>
|
|
856
856
|
* @public
|
|
857
857
|
*/
|
|
858
|
-
maxResults?: number;
|
|
858
|
+
maxResults?: number | undefined;
|
|
859
859
|
/**
|
|
860
860
|
* <p>The status of the findings you want to get. Pass either <code>Open</code>,
|
|
861
861
|
* <code>Closed</code>, or <code>All</code>.</p>
|
|
862
862
|
* @public
|
|
863
863
|
*/
|
|
864
|
-
status?: Status;
|
|
864
|
+
status?: Status | undefined;
|
|
865
865
|
}
|
|
866
866
|
/**
|
|
867
867
|
* @public
|
|
@@ -871,13 +871,13 @@ export interface GetFindingsResponse {
|
|
|
871
871
|
* <p>A list of findings generated by the specified scan.</p>
|
|
872
872
|
* @public
|
|
873
873
|
*/
|
|
874
|
-
findings?: Finding[];
|
|
874
|
+
findings?: Finding[] | undefined;
|
|
875
875
|
/**
|
|
876
876
|
* <p>A pagination token. You can use this in future calls to <code>GetFindings</code> to continue listing
|
|
877
877
|
* results after the current page. </p>
|
|
878
878
|
* @public
|
|
879
879
|
*/
|
|
880
|
-
nextToken?: string;
|
|
880
|
+
nextToken?: string | undefined;
|
|
881
881
|
}
|
|
882
882
|
/**
|
|
883
883
|
* @public
|
|
@@ -900,12 +900,12 @@ export interface CategoryWithFindingNum {
|
|
|
900
900
|
* detected the finding.</p>
|
|
901
901
|
* @public
|
|
902
902
|
*/
|
|
903
|
-
categoryName?: string;
|
|
903
|
+
categoryName?: string | undefined;
|
|
904
904
|
/**
|
|
905
905
|
* <p>The number of open findings in the category.</p>
|
|
906
906
|
* @public
|
|
907
907
|
*/
|
|
908
|
-
findingNumber?: number;
|
|
908
|
+
findingNumber?: number | undefined;
|
|
909
909
|
}
|
|
910
910
|
/**
|
|
911
911
|
* <p>Information about the number of findings generated by a scan.</p>
|
|
@@ -916,12 +916,12 @@ export interface ScanNameWithFindingNum {
|
|
|
916
916
|
* <p>The name of the scan.</p>
|
|
917
917
|
* @public
|
|
918
918
|
*/
|
|
919
|
-
scanName?: string;
|
|
919
|
+
scanName?: string | undefined;
|
|
920
920
|
/**
|
|
921
921
|
* <p>The number of findings generated by a scan.</p>
|
|
922
922
|
* @public
|
|
923
923
|
*/
|
|
924
|
-
findingNumber?: number;
|
|
924
|
+
findingNumber?: number | undefined;
|
|
925
925
|
}
|
|
926
926
|
/**
|
|
927
927
|
* <p>A summary of metrics for an account as of a specified date.</p>
|
|
@@ -932,30 +932,30 @@ export interface MetricsSummary {
|
|
|
932
932
|
* <p>The date from which the metrics summary information was retrieved.</p>
|
|
933
933
|
* @public
|
|
934
934
|
*/
|
|
935
|
-
date?: Date;
|
|
935
|
+
date?: Date | undefined;
|
|
936
936
|
/**
|
|
937
937
|
* <p>The number of open findings of each severity.</p>
|
|
938
938
|
* @public
|
|
939
939
|
*/
|
|
940
|
-
openFindings?: FindingMetricsValuePerSeverity;
|
|
940
|
+
openFindings?: FindingMetricsValuePerSeverity | undefined;
|
|
941
941
|
/**
|
|
942
942
|
* <p>A list of <code>CategoryWithFindingNum</code> objects for the top 5 finding categories
|
|
943
943
|
* with the most findings.</p>
|
|
944
944
|
* @public
|
|
945
945
|
*/
|
|
946
|
-
categoriesWithMostFindings?: CategoryWithFindingNum[];
|
|
946
|
+
categoriesWithMostFindings?: CategoryWithFindingNum[] | undefined;
|
|
947
947
|
/**
|
|
948
948
|
* <p>A list of <code>ScanNameWithFindingNum</code> objects for the top 3 scans with the most
|
|
949
949
|
* number of open findings.</p>
|
|
950
950
|
* @public
|
|
951
951
|
*/
|
|
952
|
-
scansWithMostOpenFindings?: ScanNameWithFindingNum[];
|
|
952
|
+
scansWithMostOpenFindings?: ScanNameWithFindingNum[] | undefined;
|
|
953
953
|
/**
|
|
954
954
|
* <p>A list of <code>ScanNameWithFindingNum</code> objects for the top 3 scans with the most
|
|
955
955
|
* number of open critical findings.</p>
|
|
956
956
|
* @public
|
|
957
957
|
*/
|
|
958
|
-
scansWithMostOpenCriticalFindings?: ScanNameWithFindingNum[];
|
|
958
|
+
scansWithMostOpenCriticalFindings?: ScanNameWithFindingNum[] | undefined;
|
|
959
959
|
}
|
|
960
960
|
/**
|
|
961
961
|
* @public
|
|
@@ -965,7 +965,7 @@ export interface GetMetricsSummaryResponse {
|
|
|
965
965
|
* <p>The summary metrics from the specified date.</p>
|
|
966
966
|
* @public
|
|
967
967
|
*/
|
|
968
|
-
metricsSummary?: MetricsSummary;
|
|
968
|
+
metricsSummary?: MetricsSummary | undefined;
|
|
969
969
|
}
|
|
970
970
|
/**
|
|
971
971
|
* @public
|
|
@@ -981,7 +981,7 @@ export interface GetScanRequest {
|
|
|
981
981
|
* this when you call the <code>CreateScan</code> operation. Defaults to the latest scan run if missing.</p>
|
|
982
982
|
* @public
|
|
983
983
|
*/
|
|
984
|
-
runId?: string;
|
|
984
|
+
runId?: string | undefined;
|
|
985
985
|
}
|
|
986
986
|
/**
|
|
987
987
|
* @public
|
|
@@ -1020,22 +1020,22 @@ export interface GetScanResponse {
|
|
|
1020
1020
|
* <p>The time when the scan was last updated. Only available for <code>STANDARD</code> scan types.</p>
|
|
1021
1021
|
* @public
|
|
1022
1022
|
*/
|
|
1023
|
-
updatedAt?: Date;
|
|
1023
|
+
updatedAt?: Date | undefined;
|
|
1024
1024
|
/**
|
|
1025
1025
|
* <p>The number of times a scan has been re-run on a revised resource.</p>
|
|
1026
1026
|
* @public
|
|
1027
1027
|
*/
|
|
1028
|
-
numberOfRevisions?: number;
|
|
1028
|
+
numberOfRevisions?: number | undefined;
|
|
1029
1029
|
/**
|
|
1030
1030
|
* <p>The ARN for the scan name.</p>
|
|
1031
1031
|
* @public
|
|
1032
1032
|
*/
|
|
1033
|
-
scanNameArn?: string;
|
|
1033
|
+
scanNameArn?: string | undefined;
|
|
1034
1034
|
/**
|
|
1035
1035
|
* <p>Details about the error that causes a scan to fail to be retrieved.</p>
|
|
1036
1036
|
* @public
|
|
1037
1037
|
*/
|
|
1038
|
-
errorMessage?: string;
|
|
1038
|
+
errorMessage?: string | undefined;
|
|
1039
1039
|
}
|
|
1040
1040
|
/**
|
|
1041
1041
|
* @public
|
|
@@ -1048,7 +1048,7 @@ export interface ListFindingsMetricsRequest {
|
|
|
1048
1048
|
* page.</p>
|
|
1049
1049
|
* @public
|
|
1050
1050
|
*/
|
|
1051
|
-
nextToken?: string;
|
|
1051
|
+
nextToken?: string | undefined;
|
|
1052
1052
|
/**
|
|
1053
1053
|
* <p>The maximum number of results to return in the response. Use this parameter when
|
|
1054
1054
|
* paginating results. If additional results exist beyond the number you specify, the <code>nextToken</code>
|
|
@@ -1056,7 +1056,7 @@ export interface ListFindingsMetricsRequest {
|
|
|
1056
1056
|
* additional results. If not specified, returns 1000 results.</p>
|
|
1057
1057
|
* @public
|
|
1058
1058
|
*/
|
|
1059
|
-
maxResults?: number;
|
|
1059
|
+
maxResults?: number | undefined;
|
|
1060
1060
|
/**
|
|
1061
1061
|
* <p>The start date of the interval which you want to retrieve metrics from. Rounds to the
|
|
1062
1062
|
* nearest day.</p>
|
|
@@ -1078,13 +1078,13 @@ export interface ListFindingsMetricsResponse {
|
|
|
1078
1078
|
* <p>A list of <code>AccountFindingsMetric</code> objects retrieved from the specified time interval.</p>
|
|
1079
1079
|
* @public
|
|
1080
1080
|
*/
|
|
1081
|
-
findingsMetrics?: AccountFindingsMetric[];
|
|
1081
|
+
findingsMetrics?: AccountFindingsMetric[] | undefined;
|
|
1082
1082
|
/**
|
|
1083
1083
|
* <p>A pagination token. You can use this in future calls to <code>ListFindingMetrics</code> to continue
|
|
1084
1084
|
* listing results after the current page. </p>
|
|
1085
1085
|
* @public
|
|
1086
1086
|
*/
|
|
1087
|
-
nextToken?: string;
|
|
1087
|
+
nextToken?: string | undefined;
|
|
1088
1088
|
}
|
|
1089
1089
|
/**
|
|
1090
1090
|
* @public
|
|
@@ -1096,7 +1096,7 @@ export interface ListScansRequest {
|
|
|
1096
1096
|
* returned from the previous request to continue listing results after the first page.</p>
|
|
1097
1097
|
* @public
|
|
1098
1098
|
*/
|
|
1099
|
-
nextToken?: string;
|
|
1099
|
+
nextToken?: string | undefined;
|
|
1100
1100
|
/**
|
|
1101
1101
|
* <p>The maximum number of results to return in the response. Use this parameter when
|
|
1102
1102
|
* paginating results. If additional results exist beyond the number you specify, the <code>nextToken</code>
|
|
@@ -1104,7 +1104,7 @@ export interface ListScansRequest {
|
|
|
1104
1104
|
* additional results. If not specified, returns 100 results.</p>
|
|
1105
1105
|
* @public
|
|
1106
1106
|
*/
|
|
1107
|
-
maxResults?: number;
|
|
1107
|
+
maxResults?: number | undefined;
|
|
1108
1108
|
}
|
|
1109
1109
|
/**
|
|
1110
1110
|
* <p>Information about a scan. </p>
|
|
@@ -1126,7 +1126,7 @@ export interface ScanSummary {
|
|
|
1126
1126
|
* <p>The time the scan was last updated. A scan is updated when it is re-run.</p>
|
|
1127
1127
|
* @public
|
|
1128
1128
|
*/
|
|
1129
|
-
updatedAt?: Date;
|
|
1129
|
+
updatedAt?: Date | undefined;
|
|
1130
1130
|
/**
|
|
1131
1131
|
* <p>The name of the scan. </p>
|
|
1132
1132
|
* @public
|
|
@@ -1141,7 +1141,7 @@ export interface ScanSummary {
|
|
|
1141
1141
|
* <p>The ARN for the scan name.</p>
|
|
1142
1142
|
* @public
|
|
1143
1143
|
*/
|
|
1144
|
-
scanNameArn?: string;
|
|
1144
|
+
scanNameArn?: string | undefined;
|
|
1145
1145
|
}
|
|
1146
1146
|
/**
|
|
1147
1147
|
* @public
|
|
@@ -1151,13 +1151,13 @@ export interface ListScansResponse {
|
|
|
1151
1151
|
* <p>A list of <code>ScanSummary</code> objects with information about all scans in an account.</p>
|
|
1152
1152
|
* @public
|
|
1153
1153
|
*/
|
|
1154
|
-
summaries?: ScanSummary[];
|
|
1154
|
+
summaries?: ScanSummary[] | undefined;
|
|
1155
1155
|
/**
|
|
1156
1156
|
* <p>A pagination token. You can use this in future calls to <code>ListScans</code> to continue listing
|
|
1157
1157
|
* results after the current page.</p>
|
|
1158
1158
|
* @public
|
|
1159
1159
|
*/
|
|
1160
|
-
nextToken?: string;
|
|
1160
|
+
nextToken?: string | undefined;
|
|
1161
1161
|
}
|
|
1162
1162
|
/**
|
|
1163
1163
|
* @public
|
|
@@ -1190,7 +1190,7 @@ export interface ListTagsForResourceResponse {
|
|
|
1190
1190
|
* </ul>
|
|
1191
1191
|
* @public
|
|
1192
1192
|
*/
|
|
1193
|
-
tags?: Record<string, string
|
|
1193
|
+
tags?: Record<string, string> | undefined;
|
|
1194
1194
|
}
|
|
1195
1195
|
/**
|
|
1196
1196
|
* @public
|
|
@@ -4,25 +4,25 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
6
|
errorCode: string | undefined;
|
|
7
|
-
resourceId?: string;
|
|
8
|
-
resourceType?: string;
|
|
7
|
+
resourceId?: string | undefined;
|
|
8
|
+
resourceType?: string | undefined;
|
|
9
9
|
constructor(
|
|
10
10
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
11
11
|
);
|
|
12
12
|
}
|
|
13
13
|
export interface FindingMetricsValuePerSeverity {
|
|
14
|
-
info?: number;
|
|
15
|
-
low?: number;
|
|
16
|
-
medium?: number;
|
|
17
|
-
high?: number;
|
|
18
|
-
critical?: number;
|
|
14
|
+
info?: number | undefined;
|
|
15
|
+
low?: number | undefined;
|
|
16
|
+
medium?: number | undefined;
|
|
17
|
+
high?: number | undefined;
|
|
18
|
+
critical?: number | undefined;
|
|
19
19
|
}
|
|
20
20
|
export interface AccountFindingsMetric {
|
|
21
|
-
date?: Date;
|
|
22
|
-
newFindings?: FindingMetricsValuePerSeverity;
|
|
23
|
-
closedFindings?: FindingMetricsValuePerSeverity;
|
|
24
|
-
openFindings?: FindingMetricsValuePerSeverity;
|
|
25
|
-
meanTimeToClose?: FindingMetricsValuePerSeverity;
|
|
21
|
+
date?: Date | undefined;
|
|
22
|
+
newFindings?: FindingMetricsValuePerSeverity | undefined;
|
|
23
|
+
closedFindings?: FindingMetricsValuePerSeverity | undefined;
|
|
24
|
+
openFindings?: FindingMetricsValuePerSeverity | undefined;
|
|
25
|
+
meanTimeToClose?: FindingMetricsValuePerSeverity | undefined;
|
|
26
26
|
}
|
|
27
27
|
export declare const AnalysisType: {
|
|
28
28
|
readonly ALL: "All";
|
|
@@ -51,20 +51,20 @@ export interface BatchGetFindingsError {
|
|
|
51
51
|
message: string | undefined;
|
|
52
52
|
}
|
|
53
53
|
export interface Recommendation {
|
|
54
|
-
text?: string;
|
|
55
|
-
url?: string;
|
|
54
|
+
text?: string | undefined;
|
|
55
|
+
url?: string | undefined;
|
|
56
56
|
}
|
|
57
57
|
export interface SuggestedFix {
|
|
58
|
-
description?: string;
|
|
59
|
-
code?: string;
|
|
58
|
+
description?: string | undefined;
|
|
59
|
+
code?: string | undefined;
|
|
60
60
|
}
|
|
61
61
|
export interface Remediation {
|
|
62
|
-
recommendation?: Recommendation;
|
|
63
|
-
suggestedFixes?: SuggestedFix[];
|
|
62
|
+
recommendation?: Recommendation | undefined;
|
|
63
|
+
suggestedFixes?: SuggestedFix[] | undefined;
|
|
64
64
|
}
|
|
65
65
|
export interface Resource {
|
|
66
|
-
id?: string;
|
|
67
|
-
subResourceId?: string;
|
|
66
|
+
id?: string | undefined;
|
|
67
|
+
subResourceId?: string | undefined;
|
|
68
68
|
}
|
|
69
69
|
export declare const Severity: {
|
|
70
70
|
readonly CRITICAL: "Critical";
|
|
@@ -81,40 +81,40 @@ export declare const Status: {
|
|
|
81
81
|
};
|
|
82
82
|
export type Status = (typeof Status)[keyof typeof Status];
|
|
83
83
|
export interface CodeLine {
|
|
84
|
-
number?: number;
|
|
85
|
-
content?: string;
|
|
84
|
+
number?: number | undefined;
|
|
85
|
+
content?: string | undefined;
|
|
86
86
|
}
|
|
87
87
|
export interface FilePath {
|
|
88
|
-
name?: string;
|
|
89
|
-
path?: string;
|
|
90
|
-
startLine?: number;
|
|
91
|
-
endLine?: number;
|
|
92
|
-
codeSnippet?: CodeLine[];
|
|
88
|
+
name?: string | undefined;
|
|
89
|
+
path?: string | undefined;
|
|
90
|
+
startLine?: number | undefined;
|
|
91
|
+
endLine?: number | undefined;
|
|
92
|
+
codeSnippet?: CodeLine[] | undefined;
|
|
93
93
|
}
|
|
94
94
|
export interface Vulnerability {
|
|
95
|
-
referenceUrls?: string[];
|
|
96
|
-
relatedVulnerabilities?: string[];
|
|
97
|
-
id?: string;
|
|
98
|
-
filePath?: FilePath;
|
|
99
|
-
itemCount?: number;
|
|
95
|
+
referenceUrls?: string[] | undefined;
|
|
96
|
+
relatedVulnerabilities?: string[] | undefined;
|
|
97
|
+
id?: string | undefined;
|
|
98
|
+
filePath?: FilePath | undefined;
|
|
99
|
+
itemCount?: number | undefined;
|
|
100
100
|
}
|
|
101
101
|
export interface Finding {
|
|
102
|
-
createdAt?: Date;
|
|
103
|
-
description?: string;
|
|
104
|
-
generatorId?: string;
|
|
105
|
-
id?: string;
|
|
106
|
-
updatedAt?: Date;
|
|
107
|
-
type?: string;
|
|
108
|
-
status?: Status;
|
|
109
|
-
resource?: Resource;
|
|
110
|
-
vulnerability?: Vulnerability;
|
|
111
|
-
severity?: Severity;
|
|
112
|
-
remediation?: Remediation;
|
|
113
|
-
title?: string;
|
|
114
|
-
detectorTags?: string[];
|
|
115
|
-
detectorId?: string;
|
|
116
|
-
detectorName?: string;
|
|
117
|
-
ruleId?: string;
|
|
102
|
+
createdAt?: Date | undefined;
|
|
103
|
+
description?: string | undefined;
|
|
104
|
+
generatorId?: string | undefined;
|
|
105
|
+
id?: string | undefined;
|
|
106
|
+
updatedAt?: Date | undefined;
|
|
107
|
+
type?: string | undefined;
|
|
108
|
+
status?: Status | undefined;
|
|
109
|
+
resource?: Resource | undefined;
|
|
110
|
+
vulnerability?: Vulnerability | undefined;
|
|
111
|
+
severity?: Severity | undefined;
|
|
112
|
+
remediation?: Remediation | undefined;
|
|
113
|
+
title?: string | undefined;
|
|
114
|
+
detectorTags?: string[] | undefined;
|
|
115
|
+
detectorId?: string | undefined;
|
|
116
|
+
detectorName?: string | undefined;
|
|
117
|
+
ruleId?: string | undefined;
|
|
118
118
|
}
|
|
119
119
|
export interface BatchGetFindingsResponse {
|
|
120
120
|
findings: Finding[] | undefined;
|
|
@@ -124,7 +124,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
124
124
|
readonly name: "InternalServerException";
|
|
125
125
|
readonly $fault: "server";
|
|
126
126
|
$retryable: {};
|
|
127
|
-
error?: string;
|
|
127
|
+
error?: string | undefined;
|
|
128
128
|
constructor(
|
|
129
129
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
130
130
|
);
|
|
@@ -136,8 +136,8 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
136
136
|
throttling: boolean;
|
|
137
137
|
};
|
|
138
138
|
errorCode: string | undefined;
|
|
139
|
-
serviceCode?: string;
|
|
140
|
-
quotaCode?: string;
|
|
139
|
+
serviceCode?: string | undefined;
|
|
140
|
+
quotaCode?: string | undefined;
|
|
141
141
|
constructor(
|
|
142
142
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
143
143
|
);
|
|
@@ -160,7 +160,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
160
160
|
readonly $fault: "client";
|
|
161
161
|
errorCode: string | undefined;
|
|
162
162
|
reason: ValidationExceptionReason | undefined;
|
|
163
|
-
fieldList?: ValidationExceptionField[];
|
|
163
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
164
164
|
constructor(
|
|
165
165
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
166
166
|
);
|
|
@@ -197,12 +197,12 @@ export declare const ScanType: {
|
|
|
197
197
|
};
|
|
198
198
|
export type ScanType = (typeof ScanType)[keyof typeof ScanType];
|
|
199
199
|
export interface CreateScanRequest {
|
|
200
|
-
clientToken?: string;
|
|
200
|
+
clientToken?: string | undefined;
|
|
201
201
|
resourceId: ResourceId | undefined;
|
|
202
202
|
scanName: string | undefined;
|
|
203
|
-
scanType?: ScanType;
|
|
204
|
-
analysisType?: AnalysisType;
|
|
205
|
-
tags?: Record<string, string
|
|
203
|
+
scanType?: ScanType | undefined;
|
|
204
|
+
analysisType?: AnalysisType | undefined;
|
|
205
|
+
tags?: Record<string, string> | undefined;
|
|
206
206
|
}
|
|
207
207
|
export declare const ScanState: {
|
|
208
208
|
readonly FAILED: "Failed";
|
|
@@ -215,7 +215,7 @@ export interface CreateScanResponse {
|
|
|
215
215
|
runId: string | undefined;
|
|
216
216
|
resourceId: ResourceId | undefined;
|
|
217
217
|
scanState: ScanState | undefined;
|
|
218
|
-
scanNameArn?: string;
|
|
218
|
+
scanNameArn?: string | undefined;
|
|
219
219
|
}
|
|
220
220
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
221
221
|
readonly name: "ResourceNotFoundException";
|
|
@@ -237,45 +237,45 @@ export interface CreateUploadUrlResponse {
|
|
|
237
237
|
}
|
|
238
238
|
export interface GetAccountConfigurationRequest {}
|
|
239
239
|
export interface EncryptionConfig {
|
|
240
|
-
kmsKeyArn?: string;
|
|
240
|
+
kmsKeyArn?: string | undefined;
|
|
241
241
|
}
|
|
242
242
|
export interface GetAccountConfigurationResponse {
|
|
243
243
|
encryptionConfig: EncryptionConfig | undefined;
|
|
244
244
|
}
|
|
245
245
|
export interface GetFindingsRequest {
|
|
246
246
|
scanName: string | undefined;
|
|
247
|
-
nextToken?: string;
|
|
248
|
-
maxResults?: number;
|
|
249
|
-
status?: Status;
|
|
247
|
+
nextToken?: string | undefined;
|
|
248
|
+
maxResults?: number | undefined;
|
|
249
|
+
status?: Status | undefined;
|
|
250
250
|
}
|
|
251
251
|
export interface GetFindingsResponse {
|
|
252
|
-
findings?: Finding[];
|
|
253
|
-
nextToken?: string;
|
|
252
|
+
findings?: Finding[] | undefined;
|
|
253
|
+
nextToken?: string | undefined;
|
|
254
254
|
}
|
|
255
255
|
export interface GetMetricsSummaryRequest {
|
|
256
256
|
date: Date | undefined;
|
|
257
257
|
}
|
|
258
258
|
export interface CategoryWithFindingNum {
|
|
259
|
-
categoryName?: string;
|
|
260
|
-
findingNumber?: number;
|
|
259
|
+
categoryName?: string | undefined;
|
|
260
|
+
findingNumber?: number | undefined;
|
|
261
261
|
}
|
|
262
262
|
export interface ScanNameWithFindingNum {
|
|
263
|
-
scanName?: string;
|
|
264
|
-
findingNumber?: number;
|
|
263
|
+
scanName?: string | undefined;
|
|
264
|
+
findingNumber?: number | undefined;
|
|
265
265
|
}
|
|
266
266
|
export interface MetricsSummary {
|
|
267
|
-
date?: Date;
|
|
268
|
-
openFindings?: FindingMetricsValuePerSeverity;
|
|
269
|
-
categoriesWithMostFindings?: CategoryWithFindingNum[];
|
|
270
|
-
scansWithMostOpenFindings?: ScanNameWithFindingNum[];
|
|
271
|
-
scansWithMostOpenCriticalFindings?: ScanNameWithFindingNum[];
|
|
267
|
+
date?: Date | undefined;
|
|
268
|
+
openFindings?: FindingMetricsValuePerSeverity | undefined;
|
|
269
|
+
categoriesWithMostFindings?: CategoryWithFindingNum[] | undefined;
|
|
270
|
+
scansWithMostOpenFindings?: ScanNameWithFindingNum[] | undefined;
|
|
271
|
+
scansWithMostOpenCriticalFindings?: ScanNameWithFindingNum[] | undefined;
|
|
272
272
|
}
|
|
273
273
|
export interface GetMetricsSummaryResponse {
|
|
274
|
-
metricsSummary?: MetricsSummary;
|
|
274
|
+
metricsSummary?: MetricsSummary | undefined;
|
|
275
275
|
}
|
|
276
276
|
export interface GetScanRequest {
|
|
277
277
|
scanName: string | undefined;
|
|
278
|
-
runId?: string;
|
|
278
|
+
runId?: string | undefined;
|
|
279
279
|
}
|
|
280
280
|
export interface GetScanResponse {
|
|
281
281
|
scanName: string | undefined;
|
|
@@ -283,42 +283,42 @@ export interface GetScanResponse {
|
|
|
283
283
|
scanState: ScanState | undefined;
|
|
284
284
|
createdAt: Date | undefined;
|
|
285
285
|
analysisType: AnalysisType | undefined;
|
|
286
|
-
updatedAt?: Date;
|
|
287
|
-
numberOfRevisions?: number;
|
|
288
|
-
scanNameArn?: string;
|
|
289
|
-
errorMessage?: string;
|
|
286
|
+
updatedAt?: Date | undefined;
|
|
287
|
+
numberOfRevisions?: number | undefined;
|
|
288
|
+
scanNameArn?: string | undefined;
|
|
289
|
+
errorMessage?: string | undefined;
|
|
290
290
|
}
|
|
291
291
|
export interface ListFindingsMetricsRequest {
|
|
292
|
-
nextToken?: string;
|
|
293
|
-
maxResults?: number;
|
|
292
|
+
nextToken?: string | undefined;
|
|
293
|
+
maxResults?: number | undefined;
|
|
294
294
|
startDate: Date | undefined;
|
|
295
295
|
endDate: Date | undefined;
|
|
296
296
|
}
|
|
297
297
|
export interface ListFindingsMetricsResponse {
|
|
298
|
-
findingsMetrics?: AccountFindingsMetric[];
|
|
299
|
-
nextToken?: string;
|
|
298
|
+
findingsMetrics?: AccountFindingsMetric[] | undefined;
|
|
299
|
+
nextToken?: string | undefined;
|
|
300
300
|
}
|
|
301
301
|
export interface ListScansRequest {
|
|
302
|
-
nextToken?: string;
|
|
303
|
-
maxResults?: number;
|
|
302
|
+
nextToken?: string | undefined;
|
|
303
|
+
maxResults?: number | undefined;
|
|
304
304
|
}
|
|
305
305
|
export interface ScanSummary {
|
|
306
306
|
scanState: ScanState | undefined;
|
|
307
307
|
createdAt: Date | undefined;
|
|
308
|
-
updatedAt?: Date;
|
|
308
|
+
updatedAt?: Date | undefined;
|
|
309
309
|
scanName: string | undefined;
|
|
310
310
|
runId: string | undefined;
|
|
311
|
-
scanNameArn?: string;
|
|
311
|
+
scanNameArn?: string | undefined;
|
|
312
312
|
}
|
|
313
313
|
export interface ListScansResponse {
|
|
314
|
-
summaries?: ScanSummary[];
|
|
315
|
-
nextToken?: string;
|
|
314
|
+
summaries?: ScanSummary[] | undefined;
|
|
315
|
+
nextToken?: string | undefined;
|
|
316
316
|
}
|
|
317
317
|
export interface ListTagsForResourceRequest {
|
|
318
318
|
resourceArn: string | undefined;
|
|
319
319
|
}
|
|
320
320
|
export interface ListTagsForResourceResponse {
|
|
321
|
-
tags?: Record<string, string
|
|
321
|
+
tags?: Record<string, string> | undefined;
|
|
322
322
|
}
|
|
323
323
|
export interface TagResourceRequest {
|
|
324
324
|
resourceArn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeguru-security",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeguru Security Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.691.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-codeguru-security",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|