@aws-sdk/client-guardduty 3.186.0 → 3.188.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 +11 -0
- package/README.md +1 -1
- package/dist-cjs/models/models_0.js +21 -17
- package/dist-cjs/protocols/Aws_restJson1.js +11 -0
- package/dist-es/GuardDuty.js +262 -269
- package/dist-es/GuardDutyClient.js +22 -28
- package/dist-es/commands/AcceptAdministratorInvitationCommand.js +21 -28
- package/dist-es/commands/AcceptInvitationCommand.js +21 -28
- package/dist-es/commands/ArchiveFindingsCommand.js +21 -28
- package/dist-es/commands/CreateDetectorCommand.js +21 -28
- package/dist-es/commands/CreateFilterCommand.js +21 -28
- package/dist-es/commands/CreateIPSetCommand.js +21 -28
- package/dist-es/commands/CreateMembersCommand.js +21 -28
- package/dist-es/commands/CreatePublishingDestinationCommand.js +21 -28
- package/dist-es/commands/CreateSampleFindingsCommand.js +21 -28
- package/dist-es/commands/CreateThreatIntelSetCommand.js +21 -28
- package/dist-es/commands/DeclineInvitationsCommand.js +21 -28
- package/dist-es/commands/DeleteDetectorCommand.js +21 -28
- package/dist-es/commands/DeleteFilterCommand.js +21 -28
- package/dist-es/commands/DeleteIPSetCommand.js +21 -28
- package/dist-es/commands/DeleteInvitationsCommand.js +21 -28
- package/dist-es/commands/DeleteMembersCommand.js +21 -28
- package/dist-es/commands/DeletePublishingDestinationCommand.js +21 -28
- package/dist-es/commands/DeleteThreatIntelSetCommand.js +21 -28
- package/dist-es/commands/DescribeMalwareScansCommand.js +21 -28
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +21 -28
- package/dist-es/commands/DescribePublishingDestinationCommand.js +21 -28
- package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +21 -28
- package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +21 -28
- package/dist-es/commands/DisassociateFromMasterAccountCommand.js +21 -28
- package/dist-es/commands/DisassociateMembersCommand.js +21 -28
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +21 -28
- package/dist-es/commands/GetAdministratorAccountCommand.js +21 -28
- package/dist-es/commands/GetDetectorCommand.js +21 -28
- package/dist-es/commands/GetFilterCommand.js +21 -28
- package/dist-es/commands/GetFindingsCommand.js +21 -28
- package/dist-es/commands/GetFindingsStatisticsCommand.js +21 -28
- package/dist-es/commands/GetIPSetCommand.js +21 -28
- package/dist-es/commands/GetInvitationsCountCommand.js +21 -28
- package/dist-es/commands/GetMalwareScanSettingsCommand.js +21 -28
- package/dist-es/commands/GetMasterAccountCommand.js +21 -28
- package/dist-es/commands/GetMemberDetectorsCommand.js +21 -28
- package/dist-es/commands/GetMembersCommand.js +21 -28
- package/dist-es/commands/GetRemainingFreeTrialDaysCommand.js +21 -28
- package/dist-es/commands/GetThreatIntelSetCommand.js +21 -28
- package/dist-es/commands/GetUsageStatisticsCommand.js +21 -28
- package/dist-es/commands/InviteMembersCommand.js +21 -28
- package/dist-es/commands/ListDetectorsCommand.js +21 -28
- package/dist-es/commands/ListFiltersCommand.js +21 -28
- package/dist-es/commands/ListFindingsCommand.js +21 -28
- package/dist-es/commands/ListIPSetsCommand.js +21 -28
- package/dist-es/commands/ListInvitationsCommand.js +21 -28
- package/dist-es/commands/ListMembersCommand.js +21 -28
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +21 -28
- package/dist-es/commands/ListPublishingDestinationsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListThreatIntelSetsCommand.js +21 -28
- package/dist-es/commands/StartMonitoringMembersCommand.js +21 -28
- package/dist-es/commands/StopMonitoringMembersCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UnarchiveFindingsCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateDetectorCommand.js +21 -28
- package/dist-es/commands/UpdateFilterCommand.js +21 -28
- package/dist-es/commands/UpdateFindingsFeedbackCommand.js +21 -28
- package/dist-es/commands/UpdateIPSetCommand.js +21 -28
- package/dist-es/commands/UpdateMalwareScanSettingsCommand.js +21 -28
- package/dist-es/commands/UpdateMemberDetectorsCommand.js +21 -28
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +21 -28
- package/dist-es/commands/UpdatePublishingDestinationCommand.js +21 -28
- package/dist-es/commands/UpdateThreatIntelSetCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/GuardDutyServiceException.js +5 -10
- package/dist-es/models/models_0.js +800 -284
- package/dist-es/pagination/DescribeMalwareScansPaginator.js +25 -68
- package/dist-es/pagination/GetUsageStatisticsPaginator.js +25 -68
- package/dist-es/pagination/ListDetectorsPaginator.js +25 -68
- package/dist-es/pagination/ListFiltersPaginator.js +25 -68
- package/dist-es/pagination/ListFindingsPaginator.js +25 -68
- package/dist-es/pagination/ListIPSetsPaginator.js +25 -68
- package/dist-es/pagination/ListInvitationsPaginator.js +25 -68
- package/dist-es/pagination/ListMembersPaginator.js +25 -68
- package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +25 -68
- package/dist-es/pagination/ListPublishingDestinationsPaginator.js +25 -68
- package/dist-es/pagination/ListThreatIntelSetsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +4294 -6000
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-types/GuardDuty.d.ts +4 -4
- package/dist-types/GuardDutyClient.d.ts +1 -1
- package/dist-types/commands/DescribeMalwareScansCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateMembersCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +78 -48
- package/dist-types/ts3.4/models/models_0.d.ts +27 -19
- package/package.json +33 -33
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import packageInfo from "../package.json";
|
|
3
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
3
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
@@ -12,15 +11,30 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
|
12
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
12
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
13
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
export const getRuntimeConfig = (config) => {
|
|
15
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
17
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
+
return {
|
|
19
|
+
...clientSharedValues,
|
|
20
|
+
...config,
|
|
21
|
+
runtime: "browser",
|
|
22
|
+
defaultsMode,
|
|
23
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
29
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
30
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
31
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
32
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
33
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
35
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
36
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
37
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
38
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
39
|
+
};
|
|
26
40
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import packageInfo from "../package.json";
|
|
3
2
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
3
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
@@ -15,16 +14,35 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar
|
|
|
15
14
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
15
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
16
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
18
|
-
export
|
|
19
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
export const getRuntimeConfig = (config) => {
|
|
20
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
21
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
22
|
+
return {
|
|
23
|
+
...clientSharedValues,
|
|
24
|
+
...config,
|
|
25
|
+
runtime: "node",
|
|
26
|
+
defaultsMode,
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
34
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ??
|
|
37
|
+
loadNodeConfig({
|
|
38
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
39
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
40
|
+
}),
|
|
41
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
42
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
43
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
46
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
47
|
+
};
|
|
30
48
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
1
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
3
2
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
8
11
|
};
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
2
|
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
|
-
});
|
|
13
|
-
};
|
|
3
|
+
export const getRuntimeConfig = (config) => ({
|
|
4
|
+
apiVersion: "2017-11-28",
|
|
5
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
logger: config?.logger ?? {},
|
|
7
|
+
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
|
+
serviceId: config?.serviceId ?? "GuardDuty",
|
|
9
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
10
|
+
});
|
|
@@ -67,7 +67,7 @@ import { UpdateThreatIntelSetCommandInput, UpdateThreatIntelSetCommandOutput } f
|
|
|
67
67
|
import { GuardDutyClient } from "./GuardDutyClient";
|
|
68
68
|
/**
|
|
69
69
|
* <p>Amazon GuardDuty is a continuous security monitoring service that analyzes and processes
|
|
70
|
-
* the following data sources: VPC
|
|
70
|
+
* the following data sources: VPC flow logs, Amazon Web Services CloudTrail management event logs, CloudTrail S3 data event
|
|
71
71
|
* logs, EKS audit logs, and DNS logs.
|
|
72
72
|
* It uses threat intelligence
|
|
73
73
|
* feeds (such as lists of malicious IPs and domains) and machine learning to identify
|
|
@@ -228,7 +228,8 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
228
228
|
deleteThreatIntelSet(args: DeleteThreatIntelSetCommandInput, cb: (err: any, data?: DeleteThreatIntelSetCommandOutput) => void): void;
|
|
229
229
|
deleteThreatIntelSet(args: DeleteThreatIntelSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteThreatIntelSetCommandOutput) => void): void;
|
|
230
230
|
/**
|
|
231
|
-
* <p>Returns a list of malware scans
|
|
231
|
+
* <p>Returns a list of malware scans. Each member account can view the malware scans for their
|
|
232
|
+
* own accounts. An administrator can view the malware scans for all the member accounts.</p>
|
|
232
233
|
*/
|
|
233
234
|
describeMalwareScans(args: DescribeMalwareScansCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMalwareScansCommandOutput>;
|
|
234
235
|
describeMalwareScans(args: DescribeMalwareScansCommandInput, cb: (err: any, data?: DescribeMalwareScansCommandOutput) => void): void;
|
|
@@ -269,8 +270,7 @@ export declare class GuardDuty extends GuardDutyClient {
|
|
|
269
270
|
disassociateFromMasterAccount(args: DisassociateFromMasterAccountCommandInput, cb: (err: any, data?: DisassociateFromMasterAccountCommandOutput) => void): void;
|
|
270
271
|
disassociateFromMasterAccount(args: DisassociateFromMasterAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateFromMasterAccountCommandOutput) => void): void;
|
|
271
272
|
/**
|
|
272
|
-
* <p>Disassociates GuardDuty member accounts (to the current
|
|
273
|
-
* specified by the account IDs.</p>
|
|
273
|
+
* <p>Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs.</p>
|
|
274
274
|
*/
|
|
275
275
|
disassociateMembers(args: DisassociateMembersCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateMembersCommandOutput>;
|
|
276
276
|
disassociateMembers(args: DisassociateMembersCommandInput, cb: (err: any, data?: DisassociateMembersCommandOutput) => void): void;
|
|
@@ -192,7 +192,7 @@ export interface GuardDutyClientResolvedConfig extends GuardDutyClientResolvedCo
|
|
|
192
192
|
}
|
|
193
193
|
/**
|
|
194
194
|
* <p>Amazon GuardDuty is a continuous security monitoring service that analyzes and processes
|
|
195
|
-
* the following data sources: VPC
|
|
195
|
+
* the following data sources: VPC flow logs, Amazon Web Services CloudTrail management event logs, CloudTrail S3 data event
|
|
196
196
|
* logs, EKS audit logs, and DNS logs.
|
|
197
197
|
* It uses threat intelligence
|
|
198
198
|
* feeds (such as lists of malicious IPs and domains) and machine learning to identify
|
|
@@ -7,7 +7,8 @@ export interface DescribeMalwareScansCommandInput extends DescribeMalwareScansRe
|
|
|
7
7
|
export interface DescribeMalwareScansCommandOutput extends DescribeMalwareScansResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns a list of malware scans
|
|
10
|
+
* <p>Returns a list of malware scans. Each member account can view the malware scans for their
|
|
11
|
+
* own accounts. An administrator can view the malware scans for all the member accounts.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,8 +7,7 @@ export interface DisassociateMembersCommandInput extends DisassociateMembersRequ
|
|
|
7
7
|
export interface DisassociateMembersCommandOutput extends DisassociateMembersResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Disassociates GuardDuty member accounts (to the current
|
|
11
|
-
* specified by the account IDs.</p>
|
|
10
|
+
* <p>Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs.</p>
|
|
12
11
|
* @example
|
|
13
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
13
|
* ```javascript
|
|
@@ -151,7 +151,7 @@ export interface MalwareProtectionDataSourceFreeTrial {
|
|
|
151
151
|
*/
|
|
152
152
|
export interface DataSourcesFreeTrial {
|
|
153
153
|
/**
|
|
154
|
-
* <p>Describes whether any
|
|
154
|
+
* <p>Describes whether any Amazon Web Services CloudTrail management event logs are enabled as data sources.</p>
|
|
155
155
|
*/
|
|
156
156
|
CloudTrail?: DataSourceFreeTrial;
|
|
157
157
|
/**
|
|
@@ -863,11 +863,60 @@ export interface CreateDetectorRequest {
|
|
|
863
863
|
*/
|
|
864
864
|
Tags?: Record<string, string>;
|
|
865
865
|
}
|
|
866
|
+
/**
|
|
867
|
+
* <p>Describes the configuration of scanning EBS volumes as a data source.</p>
|
|
868
|
+
*/
|
|
869
|
+
export interface EbsVolumesResult {
|
|
870
|
+
/**
|
|
871
|
+
* <p>Describes whether scanning EBS volumes is enabled as a data source.</p>
|
|
872
|
+
*/
|
|
873
|
+
Status?: DataSourceStatus | string;
|
|
874
|
+
/**
|
|
875
|
+
* <p>Specifies the reason why scanning EBS volumes (Malware Protection) was not enabled as a data source.</p>
|
|
876
|
+
*/
|
|
877
|
+
Reason?: string;
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* <p>An object that contains information on the status of whether Malware Protection for EC2 instances with findings will be enabled as a data source.</p>
|
|
881
|
+
*/
|
|
882
|
+
export interface ScanEc2InstanceWithFindingsResult {
|
|
883
|
+
/**
|
|
884
|
+
* <p>Describes the configuration of scanning EBS volumes as a data source.</p>
|
|
885
|
+
*/
|
|
886
|
+
EbsVolumes?: EbsVolumesResult;
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* <p>An object that contains information on the status of all Malware Protection data sources.</p>
|
|
890
|
+
*/
|
|
891
|
+
export interface MalwareProtectionConfigurationResult {
|
|
892
|
+
/**
|
|
893
|
+
* <p>Describes the configuration of Malware Protection for EC2 instances with findings.</p>
|
|
894
|
+
*/
|
|
895
|
+
ScanEc2InstanceWithFindings?: ScanEc2InstanceWithFindingsResult;
|
|
896
|
+
/**
|
|
897
|
+
* <p>The GuardDuty Malware Protection service role.</p>
|
|
898
|
+
*/
|
|
899
|
+
ServiceRole?: string;
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* <p>Specifies the names of the data sources that couldn't be enabled.</p>
|
|
903
|
+
*/
|
|
904
|
+
export interface UnprocessedDataSourcesResult {
|
|
905
|
+
/**
|
|
906
|
+
* <p>An object that contains information on the status of all Malware Protection data sources.</p>
|
|
907
|
+
*/
|
|
908
|
+
MalwareProtection?: MalwareProtectionConfigurationResult;
|
|
909
|
+
}
|
|
866
910
|
export interface CreateDetectorResponse {
|
|
867
911
|
/**
|
|
868
912
|
* <p>The unique ID of the created detector.</p>
|
|
869
913
|
*/
|
|
870
914
|
DetectorId?: string;
|
|
915
|
+
/**
|
|
916
|
+
* <p>Specifies the data sources that couldn't be enabled when GuardDuty was enabled for the
|
|
917
|
+
* first time.</p>
|
|
918
|
+
*/
|
|
919
|
+
UnprocessedDataSources?: UnprocessedDataSourcesResult;
|
|
871
920
|
}
|
|
872
921
|
export declare enum FilterAction {
|
|
873
922
|
ARCHIVE = "ARCHIVE",
|
|
@@ -1340,37 +1389,6 @@ export interface KubernetesConfigurationResult {
|
|
|
1340
1389
|
*/
|
|
1341
1390
|
AuditLogs: KubernetesAuditLogsConfigurationResult | undefined;
|
|
1342
1391
|
}
|
|
1343
|
-
/**
|
|
1344
|
-
* <p>Describes the configuration of scanning EBS volumes as a data source.</p>
|
|
1345
|
-
*/
|
|
1346
|
-
export interface EbsVolumesResult {
|
|
1347
|
-
/**
|
|
1348
|
-
* <p>Describes whether scanning EBS volumes is enabled as a data source.</p>
|
|
1349
|
-
*/
|
|
1350
|
-
Status?: DataSourceStatus | string;
|
|
1351
|
-
}
|
|
1352
|
-
/**
|
|
1353
|
-
* <p>An object that contains information on the status of whether Malware Protection for EC2 instances with findings will be enabled as a data source.</p>
|
|
1354
|
-
*/
|
|
1355
|
-
export interface ScanEc2InstanceWithFindingsResult {
|
|
1356
|
-
/**
|
|
1357
|
-
* <p>Describes the configuration of scanning EBS volumes as a data source.</p>
|
|
1358
|
-
*/
|
|
1359
|
-
EbsVolumes?: EbsVolumesResult;
|
|
1360
|
-
}
|
|
1361
|
-
/**
|
|
1362
|
-
* <p>An object that contains information on the status of all Malware Protection data sources.</p>
|
|
1363
|
-
*/
|
|
1364
|
-
export interface MalwareProtectionConfigurationResult {
|
|
1365
|
-
/**
|
|
1366
|
-
* <p>Describes the configuration of Malware Protection for EC2 instances with findings.</p>
|
|
1367
|
-
*/
|
|
1368
|
-
ScanEc2InstanceWithFindings?: ScanEc2InstanceWithFindingsResult;
|
|
1369
|
-
/**
|
|
1370
|
-
* <p>The GuardDuty Malware Protection service role.</p>
|
|
1371
|
-
*/
|
|
1372
|
-
ServiceRole?: string;
|
|
1373
|
-
}
|
|
1374
1392
|
/**
|
|
1375
1393
|
* <p>Describes whether S3 data event logs will be enabled as a data source.</p>
|
|
1376
1394
|
*/
|
|
@@ -1551,7 +1569,10 @@ export interface FilterCondition {
|
|
|
1551
1569
|
LessThan?: number;
|
|
1552
1570
|
}
|
|
1553
1571
|
/**
|
|
1554
|
-
* <p>Represents a condition that when matched will be added to the response of the operation
|
|
1572
|
+
* <p>Represents a condition that when matched will be added to the response of the operation.
|
|
1573
|
+
* Irrespective of using any filter criteria, an administrator account can view the scan
|
|
1574
|
+
* entries for all of its member accounts.
|
|
1575
|
+
* However, each member account can view the scan entries only for their own account.</p>
|
|
1555
1576
|
*/
|
|
1556
1577
|
export interface FilterCriterion {
|
|
1557
1578
|
/**
|
|
@@ -3043,7 +3064,7 @@ export interface GetMalwareScanSettingsResponse {
|
|
|
3043
3064
|
*/
|
|
3044
3065
|
ScanResourceCriteria?: ScanResourceCriteria;
|
|
3045
3066
|
/**
|
|
3046
|
-
* <p>An enum value representing possible snapshot
|
|
3067
|
+
* <p>An enum value representing possible snapshot preservation settings.</p>
|
|
3047
3068
|
*/
|
|
3048
3069
|
EbsSnapshotPreservation?: EbsSnapshotPreservation | string;
|
|
3049
3070
|
}
|
|
@@ -3742,7 +3763,12 @@ export interface ListMembersRequest {
|
|
|
3742
3763
|
NextToken?: string;
|
|
3743
3764
|
/**
|
|
3744
3765
|
* <p>Specifies whether to only return associated members or to return all members (including
|
|
3745
|
-
* members who haven't been invited yet or have been disassociated)
|
|
3766
|
+
* members who haven't been invited yet or have been disassociated).
|
|
3767
|
+
* Member accounts must have been previously associated with the GuardDuty administrator account using <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html">
|
|
3768
|
+
* <code>Create
|
|
3769
|
+
* Members</code>
|
|
3770
|
+
* </a>.
|
|
3771
|
+
* </p>
|
|
3746
3772
|
*/
|
|
3747
3773
|
OnlyAssociated?: string;
|
|
3748
3774
|
}
|
|
@@ -4036,7 +4062,7 @@ export interface UpdateMalwareScanSettingsRequest {
|
|
|
4036
4062
|
*/
|
|
4037
4063
|
ScanResourceCriteria?: ScanResourceCriteria;
|
|
4038
4064
|
/**
|
|
4039
|
-
* <p>An enum value representing possible snapshot
|
|
4065
|
+
* <p>An enum value representing possible snapshot preservation settings.</p>
|
|
4040
4066
|
*/
|
|
4041
4067
|
EbsSnapshotPreservation?: EbsSnapshotPreservation | string;
|
|
4042
4068
|
}
|
|
@@ -4394,6 +4420,22 @@ export declare const DataSourceConfigurationsFilterSensitiveLog: (obj: DataSourc
|
|
|
4394
4420
|
* @internal
|
|
4395
4421
|
*/
|
|
4396
4422
|
export declare const CreateDetectorRequestFilterSensitiveLog: (obj: CreateDetectorRequest) => any;
|
|
4423
|
+
/**
|
|
4424
|
+
* @internal
|
|
4425
|
+
*/
|
|
4426
|
+
export declare const EbsVolumesResultFilterSensitiveLog: (obj: EbsVolumesResult) => any;
|
|
4427
|
+
/**
|
|
4428
|
+
* @internal
|
|
4429
|
+
*/
|
|
4430
|
+
export declare const ScanEc2InstanceWithFindingsResultFilterSensitiveLog: (obj: ScanEc2InstanceWithFindingsResult) => any;
|
|
4431
|
+
/**
|
|
4432
|
+
* @internal
|
|
4433
|
+
*/
|
|
4434
|
+
export declare const MalwareProtectionConfigurationResultFilterSensitiveLog: (obj: MalwareProtectionConfigurationResult) => any;
|
|
4435
|
+
/**
|
|
4436
|
+
* @internal
|
|
4437
|
+
*/
|
|
4438
|
+
export declare const UnprocessedDataSourcesResultFilterSensitiveLog: (obj: UnprocessedDataSourcesResult) => any;
|
|
4397
4439
|
/**
|
|
4398
4440
|
* @internal
|
|
4399
4441
|
*/
|
|
@@ -4474,18 +4516,6 @@ export declare const KubernetesAuditLogsConfigurationResultFilterSensitiveLog: (
|
|
|
4474
4516
|
* @internal
|
|
4475
4517
|
*/
|
|
4476
4518
|
export declare const KubernetesConfigurationResultFilterSensitiveLog: (obj: KubernetesConfigurationResult) => any;
|
|
4477
|
-
/**
|
|
4478
|
-
* @internal
|
|
4479
|
-
*/
|
|
4480
|
-
export declare const EbsVolumesResultFilterSensitiveLog: (obj: EbsVolumesResult) => any;
|
|
4481
|
-
/**
|
|
4482
|
-
* @internal
|
|
4483
|
-
*/
|
|
4484
|
-
export declare const ScanEc2InstanceWithFindingsResultFilterSensitiveLog: (obj: ScanEc2InstanceWithFindingsResult) => any;
|
|
4485
|
-
/**
|
|
4486
|
-
* @internal
|
|
4487
|
-
*/
|
|
4488
|
-
export declare const MalwareProtectionConfigurationResultFilterSensitiveLog: (obj: MalwareProtectionConfigurationResult) => any;
|
|
4489
4519
|
/**
|
|
4490
4520
|
* @internal
|
|
4491
4521
|
*/
|
|
@@ -264,8 +264,23 @@ export interface CreateDetectorRequest {
|
|
|
264
264
|
DataSources?: DataSourceConfigurations;
|
|
265
265
|
Tags?: Record<string, string>;
|
|
266
266
|
}
|
|
267
|
+
export interface EbsVolumesResult {
|
|
268
|
+
Status?: DataSourceStatus | string;
|
|
269
|
+
Reason?: string;
|
|
270
|
+
}
|
|
271
|
+
export interface ScanEc2InstanceWithFindingsResult {
|
|
272
|
+
EbsVolumes?: EbsVolumesResult;
|
|
273
|
+
}
|
|
274
|
+
export interface MalwareProtectionConfigurationResult {
|
|
275
|
+
ScanEc2InstanceWithFindings?: ScanEc2InstanceWithFindingsResult;
|
|
276
|
+
ServiceRole?: string;
|
|
277
|
+
}
|
|
278
|
+
export interface UnprocessedDataSourcesResult {
|
|
279
|
+
MalwareProtection?: MalwareProtectionConfigurationResult;
|
|
280
|
+
}
|
|
267
281
|
export interface CreateDetectorResponse {
|
|
268
282
|
DetectorId?: string;
|
|
283
|
+
UnprocessedDataSources?: UnprocessedDataSourcesResult;
|
|
269
284
|
}
|
|
270
285
|
export declare enum FilterAction {
|
|
271
286
|
ARCHIVE = "ARCHIVE",
|
|
@@ -387,16 +402,6 @@ export interface KubernetesAuditLogsConfigurationResult {
|
|
|
387
402
|
export interface KubernetesConfigurationResult {
|
|
388
403
|
AuditLogs: KubernetesAuditLogsConfigurationResult | undefined;
|
|
389
404
|
}
|
|
390
|
-
export interface EbsVolumesResult {
|
|
391
|
-
Status?: DataSourceStatus | string;
|
|
392
|
-
}
|
|
393
|
-
export interface ScanEc2InstanceWithFindingsResult {
|
|
394
|
-
EbsVolumes?: EbsVolumesResult;
|
|
395
|
-
}
|
|
396
|
-
export interface MalwareProtectionConfigurationResult {
|
|
397
|
-
ScanEc2InstanceWithFindings?: ScanEc2InstanceWithFindingsResult;
|
|
398
|
-
ServiceRole?: string;
|
|
399
|
-
}
|
|
400
405
|
export interface S3LogsConfigurationResult {
|
|
401
406
|
Status: DataSourceStatus | string | undefined;
|
|
402
407
|
}
|
|
@@ -1404,6 +1409,18 @@ export declare const DataSourceConfigurationsFilterSensitiveLog: (
|
|
|
1404
1409
|
export declare const CreateDetectorRequestFilterSensitiveLog: (
|
|
1405
1410
|
obj: CreateDetectorRequest
|
|
1406
1411
|
) => any;
|
|
1412
|
+
export declare const EbsVolumesResultFilterSensitiveLog: (
|
|
1413
|
+
obj: EbsVolumesResult
|
|
1414
|
+
) => any;
|
|
1415
|
+
export declare const ScanEc2InstanceWithFindingsResultFilterSensitiveLog: (
|
|
1416
|
+
obj: ScanEc2InstanceWithFindingsResult
|
|
1417
|
+
) => any;
|
|
1418
|
+
export declare const MalwareProtectionConfigurationResultFilterSensitiveLog: (
|
|
1419
|
+
obj: MalwareProtectionConfigurationResult
|
|
1420
|
+
) => any;
|
|
1421
|
+
export declare const UnprocessedDataSourcesResultFilterSensitiveLog: (
|
|
1422
|
+
obj: UnprocessedDataSourcesResult
|
|
1423
|
+
) => any;
|
|
1407
1424
|
export declare const CreateDetectorResponseFilterSensitiveLog: (
|
|
1408
1425
|
obj: CreateDetectorResponse
|
|
1409
1426
|
) => any;
|
|
@@ -1464,15 +1481,6 @@ export declare const KubernetesAuditLogsConfigurationResultFilterSensitiveLog: (
|
|
|
1464
1481
|
export declare const KubernetesConfigurationResultFilterSensitiveLog: (
|
|
1465
1482
|
obj: KubernetesConfigurationResult
|
|
1466
1483
|
) => any;
|
|
1467
|
-
export declare const EbsVolumesResultFilterSensitiveLog: (
|
|
1468
|
-
obj: EbsVolumesResult
|
|
1469
|
-
) => any;
|
|
1470
|
-
export declare const ScanEc2InstanceWithFindingsResultFilterSensitiveLog: (
|
|
1471
|
-
obj: ScanEc2InstanceWithFindingsResult
|
|
1472
|
-
) => any;
|
|
1473
|
-
export declare const MalwareProtectionConfigurationResultFilterSensitiveLog: (
|
|
1474
|
-
obj: MalwareProtectionConfigurationResult
|
|
1475
|
-
) => any;
|
|
1476
1484
|
export declare const S3LogsConfigurationResultFilterSensitiveLog: (
|
|
1477
1485
|
obj: S3LogsConfigurationResult
|
|
1478
1486
|
) => any;
|
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.188.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",
|
|
@@ -19,42 +19,42 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
52
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.188.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.188.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.188.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.188.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.188.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.188.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.188.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.188.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.188.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.188.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.188.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.188.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.188.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.188.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.188.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.188.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.188.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.188.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.188.0",
|
|
41
|
+
"@aws-sdk/types": "3.188.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.188.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.188.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.188.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.188.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.188.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.188.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.188.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.188.0",
|
|
53
53
|
"tslib": "^2.3.1",
|
|
54
54
|
"uuid": "^8.3.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
57
|
+
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
58
58
|
"@tsconfig/recommended": "1.0.1",
|
|
59
59
|
"@types/node": "^12.7.5",
|
|
60
60
|
"@types/uuid": "^8.3.0",
|