@aws-sdk/client-inspector 3.296.0 → 3.297.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-types/Inspector.d.ts +38 -0
- package/dist-types/InspectorClient.d.ts +24 -4
- package/dist-types/commands/AddAttributesToFindingsCommand.d.ts +16 -0
- package/dist-types/commands/CreateAssessmentTargetCommand.d.ts +16 -0
- package/dist-types/commands/CreateAssessmentTemplateCommand.d.ts +16 -0
- package/dist-types/commands/CreateExclusionsPreviewCommand.d.ts +16 -0
- package/dist-types/commands/CreateResourceGroupCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAssessmentRunCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAssessmentTargetCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAssessmentTemplateCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAssessmentRunsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAssessmentTargetsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAssessmentTemplatesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeCrossAccountAccessRoleCommand.d.ts +16 -0
- package/dist-types/commands/DescribeExclusionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeFindingsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeResourceGroupsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRulesPackagesCommand.d.ts +16 -0
- package/dist-types/commands/GetAssessmentReportCommand.d.ts +16 -0
- package/dist-types/commands/GetExclusionsPreviewCommand.d.ts +16 -0
- package/dist-types/commands/GetTelemetryMetadataCommand.d.ts +16 -0
- package/dist-types/commands/ListAssessmentRunAgentsCommand.d.ts +16 -0
- package/dist-types/commands/ListAssessmentRunsCommand.d.ts +16 -0
- package/dist-types/commands/ListAssessmentTargetsCommand.d.ts +16 -0
- package/dist-types/commands/ListAssessmentTemplatesCommand.d.ts +16 -0
- package/dist-types/commands/ListEventSubscriptionsCommand.d.ts +16 -0
- package/dist-types/commands/ListExclusionsCommand.d.ts +16 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +16 -0
- package/dist-types/commands/ListRulesPackagesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PreviewAgentsCommand.d.ts +16 -0
- package/dist-types/commands/RegisterCrossAccountAccessRoleCommand.d.ts +16 -0
- package/dist-types/commands/RemoveAttributesFromFindingsCommand.d.ts +16 -0
- package/dist-types/commands/SetTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/StartAssessmentRunCommand.d.ts +16 -0
- package/dist-types/commands/StopAssessmentRunCommand.d.ts +16 -0
- package/dist-types/commands/SubscribeToEventCommand.d.ts +16 -0
- package/dist-types/commands/UnsubscribeFromEventCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAssessmentTargetCommand.d.ts +16 -0
- package/dist-types/models/InspectorServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +298 -2
- package/dist-types/pagination/GetExclusionsPreviewPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAssessmentRunAgentsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssessmentRunsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssessmentTargetsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssessmentTemplatesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListEventSubscriptionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListExclusionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListFindingsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListRulesPackagesPaginator.d.ts +3 -0
- package/dist-types/pagination/PreviewAgentsPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { InspectorServiceException as __BaseException } from "./InspectorServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export declare enum AccessDeniedErrorCode {
|
|
4
7
|
ACCESS_DENIED_TO_ASSESSMENT_RUN = "ACCESS_DENIED_TO_ASSESSMENT_RUN",
|
|
5
8
|
ACCESS_DENIED_TO_ASSESSMENT_TARGET = "ACCESS_DENIED_TO_ASSESSMENT_TARGET",
|
|
@@ -11,6 +14,7 @@ export declare enum AccessDeniedErrorCode {
|
|
|
11
14
|
ACCESS_DENIED_TO_SNS_TOPIC = "ACCESS_DENIED_TO_SNS_TOPIC"
|
|
12
15
|
}
|
|
13
16
|
/**
|
|
17
|
+
* @public
|
|
14
18
|
* <p>You do not have required permissions to access the requested resource.</p>
|
|
15
19
|
*/
|
|
16
20
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -30,6 +34,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
30
34
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
31
35
|
}
|
|
32
36
|
/**
|
|
37
|
+
* @public
|
|
33
38
|
* <p>This data type is used as a request parameter in the <a>AddAttributesToFindings</a> and <a>CreateAssessmentTemplate</a>
|
|
34
39
|
* actions.</p>
|
|
35
40
|
*/
|
|
@@ -43,6 +48,9 @@ export interface Attribute {
|
|
|
43
48
|
*/
|
|
44
49
|
value?: string;
|
|
45
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
46
54
|
export interface AddAttributesToFindingsRequest {
|
|
47
55
|
/**
|
|
48
56
|
* <p>The ARNs that specify the findings that you want to assign attributes to.</p>
|
|
@@ -53,6 +61,9 @@ export interface AddAttributesToFindingsRequest {
|
|
|
53
61
|
*/
|
|
54
62
|
attributes: Attribute[] | undefined;
|
|
55
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
56
67
|
export declare enum FailedItemErrorCode {
|
|
57
68
|
ACCESS_DENIED = "ACCESS_DENIED",
|
|
58
69
|
DUPLICATE_ARN = "DUPLICATE_ARN",
|
|
@@ -62,6 +73,7 @@ export declare enum FailedItemErrorCode {
|
|
|
62
73
|
LIMIT_EXCEEDED = "LIMIT_EXCEEDED"
|
|
63
74
|
}
|
|
64
75
|
/**
|
|
76
|
+
* @public
|
|
65
77
|
* <p>Includes details about the failed items.</p>
|
|
66
78
|
*/
|
|
67
79
|
export interface FailedItemDetails {
|
|
@@ -75,6 +87,9 @@ export interface FailedItemDetails {
|
|
|
75
87
|
*/
|
|
76
88
|
retryable: boolean | undefined;
|
|
77
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
78
93
|
export interface AddAttributesToFindingsResponse {
|
|
79
94
|
/**
|
|
80
95
|
* <p>Attribute details that cannot be described. An error code is provided for each failed
|
|
@@ -83,6 +98,7 @@ export interface AddAttributesToFindingsResponse {
|
|
|
83
98
|
failedItems: Record<string, FailedItemDetails> | undefined;
|
|
84
99
|
}
|
|
85
100
|
/**
|
|
101
|
+
* @public
|
|
86
102
|
* <p>Internal server error.</p>
|
|
87
103
|
*/
|
|
88
104
|
export declare class InternalException extends __BaseException {
|
|
@@ -97,6 +113,9 @@ export declare class InternalException extends __BaseException {
|
|
|
97
113
|
*/
|
|
98
114
|
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
99
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
100
119
|
export declare enum InvalidInputErrorCode {
|
|
101
120
|
ASSESSMENT_TARGET_NAME_ALREADY_TAKEN = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN",
|
|
102
121
|
ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN = "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN",
|
|
@@ -154,6 +173,7 @@ export declare enum InvalidInputErrorCode {
|
|
|
154
173
|
INVALID_USER_ATTRIBUTE_VALUE = "INVALID_USER_ATTRIBUTE_VALUE"
|
|
155
174
|
}
|
|
156
175
|
/**
|
|
176
|
+
* @public
|
|
157
177
|
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
158
178
|
* input parameter.</p>
|
|
159
179
|
*/
|
|
@@ -173,6 +193,9 @@ export declare class InvalidInputException extends __BaseException {
|
|
|
173
193
|
*/
|
|
174
194
|
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
175
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
176
199
|
export declare enum NoSuchEntityErrorCode {
|
|
177
200
|
ASSESSMENT_RUN_DOES_NOT_EXIST = "ASSESSMENT_RUN_DOES_NOT_EXIST",
|
|
178
201
|
ASSESSMENT_TARGET_DOES_NOT_EXIST = "ASSESSMENT_TARGET_DOES_NOT_EXIST",
|
|
@@ -184,6 +207,7 @@ export declare enum NoSuchEntityErrorCode {
|
|
|
184
207
|
SNS_TOPIC_DOES_NOT_EXIST = "SNS_TOPIC_DOES_NOT_EXIST"
|
|
185
208
|
}
|
|
186
209
|
/**
|
|
210
|
+
* @public
|
|
187
211
|
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
188
212
|
* error code describes the entity.</p>
|
|
189
213
|
*/
|
|
@@ -204,6 +228,7 @@ export declare class NoSuchEntityException extends __BaseException {
|
|
|
204
228
|
constructor(opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>);
|
|
205
229
|
}
|
|
206
230
|
/**
|
|
231
|
+
* @public
|
|
207
232
|
* <p>The serice is temporary unavailable.</p>
|
|
208
233
|
*/
|
|
209
234
|
export declare class ServiceTemporarilyUnavailableException extends __BaseException {
|
|
@@ -219,6 +244,7 @@ export declare class ServiceTemporarilyUnavailableException extends __BaseExcept
|
|
|
219
244
|
constructor(opts: __ExceptionOptionType<ServiceTemporarilyUnavailableException, __BaseException>);
|
|
220
245
|
}
|
|
221
246
|
/**
|
|
247
|
+
* @public
|
|
222
248
|
* <p>Used in the exception error that is thrown if you start an assessment run for an
|
|
223
249
|
* assessment target that includes an EC2 instance that is already participating in another
|
|
224
250
|
* started assessment run.</p>
|
|
@@ -234,6 +260,9 @@ export interface AgentAlreadyRunningAssessment {
|
|
|
234
260
|
*/
|
|
235
261
|
assessmentRunArn: string | undefined;
|
|
236
262
|
}
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
237
266
|
export declare enum AgentHealthCode {
|
|
238
267
|
IDLE = "IDLE",
|
|
239
268
|
RUNNING = "RUNNING",
|
|
@@ -242,12 +271,16 @@ export declare enum AgentHealthCode {
|
|
|
242
271
|
UNHEALTHY = "UNHEALTHY",
|
|
243
272
|
UNKNOWN = "UNKNOWN"
|
|
244
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
245
277
|
export declare enum AgentHealth {
|
|
246
278
|
HEALTHY = "HEALTHY",
|
|
247
279
|
UNHEALTHY = "UNHEALTHY",
|
|
248
280
|
UNKNOWN = "UNKNOWN"
|
|
249
281
|
}
|
|
250
282
|
/**
|
|
283
|
+
* @public
|
|
251
284
|
* <p>Contains information about an Amazon Inspector agent. This data type is used as a
|
|
252
285
|
* request parameter in the <a>ListAssessmentRunAgents</a> action.</p>
|
|
253
286
|
*/
|
|
@@ -262,6 +295,7 @@ export interface AgentFilter {
|
|
|
262
295
|
agentHealthCodes: (AgentHealthCode | string)[] | undefined;
|
|
263
296
|
}
|
|
264
297
|
/**
|
|
298
|
+
* @public
|
|
265
299
|
* <p>Used as a response element in the <a>PreviewAgents</a> action.</p>
|
|
266
300
|
*/
|
|
267
301
|
export interface AgentPreview {
|
|
@@ -303,6 +337,7 @@ export interface AgentPreview {
|
|
|
303
337
|
ipv4Address?: string;
|
|
304
338
|
}
|
|
305
339
|
/**
|
|
340
|
+
* @public
|
|
306
341
|
* <p>You started an assessment run, but one of the instances is already participating in
|
|
307
342
|
* another assessment run.</p>
|
|
308
343
|
*/
|
|
@@ -326,6 +361,9 @@ export declare class AgentsAlreadyRunningAssessmentException extends __BaseExcep
|
|
|
326
361
|
*/
|
|
327
362
|
constructor(opts: __ExceptionOptionType<AgentsAlreadyRunningAssessmentException, __BaseException>);
|
|
328
363
|
}
|
|
364
|
+
/**
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
329
367
|
export declare enum Severity {
|
|
330
368
|
HIGH = "High",
|
|
331
369
|
INFORMATIONAL = "Informational",
|
|
@@ -333,6 +371,9 @@ export declare enum Severity {
|
|
|
333
371
|
MEDIUM = "Medium",
|
|
334
372
|
UNDEFINED = "Undefined"
|
|
335
373
|
}
|
|
374
|
+
/**
|
|
375
|
+
* @public
|
|
376
|
+
*/
|
|
336
377
|
export declare enum InspectorEvent {
|
|
337
378
|
ASSESSMENT_RUN_COMPLETED = "ASSESSMENT_RUN_COMPLETED",
|
|
338
379
|
ASSESSMENT_RUN_STARTED = "ASSESSMENT_RUN_STARTED",
|
|
@@ -340,6 +381,9 @@ export declare enum InspectorEvent {
|
|
|
340
381
|
FINDING_REPORTED = "FINDING_REPORTED",
|
|
341
382
|
OTHER = "OTHER"
|
|
342
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* @public
|
|
386
|
+
*/
|
|
343
387
|
export declare enum AssessmentRunNotificationSnsStatusCode {
|
|
344
388
|
ACCESS_DENIED = "ACCESS_DENIED",
|
|
345
389
|
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
@@ -347,6 +391,7 @@ export declare enum AssessmentRunNotificationSnsStatusCode {
|
|
|
347
391
|
TOPIC_DOES_NOT_EXIST = "TOPIC_DOES_NOT_EXIST"
|
|
348
392
|
}
|
|
349
393
|
/**
|
|
394
|
+
* @public
|
|
350
395
|
* <p>Used as one of the elements of the <a>AssessmentRun</a> data
|
|
351
396
|
* type.</p>
|
|
352
397
|
*/
|
|
@@ -377,6 +422,9 @@ export interface AssessmentRunNotification {
|
|
|
377
422
|
*/
|
|
378
423
|
snsPublishStatusCode?: AssessmentRunNotificationSnsStatusCode | string;
|
|
379
424
|
}
|
|
425
|
+
/**
|
|
426
|
+
* @public
|
|
427
|
+
*/
|
|
380
428
|
export declare enum AssessmentRunState {
|
|
381
429
|
CANCELED = "CANCELED",
|
|
382
430
|
COLLECTING_DATA = "COLLECTING_DATA",
|
|
@@ -393,6 +441,7 @@ export declare enum AssessmentRunState {
|
|
|
393
441
|
STOP_DATA_COLLECTION_PENDING = "STOP_DATA_COLLECTION_PENDING"
|
|
394
442
|
}
|
|
395
443
|
/**
|
|
444
|
+
* @public
|
|
396
445
|
* <p>Used as one of the elements of the <a>AssessmentRun</a> data
|
|
397
446
|
* type.</p>
|
|
398
447
|
*/
|
|
@@ -407,6 +456,7 @@ export interface AssessmentRunStateChange {
|
|
|
407
456
|
state: AssessmentRunState | string | undefined;
|
|
408
457
|
}
|
|
409
458
|
/**
|
|
459
|
+
* @public
|
|
410
460
|
* <p>A snapshot of an Amazon Inspector assessment run that contains the findings of the
|
|
411
461
|
* assessment run .</p>
|
|
412
462
|
* <p>Used as the response element in the <a>DescribeAssessmentRuns</a>
|
|
@@ -479,6 +529,7 @@ export interface AssessmentRun {
|
|
|
479
529
|
findingCounts: Record<string, number> | undefined;
|
|
480
530
|
}
|
|
481
531
|
/**
|
|
532
|
+
* @public
|
|
482
533
|
* <p>The metadata about the Amazon Inspector application data metrics collected by the
|
|
483
534
|
* agent. This data type is used as the response element in the <a>GetTelemetryMetadata</a> action.</p>
|
|
484
535
|
*/
|
|
@@ -498,6 +549,7 @@ export interface TelemetryMetadata {
|
|
|
498
549
|
dataSize?: number;
|
|
499
550
|
}
|
|
500
551
|
/**
|
|
552
|
+
* @public
|
|
501
553
|
* <p>Contains information about an Amazon Inspector agent. This data type is used as a
|
|
502
554
|
* response element in the <a>ListAssessmentRunAgents</a> action.</p>
|
|
503
555
|
*/
|
|
@@ -534,6 +586,7 @@ export interface AssessmentRunAgent {
|
|
|
534
586
|
telemetryMetadata: TelemetryMetadata[] | undefined;
|
|
535
587
|
}
|
|
536
588
|
/**
|
|
589
|
+
* @public
|
|
537
590
|
* <p>This data type is used in the <a>AssessmentRunFilter</a> data
|
|
538
591
|
* type.</p>
|
|
539
592
|
*/
|
|
@@ -548,6 +601,7 @@ export interface TimestampRange {
|
|
|
548
601
|
endDate?: Date;
|
|
549
602
|
}
|
|
550
603
|
/**
|
|
604
|
+
* @public
|
|
551
605
|
* <p>This data type is used in the <a>AssessmentTemplateFilter</a> data
|
|
552
606
|
* type.</p>
|
|
553
607
|
*/
|
|
@@ -563,6 +617,7 @@ export interface DurationRange {
|
|
|
563
617
|
maxSeconds?: number;
|
|
564
618
|
}
|
|
565
619
|
/**
|
|
620
|
+
* @public
|
|
566
621
|
* <p>Used as the request parameter in the <a>ListAssessmentRuns</a>
|
|
567
622
|
* action.</p>
|
|
568
623
|
*/
|
|
@@ -611,6 +666,7 @@ export interface AssessmentRunFilter {
|
|
|
611
666
|
stateChangeTimeRange?: TimestampRange;
|
|
612
667
|
}
|
|
613
668
|
/**
|
|
669
|
+
* @public
|
|
614
670
|
* <p>You cannot perform a specified action if an assessment run is currently in
|
|
615
671
|
* progress.</p>
|
|
616
672
|
*/
|
|
@@ -636,6 +692,7 @@ export declare class AssessmentRunInProgressException extends __BaseException {
|
|
|
636
692
|
constructor(opts: __ExceptionOptionType<AssessmentRunInProgressException, __BaseException>);
|
|
637
693
|
}
|
|
638
694
|
/**
|
|
695
|
+
* @public
|
|
639
696
|
* <p>Contains information about an Amazon Inspector application. This data type is used as
|
|
640
697
|
* the response element in the <a>DescribeAssessmentTargets</a> action.</p>
|
|
641
698
|
*/
|
|
@@ -663,6 +720,7 @@ export interface AssessmentTarget {
|
|
|
663
720
|
updatedAt: Date | undefined;
|
|
664
721
|
}
|
|
665
722
|
/**
|
|
723
|
+
* @public
|
|
666
724
|
* <p>Used as the request parameter in the <a>ListAssessmentTargets</a>
|
|
667
725
|
* action.</p>
|
|
668
726
|
*/
|
|
@@ -675,6 +733,7 @@ export interface AssessmentTargetFilter {
|
|
|
675
733
|
assessmentTargetNamePattern?: string;
|
|
676
734
|
}
|
|
677
735
|
/**
|
|
736
|
+
* @public
|
|
678
737
|
* <p>Contains information about an Amazon Inspector assessment template. This data type is
|
|
679
738
|
* used as the response element in the <a>DescribeAssessmentTemplates</a>
|
|
680
739
|
* action.</p>
|
|
@@ -724,6 +783,7 @@ export interface AssessmentTemplate {
|
|
|
724
783
|
createdAt: Date | undefined;
|
|
725
784
|
}
|
|
726
785
|
/**
|
|
786
|
+
* @public
|
|
727
787
|
* <p>Used as the request parameter in the <a>ListAssessmentTemplates</a>
|
|
728
788
|
* action.</p>
|
|
729
789
|
*/
|
|
@@ -748,6 +808,7 @@ export interface AssessmentTemplateFilter {
|
|
|
748
808
|
rulesPackageArns?: string[];
|
|
749
809
|
}
|
|
750
810
|
/**
|
|
811
|
+
* @public
|
|
751
812
|
* <p>Contains information about a private IP address associated with a network interface. This
|
|
752
813
|
* data type is used as a response element in the <a>DescribeFindings</a>
|
|
753
814
|
* action.</p>
|
|
@@ -763,6 +824,7 @@ export interface PrivateIp {
|
|
|
763
824
|
privateIpAddress?: string;
|
|
764
825
|
}
|
|
765
826
|
/**
|
|
827
|
+
* @public
|
|
766
828
|
* <p>Contains information about a security group associated with a network interface. This
|
|
767
829
|
* data type is used as one of the elements of the <a>NetworkInterface</a> data
|
|
768
830
|
* type.</p>
|
|
@@ -778,6 +840,7 @@ export interface SecurityGroup {
|
|
|
778
840
|
groupId?: string;
|
|
779
841
|
}
|
|
780
842
|
/**
|
|
843
|
+
* @public
|
|
781
844
|
* <p>Contains information about the network interfaces interacting with an EC2 instance.
|
|
782
845
|
* This data type is used as one of the elements of the <a>AssetAttributes</a> data
|
|
783
846
|
* type.</p>
|
|
@@ -827,6 +890,7 @@ export interface NetworkInterface {
|
|
|
827
890
|
securityGroups?: SecurityGroup[];
|
|
828
891
|
}
|
|
829
892
|
/**
|
|
893
|
+
* @public
|
|
830
894
|
* <p>A key and value pair. This data type is used as a request parameter in the <a>SetTagsForResource</a> action and a response element in the <a>ListTagsForResource</a> action.</p>
|
|
831
895
|
*/
|
|
832
896
|
export interface Tag {
|
|
@@ -840,6 +904,7 @@ export interface Tag {
|
|
|
840
904
|
value?: string;
|
|
841
905
|
}
|
|
842
906
|
/**
|
|
907
|
+
* @public
|
|
843
908
|
* <p>A collection of attributes of the host from which the finding is generated.</p>
|
|
844
909
|
*/
|
|
845
910
|
export interface AssetAttributes {
|
|
@@ -880,9 +945,15 @@ export interface AssetAttributes {
|
|
|
880
945
|
*/
|
|
881
946
|
networkInterfaces?: NetworkInterface[];
|
|
882
947
|
}
|
|
948
|
+
/**
|
|
949
|
+
* @public
|
|
950
|
+
*/
|
|
883
951
|
export declare enum AssetType {
|
|
884
952
|
EC2_INSTANCE = "ec2-instance"
|
|
885
953
|
}
|
|
954
|
+
/**
|
|
955
|
+
* @public
|
|
956
|
+
*/
|
|
886
957
|
export interface CreateAssessmentTargetRequest {
|
|
887
958
|
/**
|
|
888
959
|
* <p>The user-defined name that identifies the assessment target that you want to create.
|
|
@@ -896,17 +967,24 @@ export interface CreateAssessmentTargetRequest {
|
|
|
896
967
|
*/
|
|
897
968
|
resourceGroupArn?: string;
|
|
898
969
|
}
|
|
970
|
+
/**
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
899
973
|
export interface CreateAssessmentTargetResponse {
|
|
900
974
|
/**
|
|
901
975
|
* <p>The ARN that specifies the assessment target that is created.</p>
|
|
902
976
|
*/
|
|
903
977
|
assessmentTargetArn: string | undefined;
|
|
904
978
|
}
|
|
979
|
+
/**
|
|
980
|
+
* @public
|
|
981
|
+
*/
|
|
905
982
|
export declare enum InvalidCrossAccountRoleErrorCode {
|
|
906
983
|
ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP = "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP",
|
|
907
984
|
ROLE_DOES_NOT_HAVE_CORRECT_POLICY = "ROLE_DOES_NOT_HAVE_CORRECT_POLICY"
|
|
908
985
|
}
|
|
909
986
|
/**
|
|
987
|
+
* @public
|
|
910
988
|
* <p>Amazon Inspector cannot assume the cross-account role that it needs to list your EC2
|
|
911
989
|
* instances during the assessment run.</p>
|
|
912
990
|
*/
|
|
@@ -926,6 +1004,9 @@ export declare class InvalidCrossAccountRoleException extends __BaseException {
|
|
|
926
1004
|
*/
|
|
927
1005
|
constructor(opts: __ExceptionOptionType<InvalidCrossAccountRoleException, __BaseException>);
|
|
928
1006
|
}
|
|
1007
|
+
/**
|
|
1008
|
+
* @public
|
|
1009
|
+
*/
|
|
929
1010
|
export declare enum LimitExceededErrorCode {
|
|
930
1011
|
ASSESSMENT_RUN_LIMIT_EXCEEDED = "ASSESSMENT_RUN_LIMIT_EXCEEDED",
|
|
931
1012
|
ASSESSMENT_TARGET_LIMIT_EXCEEDED = "ASSESSMENT_TARGET_LIMIT_EXCEEDED",
|
|
@@ -934,6 +1015,7 @@ export declare enum LimitExceededErrorCode {
|
|
|
934
1015
|
RESOURCE_GROUP_LIMIT_EXCEEDED = "RESOURCE_GROUP_LIMIT_EXCEEDED"
|
|
935
1016
|
}
|
|
936
1017
|
/**
|
|
1018
|
+
* @public
|
|
937
1019
|
* <p>The request was rejected because it attempted to create resources beyond the current
|
|
938
1020
|
* AWS account limits. The error code describes the limit exceeded.</p>
|
|
939
1021
|
*/
|
|
@@ -953,6 +1035,9 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
953
1035
|
*/
|
|
954
1036
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
955
1037
|
}
|
|
1038
|
+
/**
|
|
1039
|
+
* @public
|
|
1040
|
+
*/
|
|
956
1041
|
export interface CreateAssessmentTemplateRequest {
|
|
957
1042
|
/**
|
|
958
1043
|
* <p>The ARN that specifies the assessment target for which you want to create the
|
|
@@ -983,12 +1068,18 @@ export interface CreateAssessmentTemplateRequest {
|
|
|
983
1068
|
*/
|
|
984
1069
|
userAttributesForFindings?: Attribute[];
|
|
985
1070
|
}
|
|
1071
|
+
/**
|
|
1072
|
+
* @public
|
|
1073
|
+
*/
|
|
986
1074
|
export interface CreateAssessmentTemplateResponse {
|
|
987
1075
|
/**
|
|
988
1076
|
* <p>The ARN that specifies the assessment template that is created.</p>
|
|
989
1077
|
*/
|
|
990
1078
|
assessmentTemplateArn: string | undefined;
|
|
991
1079
|
}
|
|
1080
|
+
/**
|
|
1081
|
+
* @public
|
|
1082
|
+
*/
|
|
992
1083
|
export interface CreateExclusionsPreviewRequest {
|
|
993
1084
|
/**
|
|
994
1085
|
* <p>The ARN that specifies the assessment template for which you want to create an
|
|
@@ -996,6 +1087,9 @@ export interface CreateExclusionsPreviewRequest {
|
|
|
996
1087
|
*/
|
|
997
1088
|
assessmentTemplateArn: string | undefined;
|
|
998
1089
|
}
|
|
1090
|
+
/**
|
|
1091
|
+
* @public
|
|
1092
|
+
*/
|
|
999
1093
|
export interface CreateExclusionsPreviewResponse {
|
|
1000
1094
|
/**
|
|
1001
1095
|
* <p>Specifies the unique identifier of the requested exclusions preview. You can use the
|
|
@@ -1005,6 +1099,7 @@ export interface CreateExclusionsPreviewResponse {
|
|
|
1005
1099
|
previewToken: string | undefined;
|
|
1006
1100
|
}
|
|
1007
1101
|
/**
|
|
1102
|
+
* @public
|
|
1008
1103
|
* <p>The request is rejected. The specified assessment template is currently generating an
|
|
1009
1104
|
* exclusions preview.</p>
|
|
1010
1105
|
*/
|
|
@@ -1017,6 +1112,7 @@ export declare class PreviewGenerationInProgressException extends __BaseExceptio
|
|
|
1017
1112
|
constructor(opts: __ExceptionOptionType<PreviewGenerationInProgressException, __BaseException>);
|
|
1018
1113
|
}
|
|
1019
1114
|
/**
|
|
1115
|
+
* @public
|
|
1020
1116
|
* <p>This data type is used as one of the elements of the <a>ResourceGroup</a>
|
|
1021
1117
|
* data type.</p>
|
|
1022
1118
|
*/
|
|
@@ -1030,44 +1126,65 @@ export interface ResourceGroupTag {
|
|
|
1030
1126
|
*/
|
|
1031
1127
|
value?: string;
|
|
1032
1128
|
}
|
|
1129
|
+
/**
|
|
1130
|
+
* @public
|
|
1131
|
+
*/
|
|
1033
1132
|
export interface CreateResourceGroupRequest {
|
|
1034
1133
|
/**
|
|
1035
1134
|
* <p>A collection of keys and an array of possible values,
|
|
1036
|
-
* '[{"key":"key1","values":["Value1","Value2"]}
|
|
1037
|
-
* <p>For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.</p>
|
|
1135
|
+
* '[\{"key":"key1","values":["Value1","Value2"]\},\{"key":"Key2","values":["Value3"]\}]'.</p>
|
|
1136
|
+
* <p>For example,'[\{"key":"Name","values":["TestEC2Instance"]\}]'.</p>
|
|
1038
1137
|
*/
|
|
1039
1138
|
resourceGroupTags: ResourceGroupTag[] | undefined;
|
|
1040
1139
|
}
|
|
1140
|
+
/**
|
|
1141
|
+
* @public
|
|
1142
|
+
*/
|
|
1041
1143
|
export interface CreateResourceGroupResponse {
|
|
1042
1144
|
/**
|
|
1043
1145
|
* <p>The ARN that specifies the resource group that is created.</p>
|
|
1044
1146
|
*/
|
|
1045
1147
|
resourceGroupArn: string | undefined;
|
|
1046
1148
|
}
|
|
1149
|
+
/**
|
|
1150
|
+
* @public
|
|
1151
|
+
*/
|
|
1047
1152
|
export interface DeleteAssessmentRunRequest {
|
|
1048
1153
|
/**
|
|
1049
1154
|
* <p>The ARN that specifies the assessment run that you want to delete.</p>
|
|
1050
1155
|
*/
|
|
1051
1156
|
assessmentRunArn: string | undefined;
|
|
1052
1157
|
}
|
|
1158
|
+
/**
|
|
1159
|
+
* @public
|
|
1160
|
+
*/
|
|
1053
1161
|
export interface DeleteAssessmentTargetRequest {
|
|
1054
1162
|
/**
|
|
1055
1163
|
* <p>The ARN that specifies the assessment target that you want to delete.</p>
|
|
1056
1164
|
*/
|
|
1057
1165
|
assessmentTargetArn: string | undefined;
|
|
1058
1166
|
}
|
|
1167
|
+
/**
|
|
1168
|
+
* @public
|
|
1169
|
+
*/
|
|
1059
1170
|
export interface DeleteAssessmentTemplateRequest {
|
|
1060
1171
|
/**
|
|
1061
1172
|
* <p>The ARN that specifies the assessment template that you want to delete.</p>
|
|
1062
1173
|
*/
|
|
1063
1174
|
assessmentTemplateArn: string | undefined;
|
|
1064
1175
|
}
|
|
1176
|
+
/**
|
|
1177
|
+
* @public
|
|
1178
|
+
*/
|
|
1065
1179
|
export interface DescribeAssessmentRunsRequest {
|
|
1066
1180
|
/**
|
|
1067
1181
|
* <p>The ARN that specifies the assessment run that you want to describe.</p>
|
|
1068
1182
|
*/
|
|
1069
1183
|
assessmentRunArns: string[] | undefined;
|
|
1070
1184
|
}
|
|
1185
|
+
/**
|
|
1186
|
+
* @public
|
|
1187
|
+
*/
|
|
1071
1188
|
export interface DescribeAssessmentRunsResponse {
|
|
1072
1189
|
/**
|
|
1073
1190
|
* <p>Information about the assessment run.</p>
|
|
@@ -1079,12 +1196,18 @@ export interface DescribeAssessmentRunsResponse {
|
|
|
1079
1196
|
*/
|
|
1080
1197
|
failedItems: Record<string, FailedItemDetails> | undefined;
|
|
1081
1198
|
}
|
|
1199
|
+
/**
|
|
1200
|
+
* @public
|
|
1201
|
+
*/
|
|
1082
1202
|
export interface DescribeAssessmentTargetsRequest {
|
|
1083
1203
|
/**
|
|
1084
1204
|
* <p>The ARNs that specifies the assessment targets that you want to describe.</p>
|
|
1085
1205
|
*/
|
|
1086
1206
|
assessmentTargetArns: string[] | undefined;
|
|
1087
1207
|
}
|
|
1208
|
+
/**
|
|
1209
|
+
* @public
|
|
1210
|
+
*/
|
|
1088
1211
|
export interface DescribeAssessmentTargetsResponse {
|
|
1089
1212
|
/**
|
|
1090
1213
|
* <p>Information about the assessment targets.</p>
|
|
@@ -1096,9 +1219,15 @@ export interface DescribeAssessmentTargetsResponse {
|
|
|
1096
1219
|
*/
|
|
1097
1220
|
failedItems: Record<string, FailedItemDetails> | undefined;
|
|
1098
1221
|
}
|
|
1222
|
+
/**
|
|
1223
|
+
* @public
|
|
1224
|
+
*/
|
|
1099
1225
|
export interface DescribeAssessmentTemplatesRequest {
|
|
1100
1226
|
assessmentTemplateArns: string[] | undefined;
|
|
1101
1227
|
}
|
|
1228
|
+
/**
|
|
1229
|
+
* @public
|
|
1230
|
+
*/
|
|
1102
1231
|
export interface DescribeAssessmentTemplatesResponse {
|
|
1103
1232
|
/**
|
|
1104
1233
|
* <p>Information about the assessment templates.</p>
|
|
@@ -1110,6 +1239,9 @@ export interface DescribeAssessmentTemplatesResponse {
|
|
|
1110
1239
|
*/
|
|
1111
1240
|
failedItems: Record<string, FailedItemDetails> | undefined;
|
|
1112
1241
|
}
|
|
1242
|
+
/**
|
|
1243
|
+
* @public
|
|
1244
|
+
*/
|
|
1113
1245
|
export interface DescribeCrossAccountAccessRoleResponse {
|
|
1114
1246
|
/**
|
|
1115
1247
|
* <p>The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS
|
|
@@ -1126,9 +1258,15 @@ export interface DescribeCrossAccountAccessRoleResponse {
|
|
|
1126
1258
|
*/
|
|
1127
1259
|
registeredAt: Date | undefined;
|
|
1128
1260
|
}
|
|
1261
|
+
/**
|
|
1262
|
+
* @public
|
|
1263
|
+
*/
|
|
1129
1264
|
export declare enum Locale {
|
|
1130
1265
|
EN_US = "EN_US"
|
|
1131
1266
|
}
|
|
1267
|
+
/**
|
|
1268
|
+
* @public
|
|
1269
|
+
*/
|
|
1132
1270
|
export interface DescribeExclusionsRequest {
|
|
1133
1271
|
/**
|
|
1134
1272
|
* <p>The list of ARNs that specify the exclusions that you want to describe.</p>
|
|
@@ -1140,11 +1278,15 @@ export interface DescribeExclusionsRequest {
|
|
|
1140
1278
|
*/
|
|
1141
1279
|
locale?: Locale | string;
|
|
1142
1280
|
}
|
|
1281
|
+
/**
|
|
1282
|
+
* @public
|
|
1283
|
+
*/
|
|
1143
1284
|
export declare enum ScopeType {
|
|
1144
1285
|
INSTANCE_ID = "INSTANCE_ID",
|
|
1145
1286
|
RULES_PACKAGE_ARN = "RULES_PACKAGE_ARN"
|
|
1146
1287
|
}
|
|
1147
1288
|
/**
|
|
1289
|
+
* @public
|
|
1148
1290
|
* <p>This data type contains key-value pairs that identify various Amazon
|
|
1149
1291
|
* resources.</p>
|
|
1150
1292
|
*/
|
|
@@ -1159,6 +1301,7 @@ export interface Scope {
|
|
|
1159
1301
|
value?: string;
|
|
1160
1302
|
}
|
|
1161
1303
|
/**
|
|
1304
|
+
* @public
|
|
1162
1305
|
* <p>Contains information about what was excluded from an assessment run.</p>
|
|
1163
1306
|
*/
|
|
1164
1307
|
export interface Exclusion {
|
|
@@ -1187,6 +1330,9 @@ export interface Exclusion {
|
|
|
1187
1330
|
*/
|
|
1188
1331
|
attributes?: Attribute[];
|
|
1189
1332
|
}
|
|
1333
|
+
/**
|
|
1334
|
+
* @public
|
|
1335
|
+
*/
|
|
1190
1336
|
export interface DescribeExclusionsResponse {
|
|
1191
1337
|
/**
|
|
1192
1338
|
* <p>Information about the exclusions.</p>
|
|
@@ -1198,6 +1344,9 @@ export interface DescribeExclusionsResponse {
|
|
|
1198
1344
|
*/
|
|
1199
1345
|
failedItems: Record<string, FailedItemDetails> | undefined;
|
|
1200
1346
|
}
|
|
1347
|
+
/**
|
|
1348
|
+
* @public
|
|
1349
|
+
*/
|
|
1201
1350
|
export interface DescribeFindingsRequest {
|
|
1202
1351
|
/**
|
|
1203
1352
|
* <p>The ARN that specifies the finding that you want to describe.</p>
|
|
@@ -1210,6 +1359,7 @@ export interface DescribeFindingsRequest {
|
|
|
1210
1359
|
locale?: Locale | string;
|
|
1211
1360
|
}
|
|
1212
1361
|
/**
|
|
1362
|
+
* @public
|
|
1213
1363
|
* <p>This data type is used in the <a>Finding</a> data type.</p>
|
|
1214
1364
|
*/
|
|
1215
1365
|
export interface InspectorServiceAttributes {
|
|
@@ -1227,6 +1377,7 @@ export interface InspectorServiceAttributes {
|
|
|
1227
1377
|
rulesPackageArn?: string;
|
|
1228
1378
|
}
|
|
1229
1379
|
/**
|
|
1380
|
+
* @public
|
|
1230
1381
|
* <p>Contains information about an Amazon Inspector finding. This data type is used as the
|
|
1231
1382
|
* response element in the <a>DescribeFindings</a> action.</p>
|
|
1232
1383
|
*/
|
|
@@ -1305,6 +1456,9 @@ export interface Finding {
|
|
|
1305
1456
|
*/
|
|
1306
1457
|
updatedAt: Date | undefined;
|
|
1307
1458
|
}
|
|
1459
|
+
/**
|
|
1460
|
+
* @public
|
|
1461
|
+
*/
|
|
1308
1462
|
export interface DescribeFindingsResponse {
|
|
1309
1463
|
/**
|
|
1310
1464
|
* <p>Information about the finding.</p>
|
|
@@ -1316,6 +1470,9 @@ export interface DescribeFindingsResponse {
|
|
|
1316
1470
|
*/
|
|
1317
1471
|
failedItems: Record<string, FailedItemDetails> | undefined;
|
|
1318
1472
|
}
|
|
1473
|
+
/**
|
|
1474
|
+
* @public
|
|
1475
|
+
*/
|
|
1319
1476
|
export interface DescribeResourceGroupsRequest {
|
|
1320
1477
|
/**
|
|
1321
1478
|
* <p>The ARN that specifies the resource group that you want to describe.</p>
|
|
@@ -1323,6 +1480,7 @@ export interface DescribeResourceGroupsRequest {
|
|
|
1323
1480
|
resourceGroupArns: string[] | undefined;
|
|
1324
1481
|
}
|
|
1325
1482
|
/**
|
|
1483
|
+
* @public
|
|
1326
1484
|
* <p>Contains information about a resource group. The resource group defines a set of tags
|
|
1327
1485
|
* that, when queried, identify the AWS resources that make up the assessment target. This
|
|
1328
1486
|
* data type is used as the response element in the <a>DescribeResourceGroups</a>
|
|
@@ -1343,6 +1501,9 @@ export interface ResourceGroup {
|
|
|
1343
1501
|
*/
|
|
1344
1502
|
createdAt: Date | undefined;
|
|
1345
1503
|
}
|
|
1504
|
+
/**
|
|
1505
|
+
* @public
|
|
1506
|
+
*/
|
|
1346
1507
|
export interface DescribeResourceGroupsResponse {
|
|
1347
1508
|
/**
|
|
1348
1509
|
* <p>Information about a resource group.</p>
|
|
@@ -1354,6 +1515,9 @@ export interface DescribeResourceGroupsResponse {
|
|
|
1354
1515
|
*/
|
|
1355
1516
|
failedItems: Record<string, FailedItemDetails> | undefined;
|
|
1356
1517
|
}
|
|
1518
|
+
/**
|
|
1519
|
+
* @public
|
|
1520
|
+
*/
|
|
1357
1521
|
export interface DescribeRulesPackagesRequest {
|
|
1358
1522
|
/**
|
|
1359
1523
|
* <p>The ARN that specifies the rules package that you want to describe.</p>
|
|
@@ -1365,6 +1529,7 @@ export interface DescribeRulesPackagesRequest {
|
|
|
1365
1529
|
locale?: Locale | string;
|
|
1366
1530
|
}
|
|
1367
1531
|
/**
|
|
1532
|
+
* @public
|
|
1368
1533
|
* <p>Contains information about an Amazon Inspector rules package. This data type is used
|
|
1369
1534
|
* as the response element in the <a>DescribeRulesPackages</a> action.</p>
|
|
1370
1535
|
*/
|
|
@@ -1390,6 +1555,9 @@ export interface RulesPackage {
|
|
|
1390
1555
|
*/
|
|
1391
1556
|
description?: string;
|
|
1392
1557
|
}
|
|
1558
|
+
/**
|
|
1559
|
+
* @public
|
|
1560
|
+
*/
|
|
1393
1561
|
export interface DescribeRulesPackagesResponse {
|
|
1394
1562
|
/**
|
|
1395
1563
|
* <p>Information about the rules package.</p>
|
|
@@ -1402,6 +1570,7 @@ export interface DescribeRulesPackagesResponse {
|
|
|
1402
1570
|
failedItems: Record<string, FailedItemDetails> | undefined;
|
|
1403
1571
|
}
|
|
1404
1572
|
/**
|
|
1573
|
+
* @public
|
|
1405
1574
|
* <p>This data type is used in the <a>Subscription</a> data type.</p>
|
|
1406
1575
|
*/
|
|
1407
1576
|
export interface EventSubscription {
|
|
@@ -1416,6 +1585,7 @@ export interface EventSubscription {
|
|
|
1416
1585
|
subscribedAt: Date | undefined;
|
|
1417
1586
|
}
|
|
1418
1587
|
/**
|
|
1588
|
+
* @public
|
|
1419
1589
|
* <p>Contains information about what is excluded from an assessment run given the current
|
|
1420
1590
|
* state of the assessment template.</p>
|
|
1421
1591
|
*/
|
|
@@ -1442,6 +1612,7 @@ export interface ExclusionPreview {
|
|
|
1442
1612
|
attributes?: Attribute[];
|
|
1443
1613
|
}
|
|
1444
1614
|
/**
|
|
1615
|
+
* @public
|
|
1445
1616
|
* <p>This data type is used as a request parameter in the <a>ListFindings</a>
|
|
1446
1617
|
* action.</p>
|
|
1447
1618
|
*/
|
|
@@ -1489,14 +1660,23 @@ export interface FindingFilter {
|
|
|
1489
1660
|
*/
|
|
1490
1661
|
creationTimeRange?: TimestampRange;
|
|
1491
1662
|
}
|
|
1663
|
+
/**
|
|
1664
|
+
* @public
|
|
1665
|
+
*/
|
|
1492
1666
|
export declare enum ReportFileFormat {
|
|
1493
1667
|
HTML = "HTML",
|
|
1494
1668
|
PDF = "PDF"
|
|
1495
1669
|
}
|
|
1670
|
+
/**
|
|
1671
|
+
* @public
|
|
1672
|
+
*/
|
|
1496
1673
|
export declare enum ReportType {
|
|
1497
1674
|
FINDING = "FINDING",
|
|
1498
1675
|
FULL = "FULL"
|
|
1499
1676
|
}
|
|
1677
|
+
/**
|
|
1678
|
+
* @public
|
|
1679
|
+
*/
|
|
1500
1680
|
export interface GetAssessmentReportRequest {
|
|
1501
1681
|
/**
|
|
1502
1682
|
* <p>The ARN that specifies the assessment run for which you want to generate a
|
|
@@ -1515,11 +1695,17 @@ export interface GetAssessmentReportRequest {
|
|
|
1515
1695
|
*/
|
|
1516
1696
|
reportType: ReportType | string | undefined;
|
|
1517
1697
|
}
|
|
1698
|
+
/**
|
|
1699
|
+
* @public
|
|
1700
|
+
*/
|
|
1518
1701
|
export declare enum ReportStatus {
|
|
1519
1702
|
COMPLETED = "COMPLETED",
|
|
1520
1703
|
FAILED = "FAILED",
|
|
1521
1704
|
WORK_IN_PROGRESS = "WORK_IN_PROGRESS"
|
|
1522
1705
|
}
|
|
1706
|
+
/**
|
|
1707
|
+
* @public
|
|
1708
|
+
*/
|
|
1523
1709
|
export interface GetAssessmentReportResponse {
|
|
1524
1710
|
/**
|
|
1525
1711
|
* <p>Specifies the status of the request to generate an assessment report. </p>
|
|
@@ -1532,6 +1718,7 @@ export interface GetAssessmentReportResponse {
|
|
|
1532
1718
|
url?: string;
|
|
1533
1719
|
}
|
|
1534
1720
|
/**
|
|
1721
|
+
* @public
|
|
1535
1722
|
* <p>Used by the <a>GetAssessmentReport</a> API. The request was rejected
|
|
1536
1723
|
* because you tried to generate a report for an assessment run that existed before reporting
|
|
1537
1724
|
* was supported in Amazon Inspector. You can only generate reports for assessment runs that
|
|
@@ -1547,6 +1734,9 @@ export declare class UnsupportedFeatureException extends __BaseException {
|
|
|
1547
1734
|
*/
|
|
1548
1735
|
constructor(opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>);
|
|
1549
1736
|
}
|
|
1737
|
+
/**
|
|
1738
|
+
* @public
|
|
1739
|
+
*/
|
|
1550
1740
|
export interface GetExclusionsPreviewRequest {
|
|
1551
1741
|
/**
|
|
1552
1742
|
* <p>The ARN that specifies the assessment template for which the exclusions preview was
|
|
@@ -1575,10 +1765,16 @@ export interface GetExclusionsPreviewRequest {
|
|
|
1575
1765
|
*/
|
|
1576
1766
|
locale?: Locale | string;
|
|
1577
1767
|
}
|
|
1768
|
+
/**
|
|
1769
|
+
* @public
|
|
1770
|
+
*/
|
|
1578
1771
|
export declare enum PreviewStatus {
|
|
1579
1772
|
COMPLETED = "COMPLETED",
|
|
1580
1773
|
WORK_IN_PROGRESS = "WORK_IN_PROGRESS"
|
|
1581
1774
|
}
|
|
1775
|
+
/**
|
|
1776
|
+
* @public
|
|
1777
|
+
*/
|
|
1582
1778
|
export interface GetExclusionsPreviewResponse {
|
|
1583
1779
|
/**
|
|
1584
1780
|
* <p>Specifies the status of the request to generate an exclusions preview.</p>
|
|
@@ -1596,6 +1792,9 @@ export interface GetExclusionsPreviewResponse {
|
|
|
1596
1792
|
*/
|
|
1597
1793
|
nextToken?: string;
|
|
1598
1794
|
}
|
|
1795
|
+
/**
|
|
1796
|
+
* @public
|
|
1797
|
+
*/
|
|
1599
1798
|
export interface GetTelemetryMetadataRequest {
|
|
1600
1799
|
/**
|
|
1601
1800
|
* <p>The ARN that specifies the assessment run that has the telemetry data that you want
|
|
@@ -1603,12 +1802,18 @@ export interface GetTelemetryMetadataRequest {
|
|
|
1603
1802
|
*/
|
|
1604
1803
|
assessmentRunArn: string | undefined;
|
|
1605
1804
|
}
|
|
1805
|
+
/**
|
|
1806
|
+
* @public
|
|
1807
|
+
*/
|
|
1606
1808
|
export interface GetTelemetryMetadataResponse {
|
|
1607
1809
|
/**
|
|
1608
1810
|
* <p>Telemetry details.</p>
|
|
1609
1811
|
*/
|
|
1610
1812
|
telemetryMetadata: TelemetryMetadata[] | undefined;
|
|
1611
1813
|
}
|
|
1814
|
+
/**
|
|
1815
|
+
* @public
|
|
1816
|
+
*/
|
|
1612
1817
|
export interface ListAssessmentRunAgentsRequest {
|
|
1613
1818
|
/**
|
|
1614
1819
|
* <p>The ARN that specifies the assessment run whose agents you want to list.</p>
|
|
@@ -1636,6 +1841,9 @@ export interface ListAssessmentRunAgentsRequest {
|
|
|
1636
1841
|
*/
|
|
1637
1842
|
maxResults?: number;
|
|
1638
1843
|
}
|
|
1844
|
+
/**
|
|
1845
|
+
* @public
|
|
1846
|
+
*/
|
|
1639
1847
|
export interface ListAssessmentRunAgentsResponse {
|
|
1640
1848
|
/**
|
|
1641
1849
|
* <p>A list of ARNs that specifies the agents returned by the action.</p>
|
|
@@ -1648,6 +1856,9 @@ export interface ListAssessmentRunAgentsResponse {
|
|
|
1648
1856
|
*/
|
|
1649
1857
|
nextToken?: string;
|
|
1650
1858
|
}
|
|
1859
|
+
/**
|
|
1860
|
+
* @public
|
|
1861
|
+
*/
|
|
1651
1862
|
export interface ListAssessmentRunsRequest {
|
|
1652
1863
|
/**
|
|
1653
1864
|
* <p>The ARNs that specify the assessment templates whose assessment runs you want to
|
|
@@ -1676,6 +1887,9 @@ export interface ListAssessmentRunsRequest {
|
|
|
1676
1887
|
*/
|
|
1677
1888
|
maxResults?: number;
|
|
1678
1889
|
}
|
|
1890
|
+
/**
|
|
1891
|
+
* @public
|
|
1892
|
+
*/
|
|
1679
1893
|
export interface ListAssessmentRunsResponse {
|
|
1680
1894
|
/**
|
|
1681
1895
|
* <p>A list of ARNs that specifies the assessment runs that are returned by the
|
|
@@ -1689,6 +1903,9 @@ export interface ListAssessmentRunsResponse {
|
|
|
1689
1903
|
*/
|
|
1690
1904
|
nextToken?: string;
|
|
1691
1905
|
}
|
|
1906
|
+
/**
|
|
1907
|
+
* @public
|
|
1908
|
+
*/
|
|
1692
1909
|
export interface ListAssessmentTargetsRequest {
|
|
1693
1910
|
/**
|
|
1694
1911
|
* <p>You can use this parameter to specify a subset of data to be included in the action's
|
|
@@ -1712,6 +1929,9 @@ export interface ListAssessmentTargetsRequest {
|
|
|
1712
1929
|
*/
|
|
1713
1930
|
maxResults?: number;
|
|
1714
1931
|
}
|
|
1932
|
+
/**
|
|
1933
|
+
* @public
|
|
1934
|
+
*/
|
|
1715
1935
|
export interface ListAssessmentTargetsResponse {
|
|
1716
1936
|
/**
|
|
1717
1937
|
* <p>A list of ARNs that specifies the assessment targets that are returned by the
|
|
@@ -1725,6 +1945,9 @@ export interface ListAssessmentTargetsResponse {
|
|
|
1725
1945
|
*/
|
|
1726
1946
|
nextToken?: string;
|
|
1727
1947
|
}
|
|
1948
|
+
/**
|
|
1949
|
+
* @public
|
|
1950
|
+
*/
|
|
1728
1951
|
export interface ListAssessmentTemplatesRequest {
|
|
1729
1952
|
/**
|
|
1730
1953
|
* <p>A list of ARNs that specifies the assessment targets whose assessment templates you
|
|
@@ -1753,6 +1976,9 @@ export interface ListAssessmentTemplatesRequest {
|
|
|
1753
1976
|
*/
|
|
1754
1977
|
maxResults?: number;
|
|
1755
1978
|
}
|
|
1979
|
+
/**
|
|
1980
|
+
* @public
|
|
1981
|
+
*/
|
|
1756
1982
|
export interface ListAssessmentTemplatesResponse {
|
|
1757
1983
|
/**
|
|
1758
1984
|
* <p>A list of ARNs that specifies the assessment templates returned by the
|
|
@@ -1766,6 +1992,9 @@ export interface ListAssessmentTemplatesResponse {
|
|
|
1766
1992
|
*/
|
|
1767
1993
|
nextToken?: string;
|
|
1768
1994
|
}
|
|
1995
|
+
/**
|
|
1996
|
+
* @public
|
|
1997
|
+
*/
|
|
1769
1998
|
export interface ListEventSubscriptionsRequest {
|
|
1770
1999
|
/**
|
|
1771
2000
|
* <p>The ARN of the assessment template for which you want to list the existing event
|
|
@@ -1787,6 +2016,7 @@ export interface ListEventSubscriptionsRequest {
|
|
|
1787
2016
|
maxResults?: number;
|
|
1788
2017
|
}
|
|
1789
2018
|
/**
|
|
2019
|
+
* @public
|
|
1790
2020
|
* <p>This data type is used as a response element in the <a>ListEventSubscriptions</a> action.</p>
|
|
1791
2021
|
*/
|
|
1792
2022
|
export interface Subscription {
|
|
@@ -1805,6 +2035,9 @@ export interface Subscription {
|
|
|
1805
2035
|
*/
|
|
1806
2036
|
eventSubscriptions: EventSubscription[] | undefined;
|
|
1807
2037
|
}
|
|
2038
|
+
/**
|
|
2039
|
+
* @public
|
|
2040
|
+
*/
|
|
1808
2041
|
export interface ListEventSubscriptionsResponse {
|
|
1809
2042
|
/**
|
|
1810
2043
|
* <p>Details of the returned event subscriptions.</p>
|
|
@@ -1817,6 +2050,9 @@ export interface ListEventSubscriptionsResponse {
|
|
|
1817
2050
|
*/
|
|
1818
2051
|
nextToken?: string;
|
|
1819
2052
|
}
|
|
2053
|
+
/**
|
|
2054
|
+
* @public
|
|
2055
|
+
*/
|
|
1820
2056
|
export interface ListExclusionsRequest {
|
|
1821
2057
|
/**
|
|
1822
2058
|
* <p>The ARN of the assessment run that generated the exclusions that you want to
|
|
@@ -1836,6 +2072,9 @@ export interface ListExclusionsRequest {
|
|
|
1836
2072
|
*/
|
|
1837
2073
|
maxResults?: number;
|
|
1838
2074
|
}
|
|
2075
|
+
/**
|
|
2076
|
+
* @public
|
|
2077
|
+
*/
|
|
1839
2078
|
export interface ListExclusionsResponse {
|
|
1840
2079
|
/**
|
|
1841
2080
|
* <p>A list of exclusions' ARNs returned by the action.</p>
|
|
@@ -1849,6 +2088,9 @@ export interface ListExclusionsResponse {
|
|
|
1849
2088
|
*/
|
|
1850
2089
|
nextToken?: string;
|
|
1851
2090
|
}
|
|
2091
|
+
/**
|
|
2092
|
+
* @public
|
|
2093
|
+
*/
|
|
1852
2094
|
export interface ListFindingsRequest {
|
|
1853
2095
|
/**
|
|
1854
2096
|
* <p>The ARNs of the assessment runs that generate the findings that you want to
|
|
@@ -1877,6 +2119,9 @@ export interface ListFindingsRequest {
|
|
|
1877
2119
|
*/
|
|
1878
2120
|
maxResults?: number;
|
|
1879
2121
|
}
|
|
2122
|
+
/**
|
|
2123
|
+
* @public
|
|
2124
|
+
*/
|
|
1880
2125
|
export interface ListFindingsResponse {
|
|
1881
2126
|
/**
|
|
1882
2127
|
* <p>A list of ARNs that specifies the findings returned by the action.</p>
|
|
@@ -1889,6 +2134,9 @@ export interface ListFindingsResponse {
|
|
|
1889
2134
|
*/
|
|
1890
2135
|
nextToken?: string;
|
|
1891
2136
|
}
|
|
2137
|
+
/**
|
|
2138
|
+
* @public
|
|
2139
|
+
*/
|
|
1892
2140
|
export interface ListRulesPackagesRequest {
|
|
1893
2141
|
/**
|
|
1894
2142
|
* <p>You can use this parameter when paginating results. Set the value of this parameter
|
|
@@ -1904,6 +2152,9 @@ export interface ListRulesPackagesRequest {
|
|
|
1904
2152
|
*/
|
|
1905
2153
|
maxResults?: number;
|
|
1906
2154
|
}
|
|
2155
|
+
/**
|
|
2156
|
+
* @public
|
|
2157
|
+
*/
|
|
1907
2158
|
export interface ListRulesPackagesResponse {
|
|
1908
2159
|
/**
|
|
1909
2160
|
* <p>The list of ARNs that specifies the rules packages returned by the action.</p>
|
|
@@ -1916,18 +2167,27 @@ export interface ListRulesPackagesResponse {
|
|
|
1916
2167
|
*/
|
|
1917
2168
|
nextToken?: string;
|
|
1918
2169
|
}
|
|
2170
|
+
/**
|
|
2171
|
+
* @public
|
|
2172
|
+
*/
|
|
1919
2173
|
export interface ListTagsForResourceRequest {
|
|
1920
2174
|
/**
|
|
1921
2175
|
* <p>The ARN that specifies the assessment template whose tags you want to list.</p>
|
|
1922
2176
|
*/
|
|
1923
2177
|
resourceArn: string | undefined;
|
|
1924
2178
|
}
|
|
2179
|
+
/**
|
|
2180
|
+
* @public
|
|
2181
|
+
*/
|
|
1925
2182
|
export interface ListTagsForResourceResponse {
|
|
1926
2183
|
/**
|
|
1927
2184
|
* <p>A collection of key and value pairs.</p>
|
|
1928
2185
|
*/
|
|
1929
2186
|
tags: Tag[] | undefined;
|
|
1930
2187
|
}
|
|
2188
|
+
/**
|
|
2189
|
+
* @public
|
|
2190
|
+
*/
|
|
1931
2191
|
export interface PreviewAgentsRequest {
|
|
1932
2192
|
/**
|
|
1933
2193
|
* <p>The ARN of the assessment target whose agents you want to preview.</p>
|
|
@@ -1947,6 +2207,9 @@ export interface PreviewAgentsRequest {
|
|
|
1947
2207
|
*/
|
|
1948
2208
|
maxResults?: number;
|
|
1949
2209
|
}
|
|
2210
|
+
/**
|
|
2211
|
+
* @public
|
|
2212
|
+
*/
|
|
1950
2213
|
export interface PreviewAgentsResponse {
|
|
1951
2214
|
/**
|
|
1952
2215
|
* <p>The resulting list of agents.</p>
|
|
@@ -1959,6 +2222,9 @@ export interface PreviewAgentsResponse {
|
|
|
1959
2222
|
*/
|
|
1960
2223
|
nextToken?: string;
|
|
1961
2224
|
}
|
|
2225
|
+
/**
|
|
2226
|
+
* @public
|
|
2227
|
+
*/
|
|
1962
2228
|
export interface RegisterCrossAccountAccessRoleRequest {
|
|
1963
2229
|
/**
|
|
1964
2230
|
* <p>The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to
|
|
@@ -1966,6 +2232,9 @@ export interface RegisterCrossAccountAccessRoleRequest {
|
|
|
1966
2232
|
*/
|
|
1967
2233
|
roleArn: string | undefined;
|
|
1968
2234
|
}
|
|
2235
|
+
/**
|
|
2236
|
+
* @public
|
|
2237
|
+
*/
|
|
1969
2238
|
export interface RemoveAttributesFromFindingsRequest {
|
|
1970
2239
|
/**
|
|
1971
2240
|
* <p>The ARNs that specify the findings that you want to remove attributes from.</p>
|
|
@@ -1977,6 +2246,9 @@ export interface RemoveAttributesFromFindingsRequest {
|
|
|
1977
2246
|
*/
|
|
1978
2247
|
attributeKeys: string[] | undefined;
|
|
1979
2248
|
}
|
|
2249
|
+
/**
|
|
2250
|
+
* @public
|
|
2251
|
+
*/
|
|
1980
2252
|
export interface RemoveAttributesFromFindingsResponse {
|
|
1981
2253
|
/**
|
|
1982
2254
|
* <p>Attributes details that cannot be described. An error code is provided for each
|
|
@@ -1984,6 +2256,9 @@ export interface RemoveAttributesFromFindingsResponse {
|
|
|
1984
2256
|
*/
|
|
1985
2257
|
failedItems: Record<string, FailedItemDetails> | undefined;
|
|
1986
2258
|
}
|
|
2259
|
+
/**
|
|
2260
|
+
* @public
|
|
2261
|
+
*/
|
|
1987
2262
|
export interface SetTagsForResourceRequest {
|
|
1988
2263
|
/**
|
|
1989
2264
|
* <p>The ARN of the assessment template that you want to set tags to.</p>
|
|
@@ -1995,6 +2270,9 @@ export interface SetTagsForResourceRequest {
|
|
|
1995
2270
|
*/
|
|
1996
2271
|
tags?: Tag[];
|
|
1997
2272
|
}
|
|
2273
|
+
/**
|
|
2274
|
+
* @public
|
|
2275
|
+
*/
|
|
1998
2276
|
export interface StartAssessmentRunRequest {
|
|
1999
2277
|
/**
|
|
2000
2278
|
* <p>The ARN of the assessment template of the assessment run that you want to
|
|
@@ -2007,16 +2285,25 @@ export interface StartAssessmentRunRequest {
|
|
|
2007
2285
|
*/
|
|
2008
2286
|
assessmentRunName?: string;
|
|
2009
2287
|
}
|
|
2288
|
+
/**
|
|
2289
|
+
* @public
|
|
2290
|
+
*/
|
|
2010
2291
|
export interface StartAssessmentRunResponse {
|
|
2011
2292
|
/**
|
|
2012
2293
|
* <p>The ARN of the assessment run that has been started.</p>
|
|
2013
2294
|
*/
|
|
2014
2295
|
assessmentRunArn: string | undefined;
|
|
2015
2296
|
}
|
|
2297
|
+
/**
|
|
2298
|
+
* @public
|
|
2299
|
+
*/
|
|
2016
2300
|
export declare enum StopAction {
|
|
2017
2301
|
SKIP_EVALUATION = "SKIP_EVALUATION",
|
|
2018
2302
|
START_EVALUATION = "START_EVALUATION"
|
|
2019
2303
|
}
|
|
2304
|
+
/**
|
|
2305
|
+
* @public
|
|
2306
|
+
*/
|
|
2020
2307
|
export interface StopAssessmentRunRequest {
|
|
2021
2308
|
/**
|
|
2022
2309
|
* <p>The ARN of the assessment run that you want to stop.</p>
|
|
@@ -2030,6 +2317,9 @@ export interface StopAssessmentRunRequest {
|
|
|
2030
2317
|
*/
|
|
2031
2318
|
stopAction?: StopAction | string;
|
|
2032
2319
|
}
|
|
2320
|
+
/**
|
|
2321
|
+
* @public
|
|
2322
|
+
*/
|
|
2033
2323
|
export interface SubscribeToEventRequest {
|
|
2034
2324
|
/**
|
|
2035
2325
|
* <p>The ARN of the assessment template that is used during the event for which you want
|
|
@@ -2045,6 +2335,9 @@ export interface SubscribeToEventRequest {
|
|
|
2045
2335
|
*/
|
|
2046
2336
|
topicArn: string | undefined;
|
|
2047
2337
|
}
|
|
2338
|
+
/**
|
|
2339
|
+
* @public
|
|
2340
|
+
*/
|
|
2048
2341
|
export interface UnsubscribeFromEventRequest {
|
|
2049
2342
|
/**
|
|
2050
2343
|
* <p>The ARN of the assessment template that is used during the event for which you want
|
|
@@ -2060,6 +2353,9 @@ export interface UnsubscribeFromEventRequest {
|
|
|
2060
2353
|
*/
|
|
2061
2354
|
topicArn: string | undefined;
|
|
2062
2355
|
}
|
|
2356
|
+
/**
|
|
2357
|
+
* @public
|
|
2358
|
+
*/
|
|
2063
2359
|
export interface UpdateAssessmentTargetRequest {
|
|
2064
2360
|
/**
|
|
2065
2361
|
* <p>The ARN of the assessment target that you want to update.</p>
|