@aws-sdk/client-inspector2 3.934.0 → 3.936.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/dist-cjs/index.js +170 -714
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +169 -0
- package/dist-es/models/errors.js +115 -0
- package/dist-es/models/models_0.js +66 -268
- package/dist-es/models/models_1.js +0 -80
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/GetCisScanReportCommand.d.ts +1 -1
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
- package/dist-types/commands/GetClustersForImageCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +4 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +441 -0
- package/dist-types/models/errors.d.ts +144 -0
- package/dist-types/models/models_0.d.ts +992 -545
- package/dist-types/models/models_1.d.ts +2 -1026
- package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCodeSecurityIntegrationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCodeSecurityScanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCodeSecurityScanConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +232 -0
- package/dist-types/ts3.4/models/errors.d.ts +71 -0
- package/dist-types/ts3.4/models/models_0.d.ts +298 -277
- package/dist-types/ts3.4/models/models_1.d.ts +17 -314
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
6
|
-
* unsupported Amazon Web Services Region. </p>
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
-
readonly name: "AccessDeniedException";
|
|
11
|
-
readonly $fault: "client";
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
|
-
}
|
|
1
|
+
import { AssociationResultStatusCode, CisFindingStatus, CisFindingStatusComparison, CisReportFormat, CisReportStatus, CisResultStatus, CisResultStatusComparison, CisRuleStatus, CisScanResultDetailsSortBy, CisScanStatus, CisScanStatusComparison, CisSecurityLevel, CisSecurityLevelComparison, CisSortOrder, CisStringComparison, CisTargetStatus, CisTargetStatusComparison, CisTargetStatusReason, CodeScanStatus, ConfigurationLevel, ContinuousIntegrationScanEvent, Day, IntegrationStatus, IntegrationType, PeriodicScanFrequency, ProjectSelectionScope, RuleSetCategory, TagComparison } from "./enums";
|
|
17
2
|
/**
|
|
18
3
|
* @public
|
|
19
4
|
* @enum
|
|
@@ -214,19 +199,6 @@ export interface AccountAggregationResponse {
|
|
|
214
199
|
*/
|
|
215
200
|
fixAvailableCount?: number | undefined;
|
|
216
201
|
}
|
|
217
|
-
/**
|
|
218
|
-
* @public
|
|
219
|
-
* @enum
|
|
220
|
-
*/
|
|
221
|
-
export declare const CisStringComparison: {
|
|
222
|
-
readonly EQUALS: "EQUALS";
|
|
223
|
-
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
224
|
-
readonly PREFIX: "PREFIX";
|
|
225
|
-
};
|
|
226
|
-
/**
|
|
227
|
-
* @public
|
|
228
|
-
*/
|
|
229
|
-
export type CisStringComparison = (typeof CisStringComparison)[keyof typeof CisStringComparison];
|
|
230
202
|
/**
|
|
231
203
|
* <p>The CIS string filter.</p>
|
|
232
204
|
* @public
|
|
@@ -251,6 +223,7 @@ export declare const ErrorCode: {
|
|
|
251
223
|
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
252
224
|
readonly ACCOUNT_IS_ISOLATED: "ACCOUNT_IS_ISOLATED";
|
|
253
225
|
readonly ALREADY_ENABLED: "ALREADY_ENABLED";
|
|
226
|
+
readonly BLOCKED_BY_ORGANIZATION_POLICY: "BLOCKED_BY_ORGANIZATION_POLICY";
|
|
254
227
|
readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
|
|
255
228
|
readonly DISASSOCIATE_ALL_MEMBERS: "DISASSOCIATE_ALL_MEMBERS";
|
|
256
229
|
readonly EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED: "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED";
|
|
@@ -1975,62 +1948,6 @@ export interface AssociateMemberResponse {
|
|
|
1975
1948
|
*/
|
|
1976
1949
|
accountId: string | undefined;
|
|
1977
1950
|
}
|
|
1978
|
-
/**
|
|
1979
|
-
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
1980
|
-
* @public
|
|
1981
|
-
*/
|
|
1982
|
-
export declare class InternalServerException extends __BaseException {
|
|
1983
|
-
readonly name: "InternalServerException";
|
|
1984
|
-
readonly $fault: "server";
|
|
1985
|
-
$retryable: {};
|
|
1986
|
-
/**
|
|
1987
|
-
* <p>The number of seconds to wait before retrying the request.</p>
|
|
1988
|
-
* @public
|
|
1989
|
-
*/
|
|
1990
|
-
retryAfterSeconds?: number | undefined;
|
|
1991
|
-
/**
|
|
1992
|
-
* @internal
|
|
1993
|
-
*/
|
|
1994
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
1995
|
-
}
|
|
1996
|
-
/**
|
|
1997
|
-
* <p>You have exceeded your service quota. To perform the requested action, remove some of
|
|
1998
|
-
* the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
1999
|
-
* @public
|
|
2000
|
-
*/
|
|
2001
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
2002
|
-
readonly name: "ServiceQuotaExceededException";
|
|
2003
|
-
readonly $fault: "client";
|
|
2004
|
-
/**
|
|
2005
|
-
* <p>The ID of the resource that exceeds a service quota.</p>
|
|
2006
|
-
* @public
|
|
2007
|
-
*/
|
|
2008
|
-
resourceId: string | undefined;
|
|
2009
|
-
/**
|
|
2010
|
-
* @internal
|
|
2011
|
-
*/
|
|
2012
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
2013
|
-
}
|
|
2014
|
-
/**
|
|
2015
|
-
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
2016
|
-
* @public
|
|
2017
|
-
*/
|
|
2018
|
-
export declare class ThrottlingException extends __BaseException {
|
|
2019
|
-
readonly name: "ThrottlingException";
|
|
2020
|
-
readonly $fault: "client";
|
|
2021
|
-
$retryable: {
|
|
2022
|
-
throttling: boolean;
|
|
2023
|
-
};
|
|
2024
|
-
/**
|
|
2025
|
-
* <p>The number of seconds to wait before retrying the request.</p>
|
|
2026
|
-
* @public
|
|
2027
|
-
*/
|
|
2028
|
-
retryAfterSeconds?: number | undefined;
|
|
2029
|
-
/**
|
|
2030
|
-
* @internal
|
|
2031
|
-
*/
|
|
2032
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
2033
|
-
}
|
|
2034
1951
|
/**
|
|
2035
1952
|
* <p>An object that describes a validation exception.</p>
|
|
2036
1953
|
* @public
|
|
@@ -2060,45 +1977,6 @@ export declare const ValidationExceptionReason: {
|
|
|
2060
1977
|
* @public
|
|
2061
1978
|
*/
|
|
2062
1979
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
2063
|
-
/**
|
|
2064
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
2065
|
-
* inputs.</p>
|
|
2066
|
-
* @public
|
|
2067
|
-
*/
|
|
2068
|
-
export declare class ValidationException extends __BaseException {
|
|
2069
|
-
readonly name: "ValidationException";
|
|
2070
|
-
readonly $fault: "client";
|
|
2071
|
-
/**
|
|
2072
|
-
* <p>The reason for the validation failure.</p>
|
|
2073
|
-
* @public
|
|
2074
|
-
*/
|
|
2075
|
-
reason: ValidationExceptionReason | undefined;
|
|
2076
|
-
/**
|
|
2077
|
-
* <p>The fields that failed validation.</p>
|
|
2078
|
-
* @public
|
|
2079
|
-
*/
|
|
2080
|
-
fields?: ValidationExceptionField[] | undefined;
|
|
2081
|
-
/**
|
|
2082
|
-
* @internal
|
|
2083
|
-
*/
|
|
2084
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
2085
|
-
}
|
|
2086
|
-
/**
|
|
2087
|
-
* @public
|
|
2088
|
-
* @enum
|
|
2089
|
-
*/
|
|
2090
|
-
export declare const AssociationResultStatusCode: {
|
|
2091
|
-
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
2092
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
2093
|
-
readonly INVALID_INPUT: "INVALID_INPUT";
|
|
2094
|
-
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
2095
|
-
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
2096
|
-
readonly SCAN_CONFIGURATION_NOT_FOUND: "SCAN_CONFIGURATION_NOT_FOUND";
|
|
2097
|
-
};
|
|
2098
|
-
/**
|
|
2099
|
-
* @public
|
|
2100
|
-
*/
|
|
2101
|
-
export type AssociationResultStatusCode = (typeof AssociationResultStatusCode)[keyof typeof AssociationResultStatusCode];
|
|
2102
1980
|
/**
|
|
2103
1981
|
* <p>The Amazon Web Services Threat Intel Group (ATIG) details for a specific
|
|
2104
1982
|
* vulnerability.</p>
|
|
@@ -2454,18 +2332,6 @@ export interface AwsLambdaFunctionDetails {
|
|
|
2454
2332
|
*/
|
|
2455
2333
|
lastModifiedAt?: Date | undefined;
|
|
2456
2334
|
}
|
|
2457
|
-
/**
|
|
2458
|
-
* <p>One or more tags submitted as part of the request is not valid.</p>
|
|
2459
|
-
* @public
|
|
2460
|
-
*/
|
|
2461
|
-
export declare class BadRequestException extends __BaseException {
|
|
2462
|
-
readonly name: "BadRequestException";
|
|
2463
|
-
readonly $fault: "client";
|
|
2464
|
-
/**
|
|
2465
|
-
* @internal
|
|
2466
|
-
*/
|
|
2467
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
2468
|
-
}
|
|
2469
2335
|
/**
|
|
2470
2336
|
* @public
|
|
2471
2337
|
*/
|
|
@@ -2539,42 +2405,6 @@ export interface BatchAssociateCodeSecurityScanConfigurationResponse {
|
|
|
2539
2405
|
*/
|
|
2540
2406
|
successfulAssociations?: SuccessfulAssociationResult[] | undefined;
|
|
2541
2407
|
}
|
|
2542
|
-
/**
|
|
2543
|
-
* <p>A conflict occurred. This exception occurs when the same resource is being modified by
|
|
2544
|
-
* concurrent requests.</p>
|
|
2545
|
-
* @public
|
|
2546
|
-
*/
|
|
2547
|
-
export declare class ConflictException extends __BaseException {
|
|
2548
|
-
readonly name: "ConflictException";
|
|
2549
|
-
readonly $fault: "client";
|
|
2550
|
-
/**
|
|
2551
|
-
* The ID of the conflicting resource.
|
|
2552
|
-
* @public
|
|
2553
|
-
*/
|
|
2554
|
-
resourceId: string | undefined;
|
|
2555
|
-
/**
|
|
2556
|
-
* The type of the conflicting resource.
|
|
2557
|
-
* @public
|
|
2558
|
-
*/
|
|
2559
|
-
resourceType: string | undefined;
|
|
2560
|
-
/**
|
|
2561
|
-
* @internal
|
|
2562
|
-
*/
|
|
2563
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
2564
|
-
}
|
|
2565
|
-
/**
|
|
2566
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
2567
|
-
* correctly.</p>
|
|
2568
|
-
* @public
|
|
2569
|
-
*/
|
|
2570
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
2571
|
-
readonly name: "ResourceNotFoundException";
|
|
2572
|
-
readonly $fault: "client";
|
|
2573
|
-
/**
|
|
2574
|
-
* @internal
|
|
2575
|
-
*/
|
|
2576
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
2577
|
-
}
|
|
2578
2408
|
/**
|
|
2579
2409
|
* <p>Contains details about a request to disassociate a code repository from a scan
|
|
2580
2410
|
* configuration.</p>
|
|
@@ -3289,18 +3119,6 @@ export interface CancelSbomExportResponse {
|
|
|
3289
3119
|
*/
|
|
3290
3120
|
reportId?: string | undefined;
|
|
3291
3121
|
}
|
|
3292
|
-
/**
|
|
3293
|
-
* @public
|
|
3294
|
-
* @enum
|
|
3295
|
-
*/
|
|
3296
|
-
export declare const CisSecurityLevel: {
|
|
3297
|
-
readonly LEVEL_1: "LEVEL_1";
|
|
3298
|
-
readonly LEVEL_2: "LEVEL_2";
|
|
3299
|
-
};
|
|
3300
|
-
/**
|
|
3301
|
-
* @public
|
|
3302
|
-
*/
|
|
3303
|
-
export type CisSecurityLevel = (typeof CisSecurityLevel)[keyof typeof CisSecurityLevel];
|
|
3304
3122
|
/**
|
|
3305
3123
|
* <p>The status counts.</p>
|
|
3306
3124
|
* @public
|
|
@@ -3384,30 +3202,6 @@ export interface CisDateFilter {
|
|
|
3384
3202
|
*/
|
|
3385
3203
|
latestScanStartTime?: Date | undefined;
|
|
3386
3204
|
}
|
|
3387
|
-
/**
|
|
3388
|
-
* @public
|
|
3389
|
-
* @enum
|
|
3390
|
-
*/
|
|
3391
|
-
export declare const CisFindingStatus: {
|
|
3392
|
-
readonly FAILED: "FAILED";
|
|
3393
|
-
readonly PASSED: "PASSED";
|
|
3394
|
-
readonly SKIPPED: "SKIPPED";
|
|
3395
|
-
};
|
|
3396
|
-
/**
|
|
3397
|
-
* @public
|
|
3398
|
-
*/
|
|
3399
|
-
export type CisFindingStatus = (typeof CisFindingStatus)[keyof typeof CisFindingStatus];
|
|
3400
|
-
/**
|
|
3401
|
-
* @public
|
|
3402
|
-
* @enum
|
|
3403
|
-
*/
|
|
3404
|
-
export declare const CisFindingStatusComparison: {
|
|
3405
|
-
readonly EQUALS: "EQUALS";
|
|
3406
|
-
};
|
|
3407
|
-
/**
|
|
3408
|
-
* @public
|
|
3409
|
-
*/
|
|
3410
|
-
export type CisFindingStatusComparison = (typeof CisFindingStatusComparison)[keyof typeof CisFindingStatusComparison];
|
|
3411
3205
|
/**
|
|
3412
3206
|
* <p>The CIS finding status filter.</p>
|
|
3413
3207
|
* @public
|
|
@@ -3440,55 +3234,6 @@ export interface CisNumberFilter {
|
|
|
3440
3234
|
*/
|
|
3441
3235
|
lowerInclusive?: number | undefined;
|
|
3442
3236
|
}
|
|
3443
|
-
/**
|
|
3444
|
-
* @public
|
|
3445
|
-
* @enum
|
|
3446
|
-
*/
|
|
3447
|
-
export declare const CisReportFormat: {
|
|
3448
|
-
readonly CSV: "CSV";
|
|
3449
|
-
readonly PDF: "PDF";
|
|
3450
|
-
};
|
|
3451
|
-
/**
|
|
3452
|
-
* @public
|
|
3453
|
-
*/
|
|
3454
|
-
export type CisReportFormat = (typeof CisReportFormat)[keyof typeof CisReportFormat];
|
|
3455
|
-
/**
|
|
3456
|
-
* @public
|
|
3457
|
-
* @enum
|
|
3458
|
-
*/
|
|
3459
|
-
export declare const CisReportStatus: {
|
|
3460
|
-
readonly FAILED: "FAILED";
|
|
3461
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
3462
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
3463
|
-
};
|
|
3464
|
-
/**
|
|
3465
|
-
* @public
|
|
3466
|
-
*/
|
|
3467
|
-
export type CisReportStatus = (typeof CisReportStatus)[keyof typeof CisReportStatus];
|
|
3468
|
-
/**
|
|
3469
|
-
* @public
|
|
3470
|
-
* @enum
|
|
3471
|
-
*/
|
|
3472
|
-
export declare const CisResultStatus: {
|
|
3473
|
-
readonly FAILED: "FAILED";
|
|
3474
|
-
readonly PASSED: "PASSED";
|
|
3475
|
-
readonly SKIPPED: "SKIPPED";
|
|
3476
|
-
};
|
|
3477
|
-
/**
|
|
3478
|
-
* @public
|
|
3479
|
-
*/
|
|
3480
|
-
export type CisResultStatus = (typeof CisResultStatus)[keyof typeof CisResultStatus];
|
|
3481
|
-
/**
|
|
3482
|
-
* @public
|
|
3483
|
-
* @enum
|
|
3484
|
-
*/
|
|
3485
|
-
export declare const CisResultStatusComparison: {
|
|
3486
|
-
readonly EQUALS: "EQUALS";
|
|
3487
|
-
};
|
|
3488
|
-
/**
|
|
3489
|
-
* @public
|
|
3490
|
-
*/
|
|
3491
|
-
export type CisResultStatusComparison = (typeof CisResultStatusComparison)[keyof typeof CisResultStatusComparison];
|
|
3492
3237
|
/**
|
|
3493
3238
|
* <p>The CIS result status filter.</p>
|
|
3494
3239
|
* @public
|
|
@@ -3505,37 +3250,6 @@ export interface CisResultStatusFilter {
|
|
|
3505
3250
|
*/
|
|
3506
3251
|
value: CisResultStatus | undefined;
|
|
3507
3252
|
}
|
|
3508
|
-
/**
|
|
3509
|
-
* @public
|
|
3510
|
-
* @enum
|
|
3511
|
-
*/
|
|
3512
|
-
export declare const CisRuleStatus: {
|
|
3513
|
-
readonly ERROR: "ERROR";
|
|
3514
|
-
readonly FAILED: "FAILED";
|
|
3515
|
-
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
3516
|
-
readonly NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
3517
|
-
readonly NOT_EVALUATED: "NOT_EVALUATED";
|
|
3518
|
-
readonly PASSED: "PASSED";
|
|
3519
|
-
readonly UNKNOWN: "UNKNOWN";
|
|
3520
|
-
};
|
|
3521
|
-
/**
|
|
3522
|
-
* @public
|
|
3523
|
-
*/
|
|
3524
|
-
export type CisRuleStatus = (typeof CisRuleStatus)[keyof typeof CisRuleStatus];
|
|
3525
|
-
/**
|
|
3526
|
-
* @public
|
|
3527
|
-
* @enum
|
|
3528
|
-
*/
|
|
3529
|
-
export declare const CisScanStatus: {
|
|
3530
|
-
readonly CANCELLED: "CANCELLED";
|
|
3531
|
-
readonly COMPLETED: "COMPLETED";
|
|
3532
|
-
readonly FAILED: "FAILED";
|
|
3533
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
3534
|
-
};
|
|
3535
|
-
/**
|
|
3536
|
-
* @public
|
|
3537
|
-
*/
|
|
3538
|
-
export type CisScanStatus = (typeof CisScanStatus)[keyof typeof CisScanStatus];
|
|
3539
3253
|
/**
|
|
3540
3254
|
* <p>The CIS targets.</p>
|
|
3541
3255
|
* @public
|
|
@@ -3636,23 +3350,6 @@ export interface DailySchedule {
|
|
|
3636
3350
|
*/
|
|
3637
3351
|
startTime: Time | undefined;
|
|
3638
3352
|
}
|
|
3639
|
-
/**
|
|
3640
|
-
* @public
|
|
3641
|
-
* @enum
|
|
3642
|
-
*/
|
|
3643
|
-
export declare const Day: {
|
|
3644
|
-
readonly FRI: "FRI";
|
|
3645
|
-
readonly MON: "MON";
|
|
3646
|
-
readonly SAT: "SAT";
|
|
3647
|
-
readonly SUN: "SUN";
|
|
3648
|
-
readonly THU: "THU";
|
|
3649
|
-
readonly TUE: "TUE";
|
|
3650
|
-
readonly WED: "WED";
|
|
3651
|
-
};
|
|
3652
|
-
/**
|
|
3653
|
-
* @public
|
|
3654
|
-
*/
|
|
3655
|
-
export type Day = (typeof Day)[keyof typeof Day];
|
|
3656
3353
|
/**
|
|
3657
3354
|
* <p>A monthly schedule.</p>
|
|
3658
3355
|
* @public
|
|
@@ -3807,18 +3504,6 @@ export interface CisScanConfiguration {
|
|
|
3807
3504
|
*/
|
|
3808
3505
|
tags?: Record<string, string> | undefined;
|
|
3809
3506
|
}
|
|
3810
|
-
/**
|
|
3811
|
-
* @public
|
|
3812
|
-
* @enum
|
|
3813
|
-
*/
|
|
3814
|
-
export declare const CisScanConfigurationsSortBy: {
|
|
3815
|
-
readonly SCAN_CONFIGURATION_ARN: "SCAN_CONFIGURATION_ARN";
|
|
3816
|
-
readonly SCAN_NAME: "SCAN_NAME";
|
|
3817
|
-
};
|
|
3818
|
-
/**
|
|
3819
|
-
* @public
|
|
3820
|
-
*/
|
|
3821
|
-
export type CisScanConfigurationsSortBy = (typeof CisScanConfigurationsSortBy)[keyof typeof CisScanConfigurationsSortBy];
|
|
3822
3507
|
/**
|
|
3823
3508
|
* <p>The CIS scan result details.</p>
|
|
3824
3509
|
* @public
|
|
@@ -3885,17 +3570,6 @@ export interface CisScanResultDetails {
|
|
|
3885
3570
|
*/
|
|
3886
3571
|
findingArn?: string | undefined;
|
|
3887
3572
|
}
|
|
3888
|
-
/**
|
|
3889
|
-
* @public
|
|
3890
|
-
* @enum
|
|
3891
|
-
*/
|
|
3892
|
-
export declare const CisSecurityLevelComparison: {
|
|
3893
|
-
readonly EQUALS: "EQUALS";
|
|
3894
|
-
};
|
|
3895
|
-
/**
|
|
3896
|
-
* @public
|
|
3897
|
-
*/
|
|
3898
|
-
export type CisSecurityLevelComparison = (typeof CisSecurityLevelComparison)[keyof typeof CisSecurityLevelComparison];
|
|
3899
3573
|
/**
|
|
3900
3574
|
* <p> The CIS security level filter. Security level refers to the Benchmark levels that CIS
|
|
3901
3575
|
* assigns to a profile. </p>
|
|
@@ -3945,18 +3619,6 @@ export interface CisScanResultDetailsFilterCriteria {
|
|
|
3945
3619
|
*/
|
|
3946
3620
|
findingArnFilters?: CisStringFilter[] | undefined;
|
|
3947
3621
|
}
|
|
3948
|
-
/**
|
|
3949
|
-
* @public
|
|
3950
|
-
* @enum
|
|
3951
|
-
*/
|
|
3952
|
-
export declare const CisScanResultDetailsSortBy: {
|
|
3953
|
-
readonly CHECK_ID: "CHECK_ID";
|
|
3954
|
-
readonly STATUS: "STATUS";
|
|
3955
|
-
};
|
|
3956
|
-
/**
|
|
3957
|
-
* @public
|
|
3958
|
-
*/
|
|
3959
|
-
export type CisScanResultDetailsSortBy = (typeof CisScanResultDetailsSortBy)[keyof typeof CisScanResultDetailsSortBy];
|
|
3960
3622
|
/**
|
|
3961
3623
|
* <p>The scan results aggregated by checks filter criteria.</p>
|
|
3962
3624
|
* @public
|
|
@@ -3993,32 +3655,6 @@ export interface CisScanResultsAggregatedByChecksFilterCriteria {
|
|
|
3993
3655
|
*/
|
|
3994
3656
|
securityLevelFilters?: CisSecurityLevelFilter[] | undefined;
|
|
3995
3657
|
}
|
|
3996
|
-
/**
|
|
3997
|
-
* @public
|
|
3998
|
-
* @enum
|
|
3999
|
-
*/
|
|
4000
|
-
export declare const CisScanResultsAggregatedByChecksSortBy: {
|
|
4001
|
-
readonly CHECK_ID: "CHECK_ID";
|
|
4002
|
-
readonly FAILED_COUNTS: "FAILED_COUNTS";
|
|
4003
|
-
readonly PLATFORM: "PLATFORM";
|
|
4004
|
-
readonly SECURITY_LEVEL: "SECURITY_LEVEL";
|
|
4005
|
-
readonly TITLE: "TITLE";
|
|
4006
|
-
};
|
|
4007
|
-
/**
|
|
4008
|
-
* @public
|
|
4009
|
-
*/
|
|
4010
|
-
export type CisScanResultsAggregatedByChecksSortBy = (typeof CisScanResultsAggregatedByChecksSortBy)[keyof typeof CisScanResultsAggregatedByChecksSortBy];
|
|
4011
|
-
/**
|
|
4012
|
-
* @public
|
|
4013
|
-
* @enum
|
|
4014
|
-
*/
|
|
4015
|
-
export declare const TagComparison: {
|
|
4016
|
-
readonly EQUALS: "EQUALS";
|
|
4017
|
-
};
|
|
4018
|
-
/**
|
|
4019
|
-
* @public
|
|
4020
|
-
*/
|
|
4021
|
-
export type TagComparison = (typeof TagComparison)[keyof typeof TagComparison];
|
|
4022
3658
|
/**
|
|
4023
3659
|
* <p>The tag filter.</p>
|
|
4024
3660
|
* @public
|
|
@@ -4040,30 +3676,6 @@ export interface TagFilter {
|
|
|
4040
3676
|
*/
|
|
4041
3677
|
value: string | undefined;
|
|
4042
3678
|
}
|
|
4043
|
-
/**
|
|
4044
|
-
* @public
|
|
4045
|
-
* @enum
|
|
4046
|
-
*/
|
|
4047
|
-
export declare const CisTargetStatusComparison: {
|
|
4048
|
-
readonly EQUALS: "EQUALS";
|
|
4049
|
-
};
|
|
4050
|
-
/**
|
|
4051
|
-
* @public
|
|
4052
|
-
*/
|
|
4053
|
-
export type CisTargetStatusComparison = (typeof CisTargetStatusComparison)[keyof typeof CisTargetStatusComparison];
|
|
4054
|
-
/**
|
|
4055
|
-
* @public
|
|
4056
|
-
* @enum
|
|
4057
|
-
*/
|
|
4058
|
-
export declare const CisTargetStatus: {
|
|
4059
|
-
readonly CANCELLED: "CANCELLED";
|
|
4060
|
-
readonly COMPLETED: "COMPLETED";
|
|
4061
|
-
readonly TIMED_OUT: "TIMED_OUT";
|
|
4062
|
-
};
|
|
4063
|
-
/**
|
|
4064
|
-
* @public
|
|
4065
|
-
*/
|
|
4066
|
-
export type CisTargetStatus = (typeof CisTargetStatus)[keyof typeof CisTargetStatus];
|
|
4067
3679
|
/**
|
|
4068
3680
|
* <p>The CIS target status filter.</p>
|
|
4069
3681
|
* @public
|
|
@@ -4081,20 +3693,7 @@ export interface CisTargetStatusFilter {
|
|
|
4081
3693
|
value: CisTargetStatus | undefined;
|
|
4082
3694
|
}
|
|
4083
3695
|
/**
|
|
4084
|
-
*
|
|
4085
|
-
* @enum
|
|
4086
|
-
*/
|
|
4087
|
-
export declare const CisTargetStatusReason: {
|
|
4088
|
-
readonly SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS";
|
|
4089
|
-
readonly SSM_UNMANAGED: "SSM_UNMANAGED";
|
|
4090
|
-
readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
|
|
4091
|
-
};
|
|
4092
|
-
/**
|
|
4093
|
-
* @public
|
|
4094
|
-
*/
|
|
4095
|
-
export type CisTargetStatusReason = (typeof CisTargetStatusReason)[keyof typeof CisTargetStatusReason];
|
|
4096
|
-
/**
|
|
4097
|
-
* <p>The CIS target status reason filter.</p>
|
|
3696
|
+
* <p>The CIS target status reason filter.</p>
|
|
4098
3697
|
* @public
|
|
4099
3698
|
*/
|
|
4100
3699
|
export interface CisTargetStatusReasonFilter {
|
|
@@ -4160,33 +3759,6 @@ export interface CisScanResultsAggregatedByTargetResourceFilterCriteria {
|
|
|
4160
3759
|
*/
|
|
4161
3760
|
failedChecksFilters?: CisNumberFilter[] | undefined;
|
|
4162
3761
|
}
|
|
4163
|
-
/**
|
|
4164
|
-
* @public
|
|
4165
|
-
* @enum
|
|
4166
|
-
*/
|
|
4167
|
-
export declare const CisScanResultsAggregatedByTargetResourceSortBy: {
|
|
4168
|
-
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
4169
|
-
readonly FAILED_COUNTS: "FAILED_COUNTS";
|
|
4170
|
-
readonly PLATFORM: "PLATFORM";
|
|
4171
|
-
readonly RESOURCE_ID: "RESOURCE_ID";
|
|
4172
|
-
readonly TARGET_STATUS: "TARGET_STATUS";
|
|
4173
|
-
readonly TARGET_STATUS_REASON: "TARGET_STATUS_REASON";
|
|
4174
|
-
};
|
|
4175
|
-
/**
|
|
4176
|
-
* @public
|
|
4177
|
-
*/
|
|
4178
|
-
export type CisScanResultsAggregatedByTargetResourceSortBy = (typeof CisScanResultsAggregatedByTargetResourceSortBy)[keyof typeof CisScanResultsAggregatedByTargetResourceSortBy];
|
|
4179
|
-
/**
|
|
4180
|
-
* @public
|
|
4181
|
-
* @enum
|
|
4182
|
-
*/
|
|
4183
|
-
export declare const CisScanStatusComparison: {
|
|
4184
|
-
readonly EQUALS: "EQUALS";
|
|
4185
|
-
};
|
|
4186
|
-
/**
|
|
4187
|
-
* @public
|
|
4188
|
-
*/
|
|
4189
|
-
export type CisScanStatusComparison = (typeof CisScanStatusComparison)[keyof typeof CisScanStatusComparison];
|
|
4190
3762
|
/**
|
|
4191
3763
|
* <p>The CIS scan status filter.</p>
|
|
4192
3764
|
* @public
|
|
@@ -4224,18 +3796,6 @@ export interface CisSessionMessage {
|
|
|
4224
3796
|
*/
|
|
4225
3797
|
cisRuleDetails: Uint8Array | undefined;
|
|
4226
3798
|
}
|
|
4227
|
-
/**
|
|
4228
|
-
* @public
|
|
4229
|
-
* @enum
|
|
4230
|
-
*/
|
|
4231
|
-
export declare const CisSortOrder: {
|
|
4232
|
-
readonly ASC: "ASC";
|
|
4233
|
-
readonly DESC: "DESC";
|
|
4234
|
-
};
|
|
4235
|
-
/**
|
|
4236
|
-
* @public
|
|
4237
|
-
*/
|
|
4238
|
-
export type CisSortOrder = (typeof CisSortOrder)[keyof typeof CisSortOrder];
|
|
4239
3799
|
/**
|
|
4240
3800
|
* <p>The CIS target resource aggregation.</p>
|
|
4241
3801
|
* @public
|
|
@@ -4458,6 +4018,7 @@ export declare const ScanStatusReason: {
|
|
|
4458
4018
|
readonly DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED";
|
|
4459
4019
|
readonly EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED";
|
|
4460
4020
|
readonly EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG";
|
|
4021
|
+
readonly IMAGE_ARCHIVED: "IMAGE_ARCHIVED";
|
|
4461
4022
|
readonly IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED";
|
|
4462
4023
|
readonly INTEGRATION_CONNECTION_LOST: "INTEGRATION_CONNECTION_LOST";
|
|
4463
4024
|
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
@@ -4608,6 +4169,9 @@ export interface ScanStatus {
|
|
|
4608
4169
|
* <p>
|
|
4609
4170
|
* <code>UNSUPPORTED_RUNTIME</code> - The function was not scanned because it has an
|
|
4610
4171
|
* 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>
|
|
4172
|
+
* <p>
|
|
4173
|
+
* <code>IMAGE_ARCHIVED</code> - This image has been archived in Amazon ECR and is no longer available for scanning in Amazon Inspector.
|
|
4174
|
+
* </p>
|
|
4611
4175
|
* @public
|
|
4612
4176
|
*/
|
|
4613
4177
|
reason: ScanStatusReason | undefined;
|
|
@@ -4633,31 +4197,6 @@ export interface CodeRepositoryOnDemandScan {
|
|
|
4633
4197
|
*/
|
|
4634
4198
|
scanStatus?: ScanStatus | undefined;
|
|
4635
4199
|
}
|
|
4636
|
-
/**
|
|
4637
|
-
* @public
|
|
4638
|
-
* @enum
|
|
4639
|
-
*/
|
|
4640
|
-
export declare const RuleSetCategory: {
|
|
4641
|
-
readonly IAC: "IAC";
|
|
4642
|
-
readonly SAST: "SAST";
|
|
4643
|
-
readonly SCA: "SCA";
|
|
4644
|
-
};
|
|
4645
|
-
/**
|
|
4646
|
-
* @public
|
|
4647
|
-
*/
|
|
4648
|
-
export type RuleSetCategory = (typeof RuleSetCategory)[keyof typeof RuleSetCategory];
|
|
4649
|
-
/**
|
|
4650
|
-
* @public
|
|
4651
|
-
* @enum
|
|
4652
|
-
*/
|
|
4653
|
-
export declare const ContinuousIntegrationScanEvent: {
|
|
4654
|
-
readonly PULL_REQUEST: "PULL_REQUEST";
|
|
4655
|
-
readonly PUSH: "PUSH";
|
|
4656
|
-
};
|
|
4657
|
-
/**
|
|
4658
|
-
* @public
|
|
4659
|
-
*/
|
|
4660
|
-
export type ContinuousIntegrationScanEvent = (typeof ContinuousIntegrationScanEvent)[keyof typeof ContinuousIntegrationScanEvent];
|
|
4661
4200
|
/**
|
|
4662
4201
|
* <p>Contains the continuous integration scan configuration settings applied to a specific
|
|
4663
4202
|
* project.</p>
|
|
@@ -4753,47 +4292,6 @@ export interface CodeRepositoryMetadata {
|
|
|
4753
4292
|
*/
|
|
4754
4293
|
onDemandScan?: CodeRepositoryOnDemandScan | undefined;
|
|
4755
4294
|
}
|
|
4756
|
-
/**
|
|
4757
|
-
* @public
|
|
4758
|
-
* @enum
|
|
4759
|
-
*/
|
|
4760
|
-
export declare const CodeScanStatus: {
|
|
4761
|
-
readonly FAILED: "FAILED";
|
|
4762
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
4763
|
-
readonly SKIPPED: "SKIPPED";
|
|
4764
|
-
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
4765
|
-
};
|
|
4766
|
-
/**
|
|
4767
|
-
* @public
|
|
4768
|
-
*/
|
|
4769
|
-
export type CodeScanStatus = (typeof CodeScanStatus)[keyof typeof CodeScanStatus];
|
|
4770
|
-
/**
|
|
4771
|
-
* @public
|
|
4772
|
-
* @enum
|
|
4773
|
-
*/
|
|
4774
|
-
export declare const IntegrationStatus: {
|
|
4775
|
-
readonly ACTIVE: "ACTIVE";
|
|
4776
|
-
readonly DISABLING: "DISABLING";
|
|
4777
|
-
readonly INACTIVE: "INACTIVE";
|
|
4778
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
4779
|
-
readonly PENDING: "PENDING";
|
|
4780
|
-
};
|
|
4781
|
-
/**
|
|
4782
|
-
* @public
|
|
4783
|
-
*/
|
|
4784
|
-
export type IntegrationStatus = (typeof IntegrationStatus)[keyof typeof IntegrationStatus];
|
|
4785
|
-
/**
|
|
4786
|
-
* @public
|
|
4787
|
-
* @enum
|
|
4788
|
-
*/
|
|
4789
|
-
export declare const IntegrationType: {
|
|
4790
|
-
readonly GITHUB: "GITHUB";
|
|
4791
|
-
readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
|
|
4792
|
-
};
|
|
4793
|
-
/**
|
|
4794
|
-
* @public
|
|
4795
|
-
*/
|
|
4796
|
-
export type IntegrationType = (typeof IntegrationType)[keyof typeof IntegrationType];
|
|
4797
4295
|
/**
|
|
4798
4296
|
* <p>A summary of information about a code security integration.</p>
|
|
4799
4297
|
* @public
|
|
@@ -4853,19 +4351,6 @@ export interface ContinuousIntegrationScanConfiguration {
|
|
|
4853
4351
|
*/
|
|
4854
4352
|
supportedEvents: ContinuousIntegrationScanEvent[] | undefined;
|
|
4855
4353
|
}
|
|
4856
|
-
/**
|
|
4857
|
-
* @public
|
|
4858
|
-
* @enum
|
|
4859
|
-
*/
|
|
4860
|
-
export declare const PeriodicScanFrequency: {
|
|
4861
|
-
readonly MONTHLY: "MONTHLY";
|
|
4862
|
-
readonly NEVER: "NEVER";
|
|
4863
|
-
readonly WEEKLY: "WEEKLY";
|
|
4864
|
-
};
|
|
4865
|
-
/**
|
|
4866
|
-
* @public
|
|
4867
|
-
*/
|
|
4868
|
-
export type PeriodicScanFrequency = (typeof PeriodicScanFrequency)[keyof typeof PeriodicScanFrequency];
|
|
4869
4354
|
/**
|
|
4870
4355
|
* <p>Configuration settings for periodic scans that run on a scheduled basis.</p>
|
|
4871
4356
|
* @public
|
|
@@ -4918,17 +4403,6 @@ export interface CodeSecurityScanConfigurationAssociationSummary {
|
|
|
4918
4403
|
*/
|
|
4919
4404
|
resource?: CodeSecurityResource | undefined;
|
|
4920
4405
|
}
|
|
4921
|
-
/**
|
|
4922
|
-
* @public
|
|
4923
|
-
* @enum
|
|
4924
|
-
*/
|
|
4925
|
-
export declare const ProjectSelectionScope: {
|
|
4926
|
-
readonly ALL: "ALL";
|
|
4927
|
-
};
|
|
4928
|
-
/**
|
|
4929
|
-
* @public
|
|
4930
|
-
*/
|
|
4931
|
-
export type ProjectSelectionScope = (typeof ProjectSelectionScope)[keyof typeof ProjectSelectionScope];
|
|
4932
4406
|
/**
|
|
4933
4407
|
* <p>Defines the scope of repositories to be included in code security scans.</p>
|
|
4934
4408
|
* @public
|
|
@@ -5071,18 +4545,6 @@ export interface ComputePlatform {
|
|
|
5071
4545
|
*/
|
|
5072
4546
|
version?: string | undefined;
|
|
5073
4547
|
}
|
|
5074
|
-
/**
|
|
5075
|
-
* @public
|
|
5076
|
-
* @enum
|
|
5077
|
-
*/
|
|
5078
|
-
export declare const ConfigurationLevel: {
|
|
5079
|
-
readonly ACCOUNT: "ACCOUNT";
|
|
5080
|
-
readonly ORGANIZATION: "ORGANIZATION";
|
|
5081
|
-
};
|
|
5082
|
-
/**
|
|
5083
|
-
* @public
|
|
5084
|
-
*/
|
|
5085
|
-
export type ConfigurationLevel = (typeof ConfigurationLevel)[keyof typeof ConfigurationLevel];
|
|
5086
4548
|
/**
|
|
5087
4549
|
* @public
|
|
5088
4550
|
* @enum
|
|
@@ -6992,3 +6454,988 @@ export interface EnableDelegatedAdminAccountResponse {
|
|
|
6992
6454
|
*/
|
|
6993
6455
|
delegatedAdminAccountId: string | undefined;
|
|
6994
6456
|
}
|
|
6457
|
+
/**
|
|
6458
|
+
* <p>Details about the Exploit Prediction Scoring System (EPSS) score.</p>
|
|
6459
|
+
* @public
|
|
6460
|
+
*/
|
|
6461
|
+
export interface Epss {
|
|
6462
|
+
/**
|
|
6463
|
+
* <p>The Exploit Prediction Scoring System (EPSS) score.</p>
|
|
6464
|
+
* @public
|
|
6465
|
+
*/
|
|
6466
|
+
score?: number | undefined;
|
|
6467
|
+
}
|
|
6468
|
+
/**
|
|
6469
|
+
* <p>Details about the Exploit Prediction Scoring System (EPSS) score for a finding.</p>
|
|
6470
|
+
* @public
|
|
6471
|
+
*/
|
|
6472
|
+
export interface EpssDetails {
|
|
6473
|
+
/**
|
|
6474
|
+
* <p>The EPSS score.</p>
|
|
6475
|
+
* @public
|
|
6476
|
+
*/
|
|
6477
|
+
score?: number | undefined;
|
|
6478
|
+
}
|
|
6479
|
+
/**
|
|
6480
|
+
* <p>The details of an exploit available for a finding discovered in your environment.</p>
|
|
6481
|
+
* @public
|
|
6482
|
+
*/
|
|
6483
|
+
export interface ExploitabilityDetails {
|
|
6484
|
+
/**
|
|
6485
|
+
* <p>The date and time of the last exploit associated with a finding discovered in your
|
|
6486
|
+
* environment.</p>
|
|
6487
|
+
* @public
|
|
6488
|
+
*/
|
|
6489
|
+
lastKnownExploitAt?: Date | undefined;
|
|
6490
|
+
}
|
|
6491
|
+
/**
|
|
6492
|
+
* @public
|
|
6493
|
+
* @enum
|
|
6494
|
+
*/
|
|
6495
|
+
export declare const ExploitAvailable: {
|
|
6496
|
+
readonly NO: "NO";
|
|
6497
|
+
readonly YES: "YES";
|
|
6498
|
+
};
|
|
6499
|
+
/**
|
|
6500
|
+
* @public
|
|
6501
|
+
*/
|
|
6502
|
+
export type ExploitAvailable = (typeof ExploitAvailable)[keyof typeof ExploitAvailable];
|
|
6503
|
+
/**
|
|
6504
|
+
* @public
|
|
6505
|
+
* @enum
|
|
6506
|
+
*/
|
|
6507
|
+
export declare const ExternalReportStatus: {
|
|
6508
|
+
readonly CANCELLED: "CANCELLED";
|
|
6509
|
+
readonly FAILED: "FAILED";
|
|
6510
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
6511
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
6512
|
+
};
|
|
6513
|
+
/**
|
|
6514
|
+
* @public
|
|
6515
|
+
*/
|
|
6516
|
+
export type ExternalReportStatus = (typeof ExternalReportStatus)[keyof typeof ExternalReportStatus];
|
|
6517
|
+
/**
|
|
6518
|
+
* <p>Details about a filter.</p>
|
|
6519
|
+
* @public
|
|
6520
|
+
*/
|
|
6521
|
+
export interface Filter {
|
|
6522
|
+
/**
|
|
6523
|
+
* <p>The Amazon Resource Number (ARN) associated with this filter.</p>
|
|
6524
|
+
* @public
|
|
6525
|
+
*/
|
|
6526
|
+
arn: string | undefined;
|
|
6527
|
+
/**
|
|
6528
|
+
* <p>The Amazon Web Services account ID of the account that created the filter.</p>
|
|
6529
|
+
* @public
|
|
6530
|
+
*/
|
|
6531
|
+
ownerId: string | undefined;
|
|
6532
|
+
/**
|
|
6533
|
+
* <p>The name of the filter.</p>
|
|
6534
|
+
* @public
|
|
6535
|
+
*/
|
|
6536
|
+
name: string | undefined;
|
|
6537
|
+
/**
|
|
6538
|
+
* <p>Details on the filter criteria associated with this filter.</p>
|
|
6539
|
+
* @public
|
|
6540
|
+
*/
|
|
6541
|
+
criteria: FilterCriteria | undefined;
|
|
6542
|
+
/**
|
|
6543
|
+
* <p>The action that is to be applied to the findings that match the filter.</p>
|
|
6544
|
+
* @public
|
|
6545
|
+
*/
|
|
6546
|
+
action: FilterAction | undefined;
|
|
6547
|
+
/**
|
|
6548
|
+
* <p>The date and time this filter was created at.</p>
|
|
6549
|
+
* @public
|
|
6550
|
+
*/
|
|
6551
|
+
createdAt: Date | undefined;
|
|
6552
|
+
/**
|
|
6553
|
+
* <p>The date and time the filter was last updated at.</p>
|
|
6554
|
+
* @public
|
|
6555
|
+
*/
|
|
6556
|
+
updatedAt: Date | undefined;
|
|
6557
|
+
/**
|
|
6558
|
+
* <p>A description of the filter.</p>
|
|
6559
|
+
* @public
|
|
6560
|
+
*/
|
|
6561
|
+
description?: string | undefined;
|
|
6562
|
+
/**
|
|
6563
|
+
* <p>The reason for the filter.</p>
|
|
6564
|
+
* @public
|
|
6565
|
+
*/
|
|
6566
|
+
reason?: string | undefined;
|
|
6567
|
+
/**
|
|
6568
|
+
* <p>The tags attached to the filter.</p>
|
|
6569
|
+
* @public
|
|
6570
|
+
*/
|
|
6571
|
+
tags?: Record<string, string> | undefined;
|
|
6572
|
+
}
|
|
6573
|
+
/**
|
|
6574
|
+
* @public
|
|
6575
|
+
* @enum
|
|
6576
|
+
*/
|
|
6577
|
+
export declare const FixAvailable: {
|
|
6578
|
+
readonly NO: "NO";
|
|
6579
|
+
readonly PARTIAL: "PARTIAL";
|
|
6580
|
+
readonly YES: "YES";
|
|
6581
|
+
};
|
|
6582
|
+
/**
|
|
6583
|
+
* @public
|
|
6584
|
+
*/
|
|
6585
|
+
export type FixAvailable = (typeof FixAvailable)[keyof typeof FixAvailable];
|
|
6586
|
+
/**
|
|
6587
|
+
* <p>Information about the Amazon Inspector score given to a finding.</p>
|
|
6588
|
+
* @public
|
|
6589
|
+
*/
|
|
6590
|
+
export interface InspectorScoreDetails {
|
|
6591
|
+
/**
|
|
6592
|
+
* <p>An object that contains details about the CVSS score given to a finding.</p>
|
|
6593
|
+
* @public
|
|
6594
|
+
*/
|
|
6595
|
+
adjustedCvss?: CvssScoreDetails | undefined;
|
|
6596
|
+
}
|
|
6597
|
+
/**
|
|
6598
|
+
* <p>Details about the step associated with a finding.</p>
|
|
6599
|
+
* @public
|
|
6600
|
+
*/
|
|
6601
|
+
export interface Step {
|
|
6602
|
+
/**
|
|
6603
|
+
* <p>The component ID.</p>
|
|
6604
|
+
* @public
|
|
6605
|
+
*/
|
|
6606
|
+
componentId: string | undefined;
|
|
6607
|
+
/**
|
|
6608
|
+
* <p>The component type.</p>
|
|
6609
|
+
* @public
|
|
6610
|
+
*/
|
|
6611
|
+
componentType: string | undefined;
|
|
6612
|
+
/**
|
|
6613
|
+
* <p>The component ARN. The ARN can be null and is not displayed in the Amazon Web Services
|
|
6614
|
+
* console.</p>
|
|
6615
|
+
* @public
|
|
6616
|
+
*/
|
|
6617
|
+
componentArn?: string | undefined;
|
|
6618
|
+
}
|
|
6619
|
+
/**
|
|
6620
|
+
* <p>Information on the network path associated with a finding.</p>
|
|
6621
|
+
* @public
|
|
6622
|
+
*/
|
|
6623
|
+
export interface NetworkPath {
|
|
6624
|
+
/**
|
|
6625
|
+
* <p>The details on the steps in the network path.</p>
|
|
6626
|
+
* @public
|
|
6627
|
+
*/
|
|
6628
|
+
steps?: Step[] | undefined;
|
|
6629
|
+
}
|
|
6630
|
+
/**
|
|
6631
|
+
* <p>Details about the port range associated with a finding.</p>
|
|
6632
|
+
* @public
|
|
6633
|
+
*/
|
|
6634
|
+
export interface PortRange {
|
|
6635
|
+
/**
|
|
6636
|
+
* <p>The beginning port in a port range.</p>
|
|
6637
|
+
* @public
|
|
6638
|
+
*/
|
|
6639
|
+
begin: number | undefined;
|
|
6640
|
+
/**
|
|
6641
|
+
* <p>The ending port in a port range.</p>
|
|
6642
|
+
* @public
|
|
6643
|
+
*/
|
|
6644
|
+
end: number | undefined;
|
|
6645
|
+
}
|
|
6646
|
+
/**
|
|
6647
|
+
* @public
|
|
6648
|
+
* @enum
|
|
6649
|
+
*/
|
|
6650
|
+
export declare const NetworkProtocol: {
|
|
6651
|
+
readonly TCP: "TCP";
|
|
6652
|
+
readonly UDP: "UDP";
|
|
6653
|
+
};
|
|
6654
|
+
/**
|
|
6655
|
+
* @public
|
|
6656
|
+
*/
|
|
6657
|
+
export type NetworkProtocol = (typeof NetworkProtocol)[keyof typeof NetworkProtocol];
|
|
6658
|
+
/**
|
|
6659
|
+
* <p>Contains the details of a network reachability finding.</p>
|
|
6660
|
+
* @public
|
|
6661
|
+
*/
|
|
6662
|
+
export interface NetworkReachabilityDetails {
|
|
6663
|
+
/**
|
|
6664
|
+
* <p>An object that contains details about the open port range associated with a
|
|
6665
|
+
* finding.</p>
|
|
6666
|
+
* @public
|
|
6667
|
+
*/
|
|
6668
|
+
openPortRange: PortRange | undefined;
|
|
6669
|
+
/**
|
|
6670
|
+
* <p>The protocol associated with a finding.</p>
|
|
6671
|
+
* @public
|
|
6672
|
+
*/
|
|
6673
|
+
protocol: NetworkProtocol | undefined;
|
|
6674
|
+
/**
|
|
6675
|
+
* <p>An object that contains details about a network path associated with a finding.</p>
|
|
6676
|
+
* @public
|
|
6677
|
+
*/
|
|
6678
|
+
networkPath: NetworkPath | undefined;
|
|
6679
|
+
}
|
|
6680
|
+
/**
|
|
6681
|
+
* @public
|
|
6682
|
+
* @enum
|
|
6683
|
+
*/
|
|
6684
|
+
export declare const PackageManager: {
|
|
6685
|
+
readonly BUNDLER: "BUNDLER";
|
|
6686
|
+
readonly CARGO: "CARGO";
|
|
6687
|
+
readonly COMPOSER: "COMPOSER";
|
|
6688
|
+
readonly DOTNET_CORE: "DOTNET_CORE";
|
|
6689
|
+
readonly GEMSPEC: "GEMSPEC";
|
|
6690
|
+
readonly GOBINARY: "GOBINARY";
|
|
6691
|
+
readonly GOMOD: "GOMOD";
|
|
6692
|
+
readonly JAR: "JAR";
|
|
6693
|
+
readonly NODEPKG: "NODEPKG";
|
|
6694
|
+
readonly NPM: "NPM";
|
|
6695
|
+
readonly NUGET: "NUGET";
|
|
6696
|
+
readonly OS: "OS";
|
|
6697
|
+
readonly PIP: "PIP";
|
|
6698
|
+
readonly PIPENV: "PIPENV";
|
|
6699
|
+
readonly POETRY: "POETRY";
|
|
6700
|
+
readonly POM: "POM";
|
|
6701
|
+
readonly PYTHONPKG: "PYTHONPKG";
|
|
6702
|
+
readonly YARN: "YARN";
|
|
6703
|
+
};
|
|
6704
|
+
/**
|
|
6705
|
+
* @public
|
|
6706
|
+
*/
|
|
6707
|
+
export type PackageManager = (typeof PackageManager)[keyof typeof PackageManager];
|
|
6708
|
+
/**
|
|
6709
|
+
* <p>Information on the vulnerable package identified by a finding.</p>
|
|
6710
|
+
* @public
|
|
6711
|
+
*/
|
|
6712
|
+
export interface VulnerablePackage {
|
|
6713
|
+
/**
|
|
6714
|
+
* <p>The name of the vulnerable package.</p>
|
|
6715
|
+
* @public
|
|
6716
|
+
*/
|
|
6717
|
+
name: string | undefined;
|
|
6718
|
+
/**
|
|
6719
|
+
* <p>The version of the vulnerable package.</p>
|
|
6720
|
+
* @public
|
|
6721
|
+
*/
|
|
6722
|
+
version: string | undefined;
|
|
6723
|
+
/**
|
|
6724
|
+
* <p>The source layer hash of the vulnerable package.</p>
|
|
6725
|
+
* @public
|
|
6726
|
+
*/
|
|
6727
|
+
sourceLayerHash?: string | undefined;
|
|
6728
|
+
/**
|
|
6729
|
+
* <p>The epoch of the vulnerable package.</p>
|
|
6730
|
+
* @public
|
|
6731
|
+
*/
|
|
6732
|
+
epoch?: number | undefined;
|
|
6733
|
+
/**
|
|
6734
|
+
* <p>The release of the vulnerable package.</p>
|
|
6735
|
+
* @public
|
|
6736
|
+
*/
|
|
6737
|
+
release?: string | undefined;
|
|
6738
|
+
/**
|
|
6739
|
+
* <p>The architecture of the vulnerable package.</p>
|
|
6740
|
+
* @public
|
|
6741
|
+
*/
|
|
6742
|
+
arch?: string | undefined;
|
|
6743
|
+
/**
|
|
6744
|
+
* <p>The package manager of the vulnerable package.</p>
|
|
6745
|
+
* @public
|
|
6746
|
+
*/
|
|
6747
|
+
packageManager?: PackageManager | undefined;
|
|
6748
|
+
/**
|
|
6749
|
+
* <p>The file path of the vulnerable package.</p>
|
|
6750
|
+
* @public
|
|
6751
|
+
*/
|
|
6752
|
+
filePath?: string | undefined;
|
|
6753
|
+
/**
|
|
6754
|
+
* <p>The version of the package that contains the vulnerability fix.</p>
|
|
6755
|
+
* @public
|
|
6756
|
+
*/
|
|
6757
|
+
fixedInVersion?: string | undefined;
|
|
6758
|
+
/**
|
|
6759
|
+
* <p>The code to run in your environment to update packages with a fix available.</p>
|
|
6760
|
+
* @public
|
|
6761
|
+
*/
|
|
6762
|
+
remediation?: string | undefined;
|
|
6763
|
+
/**
|
|
6764
|
+
* <p>The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a
|
|
6765
|
+
* finding.</p>
|
|
6766
|
+
* @public
|
|
6767
|
+
*/
|
|
6768
|
+
sourceLambdaLayerArn?: string | undefined;
|
|
6769
|
+
}
|
|
6770
|
+
/**
|
|
6771
|
+
* <p>Information about a package vulnerability finding.</p>
|
|
6772
|
+
* @public
|
|
6773
|
+
*/
|
|
6774
|
+
export interface PackageVulnerabilityDetails {
|
|
6775
|
+
/**
|
|
6776
|
+
* <p>The ID given to this vulnerability.</p>
|
|
6777
|
+
* @public
|
|
6778
|
+
*/
|
|
6779
|
+
vulnerabilityId: string | undefined;
|
|
6780
|
+
/**
|
|
6781
|
+
* <p>The packages impacted by this vulnerability.</p>
|
|
6782
|
+
* @public
|
|
6783
|
+
*/
|
|
6784
|
+
vulnerablePackages?: VulnerablePackage[] | undefined;
|
|
6785
|
+
/**
|
|
6786
|
+
* <p>The source of the vulnerability information.</p>
|
|
6787
|
+
* @public
|
|
6788
|
+
*/
|
|
6789
|
+
source: string | undefined;
|
|
6790
|
+
/**
|
|
6791
|
+
* <p>An object that contains details about the CVSS score of a finding.</p>
|
|
6792
|
+
* @public
|
|
6793
|
+
*/
|
|
6794
|
+
cvss?: CvssScore[] | undefined;
|
|
6795
|
+
/**
|
|
6796
|
+
* <p>One or more vulnerabilities related to the one identified in this finding.</p>
|
|
6797
|
+
* @public
|
|
6798
|
+
*/
|
|
6799
|
+
relatedVulnerabilities?: string[] | undefined;
|
|
6800
|
+
/**
|
|
6801
|
+
* <p>A URL to the source of the vulnerability information.</p>
|
|
6802
|
+
* @public
|
|
6803
|
+
*/
|
|
6804
|
+
sourceUrl?: string | undefined;
|
|
6805
|
+
/**
|
|
6806
|
+
* <p>The severity the vendor has given to this vulnerability type.</p>
|
|
6807
|
+
* @public
|
|
6808
|
+
*/
|
|
6809
|
+
vendorSeverity?: string | undefined;
|
|
6810
|
+
/**
|
|
6811
|
+
* <p>The date and time that this vulnerability was first added to the vendor's
|
|
6812
|
+
* database.</p>
|
|
6813
|
+
* @public
|
|
6814
|
+
*/
|
|
6815
|
+
vendorCreatedAt?: Date | undefined;
|
|
6816
|
+
/**
|
|
6817
|
+
* <p>The date and time the vendor last updated this vulnerability in their database.</p>
|
|
6818
|
+
* @public
|
|
6819
|
+
*/
|
|
6820
|
+
vendorUpdatedAt?: Date | undefined;
|
|
6821
|
+
/**
|
|
6822
|
+
* <p>One or more URLs that contain details about this vulnerability type.</p>
|
|
6823
|
+
* @public
|
|
6824
|
+
*/
|
|
6825
|
+
referenceUrls?: string[] | undefined;
|
|
6826
|
+
}
|
|
6827
|
+
/**
|
|
6828
|
+
* <p>Details about the recommended course of action to remediate the finding.</p>
|
|
6829
|
+
* @public
|
|
6830
|
+
*/
|
|
6831
|
+
export interface Recommendation {
|
|
6832
|
+
/**
|
|
6833
|
+
* <p>The recommended course of action to remediate the finding.</p>
|
|
6834
|
+
* @public
|
|
6835
|
+
*/
|
|
6836
|
+
text?: string | undefined;
|
|
6837
|
+
/**
|
|
6838
|
+
* <p>The URL address to the CVE remediation recommendations.</p>
|
|
6839
|
+
* @public
|
|
6840
|
+
*/
|
|
6841
|
+
Url?: string | undefined;
|
|
6842
|
+
}
|
|
6843
|
+
/**
|
|
6844
|
+
* <p>Information on how to remediate a finding.</p>
|
|
6845
|
+
* @public
|
|
6846
|
+
*/
|
|
6847
|
+
export interface Remediation {
|
|
6848
|
+
/**
|
|
6849
|
+
* <p>An object that contains information about the recommended course of action to remediate
|
|
6850
|
+
* the finding.</p>
|
|
6851
|
+
* @public
|
|
6852
|
+
*/
|
|
6853
|
+
recommendation?: Recommendation | undefined;
|
|
6854
|
+
}
|
|
6855
|
+
/**
|
|
6856
|
+
* <p>Contains details about the resource involved in the finding.</p>
|
|
6857
|
+
* @public
|
|
6858
|
+
*/
|
|
6859
|
+
export interface ResourceDetails {
|
|
6860
|
+
/**
|
|
6861
|
+
* <p>An object that contains details about the Amazon EC2 instance involved in the finding.</p>
|
|
6862
|
+
* @public
|
|
6863
|
+
*/
|
|
6864
|
+
awsEc2Instance?: AwsEc2InstanceDetails | undefined;
|
|
6865
|
+
/**
|
|
6866
|
+
* <p>An object that contains details about the Amazon ECR container image involved in the
|
|
6867
|
+
* finding.</p>
|
|
6868
|
+
* @public
|
|
6869
|
+
*/
|
|
6870
|
+
awsEcrContainerImage?: AwsEcrContainerImageDetails | undefined;
|
|
6871
|
+
/**
|
|
6872
|
+
* <p>A summary of the information about an Amazon Web Services Lambda function affected by a
|
|
6873
|
+
* finding.</p>
|
|
6874
|
+
* @public
|
|
6875
|
+
*/
|
|
6876
|
+
awsLambdaFunction?: AwsLambdaFunctionDetails | undefined;
|
|
6877
|
+
/**
|
|
6878
|
+
* <p>Contains details about a code repository resource associated with a finding.</p>
|
|
6879
|
+
* @public
|
|
6880
|
+
*/
|
|
6881
|
+
codeRepository?: CodeRepositoryDetails | undefined;
|
|
6882
|
+
}
|
|
6883
|
+
/**
|
|
6884
|
+
* @public
|
|
6885
|
+
* @enum
|
|
6886
|
+
*/
|
|
6887
|
+
export declare const ResourceType: {
|
|
6888
|
+
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
6889
|
+
readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
|
|
6890
|
+
readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
|
|
6891
|
+
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
6892
|
+
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
6893
|
+
};
|
|
6894
|
+
/**
|
|
6895
|
+
* @public
|
|
6896
|
+
*/
|
|
6897
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
6898
|
+
/**
|
|
6899
|
+
* <p>Details about the resource involved in a finding.</p>
|
|
6900
|
+
* @public
|
|
6901
|
+
*/
|
|
6902
|
+
export interface Resource {
|
|
6903
|
+
/**
|
|
6904
|
+
* <p>The type of resource.</p>
|
|
6905
|
+
* @public
|
|
6906
|
+
*/
|
|
6907
|
+
type: ResourceType | undefined;
|
|
6908
|
+
/**
|
|
6909
|
+
* <p>The ID of the resource.</p>
|
|
6910
|
+
* @public
|
|
6911
|
+
*/
|
|
6912
|
+
id: string | undefined;
|
|
6913
|
+
/**
|
|
6914
|
+
* <p>The partition of the resource.</p>
|
|
6915
|
+
* @public
|
|
6916
|
+
*/
|
|
6917
|
+
partition?: string | undefined;
|
|
6918
|
+
/**
|
|
6919
|
+
* <p>The Amazon Web Services Region the impacted resource is located in.</p>
|
|
6920
|
+
* @public
|
|
6921
|
+
*/
|
|
6922
|
+
region?: string | undefined;
|
|
6923
|
+
/**
|
|
6924
|
+
* <p>The tags attached to the resource.</p>
|
|
6925
|
+
* @public
|
|
6926
|
+
*/
|
|
6927
|
+
tags?: Record<string, string> | undefined;
|
|
6928
|
+
/**
|
|
6929
|
+
* <p>An object that contains details about the resource involved in a finding.</p>
|
|
6930
|
+
* @public
|
|
6931
|
+
*/
|
|
6932
|
+
details?: ResourceDetails | undefined;
|
|
6933
|
+
}
|
|
6934
|
+
/**
|
|
6935
|
+
* @public
|
|
6936
|
+
* @enum
|
|
6937
|
+
*/
|
|
6938
|
+
export declare const Severity: {
|
|
6939
|
+
readonly CRITICAL: "CRITICAL";
|
|
6940
|
+
readonly HIGH: "HIGH";
|
|
6941
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
6942
|
+
readonly LOW: "LOW";
|
|
6943
|
+
readonly MEDIUM: "MEDIUM";
|
|
6944
|
+
readonly UNTRIAGED: "UNTRIAGED";
|
|
6945
|
+
};
|
|
6946
|
+
/**
|
|
6947
|
+
* @public
|
|
6948
|
+
*/
|
|
6949
|
+
export type Severity = (typeof Severity)[keyof typeof Severity];
|
|
6950
|
+
/**
|
|
6951
|
+
* @public
|
|
6952
|
+
* @enum
|
|
6953
|
+
*/
|
|
6954
|
+
export declare const FindingStatus: {
|
|
6955
|
+
readonly ACTIVE: "ACTIVE";
|
|
6956
|
+
readonly CLOSED: "CLOSED";
|
|
6957
|
+
readonly SUPPRESSED: "SUPPRESSED";
|
|
6958
|
+
};
|
|
6959
|
+
/**
|
|
6960
|
+
* @public
|
|
6961
|
+
*/
|
|
6962
|
+
export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
|
|
6963
|
+
/**
|
|
6964
|
+
* @public
|
|
6965
|
+
* @enum
|
|
6966
|
+
*/
|
|
6967
|
+
export declare const FindingType: {
|
|
6968
|
+
readonly CODE_VULNERABILITY: "CODE_VULNERABILITY";
|
|
6969
|
+
readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
|
|
6970
|
+
readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
|
|
6971
|
+
};
|
|
6972
|
+
/**
|
|
6973
|
+
* @public
|
|
6974
|
+
*/
|
|
6975
|
+
export type FindingType = (typeof FindingType)[keyof typeof FindingType];
|
|
6976
|
+
/**
|
|
6977
|
+
* <p>Details about an Amazon Inspector finding.</p>
|
|
6978
|
+
* @public
|
|
6979
|
+
*/
|
|
6980
|
+
export interface Finding {
|
|
6981
|
+
/**
|
|
6982
|
+
* <p>The Amazon Resource Number (ARN) of the finding.</p>
|
|
6983
|
+
* @public
|
|
6984
|
+
*/
|
|
6985
|
+
findingArn: string | undefined;
|
|
6986
|
+
/**
|
|
6987
|
+
* <p>The Amazon Web Services account ID associated with the finding.</p>
|
|
6988
|
+
* @public
|
|
6989
|
+
*/
|
|
6990
|
+
awsAccountId: string | undefined;
|
|
6991
|
+
/**
|
|
6992
|
+
* <p>The type of the finding. The <code>type</code> value determines the valid values for
|
|
6993
|
+
* <code>resource</code> in your request. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-types.html">Finding
|
|
6994
|
+
* types</a> in the Amazon Inspector user guide.</p>
|
|
6995
|
+
* @public
|
|
6996
|
+
*/
|
|
6997
|
+
type: FindingType | undefined;
|
|
6998
|
+
/**
|
|
6999
|
+
* <p>The description of the finding.</p>
|
|
7000
|
+
* @public
|
|
7001
|
+
*/
|
|
7002
|
+
description: string | undefined;
|
|
7003
|
+
/**
|
|
7004
|
+
* <p>The title of the finding.</p>
|
|
7005
|
+
* @public
|
|
7006
|
+
*/
|
|
7007
|
+
title?: string | undefined;
|
|
7008
|
+
/**
|
|
7009
|
+
* <p>An object that contains the details about how to remediate a finding.</p>
|
|
7010
|
+
* @public
|
|
7011
|
+
*/
|
|
7012
|
+
remediation: Remediation | undefined;
|
|
7013
|
+
/**
|
|
7014
|
+
* <p>The severity of the finding. <code>UNTRIAGED</code> applies to
|
|
7015
|
+
* <code>PACKAGE_VULNERABILITY</code> type findings that the vendor has not assigned a
|
|
7016
|
+
* 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>
|
|
7017
|
+
* @public
|
|
7018
|
+
*/
|
|
7019
|
+
severity: Severity | undefined;
|
|
7020
|
+
/**
|
|
7021
|
+
* <p>The date and time that the finding was first observed.</p>
|
|
7022
|
+
* @public
|
|
7023
|
+
*/
|
|
7024
|
+
firstObservedAt: Date | undefined;
|
|
7025
|
+
/**
|
|
7026
|
+
* <p> The date and time the finding was last observed. This timestamp for this field remains
|
|
7027
|
+
* unchanged until a finding is updated. </p>
|
|
7028
|
+
* @public
|
|
7029
|
+
*/
|
|
7030
|
+
lastObservedAt: Date | undefined;
|
|
7031
|
+
/**
|
|
7032
|
+
* <p>The date and time the finding was last updated at.</p>
|
|
7033
|
+
* @public
|
|
7034
|
+
*/
|
|
7035
|
+
updatedAt?: Date | undefined;
|
|
7036
|
+
/**
|
|
7037
|
+
* <p>The status of the finding.</p>
|
|
7038
|
+
* @public
|
|
7039
|
+
*/
|
|
7040
|
+
status: FindingStatus | undefined;
|
|
7041
|
+
/**
|
|
7042
|
+
* <p>Contains information on the resources involved in a finding. The <code>resource</code>
|
|
7043
|
+
* value determines the valid values for <code>type</code> in your request. For more
|
|
7044
|
+
* information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-types.html">Finding
|
|
7045
|
+
* types</a> in the Amazon Inspector user guide.</p>
|
|
7046
|
+
* @public
|
|
7047
|
+
*/
|
|
7048
|
+
resources: Resource[] | undefined;
|
|
7049
|
+
/**
|
|
7050
|
+
* <p>The Amazon Inspector score given to the finding.</p>
|
|
7051
|
+
* @public
|
|
7052
|
+
*/
|
|
7053
|
+
inspectorScore?: number | undefined;
|
|
7054
|
+
/**
|
|
7055
|
+
* <p>An object that contains details of the Amazon Inspector score.</p>
|
|
7056
|
+
* @public
|
|
7057
|
+
*/
|
|
7058
|
+
inspectorScoreDetails?: InspectorScoreDetails | undefined;
|
|
7059
|
+
/**
|
|
7060
|
+
* <p>An object that contains the details of a network reachability finding.</p>
|
|
7061
|
+
* @public
|
|
7062
|
+
*/
|
|
7063
|
+
networkReachabilityDetails?: NetworkReachabilityDetails | undefined;
|
|
7064
|
+
/**
|
|
7065
|
+
* <p>An object that contains the details of a package vulnerability finding.</p>
|
|
7066
|
+
* @public
|
|
7067
|
+
*/
|
|
7068
|
+
packageVulnerabilityDetails?: PackageVulnerabilityDetails | undefined;
|
|
7069
|
+
/**
|
|
7070
|
+
* <p>Details on whether a fix is available through a version update. This value can be
|
|
7071
|
+
* <code>YES</code>, <code>NO</code>, or <code>PARTIAL</code>. A <code>PARTIAL</code> fix
|
|
7072
|
+
* means that some, but not all, of the packages identified in the finding have fixes
|
|
7073
|
+
* available through updated versions.</p>
|
|
7074
|
+
* @public
|
|
7075
|
+
*/
|
|
7076
|
+
fixAvailable?: FixAvailable | undefined;
|
|
7077
|
+
/**
|
|
7078
|
+
* <p>If a finding discovered in your environment has an exploit available.</p>
|
|
7079
|
+
* @public
|
|
7080
|
+
*/
|
|
7081
|
+
exploitAvailable?: ExploitAvailable | undefined;
|
|
7082
|
+
/**
|
|
7083
|
+
* <p>The details of an exploit available for a finding discovered in your environment.</p>
|
|
7084
|
+
* @public
|
|
7085
|
+
*/
|
|
7086
|
+
exploitabilityDetails?: ExploitabilityDetails | undefined;
|
|
7087
|
+
/**
|
|
7088
|
+
* <p>Details about the code vulnerability identified in a Lambda function used to filter
|
|
7089
|
+
* findings.</p>
|
|
7090
|
+
* @public
|
|
7091
|
+
*/
|
|
7092
|
+
codeVulnerabilityDetails?: CodeVulnerabilityDetails | undefined;
|
|
7093
|
+
/**
|
|
7094
|
+
* <p>The finding's EPSS score.</p>
|
|
7095
|
+
* @public
|
|
7096
|
+
*/
|
|
7097
|
+
epss?: EpssDetails | undefined;
|
|
7098
|
+
}
|
|
7099
|
+
/**
|
|
7100
|
+
* @public
|
|
7101
|
+
*/
|
|
7102
|
+
export interface GetCisScanReportRequest {
|
|
7103
|
+
/**
|
|
7104
|
+
* <p>The scan ARN.</p>
|
|
7105
|
+
* @public
|
|
7106
|
+
*/
|
|
7107
|
+
scanArn: string | undefined;
|
|
7108
|
+
/**
|
|
7109
|
+
* <p>The target accounts.</p>
|
|
7110
|
+
* @public
|
|
7111
|
+
*/
|
|
7112
|
+
targetAccounts?: string[] | undefined;
|
|
7113
|
+
/**
|
|
7114
|
+
* <p> The format of the report. Valid values are <code>PDF</code> and <code>CSV</code>. If no
|
|
7115
|
+
* value is specified, the report format defaults to <code>PDF</code>. </p>
|
|
7116
|
+
* @public
|
|
7117
|
+
*/
|
|
7118
|
+
reportFormat?: CisReportFormat | undefined;
|
|
7119
|
+
}
|
|
7120
|
+
/**
|
|
7121
|
+
* @public
|
|
7122
|
+
*/
|
|
7123
|
+
export interface GetCisScanReportResponse {
|
|
7124
|
+
/**
|
|
7125
|
+
* <p> The URL where a PDF or CSV of the CIS scan report can be downloaded. </p>
|
|
7126
|
+
* @public
|
|
7127
|
+
*/
|
|
7128
|
+
url?: string | undefined;
|
|
7129
|
+
/**
|
|
7130
|
+
* <p>The status.</p>
|
|
7131
|
+
* @public
|
|
7132
|
+
*/
|
|
7133
|
+
status?: CisReportStatus | undefined;
|
|
7134
|
+
}
|
|
7135
|
+
/**
|
|
7136
|
+
* @public
|
|
7137
|
+
*/
|
|
7138
|
+
export interface GetCisScanResultDetailsRequest {
|
|
7139
|
+
/**
|
|
7140
|
+
* <p>The scan ARN.</p>
|
|
7141
|
+
* @public
|
|
7142
|
+
*/
|
|
7143
|
+
scanArn: string | undefined;
|
|
7144
|
+
/**
|
|
7145
|
+
* <p>The target resource ID.</p>
|
|
7146
|
+
* @public
|
|
7147
|
+
*/
|
|
7148
|
+
targetResourceId: string | undefined;
|
|
7149
|
+
/**
|
|
7150
|
+
* <p>The account ID.</p>
|
|
7151
|
+
* @public
|
|
7152
|
+
*/
|
|
7153
|
+
accountId: string | undefined;
|
|
7154
|
+
/**
|
|
7155
|
+
* <p>The filter criteria.</p>
|
|
7156
|
+
* @public
|
|
7157
|
+
*/
|
|
7158
|
+
filterCriteria?: CisScanResultDetailsFilterCriteria | undefined;
|
|
7159
|
+
/**
|
|
7160
|
+
* <p>The sort by order.</p>
|
|
7161
|
+
* @public
|
|
7162
|
+
*/
|
|
7163
|
+
sortBy?: CisScanResultDetailsSortBy | undefined;
|
|
7164
|
+
/**
|
|
7165
|
+
* <p>The sort order.</p>
|
|
7166
|
+
* @public
|
|
7167
|
+
*/
|
|
7168
|
+
sortOrder?: CisSortOrder | undefined;
|
|
7169
|
+
/**
|
|
7170
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
7171
|
+
* results.</p>
|
|
7172
|
+
* @public
|
|
7173
|
+
*/
|
|
7174
|
+
nextToken?: string | undefined;
|
|
7175
|
+
/**
|
|
7176
|
+
* <p>The maximum number of CIS scan result details to be returned in a single page of
|
|
7177
|
+
* results.</p>
|
|
7178
|
+
* @public
|
|
7179
|
+
*/
|
|
7180
|
+
maxResults?: number | undefined;
|
|
7181
|
+
}
|
|
7182
|
+
/**
|
|
7183
|
+
* @public
|
|
7184
|
+
*/
|
|
7185
|
+
export interface GetCisScanResultDetailsResponse {
|
|
7186
|
+
/**
|
|
7187
|
+
* <p>The scan result details.</p>
|
|
7188
|
+
* @public
|
|
7189
|
+
*/
|
|
7190
|
+
scanResultDetails?: CisScanResultDetails[] | undefined;
|
|
7191
|
+
/**
|
|
7192
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
7193
|
+
* results.</p>
|
|
7194
|
+
* @public
|
|
7195
|
+
*/
|
|
7196
|
+
nextToken?: string | undefined;
|
|
7197
|
+
}
|
|
7198
|
+
/**
|
|
7199
|
+
* @public
|
|
7200
|
+
*/
|
|
7201
|
+
export interface GetClustersForImageRequest {
|
|
7202
|
+
/**
|
|
7203
|
+
* <p>The resource Id for the Amazon ECR image.</p>
|
|
7204
|
+
* @public
|
|
7205
|
+
*/
|
|
7206
|
+
filter: ClusterForImageFilterCriteria | undefined;
|
|
7207
|
+
/**
|
|
7208
|
+
* <p>The maximum number of results to be returned in a single page of results.</p>
|
|
7209
|
+
* @public
|
|
7210
|
+
*/
|
|
7211
|
+
maxResults?: number | undefined;
|
|
7212
|
+
/**
|
|
7213
|
+
* <p>The pagination token from a previous request used to retrieve the next page of
|
|
7214
|
+
* results.</p>
|
|
7215
|
+
* @public
|
|
7216
|
+
*/
|
|
7217
|
+
nextToken?: string | undefined;
|
|
7218
|
+
}
|
|
7219
|
+
/**
|
|
7220
|
+
* @public
|
|
7221
|
+
*/
|
|
7222
|
+
export interface GetClustersForImageResponse {
|
|
7223
|
+
/**
|
|
7224
|
+
* <p>A unit of work inside of a cluster, which can include metadata about the cluster.</p>
|
|
7225
|
+
* @public
|
|
7226
|
+
*/
|
|
7227
|
+
cluster: ClusterInformation[] | undefined;
|
|
7228
|
+
/**
|
|
7229
|
+
* <p>The pagination token from a previous request used to retrieve the next page of
|
|
7230
|
+
* results.</p>
|
|
7231
|
+
* @public
|
|
7232
|
+
*/
|
|
7233
|
+
nextToken?: string | undefined;
|
|
7234
|
+
}
|
|
7235
|
+
/**
|
|
7236
|
+
* @public
|
|
7237
|
+
*/
|
|
7238
|
+
export interface GetCodeSecurityIntegrationRequest {
|
|
7239
|
+
/**
|
|
7240
|
+
* <p>The Amazon Resource Name (ARN) of the code security integration to retrieve.</p>
|
|
7241
|
+
* @public
|
|
7242
|
+
*/
|
|
7243
|
+
integrationArn: string | undefined;
|
|
7244
|
+
/**
|
|
7245
|
+
* <p>The tags associated with the code security integration.</p>
|
|
7246
|
+
* @public
|
|
7247
|
+
*/
|
|
7248
|
+
tags?: Record<string, string> | undefined;
|
|
7249
|
+
}
|
|
7250
|
+
/**
|
|
7251
|
+
* @public
|
|
7252
|
+
*/
|
|
7253
|
+
export interface GetCodeSecurityIntegrationResponse {
|
|
7254
|
+
/**
|
|
7255
|
+
* <p>The Amazon Resource Name (ARN) of the code security integration.</p>
|
|
7256
|
+
* @public
|
|
7257
|
+
*/
|
|
7258
|
+
integrationArn: string | undefined;
|
|
7259
|
+
/**
|
|
7260
|
+
* <p>The name of the code security integration.</p>
|
|
7261
|
+
* @public
|
|
7262
|
+
*/
|
|
7263
|
+
name: string | undefined;
|
|
7264
|
+
/**
|
|
7265
|
+
* <p>The type of repository provider for the integration.</p>
|
|
7266
|
+
* @public
|
|
7267
|
+
*/
|
|
7268
|
+
type: IntegrationType | undefined;
|
|
7269
|
+
/**
|
|
7270
|
+
* <p>The current status of the code security integration.</p>
|
|
7271
|
+
* @public
|
|
7272
|
+
*/
|
|
7273
|
+
status: IntegrationStatus | undefined;
|
|
7274
|
+
/**
|
|
7275
|
+
* <p>The reason for the current status of the code security integration.</p>
|
|
7276
|
+
* @public
|
|
7277
|
+
*/
|
|
7278
|
+
statusReason: string | undefined;
|
|
7279
|
+
/**
|
|
7280
|
+
* <p>The timestamp when the code security integration was created.</p>
|
|
7281
|
+
* @public
|
|
7282
|
+
*/
|
|
7283
|
+
createdOn: Date | undefined;
|
|
7284
|
+
/**
|
|
7285
|
+
* <p>The timestamp when the code security integration was last updated.</p>
|
|
7286
|
+
* @public
|
|
7287
|
+
*/
|
|
7288
|
+
lastUpdateOn: Date | undefined;
|
|
7289
|
+
/**
|
|
7290
|
+
* <p>The tags associated with the code security integration.</p>
|
|
7291
|
+
* @public
|
|
7292
|
+
*/
|
|
7293
|
+
tags?: Record<string, string> | undefined;
|
|
7294
|
+
/**
|
|
7295
|
+
* <p>The URL used to authorize the integration with the repository provider. This is only
|
|
7296
|
+
* returned if reauthorization is required to fix a connection issue. Otherwise, it is
|
|
7297
|
+
* null.</p>
|
|
7298
|
+
* @public
|
|
7299
|
+
*/
|
|
7300
|
+
authorizationUrl?: string | undefined;
|
|
7301
|
+
}
|
|
7302
|
+
/**
|
|
7303
|
+
* @public
|
|
7304
|
+
*/
|
|
7305
|
+
export interface GetCodeSecurityScanRequest {
|
|
7306
|
+
/**
|
|
7307
|
+
* <p>The resource identifier for the code repository that was scanned.</p>
|
|
7308
|
+
* @public
|
|
7309
|
+
*/
|
|
7310
|
+
resource: CodeSecurityResource | undefined;
|
|
7311
|
+
/**
|
|
7312
|
+
* <p>The unique identifier of the scan to retrieve.</p>
|
|
7313
|
+
* @public
|
|
7314
|
+
*/
|
|
7315
|
+
scanId: string | undefined;
|
|
7316
|
+
}
|
|
7317
|
+
/**
|
|
7318
|
+
* @public
|
|
7319
|
+
*/
|
|
7320
|
+
export interface GetCodeSecurityScanResponse {
|
|
7321
|
+
/**
|
|
7322
|
+
* <p>The unique identifier of the scan.</p>
|
|
7323
|
+
* @public
|
|
7324
|
+
*/
|
|
7325
|
+
scanId?: string | undefined;
|
|
7326
|
+
/**
|
|
7327
|
+
* <p>The resource identifier for the code repository that was scanned.</p>
|
|
7328
|
+
* @public
|
|
7329
|
+
*/
|
|
7330
|
+
resource?: CodeSecurityResource | undefined;
|
|
7331
|
+
/**
|
|
7332
|
+
* <p>The Amazon Web Services account ID associated with the scan.</p>
|
|
7333
|
+
* @public
|
|
7334
|
+
*/
|
|
7335
|
+
accountId?: string | undefined;
|
|
7336
|
+
/**
|
|
7337
|
+
* <p>The current status of the scan.</p>
|
|
7338
|
+
* @public
|
|
7339
|
+
*/
|
|
7340
|
+
status?: CodeScanStatus | undefined;
|
|
7341
|
+
/**
|
|
7342
|
+
* <p>The reason for the current status of the scan.</p>
|
|
7343
|
+
* @public
|
|
7344
|
+
*/
|
|
7345
|
+
statusReason?: string | undefined;
|
|
7346
|
+
/**
|
|
7347
|
+
* <p>The timestamp when the scan was created.</p>
|
|
7348
|
+
* @public
|
|
7349
|
+
*/
|
|
7350
|
+
createdAt?: Date | undefined;
|
|
7351
|
+
/**
|
|
7352
|
+
* <p>The timestamp when the scan was last updated.</p>
|
|
7353
|
+
* @public
|
|
7354
|
+
*/
|
|
7355
|
+
updatedAt?: Date | undefined;
|
|
7356
|
+
/**
|
|
7357
|
+
* <p>The identifier of the last commit that was scanned. This is only returned if the scan
|
|
7358
|
+
* was successful or skipped.</p>
|
|
7359
|
+
* @public
|
|
7360
|
+
*/
|
|
7361
|
+
lastCommitId?: string | undefined;
|
|
7362
|
+
}
|
|
7363
|
+
/**
|
|
7364
|
+
* @public
|
|
7365
|
+
*/
|
|
7366
|
+
export interface GetCodeSecurityScanConfigurationRequest {
|
|
7367
|
+
/**
|
|
7368
|
+
* <p>The Amazon Resource Name (ARN) of the scan configuration to retrieve.</p>
|
|
7369
|
+
* @public
|
|
7370
|
+
*/
|
|
7371
|
+
scanConfigurationArn: string | undefined;
|
|
7372
|
+
}
|
|
7373
|
+
/**
|
|
7374
|
+
* @public
|
|
7375
|
+
*/
|
|
7376
|
+
export interface GetCodeSecurityScanConfigurationResponse {
|
|
7377
|
+
/**
|
|
7378
|
+
* <p>The Amazon Resource Name (ARN) of the scan configuration.</p>
|
|
7379
|
+
* @public
|
|
7380
|
+
*/
|
|
7381
|
+
scanConfigurationArn?: string | undefined;
|
|
7382
|
+
/**
|
|
7383
|
+
* <p>The name of the scan configuration.</p>
|
|
7384
|
+
* @public
|
|
7385
|
+
*/
|
|
7386
|
+
name?: string | undefined;
|
|
7387
|
+
/**
|
|
7388
|
+
* <p>The configuration settings for the code security scan.</p>
|
|
7389
|
+
* @public
|
|
7390
|
+
*/
|
|
7391
|
+
configuration?: CodeSecurityScanConfiguration | undefined;
|
|
7392
|
+
/**
|
|
7393
|
+
* <p>The security level for the scan configuration.</p>
|
|
7394
|
+
* @public
|
|
7395
|
+
*/
|
|
7396
|
+
level?: ConfigurationLevel | undefined;
|
|
7397
|
+
/**
|
|
7398
|
+
* <p>The scope settings that define which repositories will be scanned. If the
|
|
7399
|
+
* <code>ScopeSetting</code> parameter is <code>ALL</code> the scan configuration applies
|
|
7400
|
+
* to all existing and future projects imported into Amazon Inspector.</p>
|
|
7401
|
+
* @public
|
|
7402
|
+
*/
|
|
7403
|
+
scopeSettings?: ScopeSettings | undefined;
|
|
7404
|
+
/**
|
|
7405
|
+
* <p>The timestamp when the scan configuration was created.</p>
|
|
7406
|
+
* @public
|
|
7407
|
+
*/
|
|
7408
|
+
createdAt?: Date | undefined;
|
|
7409
|
+
/**
|
|
7410
|
+
* <p>The timestamp when the scan configuration was last updated.</p>
|
|
7411
|
+
* @public
|
|
7412
|
+
*/
|
|
7413
|
+
lastUpdatedAt?: Date | undefined;
|
|
7414
|
+
/**
|
|
7415
|
+
* <p>The tags associated with the scan configuration.</p>
|
|
7416
|
+
* @public
|
|
7417
|
+
*/
|
|
7418
|
+
tags?: Record<string, string> | undefined;
|
|
7419
|
+
}
|
|
7420
|
+
/**
|
|
7421
|
+
* @public
|
|
7422
|
+
*/
|
|
7423
|
+
export interface GetConfigurationRequest {
|
|
7424
|
+
}
|
|
7425
|
+
/**
|
|
7426
|
+
* @public
|
|
7427
|
+
*/
|
|
7428
|
+
export interface GetConfigurationResponse {
|
|
7429
|
+
/**
|
|
7430
|
+
* <p>Specifies how the ECR automated re-scan duration is currently configured for your
|
|
7431
|
+
* environment.</p>
|
|
7432
|
+
* @public
|
|
7433
|
+
*/
|
|
7434
|
+
ecrConfiguration?: EcrConfigurationState | undefined;
|
|
7435
|
+
/**
|
|
7436
|
+
* <p>Specifies how the Amazon EC2 automated scan mode is currently configured for your
|
|
7437
|
+
* environment.</p>
|
|
7438
|
+
* @public
|
|
7439
|
+
*/
|
|
7440
|
+
ec2Configuration?: Ec2ConfigurationState | undefined;
|
|
7441
|
+
}
|