@aws-sdk/client-inspector 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/InspectorServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +166 -3
- package/dist-cjs/protocols/Aws_json1_1.js +403 -1415
- package/dist-es/index.js +1 -0
- package/dist-es/models/InspectorServiceException.js +12 -0
- package/dist-es/models/models_0.js +153 -1
- package/dist-es/protocols/Aws_json1_1.js +860 -1542
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/InspectorServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +79 -72
- package/dist-types/ts3.4/Inspector.d.ts +190 -0
- package/dist-types/ts3.4/InspectorClient.d.ts +110 -0
- package/dist-types/ts3.4/commands/AddAttributesToFindingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAssessmentTargetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAssessmentTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateExclusionsPreviewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateResourceGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAssessmentRunCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAssessmentTargetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAssessmentTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAssessmentRunsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAssessmentTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAssessmentTemplatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCrossAccountAccessRoleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExclusionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeFindingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeResourceGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeRulesPackagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAssessmentReportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetExclusionsPreviewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTelemetryMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssessmentRunAgentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssessmentRunsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssessmentTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssessmentTemplatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEventSubscriptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExclusionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRulesPackagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PreviewAgentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterCrossAccountAccessRoleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveAttributesFromFindingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartAssessmentRunCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopAssessmentRunCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubscribeToEventCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UnsubscribeFromEventCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAssessmentTargetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +37 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/InspectorServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1506 -0
- package/dist-types/ts3.4/pagination/GetExclusionsPreviewPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAssessmentRunAgentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAssessmentRunsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAssessmentTargetsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAssessmentTemplatesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEventSubscriptionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExclusionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRulesPackagesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/PreviewAgentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +113 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -0,0 +1,1506 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { InspectorServiceException as __BaseException } from "./InspectorServiceException";
|
|
3
|
+
export declare enum AccessDeniedErrorCode {
|
|
4
|
+
ACCESS_DENIED_TO_ASSESSMENT_RUN = "ACCESS_DENIED_TO_ASSESSMENT_RUN",
|
|
5
|
+
ACCESS_DENIED_TO_ASSESSMENT_TARGET = "ACCESS_DENIED_TO_ASSESSMENT_TARGET",
|
|
6
|
+
ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE = "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE",
|
|
7
|
+
ACCESS_DENIED_TO_FINDING = "ACCESS_DENIED_TO_FINDING",
|
|
8
|
+
ACCESS_DENIED_TO_IAM_ROLE = "ACCESS_DENIED_TO_IAM_ROLE",
|
|
9
|
+
ACCESS_DENIED_TO_RESOURCE_GROUP = "ACCESS_DENIED_TO_RESOURCE_GROUP",
|
|
10
|
+
ACCESS_DENIED_TO_RULES_PACKAGE = "ACCESS_DENIED_TO_RULES_PACKAGE",
|
|
11
|
+
ACCESS_DENIED_TO_SNS_TOPIC = "ACCESS_DENIED_TO_SNS_TOPIC"
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
15
|
+
readonly name: "AccessDeniedException";
|
|
16
|
+
readonly $fault: "client";
|
|
17
|
+
|
|
18
|
+
errorCode: AccessDeniedErrorCode | string | undefined;
|
|
19
|
+
|
|
20
|
+
canRetry: boolean | undefined;
|
|
21
|
+
|
|
22
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface Attribute {
|
|
26
|
+
|
|
27
|
+
key: string | undefined;
|
|
28
|
+
|
|
29
|
+
value?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace Attribute {
|
|
32
|
+
|
|
33
|
+
const filterSensitiveLog: (obj: Attribute) => any;
|
|
34
|
+
}
|
|
35
|
+
export interface AddAttributesToFindingsRequest {
|
|
36
|
+
|
|
37
|
+
findingArns: string[] | undefined;
|
|
38
|
+
|
|
39
|
+
attributes: Attribute[] | undefined;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace AddAttributesToFindingsRequest {
|
|
42
|
+
|
|
43
|
+
const filterSensitiveLog: (obj: AddAttributesToFindingsRequest) => any;
|
|
44
|
+
}
|
|
45
|
+
export declare enum FailedItemErrorCode {
|
|
46
|
+
ACCESS_DENIED = "ACCESS_DENIED",
|
|
47
|
+
DUPLICATE_ARN = "DUPLICATE_ARN",
|
|
48
|
+
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
49
|
+
INVALID_ARN = "INVALID_ARN",
|
|
50
|
+
ITEM_DOES_NOT_EXIST = "ITEM_DOES_NOT_EXIST",
|
|
51
|
+
LIMIT_EXCEEDED = "LIMIT_EXCEEDED"
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface FailedItemDetails {
|
|
55
|
+
|
|
56
|
+
failureCode: FailedItemErrorCode | string | undefined;
|
|
57
|
+
|
|
58
|
+
retryable: boolean | undefined;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace FailedItemDetails {
|
|
61
|
+
|
|
62
|
+
const filterSensitiveLog: (obj: FailedItemDetails) => any;
|
|
63
|
+
}
|
|
64
|
+
export interface AddAttributesToFindingsResponse {
|
|
65
|
+
|
|
66
|
+
failedItems: {
|
|
67
|
+
[key: string]: FailedItemDetails;
|
|
68
|
+
} | undefined;
|
|
69
|
+
}
|
|
70
|
+
export declare namespace AddAttributesToFindingsResponse {
|
|
71
|
+
|
|
72
|
+
const filterSensitiveLog: (obj: AddAttributesToFindingsResponse) => any;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export declare class InternalException extends __BaseException {
|
|
76
|
+
readonly name: "InternalException";
|
|
77
|
+
readonly $fault: "server";
|
|
78
|
+
|
|
79
|
+
canRetry: boolean | undefined;
|
|
80
|
+
|
|
81
|
+
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
82
|
+
}
|
|
83
|
+
export declare enum InvalidInputErrorCode {
|
|
84
|
+
ASSESSMENT_TARGET_NAME_ALREADY_TAKEN = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN",
|
|
85
|
+
ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN = "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN",
|
|
86
|
+
INVALID_AGENT_ID = "INVALID_AGENT_ID",
|
|
87
|
+
INVALID_ASSESSMENT_RUN_ARN = "INVALID_ASSESSMENT_RUN_ARN",
|
|
88
|
+
INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE = "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE",
|
|
89
|
+
INVALID_ASSESSMENT_RUN_DURATION_RANGE = "INVALID_ASSESSMENT_RUN_DURATION_RANGE",
|
|
90
|
+
INVALID_ASSESSMENT_RUN_START_TIME_RANGE = "INVALID_ASSESSMENT_RUN_START_TIME_RANGE",
|
|
91
|
+
INVALID_ASSESSMENT_RUN_STATE = "INVALID_ASSESSMENT_RUN_STATE",
|
|
92
|
+
INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE = "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE",
|
|
93
|
+
INVALID_ASSESSMENT_TARGET_ARN = "INVALID_ASSESSMENT_TARGET_ARN",
|
|
94
|
+
INVALID_ASSESSMENT_TARGET_NAME = "INVALID_ASSESSMENT_TARGET_NAME",
|
|
95
|
+
INVALID_ASSESSMENT_TARGET_NAME_PATTERN = "INVALID_ASSESSMENT_TARGET_NAME_PATTERN",
|
|
96
|
+
INVALID_ASSESSMENT_TEMPLATE_ARN = "INVALID_ASSESSMENT_TEMPLATE_ARN",
|
|
97
|
+
INVALID_ASSESSMENT_TEMPLATE_DURATION = "INVALID_ASSESSMENT_TEMPLATE_DURATION",
|
|
98
|
+
INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE = "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE",
|
|
99
|
+
INVALID_ASSESSMENT_TEMPLATE_NAME = "INVALID_ASSESSMENT_TEMPLATE_NAME",
|
|
100
|
+
INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN = "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN",
|
|
101
|
+
INVALID_ATTRIBUTE = "INVALID_ATTRIBUTE",
|
|
102
|
+
INVALID_AUTO_SCALING_GROUP = "INVALID_AUTO_SCALING_GROUP",
|
|
103
|
+
INVALID_EVENT = "INVALID_EVENT",
|
|
104
|
+
INVALID_FINDING_ARN = "INVALID_FINDING_ARN",
|
|
105
|
+
INVALID_IAM_ROLE_ARN = "INVALID_IAM_ROLE_ARN",
|
|
106
|
+
INVALID_LOCALE = "INVALID_LOCALE",
|
|
107
|
+
INVALID_MAX_RESULTS = "INVALID_MAX_RESULTS",
|
|
108
|
+
INVALID_NUMBER_OF_AGENT_IDS = "INVALID_NUMBER_OF_AGENT_IDS",
|
|
109
|
+
INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS = "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS",
|
|
110
|
+
INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES = "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES",
|
|
111
|
+
INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS = "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS",
|
|
112
|
+
INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS = "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS",
|
|
113
|
+
INVALID_NUMBER_OF_ATTRIBUTES = "INVALID_NUMBER_OF_ATTRIBUTES",
|
|
114
|
+
INVALID_NUMBER_OF_AUTO_SCALING_GROUPS = "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS",
|
|
115
|
+
INVALID_NUMBER_OF_FINDING_ARNS = "INVALID_NUMBER_OF_FINDING_ARNS",
|
|
116
|
+
INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS = "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS",
|
|
117
|
+
INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS = "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS",
|
|
118
|
+
INVALID_NUMBER_OF_RULES_PACKAGE_ARNS = "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS",
|
|
119
|
+
INVALID_NUMBER_OF_RULE_NAMES = "INVALID_NUMBER_OF_RULE_NAMES",
|
|
120
|
+
INVALID_NUMBER_OF_SEVERITIES = "INVALID_NUMBER_OF_SEVERITIES",
|
|
121
|
+
INVALID_NUMBER_OF_TAGS = "INVALID_NUMBER_OF_TAGS",
|
|
122
|
+
INVALID_NUMBER_OF_USER_ATTRIBUTES = "INVALID_NUMBER_OF_USER_ATTRIBUTES",
|
|
123
|
+
INVALID_PAGINATION_TOKEN = "INVALID_PAGINATION_TOKEN",
|
|
124
|
+
INVALID_RESOURCE_ARN = "INVALID_RESOURCE_ARN",
|
|
125
|
+
INVALID_RESOURCE_GROUP_ARN = "INVALID_RESOURCE_GROUP_ARN",
|
|
126
|
+
INVALID_RESOURCE_GROUP_TAG_KEY = "INVALID_RESOURCE_GROUP_TAG_KEY",
|
|
127
|
+
INVALID_RESOURCE_GROUP_TAG_VALUE = "INVALID_RESOURCE_GROUP_TAG_VALUE",
|
|
128
|
+
INVALID_RULES_PACKAGE_ARN = "INVALID_RULES_PACKAGE_ARN",
|
|
129
|
+
INVALID_RULE_NAME = "INVALID_RULE_NAME",
|
|
130
|
+
INVALID_SEVERITY = "INVALID_SEVERITY",
|
|
131
|
+
INVALID_SNS_TOPIC_ARN = "INVALID_SNS_TOPIC_ARN",
|
|
132
|
+
INVALID_TAG = "INVALID_TAG",
|
|
133
|
+
INVALID_TAG_KEY = "INVALID_TAG_KEY",
|
|
134
|
+
INVALID_TAG_VALUE = "INVALID_TAG_VALUE",
|
|
135
|
+
INVALID_USER_ATTRIBUTE = "INVALID_USER_ATTRIBUTE",
|
|
136
|
+
INVALID_USER_ATTRIBUTE_KEY = "INVALID_USER_ATTRIBUTE_KEY",
|
|
137
|
+
INVALID_USER_ATTRIBUTE_VALUE = "INVALID_USER_ATTRIBUTE_VALUE"
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export declare class InvalidInputException extends __BaseException {
|
|
141
|
+
readonly name: "InvalidInputException";
|
|
142
|
+
readonly $fault: "client";
|
|
143
|
+
|
|
144
|
+
errorCode: InvalidInputErrorCode | string | undefined;
|
|
145
|
+
|
|
146
|
+
canRetry: boolean | undefined;
|
|
147
|
+
|
|
148
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
149
|
+
}
|
|
150
|
+
export declare enum NoSuchEntityErrorCode {
|
|
151
|
+
ASSESSMENT_RUN_DOES_NOT_EXIST = "ASSESSMENT_RUN_DOES_NOT_EXIST",
|
|
152
|
+
ASSESSMENT_TARGET_DOES_NOT_EXIST = "ASSESSMENT_TARGET_DOES_NOT_EXIST",
|
|
153
|
+
ASSESSMENT_TEMPLATE_DOES_NOT_EXIST = "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST",
|
|
154
|
+
FINDING_DOES_NOT_EXIST = "FINDING_DOES_NOT_EXIST",
|
|
155
|
+
IAM_ROLE_DOES_NOT_EXIST = "IAM_ROLE_DOES_NOT_EXIST",
|
|
156
|
+
RESOURCE_GROUP_DOES_NOT_EXIST = "RESOURCE_GROUP_DOES_NOT_EXIST",
|
|
157
|
+
RULES_PACKAGE_DOES_NOT_EXIST = "RULES_PACKAGE_DOES_NOT_EXIST",
|
|
158
|
+
SNS_TOPIC_DOES_NOT_EXIST = "SNS_TOPIC_DOES_NOT_EXIST"
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export declare class NoSuchEntityException extends __BaseException {
|
|
162
|
+
readonly name: "NoSuchEntityException";
|
|
163
|
+
readonly $fault: "client";
|
|
164
|
+
|
|
165
|
+
errorCode: NoSuchEntityErrorCode | string | undefined;
|
|
166
|
+
|
|
167
|
+
canRetry: boolean | undefined;
|
|
168
|
+
|
|
169
|
+
constructor(opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export declare class ServiceTemporarilyUnavailableException extends __BaseException {
|
|
173
|
+
readonly name: "ServiceTemporarilyUnavailableException";
|
|
174
|
+
readonly $fault: "server";
|
|
175
|
+
|
|
176
|
+
canRetry: boolean | undefined;
|
|
177
|
+
|
|
178
|
+
constructor(opts: __ExceptionOptionType<ServiceTemporarilyUnavailableException, __BaseException>);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export interface AgentAlreadyRunningAssessment {
|
|
182
|
+
|
|
183
|
+
agentId: string | undefined;
|
|
184
|
+
|
|
185
|
+
assessmentRunArn: string | undefined;
|
|
186
|
+
}
|
|
187
|
+
export declare namespace AgentAlreadyRunningAssessment {
|
|
188
|
+
|
|
189
|
+
const filterSensitiveLog: (obj: AgentAlreadyRunningAssessment) => any;
|
|
190
|
+
}
|
|
191
|
+
export declare enum AgentHealthCode {
|
|
192
|
+
IDLE = "IDLE",
|
|
193
|
+
RUNNING = "RUNNING",
|
|
194
|
+
SHUTDOWN = "SHUTDOWN",
|
|
195
|
+
THROTTLED = "THROTTLED",
|
|
196
|
+
UNHEALTHY = "UNHEALTHY",
|
|
197
|
+
UNKNOWN = "UNKNOWN"
|
|
198
|
+
}
|
|
199
|
+
export declare enum AgentHealth {
|
|
200
|
+
HEALTHY = "HEALTHY",
|
|
201
|
+
UNHEALTHY = "UNHEALTHY",
|
|
202
|
+
UNKNOWN = "UNKNOWN"
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export interface AgentFilter {
|
|
206
|
+
|
|
207
|
+
agentHealths: (AgentHealth | string)[] | undefined;
|
|
208
|
+
|
|
209
|
+
agentHealthCodes: (AgentHealthCode | string)[] | undefined;
|
|
210
|
+
}
|
|
211
|
+
export declare namespace AgentFilter {
|
|
212
|
+
|
|
213
|
+
const filterSensitiveLog: (obj: AgentFilter) => any;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export interface AgentPreview {
|
|
217
|
+
|
|
218
|
+
hostname?: string;
|
|
219
|
+
|
|
220
|
+
agentId: string | undefined;
|
|
221
|
+
|
|
222
|
+
autoScalingGroup?: string;
|
|
223
|
+
|
|
224
|
+
agentHealth?: AgentHealth | string;
|
|
225
|
+
|
|
226
|
+
agentVersion?: string;
|
|
227
|
+
|
|
228
|
+
operatingSystem?: string;
|
|
229
|
+
|
|
230
|
+
kernelVersion?: string;
|
|
231
|
+
|
|
232
|
+
ipv4Address?: string;
|
|
233
|
+
}
|
|
234
|
+
export declare namespace AgentPreview {
|
|
235
|
+
|
|
236
|
+
const filterSensitiveLog: (obj: AgentPreview) => any;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export declare class AgentsAlreadyRunningAssessmentException extends __BaseException {
|
|
240
|
+
readonly name: "AgentsAlreadyRunningAssessmentException";
|
|
241
|
+
readonly $fault: "client";
|
|
242
|
+
|
|
243
|
+
agents: AgentAlreadyRunningAssessment[] | undefined;
|
|
244
|
+
|
|
245
|
+
agentsTruncated: boolean | undefined;
|
|
246
|
+
|
|
247
|
+
canRetry: boolean | undefined;
|
|
248
|
+
|
|
249
|
+
constructor(opts: __ExceptionOptionType<AgentsAlreadyRunningAssessmentException, __BaseException>);
|
|
250
|
+
}
|
|
251
|
+
export declare enum Severity {
|
|
252
|
+
HIGH = "High",
|
|
253
|
+
INFORMATIONAL = "Informational",
|
|
254
|
+
LOW = "Low",
|
|
255
|
+
MEDIUM = "Medium",
|
|
256
|
+
UNDEFINED = "Undefined"
|
|
257
|
+
}
|
|
258
|
+
export declare enum InspectorEvent {
|
|
259
|
+
ASSESSMENT_RUN_COMPLETED = "ASSESSMENT_RUN_COMPLETED",
|
|
260
|
+
ASSESSMENT_RUN_STARTED = "ASSESSMENT_RUN_STARTED",
|
|
261
|
+
ASSESSMENT_RUN_STATE_CHANGED = "ASSESSMENT_RUN_STATE_CHANGED",
|
|
262
|
+
FINDING_REPORTED = "FINDING_REPORTED",
|
|
263
|
+
OTHER = "OTHER"
|
|
264
|
+
}
|
|
265
|
+
export declare enum AssessmentRunNotificationSnsStatusCode {
|
|
266
|
+
ACCESS_DENIED = "ACCESS_DENIED",
|
|
267
|
+
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
268
|
+
SUCCESS = "SUCCESS",
|
|
269
|
+
TOPIC_DOES_NOT_EXIST = "TOPIC_DOES_NOT_EXIST"
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export interface AssessmentRunNotification {
|
|
273
|
+
|
|
274
|
+
date: Date | undefined;
|
|
275
|
+
|
|
276
|
+
event: InspectorEvent | string | undefined;
|
|
277
|
+
|
|
278
|
+
message?: string;
|
|
279
|
+
|
|
280
|
+
error: boolean | undefined;
|
|
281
|
+
|
|
282
|
+
snsTopicArn?: string;
|
|
283
|
+
|
|
284
|
+
snsPublishStatusCode?: AssessmentRunNotificationSnsStatusCode | string;
|
|
285
|
+
}
|
|
286
|
+
export declare namespace AssessmentRunNotification {
|
|
287
|
+
|
|
288
|
+
const filterSensitiveLog: (obj: AssessmentRunNotification) => any;
|
|
289
|
+
}
|
|
290
|
+
export declare enum AssessmentRunState {
|
|
291
|
+
CANCELED = "CANCELED",
|
|
292
|
+
COLLECTING_DATA = "COLLECTING_DATA",
|
|
293
|
+
COMPLETED = "COMPLETED",
|
|
294
|
+
COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
|
|
295
|
+
CREATED = "CREATED",
|
|
296
|
+
DATA_COLLECTED = "DATA_COLLECTED",
|
|
297
|
+
ERROR = "ERROR",
|
|
298
|
+
EVALUATING_RULES = "EVALUATING_RULES",
|
|
299
|
+
FAILED = "FAILED",
|
|
300
|
+
START_DATA_COLLECTION_IN_PROGRESS = "START_DATA_COLLECTION_IN_PROGRESS",
|
|
301
|
+
START_DATA_COLLECTION_PENDING = "START_DATA_COLLECTION_PENDING",
|
|
302
|
+
START_EVALUATING_RULES_PENDING = "START_EVALUATING_RULES_PENDING",
|
|
303
|
+
STOP_DATA_COLLECTION_PENDING = "STOP_DATA_COLLECTION_PENDING"
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export interface AssessmentRunStateChange {
|
|
307
|
+
|
|
308
|
+
stateChangedAt: Date | undefined;
|
|
309
|
+
|
|
310
|
+
state: AssessmentRunState | string | undefined;
|
|
311
|
+
}
|
|
312
|
+
export declare namespace AssessmentRunStateChange {
|
|
313
|
+
|
|
314
|
+
const filterSensitiveLog: (obj: AssessmentRunStateChange) => any;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export interface AssessmentRun {
|
|
318
|
+
|
|
319
|
+
arn: string | undefined;
|
|
320
|
+
|
|
321
|
+
name: string | undefined;
|
|
322
|
+
|
|
323
|
+
assessmentTemplateArn: string | undefined;
|
|
324
|
+
|
|
325
|
+
state: AssessmentRunState | string | undefined;
|
|
326
|
+
|
|
327
|
+
durationInSeconds: number | undefined;
|
|
328
|
+
|
|
329
|
+
rulesPackageArns: string[] | undefined;
|
|
330
|
+
|
|
331
|
+
userAttributesForFindings: Attribute[] | undefined;
|
|
332
|
+
|
|
333
|
+
createdAt: Date | undefined;
|
|
334
|
+
|
|
335
|
+
startedAt?: Date;
|
|
336
|
+
|
|
337
|
+
completedAt?: Date;
|
|
338
|
+
|
|
339
|
+
stateChangedAt: Date | undefined;
|
|
340
|
+
|
|
341
|
+
dataCollected: boolean | undefined;
|
|
342
|
+
|
|
343
|
+
stateChanges: AssessmentRunStateChange[] | undefined;
|
|
344
|
+
|
|
345
|
+
notifications: AssessmentRunNotification[] | undefined;
|
|
346
|
+
|
|
347
|
+
findingCounts: {
|
|
348
|
+
[key: string]: number;
|
|
349
|
+
} | undefined;
|
|
350
|
+
}
|
|
351
|
+
export declare namespace AssessmentRun {
|
|
352
|
+
|
|
353
|
+
const filterSensitiveLog: (obj: AssessmentRun) => any;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export interface TelemetryMetadata {
|
|
357
|
+
|
|
358
|
+
messageType: string | undefined;
|
|
359
|
+
|
|
360
|
+
count: number | undefined;
|
|
361
|
+
|
|
362
|
+
dataSize?: number;
|
|
363
|
+
}
|
|
364
|
+
export declare namespace TelemetryMetadata {
|
|
365
|
+
|
|
366
|
+
const filterSensitiveLog: (obj: TelemetryMetadata) => any;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export interface AssessmentRunAgent {
|
|
370
|
+
|
|
371
|
+
agentId: string | undefined;
|
|
372
|
+
|
|
373
|
+
assessmentRunArn: string | undefined;
|
|
374
|
+
|
|
375
|
+
agentHealth: AgentHealth | string | undefined;
|
|
376
|
+
|
|
377
|
+
agentHealthCode: AgentHealthCode | string | undefined;
|
|
378
|
+
|
|
379
|
+
agentHealthDetails?: string;
|
|
380
|
+
|
|
381
|
+
autoScalingGroup?: string;
|
|
382
|
+
|
|
383
|
+
telemetryMetadata: TelemetryMetadata[] | undefined;
|
|
384
|
+
}
|
|
385
|
+
export declare namespace AssessmentRunAgent {
|
|
386
|
+
|
|
387
|
+
const filterSensitiveLog: (obj: AssessmentRunAgent) => any;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export interface TimestampRange {
|
|
391
|
+
|
|
392
|
+
beginDate?: Date;
|
|
393
|
+
|
|
394
|
+
endDate?: Date;
|
|
395
|
+
}
|
|
396
|
+
export declare namespace TimestampRange {
|
|
397
|
+
|
|
398
|
+
const filterSensitiveLog: (obj: TimestampRange) => any;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export interface DurationRange {
|
|
402
|
+
|
|
403
|
+
minSeconds?: number;
|
|
404
|
+
|
|
405
|
+
maxSeconds?: number;
|
|
406
|
+
}
|
|
407
|
+
export declare namespace DurationRange {
|
|
408
|
+
|
|
409
|
+
const filterSensitiveLog: (obj: DurationRange) => any;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export interface AssessmentRunFilter {
|
|
413
|
+
|
|
414
|
+
namePattern?: string;
|
|
415
|
+
|
|
416
|
+
states?: (AssessmentRunState | string)[];
|
|
417
|
+
|
|
418
|
+
durationRange?: DurationRange;
|
|
419
|
+
|
|
420
|
+
rulesPackageArns?: string[];
|
|
421
|
+
|
|
422
|
+
startTimeRange?: TimestampRange;
|
|
423
|
+
|
|
424
|
+
completionTimeRange?: TimestampRange;
|
|
425
|
+
|
|
426
|
+
stateChangeTimeRange?: TimestampRange;
|
|
427
|
+
}
|
|
428
|
+
export declare namespace AssessmentRunFilter {
|
|
429
|
+
|
|
430
|
+
const filterSensitiveLog: (obj: AssessmentRunFilter) => any;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export declare class AssessmentRunInProgressException extends __BaseException {
|
|
434
|
+
readonly name: "AssessmentRunInProgressException";
|
|
435
|
+
readonly $fault: "client";
|
|
436
|
+
|
|
437
|
+
assessmentRunArns: string[] | undefined;
|
|
438
|
+
|
|
439
|
+
assessmentRunArnsTruncated: boolean | undefined;
|
|
440
|
+
|
|
441
|
+
canRetry: boolean | undefined;
|
|
442
|
+
|
|
443
|
+
constructor(opts: __ExceptionOptionType<AssessmentRunInProgressException, __BaseException>);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export interface AssessmentTarget {
|
|
447
|
+
|
|
448
|
+
arn: string | undefined;
|
|
449
|
+
|
|
450
|
+
name: string | undefined;
|
|
451
|
+
|
|
452
|
+
resourceGroupArn?: string;
|
|
453
|
+
|
|
454
|
+
createdAt: Date | undefined;
|
|
455
|
+
|
|
456
|
+
updatedAt: Date | undefined;
|
|
457
|
+
}
|
|
458
|
+
export declare namespace AssessmentTarget {
|
|
459
|
+
|
|
460
|
+
const filterSensitiveLog: (obj: AssessmentTarget) => any;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export interface AssessmentTargetFilter {
|
|
464
|
+
|
|
465
|
+
assessmentTargetNamePattern?: string;
|
|
466
|
+
}
|
|
467
|
+
export declare namespace AssessmentTargetFilter {
|
|
468
|
+
|
|
469
|
+
const filterSensitiveLog: (obj: AssessmentTargetFilter) => any;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export interface AssessmentTemplate {
|
|
473
|
+
|
|
474
|
+
arn: string | undefined;
|
|
475
|
+
|
|
476
|
+
name: string | undefined;
|
|
477
|
+
|
|
478
|
+
assessmentTargetArn: string | undefined;
|
|
479
|
+
|
|
480
|
+
durationInSeconds: number | undefined;
|
|
481
|
+
|
|
482
|
+
rulesPackageArns: string[] | undefined;
|
|
483
|
+
|
|
484
|
+
userAttributesForFindings: Attribute[] | undefined;
|
|
485
|
+
|
|
486
|
+
lastAssessmentRunArn?: string;
|
|
487
|
+
|
|
488
|
+
assessmentRunCount: number | undefined;
|
|
489
|
+
|
|
490
|
+
createdAt: Date | undefined;
|
|
491
|
+
}
|
|
492
|
+
export declare namespace AssessmentTemplate {
|
|
493
|
+
|
|
494
|
+
const filterSensitiveLog: (obj: AssessmentTemplate) => any;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export interface AssessmentTemplateFilter {
|
|
498
|
+
|
|
499
|
+
namePattern?: string;
|
|
500
|
+
|
|
501
|
+
durationRange?: DurationRange;
|
|
502
|
+
|
|
503
|
+
rulesPackageArns?: string[];
|
|
504
|
+
}
|
|
505
|
+
export declare namespace AssessmentTemplateFilter {
|
|
506
|
+
|
|
507
|
+
const filterSensitiveLog: (obj: AssessmentTemplateFilter) => any;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export interface PrivateIp {
|
|
511
|
+
|
|
512
|
+
privateDnsName?: string;
|
|
513
|
+
|
|
514
|
+
privateIpAddress?: string;
|
|
515
|
+
}
|
|
516
|
+
export declare namespace PrivateIp {
|
|
517
|
+
|
|
518
|
+
const filterSensitiveLog: (obj: PrivateIp) => any;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export interface SecurityGroup {
|
|
522
|
+
|
|
523
|
+
groupName?: string;
|
|
524
|
+
|
|
525
|
+
groupId?: string;
|
|
526
|
+
}
|
|
527
|
+
export declare namespace SecurityGroup {
|
|
528
|
+
|
|
529
|
+
const filterSensitiveLog: (obj: SecurityGroup) => any;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export interface NetworkInterface {
|
|
533
|
+
|
|
534
|
+
networkInterfaceId?: string;
|
|
535
|
+
|
|
536
|
+
subnetId?: string;
|
|
537
|
+
|
|
538
|
+
vpcId?: string;
|
|
539
|
+
|
|
540
|
+
privateDnsName?: string;
|
|
541
|
+
|
|
542
|
+
privateIpAddress?: string;
|
|
543
|
+
|
|
544
|
+
privateIpAddresses?: PrivateIp[];
|
|
545
|
+
|
|
546
|
+
publicDnsName?: string;
|
|
547
|
+
|
|
548
|
+
publicIp?: string;
|
|
549
|
+
|
|
550
|
+
ipv6Addresses?: string[];
|
|
551
|
+
|
|
552
|
+
securityGroups?: SecurityGroup[];
|
|
553
|
+
}
|
|
554
|
+
export declare namespace NetworkInterface {
|
|
555
|
+
|
|
556
|
+
const filterSensitiveLog: (obj: NetworkInterface) => any;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export interface Tag {
|
|
560
|
+
|
|
561
|
+
key: string | undefined;
|
|
562
|
+
|
|
563
|
+
value?: string;
|
|
564
|
+
}
|
|
565
|
+
export declare namespace Tag {
|
|
566
|
+
|
|
567
|
+
const filterSensitiveLog: (obj: Tag) => any;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export interface AssetAttributes {
|
|
571
|
+
|
|
572
|
+
schemaVersion: number | undefined;
|
|
573
|
+
|
|
574
|
+
agentId?: string;
|
|
575
|
+
|
|
576
|
+
autoScalingGroup?: string;
|
|
577
|
+
|
|
578
|
+
amiId?: string;
|
|
579
|
+
|
|
580
|
+
hostname?: string;
|
|
581
|
+
|
|
582
|
+
ipv4Addresses?: string[];
|
|
583
|
+
|
|
584
|
+
tags?: Tag[];
|
|
585
|
+
|
|
586
|
+
networkInterfaces?: NetworkInterface[];
|
|
587
|
+
}
|
|
588
|
+
export declare namespace AssetAttributes {
|
|
589
|
+
|
|
590
|
+
const filterSensitiveLog: (obj: AssetAttributes) => any;
|
|
591
|
+
}
|
|
592
|
+
export declare enum AssetType {
|
|
593
|
+
EC2_INSTANCE = "ec2-instance"
|
|
594
|
+
}
|
|
595
|
+
export interface CreateAssessmentTargetRequest {
|
|
596
|
+
|
|
597
|
+
assessmentTargetName: string | undefined;
|
|
598
|
+
|
|
599
|
+
resourceGroupArn?: string;
|
|
600
|
+
}
|
|
601
|
+
export declare namespace CreateAssessmentTargetRequest {
|
|
602
|
+
|
|
603
|
+
const filterSensitiveLog: (obj: CreateAssessmentTargetRequest) => any;
|
|
604
|
+
}
|
|
605
|
+
export interface CreateAssessmentTargetResponse {
|
|
606
|
+
|
|
607
|
+
assessmentTargetArn: string | undefined;
|
|
608
|
+
}
|
|
609
|
+
export declare namespace CreateAssessmentTargetResponse {
|
|
610
|
+
|
|
611
|
+
const filterSensitiveLog: (obj: CreateAssessmentTargetResponse) => any;
|
|
612
|
+
}
|
|
613
|
+
export declare enum InvalidCrossAccountRoleErrorCode {
|
|
614
|
+
ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP = "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP",
|
|
615
|
+
ROLE_DOES_NOT_HAVE_CORRECT_POLICY = "ROLE_DOES_NOT_HAVE_CORRECT_POLICY"
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
export declare class InvalidCrossAccountRoleException extends __BaseException {
|
|
619
|
+
readonly name: "InvalidCrossAccountRoleException";
|
|
620
|
+
readonly $fault: "client";
|
|
621
|
+
|
|
622
|
+
errorCode: InvalidCrossAccountRoleErrorCode | string | undefined;
|
|
623
|
+
|
|
624
|
+
canRetry: boolean | undefined;
|
|
625
|
+
|
|
626
|
+
constructor(opts: __ExceptionOptionType<InvalidCrossAccountRoleException, __BaseException>);
|
|
627
|
+
}
|
|
628
|
+
export declare enum LimitExceededErrorCode {
|
|
629
|
+
ASSESSMENT_RUN_LIMIT_EXCEEDED = "ASSESSMENT_RUN_LIMIT_EXCEEDED",
|
|
630
|
+
ASSESSMENT_TARGET_LIMIT_EXCEEDED = "ASSESSMENT_TARGET_LIMIT_EXCEEDED",
|
|
631
|
+
ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED = "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED",
|
|
632
|
+
EVENT_SUBSCRIPTION_LIMIT_EXCEEDED = "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED",
|
|
633
|
+
RESOURCE_GROUP_LIMIT_EXCEEDED = "RESOURCE_GROUP_LIMIT_EXCEEDED"
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
export declare class LimitExceededException extends __BaseException {
|
|
637
|
+
readonly name: "LimitExceededException";
|
|
638
|
+
readonly $fault: "client";
|
|
639
|
+
|
|
640
|
+
errorCode: LimitExceededErrorCode | string | undefined;
|
|
641
|
+
|
|
642
|
+
canRetry: boolean | undefined;
|
|
643
|
+
|
|
644
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
645
|
+
}
|
|
646
|
+
export interface CreateAssessmentTemplateRequest {
|
|
647
|
+
|
|
648
|
+
assessmentTargetArn: string | undefined;
|
|
649
|
+
|
|
650
|
+
assessmentTemplateName: string | undefined;
|
|
651
|
+
|
|
652
|
+
durationInSeconds: number | undefined;
|
|
653
|
+
|
|
654
|
+
rulesPackageArns: string[] | undefined;
|
|
655
|
+
|
|
656
|
+
userAttributesForFindings?: Attribute[];
|
|
657
|
+
}
|
|
658
|
+
export declare namespace CreateAssessmentTemplateRequest {
|
|
659
|
+
|
|
660
|
+
const filterSensitiveLog: (obj: CreateAssessmentTemplateRequest) => any;
|
|
661
|
+
}
|
|
662
|
+
export interface CreateAssessmentTemplateResponse {
|
|
663
|
+
|
|
664
|
+
assessmentTemplateArn: string | undefined;
|
|
665
|
+
}
|
|
666
|
+
export declare namespace CreateAssessmentTemplateResponse {
|
|
667
|
+
|
|
668
|
+
const filterSensitiveLog: (obj: CreateAssessmentTemplateResponse) => any;
|
|
669
|
+
}
|
|
670
|
+
export interface CreateExclusionsPreviewRequest {
|
|
671
|
+
|
|
672
|
+
assessmentTemplateArn: string | undefined;
|
|
673
|
+
}
|
|
674
|
+
export declare namespace CreateExclusionsPreviewRequest {
|
|
675
|
+
|
|
676
|
+
const filterSensitiveLog: (obj: CreateExclusionsPreviewRequest) => any;
|
|
677
|
+
}
|
|
678
|
+
export interface CreateExclusionsPreviewResponse {
|
|
679
|
+
|
|
680
|
+
previewToken: string | undefined;
|
|
681
|
+
}
|
|
682
|
+
export declare namespace CreateExclusionsPreviewResponse {
|
|
683
|
+
|
|
684
|
+
const filterSensitiveLog: (obj: CreateExclusionsPreviewResponse) => any;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
export declare class PreviewGenerationInProgressException extends __BaseException {
|
|
688
|
+
readonly name: "PreviewGenerationInProgressException";
|
|
689
|
+
readonly $fault: "client";
|
|
690
|
+
|
|
691
|
+
constructor(opts: __ExceptionOptionType<PreviewGenerationInProgressException, __BaseException>);
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export interface ResourceGroupTag {
|
|
695
|
+
|
|
696
|
+
key: string | undefined;
|
|
697
|
+
|
|
698
|
+
value?: string;
|
|
699
|
+
}
|
|
700
|
+
export declare namespace ResourceGroupTag {
|
|
701
|
+
|
|
702
|
+
const filterSensitiveLog: (obj: ResourceGroupTag) => any;
|
|
703
|
+
}
|
|
704
|
+
export interface CreateResourceGroupRequest {
|
|
705
|
+
|
|
706
|
+
resourceGroupTags: ResourceGroupTag[] | undefined;
|
|
707
|
+
}
|
|
708
|
+
export declare namespace CreateResourceGroupRequest {
|
|
709
|
+
|
|
710
|
+
const filterSensitiveLog: (obj: CreateResourceGroupRequest) => any;
|
|
711
|
+
}
|
|
712
|
+
export interface CreateResourceGroupResponse {
|
|
713
|
+
|
|
714
|
+
resourceGroupArn: string | undefined;
|
|
715
|
+
}
|
|
716
|
+
export declare namespace CreateResourceGroupResponse {
|
|
717
|
+
|
|
718
|
+
const filterSensitiveLog: (obj: CreateResourceGroupResponse) => any;
|
|
719
|
+
}
|
|
720
|
+
export interface DeleteAssessmentRunRequest {
|
|
721
|
+
|
|
722
|
+
assessmentRunArn: string | undefined;
|
|
723
|
+
}
|
|
724
|
+
export declare namespace DeleteAssessmentRunRequest {
|
|
725
|
+
|
|
726
|
+
const filterSensitiveLog: (obj: DeleteAssessmentRunRequest) => any;
|
|
727
|
+
}
|
|
728
|
+
export interface DeleteAssessmentTargetRequest {
|
|
729
|
+
|
|
730
|
+
assessmentTargetArn: string | undefined;
|
|
731
|
+
}
|
|
732
|
+
export declare namespace DeleteAssessmentTargetRequest {
|
|
733
|
+
|
|
734
|
+
const filterSensitiveLog: (obj: DeleteAssessmentTargetRequest) => any;
|
|
735
|
+
}
|
|
736
|
+
export interface DeleteAssessmentTemplateRequest {
|
|
737
|
+
|
|
738
|
+
assessmentTemplateArn: string | undefined;
|
|
739
|
+
}
|
|
740
|
+
export declare namespace DeleteAssessmentTemplateRequest {
|
|
741
|
+
|
|
742
|
+
const filterSensitiveLog: (obj: DeleteAssessmentTemplateRequest) => any;
|
|
743
|
+
}
|
|
744
|
+
export interface DescribeAssessmentRunsRequest {
|
|
745
|
+
|
|
746
|
+
assessmentRunArns: string[] | undefined;
|
|
747
|
+
}
|
|
748
|
+
export declare namespace DescribeAssessmentRunsRequest {
|
|
749
|
+
|
|
750
|
+
const filterSensitiveLog: (obj: DescribeAssessmentRunsRequest) => any;
|
|
751
|
+
}
|
|
752
|
+
export interface DescribeAssessmentRunsResponse {
|
|
753
|
+
|
|
754
|
+
assessmentRuns: AssessmentRun[] | undefined;
|
|
755
|
+
|
|
756
|
+
failedItems: {
|
|
757
|
+
[key: string]: FailedItemDetails;
|
|
758
|
+
} | undefined;
|
|
759
|
+
}
|
|
760
|
+
export declare namespace DescribeAssessmentRunsResponse {
|
|
761
|
+
|
|
762
|
+
const filterSensitiveLog: (obj: DescribeAssessmentRunsResponse) => any;
|
|
763
|
+
}
|
|
764
|
+
export interface DescribeAssessmentTargetsRequest {
|
|
765
|
+
|
|
766
|
+
assessmentTargetArns: string[] | undefined;
|
|
767
|
+
}
|
|
768
|
+
export declare namespace DescribeAssessmentTargetsRequest {
|
|
769
|
+
|
|
770
|
+
const filterSensitiveLog: (obj: DescribeAssessmentTargetsRequest) => any;
|
|
771
|
+
}
|
|
772
|
+
export interface DescribeAssessmentTargetsResponse {
|
|
773
|
+
|
|
774
|
+
assessmentTargets: AssessmentTarget[] | undefined;
|
|
775
|
+
|
|
776
|
+
failedItems: {
|
|
777
|
+
[key: string]: FailedItemDetails;
|
|
778
|
+
} | undefined;
|
|
779
|
+
}
|
|
780
|
+
export declare namespace DescribeAssessmentTargetsResponse {
|
|
781
|
+
|
|
782
|
+
const filterSensitiveLog: (obj: DescribeAssessmentTargetsResponse) => any;
|
|
783
|
+
}
|
|
784
|
+
export interface DescribeAssessmentTemplatesRequest {
|
|
785
|
+
assessmentTemplateArns: string[] | undefined;
|
|
786
|
+
}
|
|
787
|
+
export declare namespace DescribeAssessmentTemplatesRequest {
|
|
788
|
+
|
|
789
|
+
const filterSensitiveLog: (obj: DescribeAssessmentTemplatesRequest) => any;
|
|
790
|
+
}
|
|
791
|
+
export interface DescribeAssessmentTemplatesResponse {
|
|
792
|
+
|
|
793
|
+
assessmentTemplates: AssessmentTemplate[] | undefined;
|
|
794
|
+
|
|
795
|
+
failedItems: {
|
|
796
|
+
[key: string]: FailedItemDetails;
|
|
797
|
+
} | undefined;
|
|
798
|
+
}
|
|
799
|
+
export declare namespace DescribeAssessmentTemplatesResponse {
|
|
800
|
+
|
|
801
|
+
const filterSensitiveLog: (obj: DescribeAssessmentTemplatesResponse) => any;
|
|
802
|
+
}
|
|
803
|
+
export interface DescribeCrossAccountAccessRoleResponse {
|
|
804
|
+
|
|
805
|
+
roleArn: string | undefined;
|
|
806
|
+
|
|
807
|
+
valid: boolean | undefined;
|
|
808
|
+
|
|
809
|
+
registeredAt: Date | undefined;
|
|
810
|
+
}
|
|
811
|
+
export declare namespace DescribeCrossAccountAccessRoleResponse {
|
|
812
|
+
|
|
813
|
+
const filterSensitiveLog: (obj: DescribeCrossAccountAccessRoleResponse) => any;
|
|
814
|
+
}
|
|
815
|
+
export declare enum Locale {
|
|
816
|
+
EN_US = "EN_US"
|
|
817
|
+
}
|
|
818
|
+
export interface DescribeExclusionsRequest {
|
|
819
|
+
|
|
820
|
+
exclusionArns: string[] | undefined;
|
|
821
|
+
|
|
822
|
+
locale?: Locale | string;
|
|
823
|
+
}
|
|
824
|
+
export declare namespace DescribeExclusionsRequest {
|
|
825
|
+
|
|
826
|
+
const filterSensitiveLog: (obj: DescribeExclusionsRequest) => any;
|
|
827
|
+
}
|
|
828
|
+
export declare enum ScopeType {
|
|
829
|
+
INSTANCE_ID = "INSTANCE_ID",
|
|
830
|
+
RULES_PACKAGE_ARN = "RULES_PACKAGE_ARN"
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
export interface Scope {
|
|
834
|
+
|
|
835
|
+
key?: ScopeType | string;
|
|
836
|
+
|
|
837
|
+
value?: string;
|
|
838
|
+
}
|
|
839
|
+
export declare namespace Scope {
|
|
840
|
+
|
|
841
|
+
const filterSensitiveLog: (obj: Scope) => any;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export interface Exclusion {
|
|
845
|
+
|
|
846
|
+
arn: string | undefined;
|
|
847
|
+
|
|
848
|
+
title: string | undefined;
|
|
849
|
+
|
|
850
|
+
description: string | undefined;
|
|
851
|
+
|
|
852
|
+
recommendation: string | undefined;
|
|
853
|
+
|
|
854
|
+
scopes: Scope[] | undefined;
|
|
855
|
+
|
|
856
|
+
attributes?: Attribute[];
|
|
857
|
+
}
|
|
858
|
+
export declare namespace Exclusion {
|
|
859
|
+
|
|
860
|
+
const filterSensitiveLog: (obj: Exclusion) => any;
|
|
861
|
+
}
|
|
862
|
+
export interface DescribeExclusionsResponse {
|
|
863
|
+
|
|
864
|
+
exclusions: {
|
|
865
|
+
[key: string]: Exclusion;
|
|
866
|
+
} | undefined;
|
|
867
|
+
|
|
868
|
+
failedItems: {
|
|
869
|
+
[key: string]: FailedItemDetails;
|
|
870
|
+
} | undefined;
|
|
871
|
+
}
|
|
872
|
+
export declare namespace DescribeExclusionsResponse {
|
|
873
|
+
|
|
874
|
+
const filterSensitiveLog: (obj: DescribeExclusionsResponse) => any;
|
|
875
|
+
}
|
|
876
|
+
export interface DescribeFindingsRequest {
|
|
877
|
+
|
|
878
|
+
findingArns: string[] | undefined;
|
|
879
|
+
|
|
880
|
+
locale?: Locale | string;
|
|
881
|
+
}
|
|
882
|
+
export declare namespace DescribeFindingsRequest {
|
|
883
|
+
|
|
884
|
+
const filterSensitiveLog: (obj: DescribeFindingsRequest) => any;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
export interface InspectorServiceAttributes {
|
|
888
|
+
|
|
889
|
+
schemaVersion: number | undefined;
|
|
890
|
+
|
|
891
|
+
assessmentRunArn?: string;
|
|
892
|
+
|
|
893
|
+
rulesPackageArn?: string;
|
|
894
|
+
}
|
|
895
|
+
export declare namespace InspectorServiceAttributes {
|
|
896
|
+
|
|
897
|
+
const filterSensitiveLog: (obj: InspectorServiceAttributes) => any;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
export interface Finding {
|
|
901
|
+
|
|
902
|
+
arn: string | undefined;
|
|
903
|
+
|
|
904
|
+
schemaVersion?: number;
|
|
905
|
+
|
|
906
|
+
service?: string;
|
|
907
|
+
|
|
908
|
+
serviceAttributes?: InspectorServiceAttributes;
|
|
909
|
+
|
|
910
|
+
assetType?: AssetType | string;
|
|
911
|
+
|
|
912
|
+
assetAttributes?: AssetAttributes;
|
|
913
|
+
|
|
914
|
+
id?: string;
|
|
915
|
+
|
|
916
|
+
title?: string;
|
|
917
|
+
|
|
918
|
+
description?: string;
|
|
919
|
+
|
|
920
|
+
recommendation?: string;
|
|
921
|
+
|
|
922
|
+
severity?: Severity | string;
|
|
923
|
+
|
|
924
|
+
numericSeverity?: number;
|
|
925
|
+
|
|
926
|
+
confidence?: number;
|
|
927
|
+
|
|
928
|
+
indicatorOfCompromise?: boolean;
|
|
929
|
+
|
|
930
|
+
attributes: Attribute[] | undefined;
|
|
931
|
+
|
|
932
|
+
userAttributes: Attribute[] | undefined;
|
|
933
|
+
|
|
934
|
+
createdAt: Date | undefined;
|
|
935
|
+
|
|
936
|
+
updatedAt: Date | undefined;
|
|
937
|
+
}
|
|
938
|
+
export declare namespace Finding {
|
|
939
|
+
|
|
940
|
+
const filterSensitiveLog: (obj: Finding) => any;
|
|
941
|
+
}
|
|
942
|
+
export interface DescribeFindingsResponse {
|
|
943
|
+
|
|
944
|
+
findings: Finding[] | undefined;
|
|
945
|
+
|
|
946
|
+
failedItems: {
|
|
947
|
+
[key: string]: FailedItemDetails;
|
|
948
|
+
} | undefined;
|
|
949
|
+
}
|
|
950
|
+
export declare namespace DescribeFindingsResponse {
|
|
951
|
+
|
|
952
|
+
const filterSensitiveLog: (obj: DescribeFindingsResponse) => any;
|
|
953
|
+
}
|
|
954
|
+
export interface DescribeResourceGroupsRequest {
|
|
955
|
+
|
|
956
|
+
resourceGroupArns: string[] | undefined;
|
|
957
|
+
}
|
|
958
|
+
export declare namespace DescribeResourceGroupsRequest {
|
|
959
|
+
|
|
960
|
+
const filterSensitiveLog: (obj: DescribeResourceGroupsRequest) => any;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
export interface ResourceGroup {
|
|
964
|
+
|
|
965
|
+
arn: string | undefined;
|
|
966
|
+
|
|
967
|
+
tags: ResourceGroupTag[] | undefined;
|
|
968
|
+
|
|
969
|
+
createdAt: Date | undefined;
|
|
970
|
+
}
|
|
971
|
+
export declare namespace ResourceGroup {
|
|
972
|
+
|
|
973
|
+
const filterSensitiveLog: (obj: ResourceGroup) => any;
|
|
974
|
+
}
|
|
975
|
+
export interface DescribeResourceGroupsResponse {
|
|
976
|
+
|
|
977
|
+
resourceGroups: ResourceGroup[] | undefined;
|
|
978
|
+
|
|
979
|
+
failedItems: {
|
|
980
|
+
[key: string]: FailedItemDetails;
|
|
981
|
+
} | undefined;
|
|
982
|
+
}
|
|
983
|
+
export declare namespace DescribeResourceGroupsResponse {
|
|
984
|
+
|
|
985
|
+
const filterSensitiveLog: (obj: DescribeResourceGroupsResponse) => any;
|
|
986
|
+
}
|
|
987
|
+
export interface DescribeRulesPackagesRequest {
|
|
988
|
+
|
|
989
|
+
rulesPackageArns: string[] | undefined;
|
|
990
|
+
|
|
991
|
+
locale?: Locale | string;
|
|
992
|
+
}
|
|
993
|
+
export declare namespace DescribeRulesPackagesRequest {
|
|
994
|
+
|
|
995
|
+
const filterSensitiveLog: (obj: DescribeRulesPackagesRequest) => any;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
export interface RulesPackage {
|
|
999
|
+
|
|
1000
|
+
arn: string | undefined;
|
|
1001
|
+
|
|
1002
|
+
name: string | undefined;
|
|
1003
|
+
|
|
1004
|
+
version: string | undefined;
|
|
1005
|
+
|
|
1006
|
+
provider: string | undefined;
|
|
1007
|
+
|
|
1008
|
+
description?: string;
|
|
1009
|
+
}
|
|
1010
|
+
export declare namespace RulesPackage {
|
|
1011
|
+
|
|
1012
|
+
const filterSensitiveLog: (obj: RulesPackage) => any;
|
|
1013
|
+
}
|
|
1014
|
+
export interface DescribeRulesPackagesResponse {
|
|
1015
|
+
|
|
1016
|
+
rulesPackages: RulesPackage[] | undefined;
|
|
1017
|
+
|
|
1018
|
+
failedItems: {
|
|
1019
|
+
[key: string]: FailedItemDetails;
|
|
1020
|
+
} | undefined;
|
|
1021
|
+
}
|
|
1022
|
+
export declare namespace DescribeRulesPackagesResponse {
|
|
1023
|
+
|
|
1024
|
+
const filterSensitiveLog: (obj: DescribeRulesPackagesResponse) => any;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
export interface EventSubscription {
|
|
1028
|
+
|
|
1029
|
+
event: InspectorEvent | string | undefined;
|
|
1030
|
+
|
|
1031
|
+
subscribedAt: Date | undefined;
|
|
1032
|
+
}
|
|
1033
|
+
export declare namespace EventSubscription {
|
|
1034
|
+
|
|
1035
|
+
const filterSensitiveLog: (obj: EventSubscription) => any;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
export interface ExclusionPreview {
|
|
1039
|
+
|
|
1040
|
+
title: string | undefined;
|
|
1041
|
+
|
|
1042
|
+
description: string | undefined;
|
|
1043
|
+
|
|
1044
|
+
recommendation: string | undefined;
|
|
1045
|
+
|
|
1046
|
+
scopes: Scope[] | undefined;
|
|
1047
|
+
|
|
1048
|
+
attributes?: Attribute[];
|
|
1049
|
+
}
|
|
1050
|
+
export declare namespace ExclusionPreview {
|
|
1051
|
+
|
|
1052
|
+
const filterSensitiveLog: (obj: ExclusionPreview) => any;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
export interface FindingFilter {
|
|
1056
|
+
|
|
1057
|
+
agentIds?: string[];
|
|
1058
|
+
|
|
1059
|
+
autoScalingGroups?: string[];
|
|
1060
|
+
|
|
1061
|
+
ruleNames?: string[];
|
|
1062
|
+
|
|
1063
|
+
severities?: (Severity | string)[];
|
|
1064
|
+
|
|
1065
|
+
rulesPackageArns?: string[];
|
|
1066
|
+
|
|
1067
|
+
attributes?: Attribute[];
|
|
1068
|
+
|
|
1069
|
+
userAttributes?: Attribute[];
|
|
1070
|
+
|
|
1071
|
+
creationTimeRange?: TimestampRange;
|
|
1072
|
+
}
|
|
1073
|
+
export declare namespace FindingFilter {
|
|
1074
|
+
|
|
1075
|
+
const filterSensitiveLog: (obj: FindingFilter) => any;
|
|
1076
|
+
}
|
|
1077
|
+
export declare enum ReportFileFormat {
|
|
1078
|
+
HTML = "HTML",
|
|
1079
|
+
PDF = "PDF"
|
|
1080
|
+
}
|
|
1081
|
+
export declare enum ReportType {
|
|
1082
|
+
FINDING = "FINDING",
|
|
1083
|
+
FULL = "FULL"
|
|
1084
|
+
}
|
|
1085
|
+
export interface GetAssessmentReportRequest {
|
|
1086
|
+
|
|
1087
|
+
assessmentRunArn: string | undefined;
|
|
1088
|
+
|
|
1089
|
+
reportFileFormat: ReportFileFormat | string | undefined;
|
|
1090
|
+
|
|
1091
|
+
reportType: ReportType | string | undefined;
|
|
1092
|
+
}
|
|
1093
|
+
export declare namespace GetAssessmentReportRequest {
|
|
1094
|
+
|
|
1095
|
+
const filterSensitiveLog: (obj: GetAssessmentReportRequest) => any;
|
|
1096
|
+
}
|
|
1097
|
+
export declare enum ReportStatus {
|
|
1098
|
+
COMPLETED = "COMPLETED",
|
|
1099
|
+
FAILED = "FAILED",
|
|
1100
|
+
WORK_IN_PROGRESS = "WORK_IN_PROGRESS"
|
|
1101
|
+
}
|
|
1102
|
+
export interface GetAssessmentReportResponse {
|
|
1103
|
+
|
|
1104
|
+
status: ReportStatus | string | undefined;
|
|
1105
|
+
|
|
1106
|
+
url?: string;
|
|
1107
|
+
}
|
|
1108
|
+
export declare namespace GetAssessmentReportResponse {
|
|
1109
|
+
|
|
1110
|
+
const filterSensitiveLog: (obj: GetAssessmentReportResponse) => any;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
export declare class UnsupportedFeatureException extends __BaseException {
|
|
1114
|
+
readonly name: "UnsupportedFeatureException";
|
|
1115
|
+
readonly $fault: "client";
|
|
1116
|
+
canRetry: boolean | undefined;
|
|
1117
|
+
|
|
1118
|
+
constructor(opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>);
|
|
1119
|
+
}
|
|
1120
|
+
export interface GetExclusionsPreviewRequest {
|
|
1121
|
+
|
|
1122
|
+
assessmentTemplateArn: string | undefined;
|
|
1123
|
+
|
|
1124
|
+
previewToken: string | undefined;
|
|
1125
|
+
|
|
1126
|
+
nextToken?: string;
|
|
1127
|
+
|
|
1128
|
+
maxResults?: number;
|
|
1129
|
+
|
|
1130
|
+
locale?: Locale | string;
|
|
1131
|
+
}
|
|
1132
|
+
export declare namespace GetExclusionsPreviewRequest {
|
|
1133
|
+
|
|
1134
|
+
const filterSensitiveLog: (obj: GetExclusionsPreviewRequest) => any;
|
|
1135
|
+
}
|
|
1136
|
+
export declare enum PreviewStatus {
|
|
1137
|
+
COMPLETED = "COMPLETED",
|
|
1138
|
+
WORK_IN_PROGRESS = "WORK_IN_PROGRESS"
|
|
1139
|
+
}
|
|
1140
|
+
export interface GetExclusionsPreviewResponse {
|
|
1141
|
+
|
|
1142
|
+
previewStatus: PreviewStatus | string | undefined;
|
|
1143
|
+
|
|
1144
|
+
exclusionPreviews?: ExclusionPreview[];
|
|
1145
|
+
|
|
1146
|
+
nextToken?: string;
|
|
1147
|
+
}
|
|
1148
|
+
export declare namespace GetExclusionsPreviewResponse {
|
|
1149
|
+
|
|
1150
|
+
const filterSensitiveLog: (obj: GetExclusionsPreviewResponse) => any;
|
|
1151
|
+
}
|
|
1152
|
+
export interface GetTelemetryMetadataRequest {
|
|
1153
|
+
|
|
1154
|
+
assessmentRunArn: string | undefined;
|
|
1155
|
+
}
|
|
1156
|
+
export declare namespace GetTelemetryMetadataRequest {
|
|
1157
|
+
|
|
1158
|
+
const filterSensitiveLog: (obj: GetTelemetryMetadataRequest) => any;
|
|
1159
|
+
}
|
|
1160
|
+
export interface GetTelemetryMetadataResponse {
|
|
1161
|
+
|
|
1162
|
+
telemetryMetadata: TelemetryMetadata[] | undefined;
|
|
1163
|
+
}
|
|
1164
|
+
export declare namespace GetTelemetryMetadataResponse {
|
|
1165
|
+
|
|
1166
|
+
const filterSensitiveLog: (obj: GetTelemetryMetadataResponse) => any;
|
|
1167
|
+
}
|
|
1168
|
+
export interface ListAssessmentRunAgentsRequest {
|
|
1169
|
+
|
|
1170
|
+
assessmentRunArn: string | undefined;
|
|
1171
|
+
|
|
1172
|
+
filter?: AgentFilter;
|
|
1173
|
+
|
|
1174
|
+
nextToken?: string;
|
|
1175
|
+
|
|
1176
|
+
maxResults?: number;
|
|
1177
|
+
}
|
|
1178
|
+
export declare namespace ListAssessmentRunAgentsRequest {
|
|
1179
|
+
|
|
1180
|
+
const filterSensitiveLog: (obj: ListAssessmentRunAgentsRequest) => any;
|
|
1181
|
+
}
|
|
1182
|
+
export interface ListAssessmentRunAgentsResponse {
|
|
1183
|
+
|
|
1184
|
+
assessmentRunAgents: AssessmentRunAgent[] | undefined;
|
|
1185
|
+
|
|
1186
|
+
nextToken?: string;
|
|
1187
|
+
}
|
|
1188
|
+
export declare namespace ListAssessmentRunAgentsResponse {
|
|
1189
|
+
|
|
1190
|
+
const filterSensitiveLog: (obj: ListAssessmentRunAgentsResponse) => any;
|
|
1191
|
+
}
|
|
1192
|
+
export interface ListAssessmentRunsRequest {
|
|
1193
|
+
|
|
1194
|
+
assessmentTemplateArns?: string[];
|
|
1195
|
+
|
|
1196
|
+
filter?: AssessmentRunFilter;
|
|
1197
|
+
|
|
1198
|
+
nextToken?: string;
|
|
1199
|
+
|
|
1200
|
+
maxResults?: number;
|
|
1201
|
+
}
|
|
1202
|
+
export declare namespace ListAssessmentRunsRequest {
|
|
1203
|
+
|
|
1204
|
+
const filterSensitiveLog: (obj: ListAssessmentRunsRequest) => any;
|
|
1205
|
+
}
|
|
1206
|
+
export interface ListAssessmentRunsResponse {
|
|
1207
|
+
|
|
1208
|
+
assessmentRunArns: string[] | undefined;
|
|
1209
|
+
|
|
1210
|
+
nextToken?: string;
|
|
1211
|
+
}
|
|
1212
|
+
export declare namespace ListAssessmentRunsResponse {
|
|
1213
|
+
|
|
1214
|
+
const filterSensitiveLog: (obj: ListAssessmentRunsResponse) => any;
|
|
1215
|
+
}
|
|
1216
|
+
export interface ListAssessmentTargetsRequest {
|
|
1217
|
+
|
|
1218
|
+
filter?: AssessmentTargetFilter;
|
|
1219
|
+
|
|
1220
|
+
nextToken?: string;
|
|
1221
|
+
|
|
1222
|
+
maxResults?: number;
|
|
1223
|
+
}
|
|
1224
|
+
export declare namespace ListAssessmentTargetsRequest {
|
|
1225
|
+
|
|
1226
|
+
const filterSensitiveLog: (obj: ListAssessmentTargetsRequest) => any;
|
|
1227
|
+
}
|
|
1228
|
+
export interface ListAssessmentTargetsResponse {
|
|
1229
|
+
|
|
1230
|
+
assessmentTargetArns: string[] | undefined;
|
|
1231
|
+
|
|
1232
|
+
nextToken?: string;
|
|
1233
|
+
}
|
|
1234
|
+
export declare namespace ListAssessmentTargetsResponse {
|
|
1235
|
+
|
|
1236
|
+
const filterSensitiveLog: (obj: ListAssessmentTargetsResponse) => any;
|
|
1237
|
+
}
|
|
1238
|
+
export interface ListAssessmentTemplatesRequest {
|
|
1239
|
+
|
|
1240
|
+
assessmentTargetArns?: string[];
|
|
1241
|
+
|
|
1242
|
+
filter?: AssessmentTemplateFilter;
|
|
1243
|
+
|
|
1244
|
+
nextToken?: string;
|
|
1245
|
+
|
|
1246
|
+
maxResults?: number;
|
|
1247
|
+
}
|
|
1248
|
+
export declare namespace ListAssessmentTemplatesRequest {
|
|
1249
|
+
|
|
1250
|
+
const filterSensitiveLog: (obj: ListAssessmentTemplatesRequest) => any;
|
|
1251
|
+
}
|
|
1252
|
+
export interface ListAssessmentTemplatesResponse {
|
|
1253
|
+
|
|
1254
|
+
assessmentTemplateArns: string[] | undefined;
|
|
1255
|
+
|
|
1256
|
+
nextToken?: string;
|
|
1257
|
+
}
|
|
1258
|
+
export declare namespace ListAssessmentTemplatesResponse {
|
|
1259
|
+
|
|
1260
|
+
const filterSensitiveLog: (obj: ListAssessmentTemplatesResponse) => any;
|
|
1261
|
+
}
|
|
1262
|
+
export interface ListEventSubscriptionsRequest {
|
|
1263
|
+
|
|
1264
|
+
resourceArn?: string;
|
|
1265
|
+
|
|
1266
|
+
nextToken?: string;
|
|
1267
|
+
|
|
1268
|
+
maxResults?: number;
|
|
1269
|
+
}
|
|
1270
|
+
export declare namespace ListEventSubscriptionsRequest {
|
|
1271
|
+
|
|
1272
|
+
const filterSensitiveLog: (obj: ListEventSubscriptionsRequest) => any;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
export interface Subscription {
|
|
1276
|
+
|
|
1277
|
+
resourceArn: string | undefined;
|
|
1278
|
+
|
|
1279
|
+
topicArn: string | undefined;
|
|
1280
|
+
|
|
1281
|
+
eventSubscriptions: EventSubscription[] | undefined;
|
|
1282
|
+
}
|
|
1283
|
+
export declare namespace Subscription {
|
|
1284
|
+
|
|
1285
|
+
const filterSensitiveLog: (obj: Subscription) => any;
|
|
1286
|
+
}
|
|
1287
|
+
export interface ListEventSubscriptionsResponse {
|
|
1288
|
+
|
|
1289
|
+
subscriptions: Subscription[] | undefined;
|
|
1290
|
+
|
|
1291
|
+
nextToken?: string;
|
|
1292
|
+
}
|
|
1293
|
+
export declare namespace ListEventSubscriptionsResponse {
|
|
1294
|
+
|
|
1295
|
+
const filterSensitiveLog: (obj: ListEventSubscriptionsResponse) => any;
|
|
1296
|
+
}
|
|
1297
|
+
export interface ListExclusionsRequest {
|
|
1298
|
+
|
|
1299
|
+
assessmentRunArn: string | undefined;
|
|
1300
|
+
|
|
1301
|
+
nextToken?: string;
|
|
1302
|
+
|
|
1303
|
+
maxResults?: number;
|
|
1304
|
+
}
|
|
1305
|
+
export declare namespace ListExclusionsRequest {
|
|
1306
|
+
|
|
1307
|
+
const filterSensitiveLog: (obj: ListExclusionsRequest) => any;
|
|
1308
|
+
}
|
|
1309
|
+
export interface ListExclusionsResponse {
|
|
1310
|
+
|
|
1311
|
+
exclusionArns: string[] | undefined;
|
|
1312
|
+
|
|
1313
|
+
nextToken?: string;
|
|
1314
|
+
}
|
|
1315
|
+
export declare namespace ListExclusionsResponse {
|
|
1316
|
+
|
|
1317
|
+
const filterSensitiveLog: (obj: ListExclusionsResponse) => any;
|
|
1318
|
+
}
|
|
1319
|
+
export interface ListFindingsRequest {
|
|
1320
|
+
|
|
1321
|
+
assessmentRunArns?: string[];
|
|
1322
|
+
|
|
1323
|
+
filter?: FindingFilter;
|
|
1324
|
+
|
|
1325
|
+
nextToken?: string;
|
|
1326
|
+
|
|
1327
|
+
maxResults?: number;
|
|
1328
|
+
}
|
|
1329
|
+
export declare namespace ListFindingsRequest {
|
|
1330
|
+
|
|
1331
|
+
const filterSensitiveLog: (obj: ListFindingsRequest) => any;
|
|
1332
|
+
}
|
|
1333
|
+
export interface ListFindingsResponse {
|
|
1334
|
+
|
|
1335
|
+
findingArns: string[] | undefined;
|
|
1336
|
+
|
|
1337
|
+
nextToken?: string;
|
|
1338
|
+
}
|
|
1339
|
+
export declare namespace ListFindingsResponse {
|
|
1340
|
+
|
|
1341
|
+
const filterSensitiveLog: (obj: ListFindingsResponse) => any;
|
|
1342
|
+
}
|
|
1343
|
+
export interface ListRulesPackagesRequest {
|
|
1344
|
+
|
|
1345
|
+
nextToken?: string;
|
|
1346
|
+
|
|
1347
|
+
maxResults?: number;
|
|
1348
|
+
}
|
|
1349
|
+
export declare namespace ListRulesPackagesRequest {
|
|
1350
|
+
|
|
1351
|
+
const filterSensitiveLog: (obj: ListRulesPackagesRequest) => any;
|
|
1352
|
+
}
|
|
1353
|
+
export interface ListRulesPackagesResponse {
|
|
1354
|
+
|
|
1355
|
+
rulesPackageArns: string[] | undefined;
|
|
1356
|
+
|
|
1357
|
+
nextToken?: string;
|
|
1358
|
+
}
|
|
1359
|
+
export declare namespace ListRulesPackagesResponse {
|
|
1360
|
+
|
|
1361
|
+
const filterSensitiveLog: (obj: ListRulesPackagesResponse) => any;
|
|
1362
|
+
}
|
|
1363
|
+
export interface ListTagsForResourceRequest {
|
|
1364
|
+
|
|
1365
|
+
resourceArn: string | undefined;
|
|
1366
|
+
}
|
|
1367
|
+
export declare namespace ListTagsForResourceRequest {
|
|
1368
|
+
|
|
1369
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
1370
|
+
}
|
|
1371
|
+
export interface ListTagsForResourceResponse {
|
|
1372
|
+
|
|
1373
|
+
tags: Tag[] | undefined;
|
|
1374
|
+
}
|
|
1375
|
+
export declare namespace ListTagsForResourceResponse {
|
|
1376
|
+
|
|
1377
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
1378
|
+
}
|
|
1379
|
+
export interface PreviewAgentsRequest {
|
|
1380
|
+
|
|
1381
|
+
previewAgentsArn: string | undefined;
|
|
1382
|
+
|
|
1383
|
+
nextToken?: string;
|
|
1384
|
+
|
|
1385
|
+
maxResults?: number;
|
|
1386
|
+
}
|
|
1387
|
+
export declare namespace PreviewAgentsRequest {
|
|
1388
|
+
|
|
1389
|
+
const filterSensitiveLog: (obj: PreviewAgentsRequest) => any;
|
|
1390
|
+
}
|
|
1391
|
+
export interface PreviewAgentsResponse {
|
|
1392
|
+
|
|
1393
|
+
agentPreviews: AgentPreview[] | undefined;
|
|
1394
|
+
|
|
1395
|
+
nextToken?: string;
|
|
1396
|
+
}
|
|
1397
|
+
export declare namespace PreviewAgentsResponse {
|
|
1398
|
+
|
|
1399
|
+
const filterSensitiveLog: (obj: PreviewAgentsResponse) => any;
|
|
1400
|
+
}
|
|
1401
|
+
export interface RegisterCrossAccountAccessRoleRequest {
|
|
1402
|
+
|
|
1403
|
+
roleArn: string | undefined;
|
|
1404
|
+
}
|
|
1405
|
+
export declare namespace RegisterCrossAccountAccessRoleRequest {
|
|
1406
|
+
|
|
1407
|
+
const filterSensitiveLog: (obj: RegisterCrossAccountAccessRoleRequest) => any;
|
|
1408
|
+
}
|
|
1409
|
+
export interface RemoveAttributesFromFindingsRequest {
|
|
1410
|
+
|
|
1411
|
+
findingArns: string[] | undefined;
|
|
1412
|
+
|
|
1413
|
+
attributeKeys: string[] | undefined;
|
|
1414
|
+
}
|
|
1415
|
+
export declare namespace RemoveAttributesFromFindingsRequest {
|
|
1416
|
+
|
|
1417
|
+
const filterSensitiveLog: (obj: RemoveAttributesFromFindingsRequest) => any;
|
|
1418
|
+
}
|
|
1419
|
+
export interface RemoveAttributesFromFindingsResponse {
|
|
1420
|
+
|
|
1421
|
+
failedItems: {
|
|
1422
|
+
[key: string]: FailedItemDetails;
|
|
1423
|
+
} | undefined;
|
|
1424
|
+
}
|
|
1425
|
+
export declare namespace RemoveAttributesFromFindingsResponse {
|
|
1426
|
+
|
|
1427
|
+
const filterSensitiveLog: (obj: RemoveAttributesFromFindingsResponse) => any;
|
|
1428
|
+
}
|
|
1429
|
+
export interface SetTagsForResourceRequest {
|
|
1430
|
+
|
|
1431
|
+
resourceArn: string | undefined;
|
|
1432
|
+
|
|
1433
|
+
tags?: Tag[];
|
|
1434
|
+
}
|
|
1435
|
+
export declare namespace SetTagsForResourceRequest {
|
|
1436
|
+
|
|
1437
|
+
const filterSensitiveLog: (obj: SetTagsForResourceRequest) => any;
|
|
1438
|
+
}
|
|
1439
|
+
export interface StartAssessmentRunRequest {
|
|
1440
|
+
|
|
1441
|
+
assessmentTemplateArn: string | undefined;
|
|
1442
|
+
|
|
1443
|
+
assessmentRunName?: string;
|
|
1444
|
+
}
|
|
1445
|
+
export declare namespace StartAssessmentRunRequest {
|
|
1446
|
+
|
|
1447
|
+
const filterSensitiveLog: (obj: StartAssessmentRunRequest) => any;
|
|
1448
|
+
}
|
|
1449
|
+
export interface StartAssessmentRunResponse {
|
|
1450
|
+
|
|
1451
|
+
assessmentRunArn: string | undefined;
|
|
1452
|
+
}
|
|
1453
|
+
export declare namespace StartAssessmentRunResponse {
|
|
1454
|
+
|
|
1455
|
+
const filterSensitiveLog: (obj: StartAssessmentRunResponse) => any;
|
|
1456
|
+
}
|
|
1457
|
+
export declare enum StopAction {
|
|
1458
|
+
SKIP_EVALUATION = "SKIP_EVALUATION",
|
|
1459
|
+
START_EVALUATION = "START_EVALUATION"
|
|
1460
|
+
}
|
|
1461
|
+
export interface StopAssessmentRunRequest {
|
|
1462
|
+
|
|
1463
|
+
assessmentRunArn: string | undefined;
|
|
1464
|
+
|
|
1465
|
+
stopAction?: StopAction | string;
|
|
1466
|
+
}
|
|
1467
|
+
export declare namespace StopAssessmentRunRequest {
|
|
1468
|
+
|
|
1469
|
+
const filterSensitiveLog: (obj: StopAssessmentRunRequest) => any;
|
|
1470
|
+
}
|
|
1471
|
+
export interface SubscribeToEventRequest {
|
|
1472
|
+
|
|
1473
|
+
resourceArn: string | undefined;
|
|
1474
|
+
|
|
1475
|
+
event: InspectorEvent | string | undefined;
|
|
1476
|
+
|
|
1477
|
+
topicArn: string | undefined;
|
|
1478
|
+
}
|
|
1479
|
+
export declare namespace SubscribeToEventRequest {
|
|
1480
|
+
|
|
1481
|
+
const filterSensitiveLog: (obj: SubscribeToEventRequest) => any;
|
|
1482
|
+
}
|
|
1483
|
+
export interface UnsubscribeFromEventRequest {
|
|
1484
|
+
|
|
1485
|
+
resourceArn: string | undefined;
|
|
1486
|
+
|
|
1487
|
+
event: InspectorEvent | string | undefined;
|
|
1488
|
+
|
|
1489
|
+
topicArn: string | undefined;
|
|
1490
|
+
}
|
|
1491
|
+
export declare namespace UnsubscribeFromEventRequest {
|
|
1492
|
+
|
|
1493
|
+
const filterSensitiveLog: (obj: UnsubscribeFromEventRequest) => any;
|
|
1494
|
+
}
|
|
1495
|
+
export interface UpdateAssessmentTargetRequest {
|
|
1496
|
+
|
|
1497
|
+
assessmentTargetArn: string | undefined;
|
|
1498
|
+
|
|
1499
|
+
assessmentTargetName: string | undefined;
|
|
1500
|
+
|
|
1501
|
+
resourceGroupArn?: string;
|
|
1502
|
+
}
|
|
1503
|
+
export declare namespace UpdateAssessmentTargetRequest {
|
|
1504
|
+
|
|
1505
|
+
const filterSensitiveLog: (obj: UpdateAssessmentTargetRequest) => any;
|
|
1506
|
+
}
|