@aws-sdk/client-inspector2 3.812.0 → 3.814.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 +8 -0
- package/dist-cjs/index.js +169 -15
- package/dist-es/Inspector2.js +2 -0
- package/dist-es/commands/GetClustersForImageCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +15 -11
- package/dist-es/models/models_1.js +11 -0
- package/dist-es/pagination/GetClustersForImagePaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +118 -3
- package/dist-types/Inspector2.d.ts +7 -0
- package/dist-types/Inspector2Client.d.ts +3 -2
- package/dist-types/commands/CreateFilterCommand.d.ts +13 -6
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +13 -6
- package/dist-types/commands/GetClustersForImageCommand.d.ts +116 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +13 -6
- package/dist-types/commands/GetSbomExportCommand.d.ts +2 -1
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
- package/dist-types/commands/ListCoverageCommand.d.ts +14 -0
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +12 -0
- package/dist-types/commands/ListFiltersCommand.d.ts +13 -6
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +14 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +15 -6
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +13 -6
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +309 -269
- package/dist-types/models/models_1.d.ts +238 -1
- package/dist-types/pagination/GetClustersForImagePaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Inspector2.d.ts +17 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +94 -71
- package/dist-types/ts3.4/models/models_1.d.ts +73 -0
- package/dist-types/ts3.4/pagination/GetClustersForImagePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -397,6 +397,38 @@ export interface AmiAggregation {
|
|
|
397
397
|
*/
|
|
398
398
|
sortBy?: AmiSortBy | undefined;
|
|
399
399
|
}
|
|
400
|
+
/**
|
|
401
|
+
* <p>An object that describes the details of a number filter.</p>
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
export interface NumberFilter {
|
|
405
|
+
/**
|
|
406
|
+
* <p>The highest number to be included in the filter.</p>
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
upperInclusive?: number | undefined;
|
|
410
|
+
/**
|
|
411
|
+
* <p>The lowest number to be included in the filter.</p>
|
|
412
|
+
* @public
|
|
413
|
+
*/
|
|
414
|
+
lowerInclusive?: number | undefined;
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* <p>Contains details on the time range used to filter findings.</p>
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
export interface DateFilter {
|
|
421
|
+
/**
|
|
422
|
+
* <p>A timestamp representing the start of the time period filtered on.</p>
|
|
423
|
+
* @public
|
|
424
|
+
*/
|
|
425
|
+
startInclusive?: Date | undefined;
|
|
426
|
+
/**
|
|
427
|
+
* <p>A timestamp representing the end of the time period filtered on.</p>
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
endInclusive?: Date | undefined;
|
|
431
|
+
}
|
|
400
432
|
/**
|
|
401
433
|
* @public
|
|
402
434
|
* @enum
|
|
@@ -450,6 +482,16 @@ export interface AwsEcrContainerAggregation {
|
|
|
450
482
|
* @public
|
|
451
483
|
*/
|
|
452
484
|
sortBy?: AwsEcrContainerSortBy | undefined;
|
|
485
|
+
/**
|
|
486
|
+
* <p>The last time an Amazon ECR image was used in an Amazon ECS task or Amazon EKS pod.</p>
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
lastInUseAt?: DateFilter[] | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* <p>The number of Amazon ECS tasks or Amazon EKS pods where the Amazon ECR container image is in use.</p>
|
|
492
|
+
* @public
|
|
493
|
+
*/
|
|
494
|
+
inUseCount?: NumberFilter[] | undefined;
|
|
453
495
|
}
|
|
454
496
|
/**
|
|
455
497
|
* @public
|
|
@@ -1142,6 +1184,16 @@ export interface AwsEcrContainerAggregationResponse {
|
|
|
1142
1184
|
* @public
|
|
1143
1185
|
*/
|
|
1144
1186
|
severityCounts?: SeverityCounts | undefined;
|
|
1187
|
+
/**
|
|
1188
|
+
* <p>The last time an Amazon ECR image was used in an Amazon ECS task or Amazon EKS pod.</p>
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1191
|
+
lastInUseAt?: Date | undefined;
|
|
1192
|
+
/**
|
|
1193
|
+
* <p>The number of Amazon ECS tasks or Amazon EKS pods where the Amazon ECR container image is in use.</p>
|
|
1194
|
+
* @public
|
|
1195
|
+
*/
|
|
1196
|
+
inUseCount?: number | undefined;
|
|
1145
1197
|
}
|
|
1146
1198
|
/**
|
|
1147
1199
|
* <p>A response that contains the results of a finding aggregation by Amazon EC2 instance.</p>
|
|
@@ -1955,6 +2007,64 @@ export interface AwsEcrContainerImageDetails {
|
|
|
1955
2007
|
* @public
|
|
1956
2008
|
*/
|
|
1957
2009
|
platform?: string | undefined;
|
|
2010
|
+
/**
|
|
2011
|
+
* <p>The last time an Amazon ECR image was used in an Amazon ECS task or Amazon EKS pod.</p>
|
|
2012
|
+
* @public
|
|
2013
|
+
*/
|
|
2014
|
+
lastInUseAt?: Date | undefined;
|
|
2015
|
+
/**
|
|
2016
|
+
* <p>The number of Amazon ECS tasks or Amazon EKS pods where the Amazon ECR container image is in use.</p>
|
|
2017
|
+
* @public
|
|
2018
|
+
*/
|
|
2019
|
+
inUseCount?: number | undefined;
|
|
2020
|
+
}
|
|
2021
|
+
/**
|
|
2022
|
+
* <p>Metadata about tasks where an image was in use.</p>
|
|
2023
|
+
* @public
|
|
2024
|
+
*/
|
|
2025
|
+
export interface AwsEcsMetadataDetails {
|
|
2026
|
+
/**
|
|
2027
|
+
* <p>The details group information for a task in a cluster.</p>
|
|
2028
|
+
* @public
|
|
2029
|
+
*/
|
|
2030
|
+
detailsGroup: string | undefined;
|
|
2031
|
+
/**
|
|
2032
|
+
* <p>The task definition ARN.</p>
|
|
2033
|
+
* @public
|
|
2034
|
+
*/
|
|
2035
|
+
taskDefinitionArn: string | undefined;
|
|
2036
|
+
}
|
|
2037
|
+
/**
|
|
2038
|
+
* <p>Information about the workload.</p>
|
|
2039
|
+
* @public
|
|
2040
|
+
*/
|
|
2041
|
+
export interface AwsEksWorkloadInfo {
|
|
2042
|
+
/**
|
|
2043
|
+
* <p>The name of the workload.</p>
|
|
2044
|
+
* @public
|
|
2045
|
+
*/
|
|
2046
|
+
name: string | undefined;
|
|
2047
|
+
/**
|
|
2048
|
+
* <p>The workload type.</p>
|
|
2049
|
+
* @public
|
|
2050
|
+
*/
|
|
2051
|
+
type: string | undefined;
|
|
2052
|
+
}
|
|
2053
|
+
/**
|
|
2054
|
+
* <p>The metadata for an Amazon EKS pod where an Amazon ECR image is in use.</p>
|
|
2055
|
+
* @public
|
|
2056
|
+
*/
|
|
2057
|
+
export interface AwsEksMetadataDetails {
|
|
2058
|
+
/**
|
|
2059
|
+
* <p>The namespace for an Amazon EKS cluster.</p>
|
|
2060
|
+
* @public
|
|
2061
|
+
*/
|
|
2062
|
+
namespace?: string | undefined;
|
|
2063
|
+
/**
|
|
2064
|
+
* <p>The list of workloads.</p>
|
|
2065
|
+
* @public
|
|
2066
|
+
*/
|
|
2067
|
+
workloadInfoList?: AwsEksWorkloadInfo[] | undefined;
|
|
1958
2068
|
}
|
|
1959
2069
|
/**
|
|
1960
2070
|
* @public
|
|
@@ -3749,6 +3859,101 @@ export interface CisTargetResourceAggregation {
|
|
|
3749
3859
|
*/
|
|
3750
3860
|
targetStatusReason?: CisTargetStatusReason | undefined;
|
|
3751
3861
|
}
|
|
3862
|
+
/**
|
|
3863
|
+
* <p>The metadata for a cluster.</p>
|
|
3864
|
+
* @public
|
|
3865
|
+
*/
|
|
3866
|
+
export type ClusterMetadata = ClusterMetadata.AwsEcsMetadataDetailsMember | ClusterMetadata.AwsEksMetadataDetailsMember | ClusterMetadata.$UnknownMember;
|
|
3867
|
+
/**
|
|
3868
|
+
* @public
|
|
3869
|
+
*/
|
|
3870
|
+
export declare namespace ClusterMetadata {
|
|
3871
|
+
/**
|
|
3872
|
+
* <p>The details for an Amazon ECS cluster in the cluster metadata.</p>
|
|
3873
|
+
* @public
|
|
3874
|
+
*/
|
|
3875
|
+
interface AwsEcsMetadataDetailsMember {
|
|
3876
|
+
awsEcsMetadataDetails: AwsEcsMetadataDetails;
|
|
3877
|
+
awsEksMetadataDetails?: never;
|
|
3878
|
+
$unknown?: never;
|
|
3879
|
+
}
|
|
3880
|
+
/**
|
|
3881
|
+
* <p>The details for an Amazon EKS cluster in the cluster metadata.</p>
|
|
3882
|
+
* @public
|
|
3883
|
+
*/
|
|
3884
|
+
interface AwsEksMetadataDetailsMember {
|
|
3885
|
+
awsEcsMetadataDetails?: never;
|
|
3886
|
+
awsEksMetadataDetails: AwsEksMetadataDetails;
|
|
3887
|
+
$unknown?: never;
|
|
3888
|
+
}
|
|
3889
|
+
/**
|
|
3890
|
+
* @public
|
|
3891
|
+
*/
|
|
3892
|
+
interface $UnknownMember {
|
|
3893
|
+
awsEcsMetadataDetails?: never;
|
|
3894
|
+
awsEksMetadataDetails?: never;
|
|
3895
|
+
$unknown: [string, any];
|
|
3896
|
+
}
|
|
3897
|
+
interface Visitor<T> {
|
|
3898
|
+
awsEcsMetadataDetails: (value: AwsEcsMetadataDetails) => T;
|
|
3899
|
+
awsEksMetadataDetails: (value: AwsEksMetadataDetails) => T;
|
|
3900
|
+
_: (name: string, value: any) => T;
|
|
3901
|
+
}
|
|
3902
|
+
const visit: <T>(value: ClusterMetadata, visitor: Visitor<T>) => T;
|
|
3903
|
+
}
|
|
3904
|
+
/**
|
|
3905
|
+
* <p>Details about the task or pod in the cluster.</p>
|
|
3906
|
+
* @public
|
|
3907
|
+
*/
|
|
3908
|
+
export interface ClusterDetails {
|
|
3909
|
+
/**
|
|
3910
|
+
* <p>The last timestamp when Amazon Inspector recorded the image in use in the task or pod in the cluster.</p>
|
|
3911
|
+
* @public
|
|
3912
|
+
*/
|
|
3913
|
+
lastInUse: Date | undefined;
|
|
3914
|
+
/**
|
|
3915
|
+
* <p>The number of tasks or pods where an image was running on the cluster.</p>
|
|
3916
|
+
* @public
|
|
3917
|
+
*/
|
|
3918
|
+
runningUnitCount?: number | undefined;
|
|
3919
|
+
/**
|
|
3920
|
+
* <p>The number of tasks or pods where an image was stopped on the cluster in the last 24 hours.</p>
|
|
3921
|
+
* @public
|
|
3922
|
+
*/
|
|
3923
|
+
stoppedUnitCount?: number | undefined;
|
|
3924
|
+
/**
|
|
3925
|
+
* <p>The metadata for a cluster.</p>
|
|
3926
|
+
* @public
|
|
3927
|
+
*/
|
|
3928
|
+
clusterMetadata: ClusterMetadata | undefined;
|
|
3929
|
+
}
|
|
3930
|
+
/**
|
|
3931
|
+
* <p>The filter criteria to be used.</p>
|
|
3932
|
+
* @public
|
|
3933
|
+
*/
|
|
3934
|
+
export interface ClusterForImageFilterCriteria {
|
|
3935
|
+
/**
|
|
3936
|
+
* <p>The resource Id to be used in the filter criteria.</p>
|
|
3937
|
+
* @public
|
|
3938
|
+
*/
|
|
3939
|
+
resourceId: string | undefined;
|
|
3940
|
+
}
|
|
3941
|
+
/**
|
|
3942
|
+
* <p>Information about the cluster.</p>
|
|
3943
|
+
* @public
|
|
3944
|
+
*/
|
|
3945
|
+
export interface ClusterInformation {
|
|
3946
|
+
/**
|
|
3947
|
+
* <p>The cluster ARN.</p>
|
|
3948
|
+
* @public
|
|
3949
|
+
*/
|
|
3950
|
+
clusterArn: string | undefined;
|
|
3951
|
+
/**
|
|
3952
|
+
* <p>Details about the cluster.</p>
|
|
3953
|
+
* @public
|
|
3954
|
+
*/
|
|
3955
|
+
clusterDetails?: ClusterDetails[] | undefined;
|
|
3956
|
+
}
|
|
3752
3957
|
/**
|
|
3753
3958
|
* <p>Contains information on where a code vulnerability is located in your Lambda function.</p>
|
|
3754
3959
|
* @public
|
|
@@ -3972,6 +4177,22 @@ export interface CoverageMapFilter {
|
|
|
3972
4177
|
*/
|
|
3973
4178
|
value?: string | undefined;
|
|
3974
4179
|
}
|
|
4180
|
+
/**
|
|
4181
|
+
* <p>The coverage number to be used in the filter.</p>
|
|
4182
|
+
* @public
|
|
4183
|
+
*/
|
|
4184
|
+
export interface CoverageNumberFilter {
|
|
4185
|
+
/**
|
|
4186
|
+
* <p>The upper inclusive for the coverage number.></p>
|
|
4187
|
+
* @public
|
|
4188
|
+
*/
|
|
4189
|
+
upperInclusive?: number | undefined;
|
|
4190
|
+
/**
|
|
4191
|
+
* <p>The lower inclusive for the coverage number.</p>
|
|
4192
|
+
* @public
|
|
4193
|
+
*/
|
|
4194
|
+
lowerInclusive?: number | undefined;
|
|
4195
|
+
}
|
|
3975
4196
|
/**
|
|
3976
4197
|
* <p>A structure that identifies filter criteria for <code>GetCoverageStatistics</code>.</p>
|
|
3977
4198
|
* @public
|
|
@@ -4052,6 +4273,16 @@ export interface CoverageFilterCriteria {
|
|
|
4052
4273
|
* @public
|
|
4053
4274
|
*/
|
|
4054
4275
|
imagePulledAt?: CoverageDateFilter[] | undefined;
|
|
4276
|
+
/**
|
|
4277
|
+
* <p>The Amazon ECR image that was last in use.</p>
|
|
4278
|
+
* @public
|
|
4279
|
+
*/
|
|
4280
|
+
ecrImageLastInUseAt?: CoverageDateFilter[] | undefined;
|
|
4281
|
+
/**
|
|
4282
|
+
* <p>The number of Amazon ECR images in use.</p>
|
|
4283
|
+
* @public
|
|
4284
|
+
*/
|
|
4285
|
+
ecrImageInUseCount?: CoverageNumberFilter[] | undefined;
|
|
4055
4286
|
}
|
|
4056
4287
|
/**
|
|
4057
4288
|
* @public
|
|
@@ -4117,6 +4348,16 @@ export interface EcrContainerImageMetadata {
|
|
|
4117
4348
|
* @public
|
|
4118
4349
|
*/
|
|
4119
4350
|
imagePulledAt?: Date | undefined;
|
|
4351
|
+
/**
|
|
4352
|
+
* <p>The last time an Amazon ECR image was used in an Amazon ECS task or Amazon EKS pod.</p>
|
|
4353
|
+
* @public
|
|
4354
|
+
*/
|
|
4355
|
+
lastInUseAt?: Date | undefined;
|
|
4356
|
+
/**
|
|
4357
|
+
* <p>The number of Amazon ECS tasks or Amazon EKS pods where the Amazon ECR container image is in use.</p>
|
|
4358
|
+
* @public
|
|
4359
|
+
*/
|
|
4360
|
+
inUseCount?: number | undefined;
|
|
4120
4361
|
}
|
|
4121
4362
|
/**
|
|
4122
4363
|
* @public
|
|
@@ -4231,6 +4472,7 @@ export declare const ScanStatusReason: {
|
|
|
4231
4472
|
readonly NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND";
|
|
4232
4473
|
readonly PENDING_DISABLE: "PENDING_DISABLE";
|
|
4233
4474
|
readonly PENDING_INITIAL_SCAN: "PENDING_INITIAL_SCAN";
|
|
4475
|
+
readonly PENDING_REVIVAL_SCAN: "PENDING_REVIVAL_SCAN";
|
|
4234
4476
|
readonly RESOURCE_TERMINATED: "RESOURCE_TERMINATED";
|
|
4235
4477
|
readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
|
|
4236
4478
|
readonly SCAN_FREQUENCY_MANUAL: "SCAN_FREQUENCY_MANUAL";
|
|
@@ -4454,38 +4696,6 @@ export declare const FilterAction: {
|
|
|
4454
4696
|
* @public
|
|
4455
4697
|
*/
|
|
4456
4698
|
export type FilterAction = (typeof FilterAction)[keyof typeof FilterAction];
|
|
4457
|
-
/**
|
|
4458
|
-
* <p>Contains details on the time range used to filter findings.</p>
|
|
4459
|
-
* @public
|
|
4460
|
-
*/
|
|
4461
|
-
export interface DateFilter {
|
|
4462
|
-
/**
|
|
4463
|
-
* <p>A timestamp representing the start of the time period filtered on.</p>
|
|
4464
|
-
* @public
|
|
4465
|
-
*/
|
|
4466
|
-
startInclusive?: Date | undefined;
|
|
4467
|
-
/**
|
|
4468
|
-
* <p>A timestamp representing the end of the time period filtered on.</p>
|
|
4469
|
-
* @public
|
|
4470
|
-
*/
|
|
4471
|
-
endInclusive?: Date | undefined;
|
|
4472
|
-
}
|
|
4473
|
-
/**
|
|
4474
|
-
* <p>An object that describes the details of a number filter.</p>
|
|
4475
|
-
* @public
|
|
4476
|
-
*/
|
|
4477
|
-
export interface NumberFilter {
|
|
4478
|
-
/**
|
|
4479
|
-
* <p>The highest number to be included in the filter.</p>
|
|
4480
|
-
* @public
|
|
4481
|
-
*/
|
|
4482
|
-
upperInclusive?: number | undefined;
|
|
4483
|
-
/**
|
|
4484
|
-
* <p>The lowest number to be included in the filter.</p>
|
|
4485
|
-
* @public
|
|
4486
|
-
*/
|
|
4487
|
-
lowerInclusive?: number | undefined;
|
|
4488
|
-
}
|
|
4489
4699
|
/**
|
|
4490
4700
|
* <p>An object that describes the details of a port range filter.</p>
|
|
4491
4701
|
* @public
|
|
@@ -4663,6 +4873,16 @@ export interface FilterCriteria {
|
|
|
4663
4873
|
* @public
|
|
4664
4874
|
*/
|
|
4665
4875
|
ecrImageHash?: StringFilter[] | undefined;
|
|
4876
|
+
/**
|
|
4877
|
+
* <p>Filter criteria indicating when an Amazon ECR image was last used in an Amazon ECS cluster task or Amazon EKS cluster pod.</p>
|
|
4878
|
+
* @public
|
|
4879
|
+
*/
|
|
4880
|
+
ecrImageLastInUseAt?: DateFilter[] | undefined;
|
|
4881
|
+
/**
|
|
4882
|
+
* <p>Filter criteria indicating when details for an Amazon ECR image include when an Amazon ECR image is in use.</p>
|
|
4883
|
+
* @public
|
|
4884
|
+
*/
|
|
4885
|
+
ecrImageInUseCount?: NumberFilter[] | undefined;
|
|
4666
4886
|
/**
|
|
4667
4887
|
* <p>Details on the port ranges used to filter findings.</p>
|
|
4668
4888
|
* @public
|
|
@@ -5434,6 +5654,18 @@ export declare const EcrPullDateRescanDuration: {
|
|
|
5434
5654
|
* @public
|
|
5435
5655
|
*/
|
|
5436
5656
|
export type EcrPullDateRescanDuration = (typeof EcrPullDateRescanDuration)[keyof typeof EcrPullDateRescanDuration];
|
|
5657
|
+
/**
|
|
5658
|
+
* @public
|
|
5659
|
+
* @enum
|
|
5660
|
+
*/
|
|
5661
|
+
export declare const EcrPullDateRescanMode: {
|
|
5662
|
+
readonly LAST_IN_USE_AT: "LAST_IN_USE_AT";
|
|
5663
|
+
readonly LAST_PULL_DATE: "LAST_PULL_DATE";
|
|
5664
|
+
};
|
|
5665
|
+
/**
|
|
5666
|
+
* @public
|
|
5667
|
+
*/
|
|
5668
|
+
export type EcrPullDateRescanMode = (typeof EcrPullDateRescanMode)[keyof typeof EcrPullDateRescanMode];
|
|
5437
5669
|
/**
|
|
5438
5670
|
* @public
|
|
5439
5671
|
* @enum
|
|
@@ -5465,6 +5697,11 @@ export interface EcrConfiguration {
|
|
|
5465
5697
|
* @public
|
|
5466
5698
|
*/
|
|
5467
5699
|
pullDateRescanDuration?: EcrPullDateRescanDuration | undefined;
|
|
5700
|
+
/**
|
|
5701
|
+
* <p>The pull date for the re-scan mode.</p>
|
|
5702
|
+
* @public
|
|
5703
|
+
*/
|
|
5704
|
+
pullDateRescanMode?: EcrPullDateRescanMode | undefined;
|
|
5468
5705
|
}
|
|
5469
5706
|
/**
|
|
5470
5707
|
* @public
|
|
@@ -5506,6 +5743,11 @@ export interface EcrRescanDurationState {
|
|
|
5506
5743
|
* @public
|
|
5507
5744
|
*/
|
|
5508
5745
|
pullDateRescanDuration?: EcrPullDateRescanDuration | undefined;
|
|
5746
|
+
/**
|
|
5747
|
+
* <p>The pull date for the re-scan mode.</p>
|
|
5748
|
+
* @public
|
|
5749
|
+
*/
|
|
5750
|
+
pullDateRescanMode?: EcrPullDateRescanMode | undefined;
|
|
5509
5751
|
}
|
|
5510
5752
|
/**
|
|
5511
5753
|
* <p>Details about the state of the ECR scans for your environment.</p>
|
|
@@ -6300,6 +6542,41 @@ export interface GetCisScanResultDetailsResponse {
|
|
|
6300
6542
|
*/
|
|
6301
6543
|
nextToken?: string | undefined;
|
|
6302
6544
|
}
|
|
6545
|
+
/**
|
|
6546
|
+
* @public
|
|
6547
|
+
*/
|
|
6548
|
+
export interface GetClustersForImageRequest {
|
|
6549
|
+
/**
|
|
6550
|
+
* <p>The resource Id for the Amazon ECR image.</p>
|
|
6551
|
+
* @public
|
|
6552
|
+
*/
|
|
6553
|
+
filter: ClusterForImageFilterCriteria | undefined;
|
|
6554
|
+
/**
|
|
6555
|
+
* <p>The maximum number of results to be returned in a single page of results.</p>
|
|
6556
|
+
* @public
|
|
6557
|
+
*/
|
|
6558
|
+
maxResults?: number | undefined;
|
|
6559
|
+
/**
|
|
6560
|
+
* <p>The pagination token from a previous request used to retrieve the next page of results.</p>
|
|
6561
|
+
* @public
|
|
6562
|
+
*/
|
|
6563
|
+
nextToken?: string | undefined;
|
|
6564
|
+
}
|
|
6565
|
+
/**
|
|
6566
|
+
* @public
|
|
6567
|
+
*/
|
|
6568
|
+
export interface GetClustersForImageResponse {
|
|
6569
|
+
/**
|
|
6570
|
+
* <p>A unit of work inside of a cluster, which can include metadata about the cluster.</p>
|
|
6571
|
+
* @public
|
|
6572
|
+
*/
|
|
6573
|
+
cluster: ClusterInformation[] | undefined;
|
|
6574
|
+
/**
|
|
6575
|
+
* <p>The pagination token from a previous request used to retrieve the next page of results.</p>
|
|
6576
|
+
* @public
|
|
6577
|
+
*/
|
|
6578
|
+
nextToken?: string | undefined;
|
|
6579
|
+
}
|
|
6303
6580
|
/**
|
|
6304
6581
|
* @public
|
|
6305
6582
|
*/
|
|
@@ -6507,240 +6784,3 @@ export interface GetSbomExportRequest {
|
|
|
6507
6784
|
*/
|
|
6508
6785
|
reportId: string | undefined;
|
|
6509
6786
|
}
|
|
6510
|
-
/**
|
|
6511
|
-
* @public
|
|
6512
|
-
*/
|
|
6513
|
-
export interface GetSbomExportResponse {
|
|
6514
|
-
/**
|
|
6515
|
-
* <p>The report ID of the software bill of materials (SBOM) report.</p>
|
|
6516
|
-
* @public
|
|
6517
|
-
*/
|
|
6518
|
-
reportId?: string | undefined;
|
|
6519
|
-
/**
|
|
6520
|
-
* <p>The format of the software bill of materials (SBOM) report.</p>
|
|
6521
|
-
* @public
|
|
6522
|
-
*/
|
|
6523
|
-
format?: SbomReportFormat | undefined;
|
|
6524
|
-
/**
|
|
6525
|
-
* <p>The status of the software bill of materials (SBOM) report.</p>
|
|
6526
|
-
* @public
|
|
6527
|
-
*/
|
|
6528
|
-
status?: ExternalReportStatus | undefined;
|
|
6529
|
-
/**
|
|
6530
|
-
* <p>An error code.</p>
|
|
6531
|
-
* @public
|
|
6532
|
-
*/
|
|
6533
|
-
errorCode?: ReportingErrorCode | undefined;
|
|
6534
|
-
/**
|
|
6535
|
-
* <p>An error message.</p>
|
|
6536
|
-
* @public
|
|
6537
|
-
*/
|
|
6538
|
-
errorMessage?: string | undefined;
|
|
6539
|
-
/**
|
|
6540
|
-
* <p>Contains details of the Amazon S3 bucket and KMS key used to export findings</p>
|
|
6541
|
-
* @public
|
|
6542
|
-
*/
|
|
6543
|
-
s3Destination?: Destination | undefined;
|
|
6544
|
-
/**
|
|
6545
|
-
* <p>Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.</p>
|
|
6546
|
-
* @public
|
|
6547
|
-
*/
|
|
6548
|
-
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
6549
|
-
}
|
|
6550
|
-
/**
|
|
6551
|
-
* @public
|
|
6552
|
-
* @enum
|
|
6553
|
-
*/
|
|
6554
|
-
export declare const Service: {
|
|
6555
|
-
readonly EC2: "EC2";
|
|
6556
|
-
readonly ECR: "ECR";
|
|
6557
|
-
readonly LAMBDA: "LAMBDA";
|
|
6558
|
-
};
|
|
6559
|
-
/**
|
|
6560
|
-
* @public
|
|
6561
|
-
*/
|
|
6562
|
-
export type Service = (typeof Service)[keyof typeof Service];
|
|
6563
|
-
/**
|
|
6564
|
-
* @public
|
|
6565
|
-
*/
|
|
6566
|
-
export interface ListAccountPermissionsRequest {
|
|
6567
|
-
/**
|
|
6568
|
-
* <p>The service scan type to check permissions for.</p>
|
|
6569
|
-
* @public
|
|
6570
|
-
*/
|
|
6571
|
-
service?: Service | undefined;
|
|
6572
|
-
/**
|
|
6573
|
-
* <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>
|
|
6574
|
-
* @public
|
|
6575
|
-
*/
|
|
6576
|
-
maxResults?: number | undefined;
|
|
6577
|
-
/**
|
|
6578
|
-
* <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>
|
|
6579
|
-
* @public
|
|
6580
|
-
*/
|
|
6581
|
-
nextToken?: string | undefined;
|
|
6582
|
-
}
|
|
6583
|
-
/**
|
|
6584
|
-
* @public
|
|
6585
|
-
* @enum
|
|
6586
|
-
*/
|
|
6587
|
-
export declare const Operation: {
|
|
6588
|
-
readonly DISABLE_REPOSITORY: "DISABLE_REPOSITORY";
|
|
6589
|
-
readonly DISABLE_SCANNING: "DISABLE_SCANNING";
|
|
6590
|
-
readonly ENABLE_REPOSITORY: "ENABLE_REPOSITORY";
|
|
6591
|
-
readonly ENABLE_SCANNING: "ENABLE_SCANNING";
|
|
6592
|
-
};
|
|
6593
|
-
/**
|
|
6594
|
-
* @public
|
|
6595
|
-
*/
|
|
6596
|
-
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
6597
|
-
/**
|
|
6598
|
-
* <p>Contains information on the permissions an account has within Amazon Inspector.</p>
|
|
6599
|
-
* @public
|
|
6600
|
-
*/
|
|
6601
|
-
export interface Permission {
|
|
6602
|
-
/**
|
|
6603
|
-
* <p>The services that the permissions allow an account to perform the given operations for.</p>
|
|
6604
|
-
* @public
|
|
6605
|
-
*/
|
|
6606
|
-
service: Service | undefined;
|
|
6607
|
-
/**
|
|
6608
|
-
* <p>The operations that can be performed with the given permissions.</p>
|
|
6609
|
-
* @public
|
|
6610
|
-
*/
|
|
6611
|
-
operation: Operation | undefined;
|
|
6612
|
-
}
|
|
6613
|
-
/**
|
|
6614
|
-
* @public
|
|
6615
|
-
*/
|
|
6616
|
-
export interface ListAccountPermissionsResponse {
|
|
6617
|
-
/**
|
|
6618
|
-
* <p>Contains details on the permissions an account has to configure Amazon Inspector.</p>
|
|
6619
|
-
* @public
|
|
6620
|
-
*/
|
|
6621
|
-
permissions: Permission[] | undefined;
|
|
6622
|
-
/**
|
|
6623
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
6624
|
-
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
6625
|
-
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
6626
|
-
* results after the first page.</p>
|
|
6627
|
-
* @public
|
|
6628
|
-
*/
|
|
6629
|
-
nextToken?: string | undefined;
|
|
6630
|
-
}
|
|
6631
|
-
/**
|
|
6632
|
-
* <p>A list of CIS scan configurations filter criteria.</p>
|
|
6633
|
-
* @public
|
|
6634
|
-
*/
|
|
6635
|
-
export interface ListCisScanConfigurationsFilterCriteria {
|
|
6636
|
-
/**
|
|
6637
|
-
* <p>The list of scan name filters.</p>
|
|
6638
|
-
* @public
|
|
6639
|
-
*/
|
|
6640
|
-
scanNameFilters?: CisStringFilter[] | undefined;
|
|
6641
|
-
/**
|
|
6642
|
-
* <p>The list of target resource tag filters.</p>
|
|
6643
|
-
* @public
|
|
6644
|
-
*/
|
|
6645
|
-
targetResourceTagFilters?: TagFilter[] | undefined;
|
|
6646
|
-
/**
|
|
6647
|
-
* <p>The list of scan configuration ARN filters.</p>
|
|
6648
|
-
* @public
|
|
6649
|
-
*/
|
|
6650
|
-
scanConfigurationArnFilters?: CisStringFilter[] | undefined;
|
|
6651
|
-
}
|
|
6652
|
-
/**
|
|
6653
|
-
* @public
|
|
6654
|
-
*/
|
|
6655
|
-
export interface ListCisScanConfigurationsRequest {
|
|
6656
|
-
/**
|
|
6657
|
-
* <p>The CIS scan configuration filter criteria.</p>
|
|
6658
|
-
* @public
|
|
6659
|
-
*/
|
|
6660
|
-
filterCriteria?: ListCisScanConfigurationsFilterCriteria | undefined;
|
|
6661
|
-
/**
|
|
6662
|
-
* <p>The CIS scan configuration sort by order.</p>
|
|
6663
|
-
* @public
|
|
6664
|
-
*/
|
|
6665
|
-
sortBy?: CisScanConfigurationsSortBy | undefined;
|
|
6666
|
-
/**
|
|
6667
|
-
* <p>The CIS scan configuration sort order order.</p>
|
|
6668
|
-
* @public
|
|
6669
|
-
*/
|
|
6670
|
-
sortOrder?: CisSortOrder | undefined;
|
|
6671
|
-
/**
|
|
6672
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
6673
|
-
* @public
|
|
6674
|
-
*/
|
|
6675
|
-
nextToken?: string | undefined;
|
|
6676
|
-
/**
|
|
6677
|
-
* <p>The maximum number of CIS scan configurations to be returned in a single page of results.</p>
|
|
6678
|
-
* @public
|
|
6679
|
-
*/
|
|
6680
|
-
maxResults?: number | undefined;
|
|
6681
|
-
}
|
|
6682
|
-
/**
|
|
6683
|
-
* @public
|
|
6684
|
-
*/
|
|
6685
|
-
export interface ListCisScanConfigurationsResponse {
|
|
6686
|
-
/**
|
|
6687
|
-
* <p>The CIS scan configuration scan configurations.</p>
|
|
6688
|
-
* @public
|
|
6689
|
-
*/
|
|
6690
|
-
scanConfigurations?: CisScanConfiguration[] | undefined;
|
|
6691
|
-
/**
|
|
6692
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
6693
|
-
* @public
|
|
6694
|
-
*/
|
|
6695
|
-
nextToken?: string | undefined;
|
|
6696
|
-
}
|
|
6697
|
-
/**
|
|
6698
|
-
* @public
|
|
6699
|
-
*/
|
|
6700
|
-
export interface ListCisScanResultsAggregatedByChecksRequest {
|
|
6701
|
-
/**
|
|
6702
|
-
* <p>The scan ARN.</p>
|
|
6703
|
-
* @public
|
|
6704
|
-
*/
|
|
6705
|
-
scanArn: string | undefined;
|
|
6706
|
-
/**
|
|
6707
|
-
* <p>The filter criteria.</p>
|
|
6708
|
-
* @public
|
|
6709
|
-
*/
|
|
6710
|
-
filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria | undefined;
|
|
6711
|
-
/**
|
|
6712
|
-
* <p>The sort by order.</p>
|
|
6713
|
-
* @public
|
|
6714
|
-
*/
|
|
6715
|
-
sortBy?: CisScanResultsAggregatedByChecksSortBy | undefined;
|
|
6716
|
-
/**
|
|
6717
|
-
* <p>The sort order.</p>
|
|
6718
|
-
* @public
|
|
6719
|
-
*/
|
|
6720
|
-
sortOrder?: CisSortOrder | undefined;
|
|
6721
|
-
/**
|
|
6722
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
6723
|
-
* @public
|
|
6724
|
-
*/
|
|
6725
|
-
nextToken?: string | undefined;
|
|
6726
|
-
/**
|
|
6727
|
-
* <p>The maximum number of scan results aggregated by checks to be returned in a single page of results.</p>
|
|
6728
|
-
* @public
|
|
6729
|
-
*/
|
|
6730
|
-
maxResults?: number | undefined;
|
|
6731
|
-
}
|
|
6732
|
-
/**
|
|
6733
|
-
* @public
|
|
6734
|
-
*/
|
|
6735
|
-
export interface ListCisScanResultsAggregatedByChecksResponse {
|
|
6736
|
-
/**
|
|
6737
|
-
* <p>The check aggregations.</p>
|
|
6738
|
-
* @public
|
|
6739
|
-
*/
|
|
6740
|
-
checkAggregations?: CisCheckAggregation[] | undefined;
|
|
6741
|
-
/**
|
|
6742
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
6743
|
-
* @public
|
|
6744
|
-
*/
|
|
6745
|
-
nextToken?: string | undefined;
|
|
6746
|
-
}
|