@aws-sdk/client-inspector 3.315.0 → 3.319.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Inspector.js +41 -518
- package/dist-es/Inspector.js +41 -518
- package/dist-types/Inspector.d.ts +47 -130
- package/dist-types/ts3.4/Inspector.d.ts +2 -1
- package/package.json +8 -8
|
@@ -37,319 +37,236 @@ import { SubscribeToEventCommandInput, SubscribeToEventCommandOutput } from "./c
|
|
|
37
37
|
import { UnsubscribeFromEventCommandInput, UnsubscribeFromEventCommandOutput } from "./commands/UnsubscribeFromEventCommand";
|
|
38
38
|
import { UpdateAssessmentTargetCommandInput, UpdateAssessmentTargetCommandOutput } from "./commands/UpdateAssessmentTargetCommand";
|
|
39
39
|
import { InspectorClient } from "./InspectorClient";
|
|
40
|
-
|
|
41
|
-
* @public
|
|
42
|
-
* <fullname>Amazon Inspector</fullname>
|
|
43
|
-
* <p>Amazon Inspector enables you to analyze the behavior of your AWS resources and to
|
|
44
|
-
* identify potential security issues. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html"> Amazon Inspector User
|
|
45
|
-
* Guide</a>.</p>
|
|
46
|
-
*/
|
|
47
|
-
export declare class Inspector extends InspectorClient {
|
|
40
|
+
export interface Inspector {
|
|
48
41
|
/**
|
|
49
|
-
* @
|
|
50
|
-
* <p>Assigns attributes (key and value pairs) to the findings that are specified by the
|
|
51
|
-
* ARNs of the findings.</p>
|
|
42
|
+
* @see {@link AddAttributesToFindingsCommand}
|
|
52
43
|
*/
|
|
53
44
|
addAttributesToFindings(args: AddAttributesToFindingsCommandInput, options?: __HttpHandlerOptions): Promise<AddAttributesToFindingsCommandOutput>;
|
|
54
45
|
addAttributesToFindings(args: AddAttributesToFindingsCommandInput, cb: (err: any, data?: AddAttributesToFindingsCommandOutput) => void): void;
|
|
55
46
|
addAttributesToFindings(args: AddAttributesToFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddAttributesToFindingsCommandOutput) => void): void;
|
|
56
47
|
/**
|
|
57
|
-
* @
|
|
58
|
-
* <p>Creates a new assessment target using the ARN of the resource group that is generated
|
|
59
|
-
* by <a>CreateResourceGroup</a>. If resourceGroupArn is not specified, all EC2
|
|
60
|
-
* instances in the current AWS account and region are included in the assessment target. If
|
|
61
|
-
* the <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_slr.html">service-linked role</a> isn’t already registered, this action also creates and
|
|
62
|
-
* registers a service-linked role to grant Amazon Inspector access to AWS Services needed to
|
|
63
|
-
* perform security assessments. You can create up to 50 assessment targets per AWS account.
|
|
64
|
-
* You can run up to 500 concurrent agents per AWS account. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_applications.html">
|
|
65
|
-
* Amazon Inspector Assessment Targets</a>.</p>
|
|
48
|
+
* @see {@link CreateAssessmentTargetCommand}
|
|
66
49
|
*/
|
|
67
50
|
createAssessmentTarget(args: CreateAssessmentTargetCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssessmentTargetCommandOutput>;
|
|
68
51
|
createAssessmentTarget(args: CreateAssessmentTargetCommandInput, cb: (err: any, data?: CreateAssessmentTargetCommandOutput) => void): void;
|
|
69
52
|
createAssessmentTarget(args: CreateAssessmentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssessmentTargetCommandOutput) => void): void;
|
|
70
53
|
/**
|
|
71
|
-
* @
|
|
72
|
-
* <p>Creates an assessment template for the assessment target that is specified by the ARN
|
|
73
|
-
* of the assessment target. If the <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_slr.html">service-linked role</a> isn’t already registered, this action also creates and
|
|
74
|
-
* registers a service-linked role to grant Amazon Inspector access to AWS Services needed to
|
|
75
|
-
* perform security assessments.</p>
|
|
54
|
+
* @see {@link CreateAssessmentTemplateCommand}
|
|
76
55
|
*/
|
|
77
56
|
createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssessmentTemplateCommandOutput>;
|
|
78
57
|
createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, cb: (err: any, data?: CreateAssessmentTemplateCommandOutput) => void): void;
|
|
79
58
|
createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssessmentTemplateCommandOutput) => void): void;
|
|
80
59
|
/**
|
|
81
|
-
* @
|
|
82
|
-
* <p>Starts the generation of an exclusions preview for the specified assessment template.
|
|
83
|
-
* The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector can
|
|
84
|
-
* detect before it runs the assessment. </p>
|
|
60
|
+
* @see {@link CreateExclusionsPreviewCommand}
|
|
85
61
|
*/
|
|
86
62
|
createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, options?: __HttpHandlerOptions): Promise<CreateExclusionsPreviewCommandOutput>;
|
|
87
63
|
createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, cb: (err: any, data?: CreateExclusionsPreviewCommandOutput) => void): void;
|
|
88
64
|
createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExclusionsPreviewCommandOutput) => void): void;
|
|
89
65
|
/**
|
|
90
|
-
* @
|
|
91
|
-
* <p>Creates a resource group using the specified set of tags (key and value pairs) that
|
|
92
|
-
* are used to select the EC2 instances to be included in an Amazon Inspector assessment
|
|
93
|
-
* target. The created resource group is then used to create an Amazon Inspector assessment
|
|
94
|
-
* target. For more information, see <a>CreateAssessmentTarget</a>.</p>
|
|
66
|
+
* @see {@link CreateResourceGroupCommand}
|
|
95
67
|
*/
|
|
96
68
|
createResourceGroup(args: CreateResourceGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateResourceGroupCommandOutput>;
|
|
97
69
|
createResourceGroup(args: CreateResourceGroupCommandInput, cb: (err: any, data?: CreateResourceGroupCommandOutput) => void): void;
|
|
98
70
|
createResourceGroup(args: CreateResourceGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceGroupCommandOutput) => void): void;
|
|
99
71
|
/**
|
|
100
|
-
* @
|
|
101
|
-
* <p>Deletes the assessment run that is specified by the ARN of the assessment
|
|
102
|
-
* run.</p>
|
|
72
|
+
* @see {@link DeleteAssessmentRunCommand}
|
|
103
73
|
*/
|
|
104
74
|
deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssessmentRunCommandOutput>;
|
|
105
75
|
deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, cb: (err: any, data?: DeleteAssessmentRunCommandOutput) => void): void;
|
|
106
76
|
deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentRunCommandOutput) => void): void;
|
|
107
77
|
/**
|
|
108
|
-
* @
|
|
109
|
-
* <p>Deletes the assessment target that is specified by the ARN of the assessment
|
|
110
|
-
* target.</p>
|
|
78
|
+
* @see {@link DeleteAssessmentTargetCommand}
|
|
111
79
|
*/
|
|
112
80
|
deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssessmentTargetCommandOutput>;
|
|
113
81
|
deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, cb: (err: any, data?: DeleteAssessmentTargetCommandOutput) => void): void;
|
|
114
82
|
deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentTargetCommandOutput) => void): void;
|
|
115
83
|
/**
|
|
116
|
-
* @
|
|
117
|
-
* <p>Deletes the assessment template that is specified by the ARN of the assessment
|
|
118
|
-
* template.</p>
|
|
84
|
+
* @see {@link DeleteAssessmentTemplateCommand}
|
|
119
85
|
*/
|
|
120
86
|
deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssessmentTemplateCommandOutput>;
|
|
121
87
|
deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, cb: (err: any, data?: DeleteAssessmentTemplateCommandOutput) => void): void;
|
|
122
88
|
deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentTemplateCommandOutput) => void): void;
|
|
123
89
|
/**
|
|
124
|
-
* @
|
|
125
|
-
* <p>Describes the assessment runs that are specified by the ARNs of the assessment
|
|
126
|
-
* runs.</p>
|
|
90
|
+
* @see {@link DescribeAssessmentRunsCommand}
|
|
127
91
|
*/
|
|
128
92
|
describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAssessmentRunsCommandOutput>;
|
|
129
93
|
describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, cb: (err: any, data?: DescribeAssessmentRunsCommandOutput) => void): void;
|
|
130
94
|
describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentRunsCommandOutput) => void): void;
|
|
131
95
|
/**
|
|
132
|
-
* @
|
|
133
|
-
* <p>Describes the assessment targets that are specified by the ARNs of the assessment
|
|
134
|
-
* targets.</p>
|
|
96
|
+
* @see {@link DescribeAssessmentTargetsCommand}
|
|
135
97
|
*/
|
|
136
98
|
describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAssessmentTargetsCommandOutput>;
|
|
137
99
|
describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, cb: (err: any, data?: DescribeAssessmentTargetsCommandOutput) => void): void;
|
|
138
100
|
describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentTargetsCommandOutput) => void): void;
|
|
139
101
|
/**
|
|
140
|
-
* @
|
|
141
|
-
* <p>Describes the assessment templates that are specified by the ARNs of the assessment
|
|
142
|
-
* templates.</p>
|
|
102
|
+
* @see {@link DescribeAssessmentTemplatesCommand}
|
|
143
103
|
*/
|
|
144
104
|
describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAssessmentTemplatesCommandOutput>;
|
|
145
105
|
describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, cb: (err: any, data?: DescribeAssessmentTemplatesCommandOutput) => void): void;
|
|
146
106
|
describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentTemplatesCommandOutput) => void): void;
|
|
147
107
|
/**
|
|
148
|
-
* @
|
|
149
|
-
* <p>Describes the IAM role that enables Amazon Inspector to access your AWS
|
|
150
|
-
* account.</p>
|
|
108
|
+
* @see {@link DescribeCrossAccountAccessRoleCommand}
|
|
151
109
|
*/
|
|
152
110
|
describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCrossAccountAccessRoleCommandOutput>;
|
|
153
111
|
describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, cb: (err: any, data?: DescribeCrossAccountAccessRoleCommandOutput) => void): void;
|
|
154
112
|
describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCrossAccountAccessRoleCommandOutput) => void): void;
|
|
155
113
|
/**
|
|
156
|
-
* @
|
|
157
|
-
* <p>Describes the exclusions that are specified by the exclusions' ARNs.</p>
|
|
114
|
+
* @see {@link DescribeExclusionsCommand}
|
|
158
115
|
*/
|
|
159
116
|
describeExclusions(args: DescribeExclusionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExclusionsCommandOutput>;
|
|
160
117
|
describeExclusions(args: DescribeExclusionsCommandInput, cb: (err: any, data?: DescribeExclusionsCommandOutput) => void): void;
|
|
161
118
|
describeExclusions(args: DescribeExclusionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExclusionsCommandOutput) => void): void;
|
|
162
119
|
/**
|
|
163
|
-
* @
|
|
164
|
-
* <p>Describes the findings that are specified by the ARNs of the findings.</p>
|
|
120
|
+
* @see {@link DescribeFindingsCommand}
|
|
165
121
|
*/
|
|
166
122
|
describeFindings(args: DescribeFindingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFindingsCommandOutput>;
|
|
167
123
|
describeFindings(args: DescribeFindingsCommandInput, cb: (err: any, data?: DescribeFindingsCommandOutput) => void): void;
|
|
168
124
|
describeFindings(args: DescribeFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFindingsCommandOutput) => void): void;
|
|
169
125
|
/**
|
|
170
|
-
* @
|
|
171
|
-
* <p>Describes the resource groups that are specified by the ARNs of the resource
|
|
172
|
-
* groups.</p>
|
|
126
|
+
* @see {@link DescribeResourceGroupsCommand}
|
|
173
127
|
*/
|
|
174
128
|
describeResourceGroups(args: DescribeResourceGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourceGroupsCommandOutput>;
|
|
175
129
|
describeResourceGroups(args: DescribeResourceGroupsCommandInput, cb: (err: any, data?: DescribeResourceGroupsCommandOutput) => void): void;
|
|
176
130
|
describeResourceGroups(args: DescribeResourceGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourceGroupsCommandOutput) => void): void;
|
|
177
131
|
/**
|
|
178
|
-
* @
|
|
179
|
-
* <p>Describes the rules packages that are specified by the ARNs of the rules
|
|
180
|
-
* packages.</p>
|
|
132
|
+
* @see {@link DescribeRulesPackagesCommand}
|
|
181
133
|
*/
|
|
182
134
|
describeRulesPackages(args: DescribeRulesPackagesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRulesPackagesCommandOutput>;
|
|
183
135
|
describeRulesPackages(args: DescribeRulesPackagesCommandInput, cb: (err: any, data?: DescribeRulesPackagesCommandOutput) => void): void;
|
|
184
136
|
describeRulesPackages(args: DescribeRulesPackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRulesPackagesCommandOutput) => void): void;
|
|
185
137
|
/**
|
|
186
|
-
* @
|
|
187
|
-
* <p>Produces an assessment report that includes detailed and comprehensive results of a
|
|
188
|
-
* specified assessment run. </p>
|
|
138
|
+
* @see {@link GetAssessmentReportCommand}
|
|
189
139
|
*/
|
|
190
140
|
getAssessmentReport(args: GetAssessmentReportCommandInput, options?: __HttpHandlerOptions): Promise<GetAssessmentReportCommandOutput>;
|
|
191
141
|
getAssessmentReport(args: GetAssessmentReportCommandInput, cb: (err: any, data?: GetAssessmentReportCommandOutput) => void): void;
|
|
192
142
|
getAssessmentReport(args: GetAssessmentReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssessmentReportCommandOutput) => void): void;
|
|
193
143
|
/**
|
|
194
|
-
* @
|
|
195
|
-
* <p>Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by
|
|
196
|
-
* the preview token. You can obtain the preview token by running the CreateExclusionsPreview
|
|
197
|
-
* API.</p>
|
|
144
|
+
* @see {@link GetExclusionsPreviewCommand}
|
|
198
145
|
*/
|
|
199
146
|
getExclusionsPreview(args: GetExclusionsPreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetExclusionsPreviewCommandOutput>;
|
|
200
147
|
getExclusionsPreview(args: GetExclusionsPreviewCommandInput, cb: (err: any, data?: GetExclusionsPreviewCommandOutput) => void): void;
|
|
201
148
|
getExclusionsPreview(args: GetExclusionsPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExclusionsPreviewCommandOutput) => void): void;
|
|
202
149
|
/**
|
|
203
|
-
* @
|
|
204
|
-
* <p>Information about the data that is collected for the specified assessment
|
|
205
|
-
* run.</p>
|
|
150
|
+
* @see {@link GetTelemetryMetadataCommand}
|
|
206
151
|
*/
|
|
207
152
|
getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, options?: __HttpHandlerOptions): Promise<GetTelemetryMetadataCommandOutput>;
|
|
208
153
|
getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, cb: (err: any, data?: GetTelemetryMetadataCommandOutput) => void): void;
|
|
209
154
|
getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTelemetryMetadataCommandOutput) => void): void;
|
|
210
155
|
/**
|
|
211
|
-
* @
|
|
212
|
-
* <p>Lists the agents of the assessment runs that are specified by the ARNs of the
|
|
213
|
-
* assessment runs.</p>
|
|
156
|
+
* @see {@link ListAssessmentRunAgentsCommand}
|
|
214
157
|
*/
|
|
215
158
|
listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentRunAgentsCommandOutput>;
|
|
216
159
|
listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, cb: (err: any, data?: ListAssessmentRunAgentsCommandOutput) => void): void;
|
|
217
160
|
listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentRunAgentsCommandOutput) => void): void;
|
|
218
161
|
/**
|
|
219
|
-
* @
|
|
220
|
-
* <p>Lists the assessment runs that correspond to the assessment templates that are
|
|
221
|
-
* specified by the ARNs of the assessment templates.</p>
|
|
162
|
+
* @see {@link ListAssessmentRunsCommand}
|
|
222
163
|
*/
|
|
223
164
|
listAssessmentRuns(args: ListAssessmentRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentRunsCommandOutput>;
|
|
224
165
|
listAssessmentRuns(args: ListAssessmentRunsCommandInput, cb: (err: any, data?: ListAssessmentRunsCommandOutput) => void): void;
|
|
225
166
|
listAssessmentRuns(args: ListAssessmentRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentRunsCommandOutput) => void): void;
|
|
226
167
|
/**
|
|
227
|
-
* @
|
|
228
|
-
* <p>Lists the ARNs of the assessment targets within this AWS account. For more
|
|
229
|
-
* information about assessment targets, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_applications.html">Amazon Inspector Assessment
|
|
230
|
-
* Targets</a>.</p>
|
|
168
|
+
* @see {@link ListAssessmentTargetsCommand}
|
|
231
169
|
*/
|
|
232
170
|
listAssessmentTargets(args: ListAssessmentTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentTargetsCommandOutput>;
|
|
233
171
|
listAssessmentTargets(args: ListAssessmentTargetsCommandInput, cb: (err: any, data?: ListAssessmentTargetsCommandOutput) => void): void;
|
|
234
172
|
listAssessmentTargets(args: ListAssessmentTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentTargetsCommandOutput) => void): void;
|
|
235
173
|
/**
|
|
236
|
-
* @
|
|
237
|
-
* <p>Lists the assessment templates that correspond to the assessment targets that are
|
|
238
|
-
* specified by the ARNs of the assessment targets.</p>
|
|
174
|
+
* @see {@link ListAssessmentTemplatesCommand}
|
|
239
175
|
*/
|
|
240
176
|
listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentTemplatesCommandOutput>;
|
|
241
177
|
listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, cb: (err: any, data?: ListAssessmentTemplatesCommandOutput) => void): void;
|
|
242
178
|
listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentTemplatesCommandOutput) => void): void;
|
|
243
179
|
/**
|
|
244
|
-
* @
|
|
245
|
-
* <p>Lists all the event subscriptions for the assessment template that is specified by
|
|
246
|
-
* the ARN of the assessment template. For more information, see <a>SubscribeToEvent</a> and <a>UnsubscribeFromEvent</a>.</p>
|
|
180
|
+
* @see {@link ListEventSubscriptionsCommand}
|
|
247
181
|
*/
|
|
248
182
|
listEventSubscriptions(args: ListEventSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventSubscriptionsCommandOutput>;
|
|
249
183
|
listEventSubscriptions(args: ListEventSubscriptionsCommandInput, cb: (err: any, data?: ListEventSubscriptionsCommandOutput) => void): void;
|
|
250
184
|
listEventSubscriptions(args: ListEventSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventSubscriptionsCommandOutput) => void): void;
|
|
251
185
|
/**
|
|
252
|
-
* @
|
|
253
|
-
* <p>List exclusions that are generated by the assessment run.</p>
|
|
186
|
+
* @see {@link ListExclusionsCommand}
|
|
254
187
|
*/
|
|
255
188
|
listExclusions(args: ListExclusionsCommandInput, options?: __HttpHandlerOptions): Promise<ListExclusionsCommandOutput>;
|
|
256
189
|
listExclusions(args: ListExclusionsCommandInput, cb: (err: any, data?: ListExclusionsCommandOutput) => void): void;
|
|
257
190
|
listExclusions(args: ListExclusionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExclusionsCommandOutput) => void): void;
|
|
258
191
|
/**
|
|
259
|
-
* @
|
|
260
|
-
* <p>Lists findings that are generated by the assessment runs that are specified by the
|
|
261
|
-
* ARNs of the assessment runs.</p>
|
|
192
|
+
* @see {@link ListFindingsCommand}
|
|
262
193
|
*/
|
|
263
194
|
listFindings(args: ListFindingsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingsCommandOutput>;
|
|
264
195
|
listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
265
196
|
listFindings(args: ListFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
266
197
|
/**
|
|
267
|
-
* @
|
|
268
|
-
* <p>Lists all available Amazon Inspector rules packages.</p>
|
|
198
|
+
* @see {@link ListRulesPackagesCommand}
|
|
269
199
|
*/
|
|
270
200
|
listRulesPackages(args: ListRulesPackagesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesPackagesCommandOutput>;
|
|
271
201
|
listRulesPackages(args: ListRulesPackagesCommandInput, cb: (err: any, data?: ListRulesPackagesCommandOutput) => void): void;
|
|
272
202
|
listRulesPackages(args: ListRulesPackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesPackagesCommandOutput) => void): void;
|
|
273
203
|
/**
|
|
274
|
-
* @
|
|
275
|
-
* <p>Lists all tags associated with an assessment template.</p>
|
|
204
|
+
* @see {@link ListTagsForResourceCommand}
|
|
276
205
|
*/
|
|
277
206
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
278
207
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
279
208
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
280
209
|
/**
|
|
281
|
-
* @
|
|
282
|
-
* <p>Previews the agents installed on the EC2 instances that are part of the specified
|
|
283
|
-
* assessment target.</p>
|
|
210
|
+
* @see {@link PreviewAgentsCommand}
|
|
284
211
|
*/
|
|
285
212
|
previewAgents(args: PreviewAgentsCommandInput, options?: __HttpHandlerOptions): Promise<PreviewAgentsCommandOutput>;
|
|
286
213
|
previewAgents(args: PreviewAgentsCommandInput, cb: (err: any, data?: PreviewAgentsCommandOutput) => void): void;
|
|
287
214
|
previewAgents(args: PreviewAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PreviewAgentsCommandOutput) => void): void;
|
|
288
215
|
/**
|
|
289
|
-
* @
|
|
290
|
-
* <p>Registers the IAM role that grants Amazon Inspector access to AWS Services needed to
|
|
291
|
-
* perform security assessments.</p>
|
|
216
|
+
* @see {@link RegisterCrossAccountAccessRoleCommand}
|
|
292
217
|
*/
|
|
293
218
|
registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, options?: __HttpHandlerOptions): Promise<RegisterCrossAccountAccessRoleCommandOutput>;
|
|
294
219
|
registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, cb: (err: any, data?: RegisterCrossAccountAccessRoleCommandOutput) => void): void;
|
|
295
220
|
registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterCrossAccountAccessRoleCommandOutput) => void): void;
|
|
296
221
|
/**
|
|
297
|
-
* @
|
|
298
|
-
* <p>Removes entire attributes (key and value pairs) from the findings that are specified
|
|
299
|
-
* by the ARNs of the findings where an attribute with the specified key exists.</p>
|
|
222
|
+
* @see {@link RemoveAttributesFromFindingsCommand}
|
|
300
223
|
*/
|
|
301
224
|
removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveAttributesFromFindingsCommandOutput>;
|
|
302
225
|
removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, cb: (err: any, data?: RemoveAttributesFromFindingsCommandOutput) => void): void;
|
|
303
226
|
removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveAttributesFromFindingsCommandOutput) => void): void;
|
|
304
227
|
/**
|
|
305
|
-
* @
|
|
306
|
-
* <p>Sets tags (key and value pairs) to the assessment template that is specified by the
|
|
307
|
-
* ARN of the assessment template.</p>
|
|
228
|
+
* @see {@link SetTagsForResourceCommand}
|
|
308
229
|
*/
|
|
309
230
|
setTagsForResource(args: SetTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<SetTagsForResourceCommandOutput>;
|
|
310
231
|
setTagsForResource(args: SetTagsForResourceCommandInput, cb: (err: any, data?: SetTagsForResourceCommandOutput) => void): void;
|
|
311
232
|
setTagsForResource(args: SetTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTagsForResourceCommandOutput) => void): void;
|
|
312
233
|
/**
|
|
313
|
-
* @
|
|
314
|
-
* <p>Starts the assessment run specified by the ARN of the assessment template. For this
|
|
315
|
-
* API to function properly, you must not exceed the limit of running up to 500 concurrent
|
|
316
|
-
* agents per AWS account.</p>
|
|
234
|
+
* @see {@link StartAssessmentRunCommand}
|
|
317
235
|
*/
|
|
318
236
|
startAssessmentRun(args: StartAssessmentRunCommandInput, options?: __HttpHandlerOptions): Promise<StartAssessmentRunCommandOutput>;
|
|
319
237
|
startAssessmentRun(args: StartAssessmentRunCommandInput, cb: (err: any, data?: StartAssessmentRunCommandOutput) => void): void;
|
|
320
238
|
startAssessmentRun(args: StartAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAssessmentRunCommandOutput) => void): void;
|
|
321
239
|
/**
|
|
322
|
-
* @
|
|
323
|
-
* <p>Stops the assessment run that is specified by the ARN of the assessment
|
|
324
|
-
* run.</p>
|
|
240
|
+
* @see {@link StopAssessmentRunCommand}
|
|
325
241
|
*/
|
|
326
242
|
stopAssessmentRun(args: StopAssessmentRunCommandInput, options?: __HttpHandlerOptions): Promise<StopAssessmentRunCommandOutput>;
|
|
327
243
|
stopAssessmentRun(args: StopAssessmentRunCommandInput, cb: (err: any, data?: StopAssessmentRunCommandOutput) => void): void;
|
|
328
244
|
stopAssessmentRun(args: StopAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAssessmentRunCommandOutput) => void): void;
|
|
329
245
|
/**
|
|
330
|
-
* @
|
|
331
|
-
* <p>Enables the process of sending Amazon Simple Notification Service (SNS) notifications
|
|
332
|
-
* about a specified event to a specified SNS topic.</p>
|
|
246
|
+
* @see {@link SubscribeToEventCommand}
|
|
333
247
|
*/
|
|
334
248
|
subscribeToEvent(args: SubscribeToEventCommandInput, options?: __HttpHandlerOptions): Promise<SubscribeToEventCommandOutput>;
|
|
335
249
|
subscribeToEvent(args: SubscribeToEventCommandInput, cb: (err: any, data?: SubscribeToEventCommandOutput) => void): void;
|
|
336
250
|
subscribeToEvent(args: SubscribeToEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeToEventCommandOutput) => void): void;
|
|
337
251
|
/**
|
|
338
|
-
* @
|
|
339
|
-
* <p>Disables the process of sending Amazon Simple Notification Service (SNS)
|
|
340
|
-
* notifications about a specified event to a specified SNS topic.</p>
|
|
252
|
+
* @see {@link UnsubscribeFromEventCommand}
|
|
341
253
|
*/
|
|
342
254
|
unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeFromEventCommandOutput>;
|
|
343
255
|
unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, cb: (err: any, data?: UnsubscribeFromEventCommandOutput) => void): void;
|
|
344
256
|
unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeFromEventCommandOutput) => void): void;
|
|
345
257
|
/**
|
|
346
|
-
* @
|
|
347
|
-
* <p>Updates the assessment target that is specified by the ARN of the assessment
|
|
348
|
-
* target.</p>
|
|
349
|
-
* <p>If resourceGroupArn is not specified, all EC2 instances in the current AWS account
|
|
350
|
-
* and region are included in the assessment target.</p>
|
|
258
|
+
* @see {@link UpdateAssessmentTargetCommand}
|
|
351
259
|
*/
|
|
352
260
|
updateAssessmentTarget(args: UpdateAssessmentTargetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAssessmentTargetCommandOutput>;
|
|
353
261
|
updateAssessmentTarget(args: UpdateAssessmentTargetCommandInput, cb: (err: any, data?: UpdateAssessmentTargetCommandOutput) => void): void;
|
|
354
262
|
updateAssessmentTarget(args: UpdateAssessmentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAssessmentTargetCommandOutput) => void): void;
|
|
355
263
|
}
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
* <fullname>Amazon Inspector</fullname>
|
|
267
|
+
* <p>Amazon Inspector enables you to analyze the behavior of your AWS resources and to
|
|
268
|
+
* identify potential security issues. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html"> Amazon Inspector User
|
|
269
|
+
* Guide</a>.</p>
|
|
270
|
+
*/
|
|
271
|
+
export declare class Inspector extends InspectorClient implements Inspector {
|
|
272
|
+
}
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
UpdateAssessmentTargetCommandOutput,
|
|
149
149
|
} from "./commands/UpdateAssessmentTargetCommand";
|
|
150
150
|
import { InspectorClient } from "./InspectorClient";
|
|
151
|
-
export
|
|
151
|
+
export interface Inspector {
|
|
152
152
|
addAttributesToFindings(
|
|
153
153
|
args: AddAttributesToFindingsCommandInput,
|
|
154
154
|
options?: __HttpHandlerOptions
|
|
@@ -631,3 +631,4 @@ export declare class Inspector extends InspectorClient {
|
|
|
631
631
|
cb: (err: any, data?: UpdateAssessmentTargetCommandOutput) => void
|
|
632
632
|
): void;
|
|
633
633
|
}
|
|
634
|
+
export declare class Inspector extends InspectorClient implements Inspector {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector",
|
|
3
3
|
"description": "AWS SDK for JavaScript Inspector Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|