@aws-sdk/client-guardduty 3.276.0 → 3.278.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/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/GuardDuty.d.ts +34 -7
- package/dist-types/commands/CreateDetectorCommand.d.ts +3 -0
- package/dist-types/commands/CreateMembersCommand.d.ts +2 -5
- package/dist-types/commands/CreateSampleFindingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeMalwareScansCommand.d.ts +3 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetDetectorCommand.d.ts +3 -0
- package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +3 -0
- package/dist-types/commands/GetMemberDetectorsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateDetectorCommand.d.ts +3 -0
- package/dist-types/commands/UpdateMalwareScanSettingsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateMemberDetectorsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +21 -18
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://guardduty-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://guardduty.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://guardduty-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://guardduty.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://guardduty.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://guardduty-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://guardduty.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://guardduty-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://guardduty.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://guardduty.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -117,6 +117,9 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
117
117
|
* GuardDuty service. To start using GuardDuty, you must create a detector in each Region where
|
|
118
118
|
* you enable the service. You can have only one detector per account per Region. All data
|
|
119
119
|
* sources are enabled in a new detector by default.</p>
|
|
120
|
+
* <p>There might be regional differences because some data sources might not be
|
|
121
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
122
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
120
123
|
*/
|
|
121
124
|
createDetector(args: CreateDetectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateDetectorCommandOutput>;
|
|
122
125
|
createDetector(args: CreateDetectorCommandInput, cb: (err: any, data?: CreateDetectorCommandOutput) => void): void;
|
|
@@ -144,11 +147,8 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
144
147
|
* action will enable GuardDuty in the added member accounts, with the exception of the
|
|
145
148
|
* organization delegated administrator account, which must enable GuardDuty prior to being added as a
|
|
146
149
|
* member.</p>
|
|
147
|
-
* <p>If you are adding accounts by invitation use this action after GuardDuty has
|
|
148
|
-
*
|
|
149
|
-
* <code>Invite
|
|
150
|
-
* Members</code>
|
|
151
|
-
* </a>.</p>
|
|
150
|
+
* <p>If you are adding accounts by invitation, use this action after GuardDuty has bee enabled in
|
|
151
|
+
* potential member accounts and before using <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a>.</p>
|
|
152
152
|
*/
|
|
153
153
|
createMembers(args: CreateMembersCommandInput, options?: __HttpHandlerOptions): Promise<CreateMembersCommandOutput>;
|
|
154
154
|
createMembers(args: CreateMembersCommandInput, cb: (err: any, data?: CreateMembersCommandOutput) => void): void;
|
|
@@ -161,8 +161,8 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
161
161
|
createPublishingDestination(args: CreatePublishingDestinationCommandInput, cb: (err: any, data?: CreatePublishingDestinationCommandOutput) => void): void;
|
|
162
162
|
createPublishingDestination(args: CreatePublishingDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePublishingDestinationCommandOutput) => void): void;
|
|
163
163
|
/**
|
|
164
|
-
* <p>Generates
|
|
165
|
-
* specified for <code>findingTypes</code>, the API generates
|
|
164
|
+
* <p>Generates sample findings of types specified by the list of finding types. If 'NULL' is
|
|
165
|
+
* specified for <code>findingTypes</code>, the API generates sample findings of all supported
|
|
166
166
|
* finding types.</p>
|
|
167
167
|
*/
|
|
168
168
|
createSampleFindings(args: CreateSampleFindingsCommandInput, options?: __HttpHandlerOptions): Promise<CreateSampleFindingsCommandOutput>;
|
|
@@ -231,6 +231,9 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
231
231
|
/**
|
|
232
232
|
* <p>Returns a list of malware scans. Each member account can view the malware scans for their
|
|
233
233
|
* own accounts. An administrator can view the malware scans for all the member accounts.</p>
|
|
234
|
+
* <p>There might be regional differences because some data sources might not be
|
|
235
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
236
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
234
237
|
*/
|
|
235
238
|
describeMalwareScans(args: DescribeMalwareScansCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMalwareScansCommandOutput>;
|
|
236
239
|
describeMalwareScans(args: DescribeMalwareScansCommandInput, cb: (err: any, data?: DescribeMalwareScansCommandOutput) => void): void;
|
|
@@ -238,6 +241,9 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
238
241
|
/**
|
|
239
242
|
* <p>Returns information about the account selected as the delegated administrator for
|
|
240
243
|
* GuardDuty.</p>
|
|
244
|
+
* <p>There might be regional differences because some data sources might not be
|
|
245
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
246
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
241
247
|
*/
|
|
242
248
|
describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOrganizationConfigurationCommandOutput>;
|
|
243
249
|
describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, cb: (err: any, data?: DescribeOrganizationConfigurationCommandOutput) => void): void;
|
|
@@ -292,6 +298,9 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
292
298
|
getAdministratorAccount(args: GetAdministratorAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAdministratorAccountCommandOutput) => void): void;
|
|
293
299
|
/**
|
|
294
300
|
* <p>Retrieves an Amazon GuardDuty detector specified by the detectorId.</p>
|
|
301
|
+
* <p>There might be regional differences because some data sources might not be
|
|
302
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
303
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
295
304
|
*/
|
|
296
305
|
getDetector(args: GetDetectorCommandInput, options?: __HttpHandlerOptions): Promise<GetDetectorCommandOutput>;
|
|
297
306
|
getDetector(args: GetDetectorCommandInput, cb: (err: any, data?: GetDetectorCommandOutput) => void): void;
|
|
@@ -329,6 +338,9 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
329
338
|
getIPSet(args: GetIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
330
339
|
/**
|
|
331
340
|
* <p>Returns the details of the malware scan settings.</p>
|
|
341
|
+
* <p>There might be regional differences because some data sources might not be
|
|
342
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
343
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
332
344
|
*/
|
|
333
345
|
getMalwareScanSettings(args: GetMalwareScanSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetMalwareScanSettingsCommandOutput>;
|
|
334
346
|
getMalwareScanSettings(args: GetMalwareScanSettingsCommandInput, cb: (err: any, data?: GetMalwareScanSettingsCommandOutput) => void): void;
|
|
@@ -344,6 +356,9 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
344
356
|
getMasterAccount(args: GetMasterAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMasterAccountCommandOutput) => void): void;
|
|
345
357
|
/**
|
|
346
358
|
* <p>Describes which data sources are enabled for the member account's detector.</p>
|
|
359
|
+
* <p>There might be regional differences because some data sources might not be
|
|
360
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
361
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
347
362
|
*/
|
|
348
363
|
getMemberDetectors(args: GetMemberDetectorsCommandInput, options?: __HttpHandlerOptions): Promise<GetMemberDetectorsCommandOutput>;
|
|
349
364
|
getMemberDetectors(args: GetMemberDetectorsCommandInput, cb: (err: any, data?: GetMemberDetectorsCommandOutput) => void): void;
|
|
@@ -488,6 +503,9 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
488
503
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
489
504
|
/**
|
|
490
505
|
* <p>Updates the Amazon GuardDuty detector specified by the detectorId.</p>
|
|
506
|
+
* <p>There might be regional differences because some data sources might not be
|
|
507
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
508
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
491
509
|
*/
|
|
492
510
|
updateDetector(args: UpdateDetectorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDetectorCommandOutput>;
|
|
493
511
|
updateDetector(args: UpdateDetectorCommandInput, cb: (err: any, data?: UpdateDetectorCommandOutput) => void): void;
|
|
@@ -512,18 +530,27 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
512
530
|
updateIPSet(args: UpdateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
513
531
|
/**
|
|
514
532
|
* <p>Updates the malware scan settings.</p>
|
|
533
|
+
* <p>There might be regional differences because some data sources might not be
|
|
534
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
535
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
515
536
|
*/
|
|
516
537
|
updateMalwareScanSettings(args: UpdateMalwareScanSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMalwareScanSettingsCommandOutput>;
|
|
517
538
|
updateMalwareScanSettings(args: UpdateMalwareScanSettingsCommandInput, cb: (err: any, data?: UpdateMalwareScanSettingsCommandOutput) => void): void;
|
|
518
539
|
updateMalwareScanSettings(args: UpdateMalwareScanSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMalwareScanSettingsCommandOutput) => void): void;
|
|
519
540
|
/**
|
|
520
541
|
* <p>Contains information on member accounts to be updated.</p>
|
|
542
|
+
* <p>There might be regional differences because some data sources might not be
|
|
543
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
544
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
521
545
|
*/
|
|
522
546
|
updateMemberDetectors(args: UpdateMemberDetectorsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMemberDetectorsCommandOutput>;
|
|
523
547
|
updateMemberDetectors(args: UpdateMemberDetectorsCommandInput, cb: (err: any, data?: UpdateMemberDetectorsCommandOutput) => void): void;
|
|
524
548
|
updateMemberDetectors(args: UpdateMemberDetectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMemberDetectorsCommandOutput) => void): void;
|
|
525
549
|
/**
|
|
526
550
|
* <p>Updates the delegated administrator account with the values provided.</p>
|
|
551
|
+
* <p>There might be regional differences because some data sources might not be
|
|
552
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
553
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
527
554
|
*/
|
|
528
555
|
updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOrganizationConfigurationCommandOutput>;
|
|
529
556
|
updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void): void;
|
|
@@ -12,6 +12,9 @@ export interface CreateDetectorCommandOutput extends CreateDetectorResponse, __M
|
|
|
12
12
|
* GuardDuty service. To start using GuardDuty, you must create a detector in each Region where
|
|
13
13
|
* you enable the service. You can have only one detector per account per Region. All data
|
|
14
14
|
* sources are enabled in a new detector by default.</p>
|
|
15
|
+
* <p>There might be regional differences because some data sources might not be
|
|
16
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
17
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
15
18
|
* @example
|
|
16
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
20
|
* ```javascript
|
|
@@ -15,11 +15,8 @@ export interface CreateMembersCommandOutput extends CreateMembersResponse, __Met
|
|
|
15
15
|
* action will enable GuardDuty in the added member accounts, with the exception of the
|
|
16
16
|
* organization delegated administrator account, which must enable GuardDuty prior to being added as a
|
|
17
17
|
* member.</p>
|
|
18
|
-
* <p>If you are adding accounts by invitation use this action after GuardDuty has
|
|
19
|
-
*
|
|
20
|
-
* <code>Invite
|
|
21
|
-
* Members</code>
|
|
22
|
-
* </a>.</p>
|
|
18
|
+
* <p>If you are adding accounts by invitation, use this action after GuardDuty has bee enabled in
|
|
19
|
+
* potential member accounts and before using <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a>.</p>
|
|
23
20
|
* @example
|
|
24
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
22
|
* ```javascript
|
|
@@ -8,8 +8,8 @@ export interface CreateSampleFindingsCommandInput extends CreateSampleFindingsRe
|
|
|
8
8
|
export interface CreateSampleFindingsCommandOutput extends CreateSampleFindingsResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Generates
|
|
12
|
-
* specified for <code>findingTypes</code>, the API generates
|
|
11
|
+
* <p>Generates sample findings of types specified by the list of finding types. If 'NULL' is
|
|
12
|
+
* specified for <code>findingTypes</code>, the API generates sample findings of all supported
|
|
13
13
|
* finding types.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,6 +10,9 @@ export interface DescribeMalwareScansCommandOutput extends DescribeMalwareScansR
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns a list of malware scans. Each member account can view the malware scans for their
|
|
12
12
|
* own accounts. An administrator can view the malware scans for all the member accounts.</p>
|
|
13
|
+
* <p>There might be regional differences because some data sources might not be
|
|
14
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
15
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
13
16
|
* @example
|
|
14
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
18
|
* ```javascript
|
|
@@ -10,6 +10,9 @@ export interface DescribeOrganizationConfigurationCommandOutput extends Describe
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns information about the account selected as the delegated administrator for
|
|
12
12
|
* GuardDuty.</p>
|
|
13
|
+
* <p>There might be regional differences because some data sources might not be
|
|
14
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
15
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
13
16
|
* @example
|
|
14
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
18
|
* ```javascript
|
|
@@ -9,6 +9,9 @@ export interface GetDetectorCommandOutput extends GetDetectorResponse, __Metadat
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Retrieves an Amazon GuardDuty detector specified by the detectorId.</p>
|
|
12
|
+
* <p>There might be regional differences because some data sources might not be
|
|
13
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
14
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
12
15
|
* @example
|
|
13
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
17
|
* ```javascript
|
|
@@ -9,6 +9,9 @@ export interface GetMalwareScanSettingsCommandOutput extends GetMalwareScanSetti
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns the details of the malware scan settings.</p>
|
|
12
|
+
* <p>There might be regional differences because some data sources might not be
|
|
13
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
14
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
12
15
|
* @example
|
|
13
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
17
|
* ```javascript
|
|
@@ -9,6 +9,9 @@ export interface GetMemberDetectorsCommandOutput extends GetMemberDetectorsRespo
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Describes which data sources are enabled for the member account's detector.</p>
|
|
12
|
+
* <p>There might be regional differences because some data sources might not be
|
|
13
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
14
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
12
15
|
* @example
|
|
13
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
17
|
* ```javascript
|
|
@@ -9,6 +9,9 @@ export interface UpdateDetectorCommandOutput extends UpdateDetectorResponse, __M
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Updates the Amazon GuardDuty detector specified by the detectorId.</p>
|
|
12
|
+
* <p>There might be regional differences because some data sources might not be
|
|
13
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
14
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
12
15
|
* @example
|
|
13
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
17
|
* ```javascript
|
|
@@ -9,6 +9,9 @@ export interface UpdateMalwareScanSettingsCommandOutput extends UpdateMalwareSca
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Updates the malware scan settings.</p>
|
|
12
|
+
* <p>There might be regional differences because some data sources might not be
|
|
13
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
14
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
12
15
|
* @example
|
|
13
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
17
|
* ```javascript
|
|
@@ -9,6 +9,9 @@ export interface UpdateMemberDetectorsCommandOutput extends UpdateMemberDetector
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Contains information on member accounts to be updated.</p>
|
|
12
|
+
* <p>There might be regional differences because some data sources might not be
|
|
13
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
14
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
12
15
|
* @example
|
|
13
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
17
|
* ```javascript
|
|
@@ -9,6 +9,9 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Updates the delegated administrator account with the values provided.</p>
|
|
12
|
+
* <p>There might be regional differences because some data sources might not be
|
|
13
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
14
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
12
15
|
* @example
|
|
13
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
17
|
* ```javascript
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -856,6 +856,9 @@ export interface CreateDetectorRequest {
|
|
|
856
856
|
FindingPublishingFrequency?: FindingPublishingFrequency | string;
|
|
857
857
|
/**
|
|
858
858
|
* <p>Describes which data sources will be enabled for the detector.</p>
|
|
859
|
+
* <p>There might be regional differences because some data sources might not be
|
|
860
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
861
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
859
862
|
*/
|
|
860
863
|
DataSources?: DataSourceConfigurations;
|
|
861
864
|
/**
|
|
@@ -944,8 +947,10 @@ export interface CreateFilterRequest {
|
|
|
944
947
|
*/
|
|
945
948
|
Name: string | undefined;
|
|
946
949
|
/**
|
|
947
|
-
* <p>The description of the filter. Valid
|
|
948
|
-
*
|
|
950
|
+
* <p>The description of the filter. Valid characters include alphanumeric characters, and special
|
|
951
|
+
* characters such as <code>-</code>, <code>.</code>, <code>:</code>, <code>{ }</code>, <code>[ ]</code>,
|
|
952
|
+
* <code>( )</code>, <code>/</code>, <code>\t</code>, <code>\n</code>, <code>\x0B</code>, <code>\f</code>,
|
|
953
|
+
* <code>\r</code>, <code>_</code>, and whitespace.</p>
|
|
949
954
|
*/
|
|
950
955
|
Description?: string;
|
|
951
956
|
/**
|
|
@@ -968,9 +973,6 @@ export interface CreateFilterRequest {
|
|
|
968
973
|
* <p>region</p>
|
|
969
974
|
* </li>
|
|
970
975
|
* <li>
|
|
971
|
-
* <p>confidence</p>
|
|
972
|
-
* </li>
|
|
973
|
-
* <li>
|
|
974
976
|
* <p>id</p>
|
|
975
977
|
* </li>
|
|
976
978
|
* <li>
|
|
@@ -1118,12 +1120,6 @@ export interface CreateFilterRequest {
|
|
|
1118
1120
|
* <p>resource.s3BucketDetails.type</p>
|
|
1119
1121
|
* </li>
|
|
1120
1122
|
* <li>
|
|
1121
|
-
* <p>service.archived</p>
|
|
1122
|
-
* <p>When this attribute is set to TRUE, only archived findings are listed. When it's set
|
|
1123
|
-
* to FALSE, only unarchived findings are listed. When this attribute is not set, all
|
|
1124
|
-
* existing findings are listed.</p>
|
|
1125
|
-
* </li>
|
|
1126
|
-
* <li>
|
|
1127
1123
|
* <p>service.resourceRole</p>
|
|
1128
1124
|
* </li>
|
|
1129
1125
|
* <li>
|
|
@@ -1171,7 +1167,7 @@ export interface CreateIPSetRequest {
|
|
|
1171
1167
|
DetectorId: string | undefined;
|
|
1172
1168
|
/**
|
|
1173
1169
|
* <p>The user-friendly name to identify the IPSet.</p>
|
|
1174
|
-
* <p> Allowed characters are
|
|
1170
|
+
* <p> Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).</p>
|
|
1175
1171
|
*/
|
|
1176
1172
|
Name: string | undefined;
|
|
1177
1173
|
/**
|
|
@@ -1604,7 +1600,8 @@ export declare enum OrderBy {
|
|
|
1604
1600
|
*/
|
|
1605
1601
|
export interface SortCriteria {
|
|
1606
1602
|
/**
|
|
1607
|
-
* <p>Represents the finding attribute
|
|
1603
|
+
* <p>Represents the finding attribute, such as <code>accountId</code>, that sorts the
|
|
1604
|
+
* findings.</p>
|
|
1608
1605
|
*/
|
|
1609
1606
|
AttributeName?: string;
|
|
1610
1607
|
/**
|
|
@@ -1634,7 +1631,9 @@ export interface DescribeMalwareScansRequest {
|
|
|
1634
1631
|
*/
|
|
1635
1632
|
FilterCriteria?: FilterCriteria;
|
|
1636
1633
|
/**
|
|
1637
|
-
* <p>Represents the criteria used for sorting scan entries
|
|
1634
|
+
* <p>Represents the criteria used for sorting scan entries. The <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_SortCriteria.html#guardduty-Type-SortCriteria-attributeName">
|
|
1635
|
+
* <code>attributeName</code>
|
|
1636
|
+
* </a> is required and it must be <code>scanStartTime</code>.</p>
|
|
1638
1637
|
*/
|
|
1639
1638
|
SortCriteria?: SortCriteria;
|
|
1640
1639
|
}
|
|
@@ -1703,7 +1702,7 @@ export declare enum ScanStatus {
|
|
|
1703
1702
|
*/
|
|
1704
1703
|
export interface TriggerDetails {
|
|
1705
1704
|
/**
|
|
1706
|
-
* <p>The ID of the GuardDuty finding that triggered the
|
|
1705
|
+
* <p>The ID of the GuardDuty finding that triggered the malware scan.</p>
|
|
1707
1706
|
*/
|
|
1708
1707
|
GuardDutyFindingId?: string;
|
|
1709
1708
|
/**
|
|
@@ -2646,7 +2645,7 @@ export interface S3BucketDetail {
|
|
|
2646
2645
|
*/
|
|
2647
2646
|
export interface Resource {
|
|
2648
2647
|
/**
|
|
2649
|
-
* <p>The IAM access key details (
|
|
2648
|
+
* <p>The IAM access key details (user information) of a user that engaged in the activity
|
|
2650
2649
|
* that prompted GuardDuty to generate a finding.</p>
|
|
2651
2650
|
*/
|
|
2652
2651
|
AccessKeyDetails?: AccessKeyDetails;
|
|
@@ -3970,6 +3969,9 @@ export interface UpdateDetectorRequest {
|
|
|
3970
3969
|
FindingPublishingFrequency?: FindingPublishingFrequency | string;
|
|
3971
3970
|
/**
|
|
3972
3971
|
* <p>Describes which data sources will be updated.</p>
|
|
3972
|
+
* <p>There might be regional differences because some data sources might not be
|
|
3973
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
3974
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
3973
3975
|
*/
|
|
3974
3976
|
DataSources?: DataSourceConfigurations;
|
|
3975
3977
|
}
|
|
@@ -3986,8 +3988,9 @@ export interface UpdateFilterRequest {
|
|
|
3986
3988
|
*/
|
|
3987
3989
|
FilterName: string | undefined;
|
|
3988
3990
|
/**
|
|
3989
|
-
* <p>The description of the filter. Valid
|
|
3990
|
-
*
|
|
3991
|
+
* <p>The description of the filter. Valid characters include alphanumeric characters, and special
|
|
3992
|
+
* characters such as hyphen, period, colon, underscore, parentheses (<code>{ }</code>, <code>[ ]</code>, and
|
|
3993
|
+
* <code>( )</code>), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.</p>
|
|
3991
3994
|
*/
|
|
3992
3995
|
Description?: string;
|
|
3993
3996
|
/**
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-guardduty",
|
|
3
3
|
"description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.278.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",
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.278.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.272.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.278.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.272.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.272.0",
|
|
30
30
|
"@aws-sdk/middleware-endpoint": "3.272.0",
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.278.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.272.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.272.0",
|
|
34
34
|
"@aws-sdk/middleware-retry": "3.272.0",
|