@aws-sdk/client-inspector2 3.427.0 → 3.429.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.
- package/README.md +1 -1
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/Inspector2.d.ts +1 -1
- package/dist-types/Inspector2Client.d.ts +1 -1
- package/dist-types/commands/CreateFilterCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +183 -157
- package/dist-types/ts3.4/models/models_0.d.ts +109 -108
- package/package.json +31 -31
|
@@ -37,23 +37,23 @@ export interface ResourceStatus {
|
|
|
37
37
|
* @public
|
|
38
38
|
* <p>The status of Amazon Inspector scanning for Amazon EC2 resources.</p>
|
|
39
39
|
*/
|
|
40
|
-
ec2: Status |
|
|
40
|
+
ec2: Status | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* @public
|
|
43
43
|
* <p>The status of Amazon Inspector scanning for Amazon ECR resources.</p>
|
|
44
44
|
*/
|
|
45
|
-
ecr: Status |
|
|
45
|
+
ecr: Status | undefined;
|
|
46
46
|
/**
|
|
47
47
|
* @public
|
|
48
48
|
* <p>The status of Amazon Inspector scanning for AWS Lambda function.</p>
|
|
49
49
|
*/
|
|
50
|
-
lambda?: Status
|
|
50
|
+
lambda?: Status;
|
|
51
51
|
/**
|
|
52
52
|
* @public
|
|
53
53
|
* <p>The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
|
|
54
54
|
* </p>
|
|
55
55
|
*/
|
|
56
|
-
lambdaCode?: Status
|
|
56
|
+
lambdaCode?: Status;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* @public
|
|
@@ -69,7 +69,7 @@ export interface Account {
|
|
|
69
69
|
* @public
|
|
70
70
|
* <p>The status of Amazon Inspector for the account.</p>
|
|
71
71
|
*/
|
|
72
|
-
status: Status |
|
|
72
|
+
status: Status | undefined;
|
|
73
73
|
/**
|
|
74
74
|
* @public
|
|
75
75
|
* <p>Details of the status of Amazon Inspector scans by resource type.</p>
|
|
@@ -137,22 +137,22 @@ export interface AccountAggregation {
|
|
|
137
137
|
* @public
|
|
138
138
|
* <p>The type of finding.</p>
|
|
139
139
|
*/
|
|
140
|
-
findingType?: AggregationFindingType
|
|
140
|
+
findingType?: AggregationFindingType;
|
|
141
141
|
/**
|
|
142
142
|
* @public
|
|
143
143
|
* <p>The type of resource.</p>
|
|
144
144
|
*/
|
|
145
|
-
resourceType?: AggregationResourceType
|
|
145
|
+
resourceType?: AggregationResourceType;
|
|
146
146
|
/**
|
|
147
147
|
* @public
|
|
148
148
|
* <p>The sort order (ascending or descending).</p>
|
|
149
149
|
*/
|
|
150
|
-
sortOrder?: SortOrder
|
|
150
|
+
sortOrder?: SortOrder;
|
|
151
151
|
/**
|
|
152
152
|
* @public
|
|
153
153
|
* <p>The value to sort by.</p>
|
|
154
154
|
*/
|
|
155
|
-
sortBy?: AccountSortBy
|
|
155
|
+
sortBy?: AccountSortBy;
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
158
|
* @public
|
|
@@ -229,12 +229,12 @@ export interface State {
|
|
|
229
229
|
* @public
|
|
230
230
|
* <p>The status of Amazon Inspector for the account.</p>
|
|
231
231
|
*/
|
|
232
|
-
status: Status |
|
|
232
|
+
status: Status | undefined;
|
|
233
233
|
/**
|
|
234
234
|
* @public
|
|
235
235
|
* <p>The error code explaining why the account failed to enable Amazon Inspector.</p>
|
|
236
236
|
*/
|
|
237
|
-
errorCode: ErrorCode |
|
|
237
|
+
errorCode: ErrorCode | undefined;
|
|
238
238
|
/**
|
|
239
239
|
* @public
|
|
240
240
|
* <p>The error message received when the account failed to enable Amazon Inspector.</p>
|
|
@@ -310,7 +310,7 @@ export interface StringFilter {
|
|
|
310
310
|
* @public
|
|
311
311
|
* <p>The operator to use when comparing values in the filter.</p>
|
|
312
312
|
*/
|
|
313
|
-
comparison: StringComparison |
|
|
313
|
+
comparison: StringComparison | undefined;
|
|
314
314
|
/**
|
|
315
315
|
* @public
|
|
316
316
|
* <p>The value to filter on.</p>
|
|
@@ -345,12 +345,12 @@ export interface AmiAggregation {
|
|
|
345
345
|
* @public
|
|
346
346
|
* <p>The order to sort results by.</p>
|
|
347
347
|
*/
|
|
348
|
-
sortOrder?: SortOrder
|
|
348
|
+
sortOrder?: SortOrder;
|
|
349
349
|
/**
|
|
350
350
|
* @public
|
|
351
351
|
* <p>The value to sort results by.</p>
|
|
352
352
|
*/
|
|
353
|
-
sortBy?: AmiSortBy
|
|
353
|
+
sortBy?: AmiSortBy;
|
|
354
354
|
}
|
|
355
355
|
/**
|
|
356
356
|
* @public
|
|
@@ -399,12 +399,12 @@ export interface AwsEcrContainerAggregation {
|
|
|
399
399
|
* @public
|
|
400
400
|
* <p>The sort order (ascending or descending).</p>
|
|
401
401
|
*/
|
|
402
|
-
sortOrder?: SortOrder
|
|
402
|
+
sortOrder?: SortOrder;
|
|
403
403
|
/**
|
|
404
404
|
* @public
|
|
405
405
|
* <p>The value to sort by.</p>
|
|
406
406
|
*/
|
|
407
|
-
sortBy?: AwsEcrContainerSortBy
|
|
407
|
+
sortBy?: AwsEcrContainerSortBy;
|
|
408
408
|
}
|
|
409
409
|
/**
|
|
410
410
|
* @public
|
|
@@ -426,7 +426,7 @@ export interface MapFilter {
|
|
|
426
426
|
* @public
|
|
427
427
|
* <p>The operator to use when comparing values in the filter.</p>
|
|
428
428
|
*/
|
|
429
|
-
comparison: MapComparison |
|
|
429
|
+
comparison: MapComparison | undefined;
|
|
430
430
|
/**
|
|
431
431
|
* @public
|
|
432
432
|
* <p>The tag key used in the filter.</p>
|
|
@@ -483,12 +483,12 @@ export interface Ec2InstanceAggregation {
|
|
|
483
483
|
* @public
|
|
484
484
|
* <p>The order to sort results by.</p>
|
|
485
485
|
*/
|
|
486
|
-
sortOrder?: SortOrder
|
|
486
|
+
sortOrder?: SortOrder;
|
|
487
487
|
/**
|
|
488
488
|
* @public
|
|
489
489
|
* <p>The value to sort results by.</p>
|
|
490
490
|
*/
|
|
491
|
-
sortBy?: Ec2InstanceSortBy
|
|
491
|
+
sortBy?: Ec2InstanceSortBy;
|
|
492
492
|
}
|
|
493
493
|
/**
|
|
494
494
|
* @public
|
|
@@ -512,22 +512,22 @@ export interface FindingTypeAggregation {
|
|
|
512
512
|
* @public
|
|
513
513
|
* <p>The finding type to aggregate.</p>
|
|
514
514
|
*/
|
|
515
|
-
findingType?: AggregationFindingType
|
|
515
|
+
findingType?: AggregationFindingType;
|
|
516
516
|
/**
|
|
517
517
|
* @public
|
|
518
518
|
* <p>The resource type to aggregate.</p>
|
|
519
519
|
*/
|
|
520
|
-
resourceType?: AggregationResourceType
|
|
520
|
+
resourceType?: AggregationResourceType;
|
|
521
521
|
/**
|
|
522
522
|
* @public
|
|
523
523
|
* <p>The order to sort results by.</p>
|
|
524
524
|
*/
|
|
525
|
-
sortOrder?: SortOrder
|
|
525
|
+
sortOrder?: SortOrder;
|
|
526
526
|
/**
|
|
527
527
|
* @public
|
|
528
528
|
* <p>The value to sort results by.</p>
|
|
529
529
|
*/
|
|
530
|
-
sortBy?: FindingTypeSortBy
|
|
530
|
+
sortBy?: FindingTypeSortBy;
|
|
531
531
|
}
|
|
532
532
|
/**
|
|
533
533
|
* @public
|
|
@@ -566,12 +566,12 @@ export interface ImageLayerAggregation {
|
|
|
566
566
|
* @public
|
|
567
567
|
* <p>The order to sort results by.</p>
|
|
568
568
|
*/
|
|
569
|
-
sortOrder?: SortOrder
|
|
569
|
+
sortOrder?: SortOrder;
|
|
570
570
|
/**
|
|
571
571
|
* @public
|
|
572
572
|
* <p>The value to sort results by.</p>
|
|
573
573
|
*/
|
|
574
|
-
sortBy?: ImageLayerSortBy
|
|
574
|
+
sortBy?: ImageLayerSortBy;
|
|
575
575
|
}
|
|
576
576
|
/**
|
|
577
577
|
* @public
|
|
@@ -615,12 +615,12 @@ export interface LambdaFunctionAggregation {
|
|
|
615
615
|
* @public
|
|
616
616
|
* <p>The order to use for sorting the results.</p>
|
|
617
617
|
*/
|
|
618
|
-
sortOrder?: SortOrder
|
|
618
|
+
sortOrder?: SortOrder;
|
|
619
619
|
/**
|
|
620
620
|
* @public
|
|
621
621
|
* <p>The finding severity to use for sorting the results.</p>
|
|
622
622
|
*/
|
|
623
|
-
sortBy?: LambdaFunctionSortBy
|
|
623
|
+
sortBy?: LambdaFunctionSortBy;
|
|
624
624
|
}
|
|
625
625
|
/**
|
|
626
626
|
* @public
|
|
@@ -660,12 +660,12 @@ export interface LambdaLayerAggregation {
|
|
|
660
660
|
* @public
|
|
661
661
|
* <p>The order to use for sorting the results.</p>
|
|
662
662
|
*/
|
|
663
|
-
sortOrder?: SortOrder
|
|
663
|
+
sortOrder?: SortOrder;
|
|
664
664
|
/**
|
|
665
665
|
* @public
|
|
666
666
|
* <p>The finding severity to use for sorting the results.</p>
|
|
667
667
|
*/
|
|
668
|
-
sortBy?: LambdaLayerSortBy
|
|
668
|
+
sortBy?: LambdaLayerSortBy;
|
|
669
669
|
}
|
|
670
670
|
/**
|
|
671
671
|
* @public
|
|
@@ -694,12 +694,12 @@ export interface PackageAggregation {
|
|
|
694
694
|
* @public
|
|
695
695
|
* <p>The order to sort results by.</p>
|
|
696
696
|
*/
|
|
697
|
-
sortOrder?: SortOrder
|
|
697
|
+
sortOrder?: SortOrder;
|
|
698
698
|
/**
|
|
699
699
|
* @public
|
|
700
700
|
* <p>The value to sort results by.</p>
|
|
701
701
|
*/
|
|
702
|
-
sortBy?: PackageSortBy
|
|
702
|
+
sortBy?: PackageSortBy;
|
|
703
703
|
}
|
|
704
704
|
/**
|
|
705
705
|
* @public
|
|
@@ -729,12 +729,12 @@ export interface RepositoryAggregation {
|
|
|
729
729
|
* @public
|
|
730
730
|
* <p>The order to sort results by.</p>
|
|
731
731
|
*/
|
|
732
|
-
sortOrder?: SortOrder
|
|
732
|
+
sortOrder?: SortOrder;
|
|
733
733
|
/**
|
|
734
734
|
* @public
|
|
735
735
|
* <p>The value to sort results by.</p>
|
|
736
736
|
*/
|
|
737
|
-
sortBy?: RepositorySortBy
|
|
737
|
+
sortBy?: RepositorySortBy;
|
|
738
738
|
}
|
|
739
739
|
/**
|
|
740
740
|
* @public
|
|
@@ -768,22 +768,22 @@ export interface TitleAggregation {
|
|
|
768
768
|
* @public
|
|
769
769
|
* <p>The resource type to aggregate on.</p>
|
|
770
770
|
*/
|
|
771
|
-
resourceType?: AggregationResourceType
|
|
771
|
+
resourceType?: AggregationResourceType;
|
|
772
772
|
/**
|
|
773
773
|
* @public
|
|
774
774
|
* <p>The order to sort results by.</p>
|
|
775
775
|
*/
|
|
776
|
-
sortOrder?: SortOrder
|
|
776
|
+
sortOrder?: SortOrder;
|
|
777
777
|
/**
|
|
778
778
|
* @public
|
|
779
779
|
* <p>The value to sort results by.</p>
|
|
780
780
|
*/
|
|
781
|
-
sortBy?: TitleSortBy
|
|
781
|
+
sortBy?: TitleSortBy;
|
|
782
782
|
/**
|
|
783
783
|
* @public
|
|
784
784
|
* <p>The type of finding to aggregate on.</p>
|
|
785
785
|
*/
|
|
786
|
-
findingType?: AggregationFindingType
|
|
786
|
+
findingType?: AggregationFindingType;
|
|
787
787
|
}
|
|
788
788
|
/**
|
|
789
789
|
* @public
|
|
@@ -1711,7 +1711,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
1711
1711
|
* @public
|
|
1712
1712
|
* <p>The reason for the validation failure.</p>
|
|
1713
1713
|
*/
|
|
1714
|
-
reason: ValidationExceptionReason |
|
|
1714
|
+
reason: ValidationExceptionReason | undefined;
|
|
1715
1715
|
/**
|
|
1716
1716
|
* @public
|
|
1717
1717
|
* <p>The fields that failed validation.</p>
|
|
@@ -1953,7 +1953,7 @@ export interface AwsLambdaFunctionDetails {
|
|
|
1953
1953
|
* @public
|
|
1954
1954
|
* <p>The runtime environment for the AWS Lambda function.</p>
|
|
1955
1955
|
*/
|
|
1956
|
-
runtime: Runtime |
|
|
1956
|
+
runtime: Runtime | undefined;
|
|
1957
1957
|
/**
|
|
1958
1958
|
* @public
|
|
1959
1959
|
* <p>The SHA256 hash of the AWS Lambda function's deployment package.</p>
|
|
@@ -1984,13 +1984,13 @@ export interface AwsLambdaFunctionDetails {
|
|
|
1984
1984
|
* @public
|
|
1985
1985
|
* <p>The type of deployment package. Set to <code>Image</code> for container image and set <code>Zip</code> for .zip file archive.</p>
|
|
1986
1986
|
*/
|
|
1987
|
-
packageType?: PackageType
|
|
1987
|
+
packageType?: PackageType;
|
|
1988
1988
|
/**
|
|
1989
1989
|
* @public
|
|
1990
1990
|
* <p>The instruction set architecture that the AWS Lambda function supports. Architecture is a string array with one of the
|
|
1991
1991
|
* valid values. The default architecture value is <code>x86_64</code>.</p>
|
|
1992
1992
|
*/
|
|
1993
|
-
architectures?:
|
|
1993
|
+
architectures?: Architecture[];
|
|
1994
1994
|
/**
|
|
1995
1995
|
* @public
|
|
1996
1996
|
* <p>The date and time that a user last updated the configuration, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format</a>
|
|
@@ -2034,7 +2034,7 @@ export interface FailedAccount {
|
|
|
2034
2034
|
* @public
|
|
2035
2035
|
* <p>The status of Amazon Inspector for the account.</p>
|
|
2036
2036
|
*/
|
|
2037
|
-
status?: Status
|
|
2037
|
+
status?: Status;
|
|
2038
2038
|
/**
|
|
2039
2039
|
* @public
|
|
2040
2040
|
* <p>An object detailing which resources Amazon Inspector is enabled to scan for the account.</p>
|
|
@@ -2044,7 +2044,7 @@ export interface FailedAccount {
|
|
|
2044
2044
|
* @public
|
|
2045
2045
|
* <p>The error code explaining why the account failed to enable Amazon Inspector.</p>
|
|
2046
2046
|
*/
|
|
2047
|
-
errorCode: ErrorCode |
|
|
2047
|
+
errorCode: ErrorCode | undefined;
|
|
2048
2048
|
/**
|
|
2049
2049
|
* @public
|
|
2050
2050
|
* <p>The error message received when the account failed to enable Amazon Inspector.</p>
|
|
@@ -2179,7 +2179,7 @@ export interface CodeSnippetError {
|
|
|
2179
2179
|
* @public
|
|
2180
2180
|
* <p>The error code for the error that prevented a code snippet from being retrieved.</p>
|
|
2181
2181
|
*/
|
|
2182
|
-
errorCode: CodeSnippetErrorCode |
|
|
2182
|
+
errorCode: CodeSnippetErrorCode | undefined;
|
|
2183
2183
|
/**
|
|
2184
2184
|
* @public
|
|
2185
2185
|
* <p>The error message received when Amazon Inspector failed to retrieve a code snippet.</p>
|
|
@@ -2239,7 +2239,7 @@ export interface FindingDetailsError {
|
|
|
2239
2239
|
* @public
|
|
2240
2240
|
* <p>The error code.</p>
|
|
2241
2241
|
*/
|
|
2242
|
-
errorCode: FindingDetailsErrorCode |
|
|
2242
|
+
errorCode: FindingDetailsErrorCode | undefined;
|
|
2243
2243
|
/**
|
|
2244
2244
|
* @public
|
|
2245
2245
|
* <p>The error message.</p>
|
|
@@ -2420,7 +2420,7 @@ export interface FreeTrialInfo {
|
|
|
2420
2420
|
* @public
|
|
2421
2421
|
* <p>The type of scan covered by the Amazon Inspector free trail.</p>
|
|
2422
2422
|
*/
|
|
2423
|
-
type: FreeTrialType |
|
|
2423
|
+
type: FreeTrialType | undefined;
|
|
2424
2424
|
/**
|
|
2425
2425
|
* @public
|
|
2426
2426
|
* <p>The date and time that the Amazon Inspector free trail started for a given account.</p>
|
|
@@ -2435,7 +2435,7 @@ export interface FreeTrialInfo {
|
|
|
2435
2435
|
* @public
|
|
2436
2436
|
* <p>The order to sort results by.</p>
|
|
2437
2437
|
*/
|
|
2438
|
-
status: FreeTrialStatus |
|
|
2438
|
+
status: FreeTrialStatus | undefined;
|
|
2439
2439
|
}
|
|
2440
2440
|
/**
|
|
2441
2441
|
* @public
|
|
@@ -2479,7 +2479,7 @@ export interface FreeTrialInfoError {
|
|
|
2479
2479
|
* @public
|
|
2480
2480
|
* <p>The error code.</p>
|
|
2481
2481
|
*/
|
|
2482
|
-
code: FreeTrialInfoErrorCode |
|
|
2482
|
+
code: FreeTrialInfoErrorCode | undefined;
|
|
2483
2483
|
/**
|
|
2484
2484
|
* @public
|
|
2485
2485
|
* <p>The error message returned.</p>
|
|
@@ -2542,7 +2542,7 @@ export interface MemberAccountEc2DeepInspectionStatusState {
|
|
|
2542
2542
|
* @public
|
|
2543
2543
|
* <p>The state of Amazon Inspector deep inspection in the member account.</p>
|
|
2544
2544
|
*/
|
|
2545
|
-
status?: Ec2DeepInspectionStatus
|
|
2545
|
+
status?: Ec2DeepInspectionStatus;
|
|
2546
2546
|
/**
|
|
2547
2547
|
* @public
|
|
2548
2548
|
* <p>The error message explaining why the account failed to activate Amazon Inspector deep inspection.</p>
|
|
@@ -2563,7 +2563,7 @@ export interface FailedMemberAccountEc2DeepInspectionStatusState {
|
|
|
2563
2563
|
* @public
|
|
2564
2564
|
* <p>The status of EC2 scanning in the account that failed to activate Amazon Inspector deep inspection.</p>
|
|
2565
2565
|
*/
|
|
2566
|
-
ec2ScanStatus?: Status
|
|
2566
|
+
ec2ScanStatus?: Status;
|
|
2567
2567
|
/**
|
|
2568
2568
|
* @public
|
|
2569
2569
|
* <p>The error message explaining why the account failed to activate Amazon Inspector deep inspection.</p>
|
|
@@ -2796,7 +2796,7 @@ export interface Counts {
|
|
|
2796
2796
|
* @public
|
|
2797
2797
|
* <p>The key associated with this group</p>
|
|
2798
2798
|
*/
|
|
2799
|
-
groupKey?: GroupKey
|
|
2799
|
+
groupKey?: GroupKey;
|
|
2800
2800
|
}
|
|
2801
2801
|
/**
|
|
2802
2802
|
* @public
|
|
@@ -2835,7 +2835,7 @@ export interface CoverageStringFilter {
|
|
|
2835
2835
|
* @public
|
|
2836
2836
|
* <p>The operator to compare strings on.</p>
|
|
2837
2837
|
*/
|
|
2838
|
-
comparison: CoverageStringComparison |
|
|
2838
|
+
comparison: CoverageStringComparison | undefined;
|
|
2839
2839
|
/**
|
|
2840
2840
|
* @public
|
|
2841
2841
|
* <p>The value to compare strings on.</p>
|
|
@@ -2862,7 +2862,7 @@ export interface CoverageMapFilter {
|
|
|
2862
2862
|
* @public
|
|
2863
2863
|
* <p>The operator to compare coverage on.</p>
|
|
2864
2864
|
*/
|
|
2865
|
-
comparison: CoverageMapComparison |
|
|
2865
|
+
comparison: CoverageMapComparison | undefined;
|
|
2866
2866
|
/**
|
|
2867
2867
|
* @public
|
|
2868
2868
|
* <p>The tag key associated with the coverage map filter.</p>
|
|
@@ -2881,7 +2881,7 @@ export interface CoverageMapFilter {
|
|
|
2881
2881
|
export interface CoverageFilterCriteria {
|
|
2882
2882
|
/**
|
|
2883
2883
|
* @public
|
|
2884
|
-
* <p>The scan status code to filter on
|
|
2884
|
+
* <p>The scan status code to filter on. Valid values are: <code>ValidationException</code>, <code>InternalServerException</code>, <code>ResourceNotFoundException</code>, <code>BadRequestException</code>, and <code>ThrottlingException</code>.</p>
|
|
2885
2885
|
*/
|
|
2886
2886
|
scanStatusCode?: CoverageStringFilter[];
|
|
2887
2887
|
/**
|
|
@@ -2965,6 +2965,7 @@ export type CoverageResourceType = (typeof CoverageResourceType)[keyof typeof Co
|
|
|
2965
2965
|
*/
|
|
2966
2966
|
export declare const Ec2Platform: {
|
|
2967
2967
|
readonly LINUX: "LINUX";
|
|
2968
|
+
readonly MACOS: "MACOS";
|
|
2968
2969
|
readonly UNKNOWN: "UNKNOWN";
|
|
2969
2970
|
readonly WINDOWS: "WINDOWS";
|
|
2970
2971
|
};
|
|
@@ -2991,7 +2992,7 @@ export interface Ec2Metadata {
|
|
|
2991
2992
|
* @public
|
|
2992
2993
|
* <p>The platform of the instance.</p>
|
|
2993
2994
|
*/
|
|
2994
|
-
platform?: Ec2Platform
|
|
2995
|
+
platform?: Ec2Platform;
|
|
2995
2996
|
}
|
|
2996
2997
|
/**
|
|
2997
2998
|
* @public
|
|
@@ -3031,7 +3032,7 @@ export interface EcrRepositoryMetadata {
|
|
|
3031
3032
|
* @public
|
|
3032
3033
|
* <p>The frequency of scans.</p>
|
|
3033
3034
|
*/
|
|
3034
|
-
scanFrequency?: EcrScanFrequency
|
|
3035
|
+
scanFrequency?: EcrScanFrequency;
|
|
3035
3036
|
}
|
|
3036
3037
|
/**
|
|
3037
3038
|
* @public
|
|
@@ -3057,7 +3058,7 @@ export interface LambdaFunctionMetadata {
|
|
|
3057
3058
|
* @public
|
|
3058
3059
|
* <p>An AWS Lambda function's runtime.</p>
|
|
3059
3060
|
*/
|
|
3060
|
-
runtime?: Runtime
|
|
3061
|
+
runtime?: Runtime;
|
|
3061
3062
|
}
|
|
3062
3063
|
/**
|
|
3063
3064
|
* @public
|
|
@@ -3140,12 +3141,61 @@ export interface ScanStatus {
|
|
|
3140
3141
|
* @public
|
|
3141
3142
|
* <p>The status code of the scan.</p>
|
|
3142
3143
|
*/
|
|
3143
|
-
statusCode: ScanStatusCode |
|
|
3144
|
-
/**
|
|
3145
|
-
* @public
|
|
3146
|
-
* <p>The
|
|
3147
|
-
|
|
3148
|
-
|
|
3144
|
+
statusCode: ScanStatusCode | undefined;
|
|
3145
|
+
/**
|
|
3146
|
+
* @public
|
|
3147
|
+
* <p>The scan status. Possible return values and descriptions are: </p>
|
|
3148
|
+
* <p>
|
|
3149
|
+
* <code>PENDING_INITIAL_SCAN</code> - This resource has been identified for scanning, results will be available soon.</p>
|
|
3150
|
+
* <p>
|
|
3151
|
+
* <code>ACCESS_DENIED</code> - Resource access policy restricting Amazon Inspector access. Please update the IAM policy.</p>
|
|
3152
|
+
* <p>
|
|
3153
|
+
* <code>INTERNAL_ERROR</code> - Amazon Inspector has encountered an internal error for this resource. Amazon Inspector service will automatically resolve the issue and resume the scanning. No action required from the user.</p>
|
|
3154
|
+
* <p>
|
|
3155
|
+
* <code>UNMANAGED_EC2_INSTANCE</code> - The EC2 instance is not managed by SSM, please use the following SSM automation to remediate the issue: <a href="https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html">https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html</a>. Once the instance becomes managed by SSM, Inspector will automatically begin scanning this instance. </p>
|
|
3156
|
+
* <p>
|
|
3157
|
+
* <code>UNSUPPORTED_OS</code> - Amazon Inspector does not support this OS, architecture, or image manifest type at this time. To see a complete list of supported operating systems see: <a href=" https://docs.aws.amazon.com/inspector/latest/user/supported.html">https://docs.aws.amazon.com/inspector/latest/user/supported.html</a>.</p>
|
|
3158
|
+
* <p>
|
|
3159
|
+
* <code>SCAN_ELIGIBILITY_EXPIRED</code> - The configured scan duration has lapsed for this image.</p>
|
|
3160
|
+
* <p>
|
|
3161
|
+
* <code>RESOURCE_TERMINATED</code> - This resource has been terminated. The findings and coverage associated with this resource are in the process of being cleaned up.</p>
|
|
3162
|
+
* <p>
|
|
3163
|
+
* <code>SUCCESSFUL</code> - The scan was successful.</p>
|
|
3164
|
+
* <p>
|
|
3165
|
+
* <code>NO_RESOURCES_FOUND</code> - Reserved for future use.</p>
|
|
3166
|
+
* <p>
|
|
3167
|
+
* <code>IMAGE_SIZE_EXCEEDED</code> - Reserved for future use.</p>
|
|
3168
|
+
* <p>
|
|
3169
|
+
* <code>SCAN_FREQUENCY_MANUAL</code> - This image will not be covered by Amazon Inspector due to the repository scan frequency configuration.</p>
|
|
3170
|
+
* <p>
|
|
3171
|
+
* <code>SCAN_FREQUENCY_SCAN_ON_PUSH </code>- This image will be scanned one time and will not new findings because of the scan frequency configuration.</p>
|
|
3172
|
+
* <p>
|
|
3173
|
+
* <code>EC2_INSTANCE_STOPPED</code> - This EC2 instance is in a stopped state, therefore, Amazon Inspector will pause scanning. The existing findings will continue to exist until the instance is terminated. Once the instance is re-started, Inspector will automatically start scanning the instance again. Please note that you will not be charged for this instance while it’s in a stopped state.</p>
|
|
3174
|
+
* <p>
|
|
3175
|
+
* <code>PENDING_DISABLE</code> - This resource is pending cleanup during disablement. The customer will not be billed while a resource is in the pending disable status.</p>
|
|
3176
|
+
* <p>
|
|
3177
|
+
* <code>NO INVENTORY</code> - Amazon Inspector couldn’t find software application inventory to scan for vulnerabilities. This might be caused due to required Amazon Inspector associations being deleted or failing to run on your resource. Please verify the status of <code>InspectorInventoryCollection-do-not-delete</code> association in the SSM console for the resource. Additionally, you can verify the instance’s inventory in the SSM Fleet Manager console.</p>
|
|
3178
|
+
* <p>
|
|
3179
|
+
* <code>STALE_INVENTORY</code> - Amazon Inspector wasn’t able to collect an updated software application inventory in the last 7 days. Please confirm the required Amazon Inspector associations still exist and you can still see an updated inventory in the SSM console.</p>
|
|
3180
|
+
* <p>
|
|
3181
|
+
* <code>EXCLUDED_BY_TAG</code> - This resource was not scanned because it has been excluded by a tag.</p>
|
|
3182
|
+
* <p>
|
|
3183
|
+
* <code>UNSUPPORTED_RUNTIME</code> - The function was not scanned because it has an unsupported runtime. To see a complete list of supported runtimes see: <a href=" https://docs.aws.amazon.com/inspector/latest/user/supported.html">https://docs.aws.amazon.com/inspector/latest/user/supported.html</a>.</p>
|
|
3184
|
+
* <p>
|
|
3185
|
+
* <code>UNSUPPORTED_MEDIA_TYPE </code>- The ECR image has an unsupported media type.</p>
|
|
3186
|
+
* <p>
|
|
3187
|
+
* <code>UNSUPPORTED_CONFIG_FILE</code> - Reserved for future use.</p>
|
|
3188
|
+
* <p>
|
|
3189
|
+
* <code>DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED</code> - The instance has exceeded the 5000 package limit for Amazon Inspector Deep inspection. To resume Deep inspection for this instance you can try to adjust the custom paths associated with the account.</p>
|
|
3190
|
+
* <p>
|
|
3191
|
+
* <code>DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED</code> - The SSM agent couldn't send inventory to Amazon Inspector because the SSM quota for Inventory data collected per instance per day has already been reached for this instance.</p>
|
|
3192
|
+
* <p>
|
|
3193
|
+
* <code>DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED</code> - Amazon Inspector failed to extract the package inventory because the package collection time exceeding the maximum threshold of 15 minutes.</p>
|
|
3194
|
+
* <p>
|
|
3195
|
+
* <code>DEEP_INSPECTION_NO_INVENTORY</code> The Amazon Inspector plugin hasn't yet been able to collect an inventory of packages for this instance. This is usually the result of a pending scan, however, if this status persists after 6 hours, use SSM to ensure that the required Amazon Inspector associations exist and are running for the instance.</p>
|
|
3196
|
+
* <p/>
|
|
3197
|
+
*/
|
|
3198
|
+
reason: ScanStatusReason | undefined;
|
|
3149
3199
|
}
|
|
3150
3200
|
/**
|
|
3151
3201
|
* @public
|
|
@@ -3169,7 +3219,7 @@ export interface CoveredResource {
|
|
|
3169
3219
|
* @public
|
|
3170
3220
|
* <p>The type of the covered resource.</p>
|
|
3171
3221
|
*/
|
|
3172
|
-
resourceType: CoverageResourceType |
|
|
3222
|
+
resourceType: CoverageResourceType | undefined;
|
|
3173
3223
|
/**
|
|
3174
3224
|
* @public
|
|
3175
3225
|
* <p>The ID of the covered resource.</p>
|
|
@@ -3184,7 +3234,7 @@ export interface CoveredResource {
|
|
|
3184
3234
|
* @public
|
|
3185
3235
|
* <p>The Amazon Inspector scan type covering the resource.</p>
|
|
3186
3236
|
*/
|
|
3187
|
-
scanType: ScanType |
|
|
3237
|
+
scanType: ScanType | undefined;
|
|
3188
3238
|
/**
|
|
3189
3239
|
* @public
|
|
3190
3240
|
* <p>The status of the scan covering the resource.</p>
|
|
@@ -3528,7 +3578,7 @@ export interface CreateFilterRequest {
|
|
|
3528
3578
|
* @public
|
|
3529
3579
|
* <p>Defines the action that is to be applied to the findings that match the filter.</p>
|
|
3530
3580
|
*/
|
|
3531
|
-
action: FilterAction |
|
|
3581
|
+
action: FilterAction | undefined;
|
|
3532
3582
|
/**
|
|
3533
3583
|
* @public
|
|
3534
3584
|
* <p>A description of the filter.</p>
|
|
@@ -3631,7 +3681,7 @@ export interface CreateFindingsReportRequest {
|
|
|
3631
3681
|
* @public
|
|
3632
3682
|
* <p>The format to generate the report in.</p>
|
|
3633
3683
|
*/
|
|
3634
|
-
reportFormat: ReportFormat |
|
|
3684
|
+
reportFormat: ReportFormat | undefined;
|
|
3635
3685
|
/**
|
|
3636
3686
|
* @public
|
|
3637
3687
|
* <p>The Amazon S3 export destination for the report.</p>
|
|
@@ -3681,7 +3731,7 @@ export interface ResourceStringFilter {
|
|
|
3681
3731
|
* @public
|
|
3682
3732
|
* <p>The filter's comparison.</p>
|
|
3683
3733
|
*/
|
|
3684
|
-
comparison: ResourceStringComparison |
|
|
3734
|
+
comparison: ResourceStringComparison | undefined;
|
|
3685
3735
|
/**
|
|
3686
3736
|
* @public
|
|
3687
3737
|
* <p>The filter's value.</p>
|
|
@@ -3708,7 +3758,7 @@ export interface ResourceMapFilter {
|
|
|
3708
3758
|
* @public
|
|
3709
3759
|
* <p>The filter's comparison.</p>
|
|
3710
3760
|
*/
|
|
3711
|
-
comparison: ResourceMapComparison |
|
|
3761
|
+
comparison: ResourceMapComparison | undefined;
|
|
3712
3762
|
/**
|
|
3713
3763
|
* @public
|
|
3714
3764
|
* <p>The filter's key.</p>
|
|
@@ -3779,7 +3829,7 @@ export interface CreateSbomExportRequest {
|
|
|
3779
3829
|
* @public
|
|
3780
3830
|
* <p>The output format for the software bill of materials (SBOM) report.</p>
|
|
3781
3831
|
*/
|
|
3782
|
-
reportFormat: SbomReportFormat |
|
|
3832
|
+
reportFormat: SbomReportFormat | undefined;
|
|
3783
3833
|
/**
|
|
3784
3834
|
* @public
|
|
3785
3835
|
* <p>Contains details of the Amazon S3 bucket and KMS key used to export findings.</p>
|
|
@@ -3953,7 +4003,7 @@ export interface DelegatedAdmin {
|
|
|
3953
4003
|
* @public
|
|
3954
4004
|
* <p>The status of the Amazon Inspector delegated administrator.</p>
|
|
3955
4005
|
*/
|
|
3956
|
-
relationshipStatus?: RelationshipStatus
|
|
4006
|
+
relationshipStatus?: RelationshipStatus;
|
|
3957
4007
|
}
|
|
3958
4008
|
/**
|
|
3959
4009
|
* @public
|
|
@@ -3981,7 +4031,7 @@ export interface DelegatedAdminAccount {
|
|
|
3981
4031
|
* @public
|
|
3982
4032
|
* <p>The status of the Amazon Inspector delegated administrator.</p>
|
|
3983
4033
|
*/
|
|
3984
|
-
status?: DelegatedAdminStatus
|
|
4034
|
+
status?: DelegatedAdminStatus;
|
|
3985
4035
|
}
|
|
3986
4036
|
/**
|
|
3987
4037
|
* @public
|
|
@@ -4050,7 +4100,7 @@ export interface DisableRequest {
|
|
|
4050
4100
|
* @public
|
|
4051
4101
|
* <p>The resource scan types you want to disable.</p>
|
|
4052
4102
|
*/
|
|
4053
|
-
resourceTypes?:
|
|
4103
|
+
resourceTypes?: ResourceScanType[];
|
|
4054
4104
|
}
|
|
4055
4105
|
/**
|
|
4056
4106
|
* @public
|
|
@@ -4131,7 +4181,7 @@ export interface EcrConfiguration {
|
|
|
4131
4181
|
* @public
|
|
4132
4182
|
* <p>The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes <code>inactive</code> and all associated findings are scheduled for closure.</p>
|
|
4133
4183
|
*/
|
|
4134
|
-
rescanDuration: EcrRescanDuration |
|
|
4184
|
+
rescanDuration: EcrRescanDuration | undefined;
|
|
4135
4185
|
}
|
|
4136
4186
|
/**
|
|
4137
4187
|
* @public
|
|
@@ -4155,12 +4205,12 @@ export interface EcrRescanDurationState {
|
|
|
4155
4205
|
* @public
|
|
4156
4206
|
* <p>The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes <code>inactive</code> and all associated findings are scheduled for closure.</p>
|
|
4157
4207
|
*/
|
|
4158
|
-
rescanDuration?: EcrRescanDuration
|
|
4208
|
+
rescanDuration?: EcrRescanDuration;
|
|
4159
4209
|
/**
|
|
4160
4210
|
* @public
|
|
4161
4211
|
* <p>The status of changes to the ECR automated re-scan duration.</p>
|
|
4162
4212
|
*/
|
|
4163
|
-
status?: EcrRescanDurationStatus
|
|
4213
|
+
status?: EcrRescanDurationStatus;
|
|
4164
4214
|
/**
|
|
4165
4215
|
* @public
|
|
4166
4216
|
* <p>A timestamp representing when the last time the ECR scan duration setting was changed.</p>
|
|
@@ -4191,7 +4241,7 @@ export interface EnableRequest {
|
|
|
4191
4241
|
* @public
|
|
4192
4242
|
* <p>The resource scan types you want to enable.</p>
|
|
4193
4243
|
*/
|
|
4194
|
-
resourceTypes:
|
|
4244
|
+
resourceTypes: ResourceScanType[] | undefined;
|
|
4195
4245
|
/**
|
|
4196
4246
|
* @public
|
|
4197
4247
|
* <p>The idempotency token for the request.</p>
|
|
@@ -4328,7 +4378,7 @@ export interface Filter {
|
|
|
4328
4378
|
* @public
|
|
4329
4379
|
* <p>The action that is to be applied to the findings that match the filter.</p>
|
|
4330
4380
|
*/
|
|
4331
|
-
action: FilterAction |
|
|
4381
|
+
action: FilterAction | undefined;
|
|
4332
4382
|
/**
|
|
4333
4383
|
* @public
|
|
4334
4384
|
* <p>The date and time this filter was created at.</p>
|
|
@@ -4448,7 +4498,7 @@ export interface NetworkReachabilityDetails {
|
|
|
4448
4498
|
* @public
|
|
4449
4499
|
* <p>The protocol associated with a finding.</p>
|
|
4450
4500
|
*/
|
|
4451
|
-
protocol: NetworkProtocol |
|
|
4501
|
+
protocol: NetworkProtocol | undefined;
|
|
4452
4502
|
/**
|
|
4453
4503
|
* @public
|
|
4454
4504
|
* <p>An object that contains details about a network path associated with a finding.</p>
|
|
@@ -4521,7 +4571,7 @@ export interface VulnerablePackage {
|
|
|
4521
4571
|
* @public
|
|
4522
4572
|
* <p>The package manager of the vulnerable package.</p>
|
|
4523
4573
|
*/
|
|
4524
|
-
packageManager?: PackageManager
|
|
4574
|
+
packageManager?: PackageManager;
|
|
4525
4575
|
/**
|
|
4526
4576
|
* @public
|
|
4527
4577
|
* <p>The file path of the vulnerable package.</p>
|
|
@@ -4670,7 +4720,7 @@ export interface Resource {
|
|
|
4670
4720
|
* @public
|
|
4671
4721
|
* <p>The type of resource.</p>
|
|
4672
4722
|
*/
|
|
4673
|
-
type: ResourceType |
|
|
4723
|
+
type: ResourceType | undefined;
|
|
4674
4724
|
/**
|
|
4675
4725
|
* @public
|
|
4676
4726
|
* <p>The ID of the resource.</p>
|
|
@@ -4756,9 +4806,9 @@ export interface Finding {
|
|
|
4756
4806
|
awsAccountId: string | undefined;
|
|
4757
4807
|
/**
|
|
4758
4808
|
* @public
|
|
4759
|
-
* <p>The type of the finding.</p>
|
|
4809
|
+
* <p>The type of the finding. The <code>type</code> value determines the valid values for <code>resource</code> in your request. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-types.html">Finding types</a> in the Amazon Inspector user guide.</p>
|
|
4760
4810
|
*/
|
|
4761
|
-
type: FindingType |
|
|
4811
|
+
type: FindingType | undefined;
|
|
4762
4812
|
/**
|
|
4763
4813
|
* @public
|
|
4764
4814
|
* <p>The description of the finding.</p>
|
|
@@ -4776,9 +4826,9 @@ export interface Finding {
|
|
|
4776
4826
|
remediation: Remediation | undefined;
|
|
4777
4827
|
/**
|
|
4778
4828
|
* @public
|
|
4779
|
-
* <p>The severity of the finding.</p>
|
|
4829
|
+
* <p>The severity of the finding. <code>UNTRIAGED</code> applies to <code>PACKAGE_VULNERABILITY</code> type findings that the vendor has not assigned a severity yet. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html">Severity levels for findings</a> in the Amazon Inspector user guide.</p>
|
|
4780
4830
|
*/
|
|
4781
|
-
severity: Severity |
|
|
4831
|
+
severity: Severity | undefined;
|
|
4782
4832
|
/**
|
|
4783
4833
|
* @public
|
|
4784
4834
|
* <p>The date and time that the finding was first observed.</p>
|
|
@@ -4798,10 +4848,10 @@ export interface Finding {
|
|
|
4798
4848
|
* @public
|
|
4799
4849
|
* <p>The status of the finding.</p>
|
|
4800
4850
|
*/
|
|
4801
|
-
status: FindingStatus |
|
|
4851
|
+
status: FindingStatus | undefined;
|
|
4802
4852
|
/**
|
|
4803
4853
|
* @public
|
|
4804
|
-
* <p>Contains information on the resources involved in a finding.</p>
|
|
4854
|
+
* <p>Contains information on the resources involved in a finding. The <code>resource</code> value determines the valid values for <code>type</code> in your request. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-types.html">Finding types</a> in the Amazon Inspector user guide.</p>
|
|
4805
4855
|
*/
|
|
4806
4856
|
resources: Resource[] | undefined;
|
|
4807
4857
|
/**
|
|
@@ -4828,12 +4878,12 @@ export interface Finding {
|
|
|
4828
4878
|
* @public
|
|
4829
4879
|
* <p>Details on whether a fix is available through a version update. This value can be <code>YES</code>, <code>NO</code>, or <code>PARTIAL</code>. A <code>PARTIAL</code> fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.</p>
|
|
4830
4880
|
*/
|
|
4831
|
-
fixAvailable?: FixAvailable
|
|
4881
|
+
fixAvailable?: FixAvailable;
|
|
4832
4882
|
/**
|
|
4833
4883
|
* @public
|
|
4834
4884
|
* <p>If a finding discovered in your environment has an exploit available.</p>
|
|
4835
4885
|
*/
|
|
4836
|
-
exploitAvailable?: ExploitAvailable
|
|
4886
|
+
exploitAvailable?: ExploitAvailable;
|
|
4837
4887
|
/**
|
|
4838
4888
|
* @public
|
|
4839
4889
|
* <p>The details of an exploit available for a finding discovered in your environment.</p>
|
|
@@ -4903,7 +4953,7 @@ export interface GetEc2DeepInspectionConfigurationResponse {
|
|
|
4903
4953
|
* @public
|
|
4904
4954
|
* <p>The activation status of Amazon Inspector deep inspection in your account.</p>
|
|
4905
4955
|
*/
|
|
4906
|
-
status?: Ec2DeepInspectionStatus
|
|
4956
|
+
status?: Ec2DeepInspectionStatus;
|
|
4907
4957
|
/**
|
|
4908
4958
|
* @public
|
|
4909
4959
|
* <p>An error message explaining why Amazon Inspector deep inspection configurations could not be retrieved for your account.</p>
|
|
@@ -4918,12 +4968,12 @@ export interface GetEncryptionKeyRequest {
|
|
|
4918
4968
|
* @public
|
|
4919
4969
|
* <p>The scan type the key encrypts.</p>
|
|
4920
4970
|
*/
|
|
4921
|
-
scanType: ScanType |
|
|
4971
|
+
scanType: ScanType | undefined;
|
|
4922
4972
|
/**
|
|
4923
4973
|
* @public
|
|
4924
4974
|
* <p>The resource type the key encrypts.</p>
|
|
4925
4975
|
*/
|
|
4926
|
-
resourceType: ResourceType |
|
|
4976
|
+
resourceType: ResourceType | undefined;
|
|
4927
4977
|
}
|
|
4928
4978
|
/**
|
|
4929
4979
|
* @public
|
|
@@ -4974,12 +5024,12 @@ export interface GetFindingsReportStatusResponse {
|
|
|
4974
5024
|
* @public
|
|
4975
5025
|
* <p>The status of the report.</p>
|
|
4976
5026
|
*/
|
|
4977
|
-
status?: ExternalReportStatus
|
|
5027
|
+
status?: ExternalReportStatus;
|
|
4978
5028
|
/**
|
|
4979
5029
|
* @public
|
|
4980
5030
|
* <p>The error code of the report.</p>
|
|
4981
5031
|
*/
|
|
4982
|
-
errorCode?: ReportingErrorCode
|
|
5032
|
+
errorCode?: ReportingErrorCode;
|
|
4983
5033
|
/**
|
|
4984
5034
|
* @public
|
|
4985
5035
|
* <p>The error message of the report.</p>
|
|
@@ -5020,7 +5070,7 @@ export interface Member {
|
|
|
5020
5070
|
* @public
|
|
5021
5071
|
* <p>The status of the member account.</p>
|
|
5022
5072
|
*/
|
|
5023
|
-
relationshipStatus?: RelationshipStatus
|
|
5073
|
+
relationshipStatus?: RelationshipStatus;
|
|
5024
5074
|
/**
|
|
5025
5075
|
* @public
|
|
5026
5076
|
* <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member account.</p>
|
|
@@ -5065,17 +5115,17 @@ export interface GetSbomExportResponse {
|
|
|
5065
5115
|
* @public
|
|
5066
5116
|
* <p>The format of the software bill of materials (SBOM) report.</p>
|
|
5067
5117
|
*/
|
|
5068
|
-
format?: SbomReportFormat
|
|
5118
|
+
format?: SbomReportFormat;
|
|
5069
5119
|
/**
|
|
5070
5120
|
* @public
|
|
5071
5121
|
* <p>The status of the software bill of materials (SBOM) report.</p>
|
|
5072
5122
|
*/
|
|
5073
|
-
status?: ExternalReportStatus
|
|
5123
|
+
status?: ExternalReportStatus;
|
|
5074
5124
|
/**
|
|
5075
5125
|
* @public
|
|
5076
5126
|
* <p>An error code.</p>
|
|
5077
5127
|
*/
|
|
5078
|
-
errorCode?: ReportingErrorCode
|
|
5128
|
+
errorCode?: ReportingErrorCode;
|
|
5079
5129
|
/**
|
|
5080
5130
|
* @public
|
|
5081
5131
|
* <p>An error message.</p>
|
|
@@ -5113,18 +5163,15 @@ export interface ListAccountPermissionsRequest {
|
|
|
5113
5163
|
* @public
|
|
5114
5164
|
* <p>The service scan type to check permissions for.</p>
|
|
5115
5165
|
*/
|
|
5116
|
-
service?: Service
|
|
5166
|
+
service?: Service;
|
|
5117
5167
|
/**
|
|
5118
5168
|
* @public
|
|
5119
|
-
* <p>The maximum number of results
|
|
5169
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
5120
5170
|
*/
|
|
5121
5171
|
maxResults?: number;
|
|
5122
5172
|
/**
|
|
5123
5173
|
* @public
|
|
5124
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
5125
|
-
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
5126
|
-
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
5127
|
-
* results after the first page.</p>
|
|
5174
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.</p>
|
|
5128
5175
|
*/
|
|
5129
5176
|
nextToken?: string;
|
|
5130
5177
|
}
|
|
@@ -5151,12 +5198,12 @@ export interface Permission {
|
|
|
5151
5198
|
* @public
|
|
5152
5199
|
* <p>The services that the permissions allow an account to perform the given operations for.</p>
|
|
5153
5200
|
*/
|
|
5154
|
-
service: Service |
|
|
5201
|
+
service: Service | undefined;
|
|
5155
5202
|
/**
|
|
5156
5203
|
* @public
|
|
5157
5204
|
* <p>The operations that can be performed with the given permissions.</p>
|
|
5158
5205
|
*/
|
|
5159
|
-
operation: Operation |
|
|
5206
|
+
operation: Operation | undefined;
|
|
5160
5207
|
}
|
|
5161
5208
|
/**
|
|
5162
5209
|
* @public
|
|
@@ -5182,15 +5229,12 @@ export interface ListAccountPermissionsResponse {
|
|
|
5182
5229
|
export interface ListCoverageRequest {
|
|
5183
5230
|
/**
|
|
5184
5231
|
* @public
|
|
5185
|
-
* <p>The maximum number of results
|
|
5232
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
5186
5233
|
*/
|
|
5187
5234
|
maxResults?: number;
|
|
5188
5235
|
/**
|
|
5189
5236
|
* @public
|
|
5190
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
5191
|
-
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
5192
|
-
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
5193
|
-
* results after the first page.</p>
|
|
5237
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
5194
5238
|
*/
|
|
5195
5239
|
nextToken?: string;
|
|
5196
5240
|
/**
|
|
@@ -5232,7 +5276,7 @@ export interface ListCoverageStatisticsRequest {
|
|
|
5232
5276
|
* @public
|
|
5233
5277
|
* <p>The value to group the results by.</p>
|
|
5234
5278
|
*/
|
|
5235
|
-
groupBy?: GroupKey
|
|
5279
|
+
groupBy?: GroupKey;
|
|
5236
5280
|
/**
|
|
5237
5281
|
* @public
|
|
5238
5282
|
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
@@ -5271,15 +5315,12 @@ export interface ListCoverageStatisticsResponse {
|
|
|
5271
5315
|
export interface ListDelegatedAdminAccountsRequest {
|
|
5272
5316
|
/**
|
|
5273
5317
|
* @public
|
|
5274
|
-
* <p>The maximum number of results
|
|
5318
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
5275
5319
|
*/
|
|
5276
5320
|
maxResults?: number;
|
|
5277
5321
|
/**
|
|
5278
5322
|
* @public
|
|
5279
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
5280
|
-
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
5281
|
-
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
5282
|
-
* results after the first page.</p>
|
|
5323
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
5283
5324
|
*/
|
|
5284
5325
|
nextToken?: string;
|
|
5285
5326
|
}
|
|
@@ -5314,18 +5355,15 @@ export interface ListFiltersRequest {
|
|
|
5314
5355
|
* @public
|
|
5315
5356
|
* <p>The action the filter applies to matched findings.</p>
|
|
5316
5357
|
*/
|
|
5317
|
-
action?: FilterAction
|
|
5358
|
+
action?: FilterAction;
|
|
5318
5359
|
/**
|
|
5319
5360
|
* @public
|
|
5320
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
5321
|
-
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
5322
|
-
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
5323
|
-
* results after the first page.</p>
|
|
5361
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
5324
5362
|
*/
|
|
5325
5363
|
nextToken?: string;
|
|
5326
5364
|
/**
|
|
5327
5365
|
* @public
|
|
5328
|
-
* <p>The maximum number of results
|
|
5366
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
5329
5367
|
*/
|
|
5330
5368
|
maxResults?: number;
|
|
5331
5369
|
}
|
|
@@ -5355,18 +5393,15 @@ export interface ListFindingAggregationsRequest {
|
|
|
5355
5393
|
* @public
|
|
5356
5394
|
* <p>The type of the aggregation request.</p>
|
|
5357
5395
|
*/
|
|
5358
|
-
aggregationType: AggregationType |
|
|
5396
|
+
aggregationType: AggregationType | undefined;
|
|
5359
5397
|
/**
|
|
5360
5398
|
* @public
|
|
5361
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
5362
|
-
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
5363
|
-
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
5364
|
-
* results after the first page.</p>
|
|
5399
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
5365
5400
|
*/
|
|
5366
5401
|
nextToken?: string;
|
|
5367
5402
|
/**
|
|
5368
5403
|
* @public
|
|
5369
|
-
* <p>The maximum number of results
|
|
5404
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
5370
5405
|
*/
|
|
5371
5406
|
maxResults?: number;
|
|
5372
5407
|
/**
|
|
@@ -5388,7 +5423,7 @@ export interface ListFindingAggregationsResponse {
|
|
|
5388
5423
|
* @public
|
|
5389
5424
|
* <p>The type of aggregation to perform.</p>
|
|
5390
5425
|
*/
|
|
5391
|
-
aggregationType: AggregationType |
|
|
5426
|
+
aggregationType: AggregationType | undefined;
|
|
5392
5427
|
/**
|
|
5393
5428
|
* @public
|
|
5394
5429
|
* <p>Objects that contain the results of an aggregation operation.</p>
|
|
@@ -5439,12 +5474,12 @@ export interface SortCriteria {
|
|
|
5439
5474
|
* @public
|
|
5440
5475
|
* <p>The finding detail field by which results are sorted.</p>
|
|
5441
5476
|
*/
|
|
5442
|
-
field: SortField |
|
|
5477
|
+
field: SortField | undefined;
|
|
5443
5478
|
/**
|
|
5444
5479
|
* @public
|
|
5445
5480
|
* <p>The order by which findings are sorted.</p>
|
|
5446
5481
|
*/
|
|
5447
|
-
sortOrder: SortOrder |
|
|
5482
|
+
sortOrder: SortOrder | undefined;
|
|
5448
5483
|
}
|
|
5449
5484
|
/**
|
|
5450
5485
|
* @public
|
|
@@ -5452,15 +5487,12 @@ export interface SortCriteria {
|
|
|
5452
5487
|
export interface ListFindingsRequest {
|
|
5453
5488
|
/**
|
|
5454
5489
|
* @public
|
|
5455
|
-
* <p>The maximum number of results
|
|
5490
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
5456
5491
|
*/
|
|
5457
5492
|
maxResults?: number;
|
|
5458
5493
|
/**
|
|
5459
5494
|
* @public
|
|
5460
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
5461
|
-
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
5462
|
-
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
5463
|
-
* results after the first page.</p>
|
|
5495
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
5464
5496
|
*/
|
|
5465
5497
|
nextToken?: string;
|
|
5466
5498
|
/**
|
|
@@ -5504,15 +5536,12 @@ export interface ListMembersRequest {
|
|
|
5504
5536
|
onlyAssociated?: boolean;
|
|
5505
5537
|
/**
|
|
5506
5538
|
* @public
|
|
5507
|
-
* <p>The maximum number of results
|
|
5539
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
5508
5540
|
*/
|
|
5509
5541
|
maxResults?: number;
|
|
5510
5542
|
/**
|
|
5511
5543
|
* @public
|
|
5512
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
5513
|
-
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
5514
|
-
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
5515
|
-
* results after the first page.</p>
|
|
5544
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
5516
5545
|
*/
|
|
5517
5546
|
nextToken?: string;
|
|
5518
5547
|
}
|
|
@@ -5558,15 +5587,12 @@ export interface ListTagsForResourceResponse {
|
|
|
5558
5587
|
export interface ListUsageTotalsRequest {
|
|
5559
5588
|
/**
|
|
5560
5589
|
* @public
|
|
5561
|
-
* <p>The maximum number of results
|
|
5590
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
5562
5591
|
*/
|
|
5563
5592
|
maxResults?: number;
|
|
5564
5593
|
/**
|
|
5565
5594
|
* @public
|
|
5566
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
5567
|
-
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
5568
|
-
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
5569
|
-
* results after the first page.</p>
|
|
5595
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
5570
5596
|
*/
|
|
5571
5597
|
nextToken?: string;
|
|
5572
5598
|
/**
|
|
@@ -5599,7 +5625,7 @@ export interface Usage {
|
|
|
5599
5625
|
* @public
|
|
5600
5626
|
* <p>The type scan.</p>
|
|
5601
5627
|
*/
|
|
5602
|
-
type?: UsageType
|
|
5628
|
+
type?: UsageType;
|
|
5603
5629
|
/**
|
|
5604
5630
|
* @public
|
|
5605
5631
|
* <p>The total of usage.</p>
|
|
@@ -5614,7 +5640,7 @@ export interface Usage {
|
|
|
5614
5640
|
* @public
|
|
5615
5641
|
* <p>The currency type used when calculating usage data.</p>
|
|
5616
5642
|
*/
|
|
5617
|
-
currency?: Currency
|
|
5643
|
+
currency?: Currency;
|
|
5618
5644
|
}
|
|
5619
5645
|
/**
|
|
5620
5646
|
* @public
|
|
@@ -5655,12 +5681,12 @@ export interface ResetEncryptionKeyRequest {
|
|
|
5655
5681
|
* @public
|
|
5656
5682
|
* <p>The scan type the key encrypts.</p>
|
|
5657
5683
|
*/
|
|
5658
|
-
scanType: ScanType |
|
|
5684
|
+
scanType: ScanType | undefined;
|
|
5659
5685
|
/**
|
|
5660
5686
|
* @public
|
|
5661
5687
|
* <p>The resource type the key encrypts.</p>
|
|
5662
5688
|
*/
|
|
5663
|
-
resourceType: ResourceType |
|
|
5689
|
+
resourceType: ResourceType | undefined;
|
|
5664
5690
|
}
|
|
5665
5691
|
/**
|
|
5666
5692
|
* @public
|
|
@@ -5730,9 +5756,9 @@ export interface Vulnerability {
|
|
|
5730
5756
|
cisaData?: CisaData;
|
|
5731
5757
|
/**
|
|
5732
5758
|
* @public
|
|
5733
|
-
* <p>The source of the vulnerability information
|
|
5759
|
+
* <p>The source of the vulnerability information. Possible results are <code>RHEL</code>, <code>AMAZON_CVE</code>, <code>DEBIAN</code> or <code>NVD</code>.</p>
|
|
5734
5760
|
*/
|
|
5735
|
-
source?: VulnerabilitySource
|
|
5761
|
+
source?: VulnerabilitySource;
|
|
5736
5762
|
/**
|
|
5737
5763
|
* @public
|
|
5738
5764
|
* <p>A description of the vulnerability.</p>
|
|
@@ -5902,7 +5928,7 @@ export interface UpdateEc2DeepInspectionConfigurationResponse {
|
|
|
5902
5928
|
* @public
|
|
5903
5929
|
* <p>The status of Amazon Inspector deep inspection in your account.</p>
|
|
5904
5930
|
*/
|
|
5905
|
-
status?: Ec2DeepInspectionStatus
|
|
5931
|
+
status?: Ec2DeepInspectionStatus;
|
|
5906
5932
|
/**
|
|
5907
5933
|
* @public
|
|
5908
5934
|
* <p>An error message explaining why new Amazon Inspector deep inspection custom paths could not be added.</p>
|
|
@@ -5922,12 +5948,12 @@ export interface UpdateEncryptionKeyRequest {
|
|
|
5922
5948
|
* @public
|
|
5923
5949
|
* <p>The scan type for the encryption key.</p>
|
|
5924
5950
|
*/
|
|
5925
|
-
scanType: ScanType |
|
|
5951
|
+
scanType: ScanType | undefined;
|
|
5926
5952
|
/**
|
|
5927
5953
|
* @public
|
|
5928
5954
|
* <p>The resource type for the encryption key.</p>
|
|
5929
5955
|
*/
|
|
5930
|
-
resourceType: ResourceType |
|
|
5956
|
+
resourceType: ResourceType | undefined;
|
|
5931
5957
|
}
|
|
5932
5958
|
/**
|
|
5933
5959
|
* @public
|
|
@@ -5942,7 +5968,7 @@ export interface UpdateFilterRequest {
|
|
|
5942
5968
|
* @public
|
|
5943
5969
|
* <p>Specifies the action that is to be applied to the findings that match the filter.</p>
|
|
5944
5970
|
*/
|
|
5945
|
-
action?: FilterAction
|
|
5971
|
+
action?: FilterAction;
|
|
5946
5972
|
/**
|
|
5947
5973
|
* @public
|
|
5948
5974
|
* <p>A description of the filter.</p>
|