@aws-sdk/client-guardduty 3.299.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +5 -0
- package/dist-types/commands/AcceptInvitationCommand.d.ts +5 -0
- package/dist-types/commands/ArchiveFindingsCommand.d.ts +6 -0
- package/dist-types/commands/CreateDetectorCommand.d.ts +29 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +37 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +11 -0
- package/dist-types/commands/CreateMembersCommand.d.ts +9 -0
- package/dist-types/commands/CreatePublishingDestinationCommand.d.ts +9 -0
- package/dist-types/commands/CreateSampleFindingsCommand.d.ts +6 -0
- package/dist-types/commands/CreateThreatIntelSetCommand.d.ts +11 -0
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +5 -0
- package/dist-types/commands/DeleteDetectorCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFilterCommand.d.ts +4 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +5 -0
- package/dist-types/commands/DeleteMembersCommand.d.ts +6 -0
- package/dist-types/commands/DeletePublishingDestinationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteThreatIntelSetCommand.d.ts +4 -0
- package/dist-types/commands/DescribeMalwareScansCommand.d.ts +21 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +5 -0
- package/dist-types/commands/DescribePublishingDestinationCommand.d.ts +4 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +6 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +3 -0
- package/dist-types/commands/GetDetectorCommand.d.ts +3 -0
- package/dist-types/commands/GetFilterCommand.d.ts +4 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +10 -0
- package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +32 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +4 -0
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -0
- package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +3 -0
- package/dist-types/commands/GetMasterAccountCommand.d.ts +3 -0
- package/dist-types/commands/GetMemberDetectorsCommand.d.ts +6 -0
- package/dist-types/commands/GetMembersCommand.d.ts +6 -0
- package/dist-types/commands/GetRemainingFreeTrialDaysCommand.d.ts +6 -0
- package/dist-types/commands/GetThreatIntelSetCommand.d.ts +4 -0
- package/dist-types/commands/GetUsageStatisticsCommand.d.ts +21 -0
- package/dist-types/commands/InviteMembersCommand.d.ts +8 -0
- package/dist-types/commands/ListDetectorsCommand.d.ts +4 -0
- package/dist-types/commands/ListFiltersCommand.d.ts +5 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +35 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +5 -0
- package/dist-types/commands/ListInvitationsCommand.d.ts +4 -0
- package/dist-types/commands/ListMembersCommand.d.ts +6 -0
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +4 -0
- package/dist-types/commands/ListPublishingDestinationsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListThreatIntelSetsCommand.d.ts +5 -0
- package/dist-types/commands/StartMonitoringMembersCommand.d.ts +6 -0
- package/dist-types/commands/StopMonitoringMembersCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UnarchiveFindingsCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDetectorCommand.d.ts +26 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +33 -0
- package/dist-types/commands/UpdateFindingsFeedbackCommand.d.ts +8 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +7 -0
- package/dist-types/commands/UpdateMalwareScanSettingsCommand.d.ts +26 -0
- package/dist-types/commands/UpdateMemberDetectorsCommand.d.ts +27 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +28 -0
- package/dist-types/commands/UpdatePublishingDestinationCommand.d.ts +8 -0
- package/dist-types/commands/UpdateThreatIntelSetCommand.d.ts +7 -0
- package/package.json +8 -8
|
@@ -29,6 +29,27 @@ export interface GetUsageStatisticsCommandOutput extends GetUsageStatisticsRespo
|
|
|
29
29
|
* import { GuardDutyClient, GetUsageStatisticsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
30
30
|
* // const { GuardDutyClient, GetUsageStatisticsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
31
31
|
* const client = new GuardDutyClient(config);
|
|
32
|
+
* const input = { // GetUsageStatisticsRequest
|
|
33
|
+
* DetectorId: "STRING_VALUE", // required
|
|
34
|
+
* UsageStatisticType: "SUM_BY_ACCOUNT" || "SUM_BY_DATA_SOURCE" || "SUM_BY_RESOURCE" || "TOP_RESOURCES" || "SUM_BY_FEATURES", // required
|
|
35
|
+
* UsageCriteria: { // UsageCriteria
|
|
36
|
+
* AccountIds: [ // AccountIds
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* DataSources: [ // DataSourceList
|
|
40
|
+
* "FLOW_LOGS" || "CLOUD_TRAIL" || "DNS_LOGS" || "S3_LOGS" || "KUBERNETES_AUDIT_LOGS" || "EC2_MALWARE_SCAN",
|
|
41
|
+
* ],
|
|
42
|
+
* Resources: [ // ResourceList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* Features: [ // UsageFeatureList
|
|
46
|
+
* "FLOW_LOGS" || "CLOUD_TRAIL" || "DNS_LOGS" || "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "LAMBDA_NETWORK_LOGS" || "EKS_RUNTIME_MONITORING",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* Unit: "STRING_VALUE",
|
|
50
|
+
* MaxResults: Number("int"),
|
|
51
|
+
* NextToken: "STRING_VALUE",
|
|
52
|
+
* };
|
|
32
53
|
* const command = new GetUsageStatisticsCommand(input);
|
|
33
54
|
* const response = await client.send(command);
|
|
34
55
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface InviteMembersCommandOutput extends InviteMembersResponse, __Met
|
|
|
28
28
|
* import { GuardDutyClient, InviteMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
29
29
|
* // const { GuardDutyClient, InviteMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
30
30
|
* const client = new GuardDutyClient(config);
|
|
31
|
+
* const input = { // InviteMembersRequest
|
|
32
|
+
* DetectorId: "STRING_VALUE", // required
|
|
33
|
+
* AccountIds: [ // AccountIds // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* DisableEmailNotification: true || false,
|
|
37
|
+
* Message: "STRING_VALUE",
|
|
38
|
+
* };
|
|
31
39
|
* const command = new InviteMembersCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListDetectorsCommandOutput extends ListDetectorsResponse, __Met
|
|
|
26
26
|
* import { GuardDutyClient, ListDetectorsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
27
27
|
* // const { GuardDutyClient, ListDetectorsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
28
28
|
* const client = new GuardDutyClient(config);
|
|
29
|
+
* const input = { // ListDetectorsRequest
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListDetectorsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListFiltersCommandOutput extends ListFiltersResponse, __Metadat
|
|
|
26
26
|
* import { GuardDutyClient, ListFiltersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
27
27
|
* // const { GuardDutyClient, ListFiltersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
28
28
|
* const client = new GuardDutyClient(config);
|
|
29
|
+
* const input = { // ListFiltersRequest
|
|
30
|
+
* DetectorId: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListFiltersCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,41 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
|
|
|
26
26
|
* import { GuardDutyClient, ListFindingsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
27
27
|
* // const { GuardDutyClient, ListFindingsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
28
28
|
* const client = new GuardDutyClient(config);
|
|
29
|
+
* const input = { // ListFindingsRequest
|
|
30
|
+
* DetectorId: "STRING_VALUE", // required
|
|
31
|
+
* FindingCriteria: { // FindingCriteria
|
|
32
|
+
* Criterion: { // Criterion
|
|
33
|
+
* "<keys>": { // Condition
|
|
34
|
+
* Eq: [ // Eq
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* Neq: [ // Neq
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* Gt: Number("int"),
|
|
41
|
+
* Gte: Number("int"),
|
|
42
|
+
* Lt: Number("int"),
|
|
43
|
+
* Lte: Number("int"),
|
|
44
|
+
* Equals: [ // Equals
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* NotEquals: [ // NotEquals
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* GreaterThan: Number("long"),
|
|
51
|
+
* GreaterThanOrEqual: Number("long"),
|
|
52
|
+
* LessThan: Number("long"),
|
|
53
|
+
* LessThanOrEqual: Number("long"),
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* SortCriteria: { // SortCriteria
|
|
58
|
+
* AttributeName: "STRING_VALUE",
|
|
59
|
+
* OrderBy: "ASC" || "DESC",
|
|
60
|
+
* },
|
|
61
|
+
* MaxResults: Number("int"),
|
|
62
|
+
* NextToken: "STRING_VALUE",
|
|
63
|
+
* };
|
|
29
64
|
* const command = new ListFindingsCommand(input);
|
|
30
65
|
* const response = await client.send(command);
|
|
31
66
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListIPSetsCommandOutput extends ListIPSetsResponse, __MetadataB
|
|
|
28
28
|
* import { GuardDutyClient, ListIPSetsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
29
29
|
* // const { GuardDutyClient, ListIPSetsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
30
30
|
* const client = new GuardDutyClient(config);
|
|
31
|
+
* const input = { // ListIPSetsRequest
|
|
32
|
+
* DetectorId: "STRING_VALUE", // required
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListIPSetsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListInvitationsCommandOutput extends ListInvitationsResponse, _
|
|
|
27
27
|
* import { GuardDutyClient, ListInvitationsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
28
28
|
* // const { GuardDutyClient, ListInvitationsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
29
29
|
* const client = new GuardDutyClient(config);
|
|
30
|
+
* const input = { // ListInvitationsRequest
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListInvitationsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
|
|
|
26
26
|
* import { GuardDutyClient, ListMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
27
27
|
* // const { GuardDutyClient, ListMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
28
28
|
* const client = new GuardDutyClient(config);
|
|
29
|
+
* const input = { // ListMembersRequest
|
|
30
|
+
* DetectorId: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* OnlyAssociated: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListMembersCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListOrganizationAdminAccountsCommandOutput extends ListOrganiza
|
|
|
26
26
|
* import { GuardDutyClient, ListOrganizationAdminAccountsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
27
27
|
* // const { GuardDutyClient, ListOrganizationAdminAccountsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
28
28
|
* const client = new GuardDutyClient(config);
|
|
29
|
+
* const input = { // ListOrganizationAdminAccountsRequest
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListOrganizationAdminAccountsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListPublishingDestinationsCommandOutput extends ListPublishingD
|
|
|
27
27
|
* import { GuardDutyClient, ListPublishingDestinationsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
28
28
|
* // const { GuardDutyClient, ListPublishingDestinationsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
29
29
|
* const client = new GuardDutyClient(config);
|
|
30
|
+
* const input = { // ListPublishingDestinationsRequest
|
|
31
|
+
* DetectorId: "STRING_VALUE", // required
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListPublishingDestinationsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
28
28
|
* import { GuardDutyClient, ListTagsForResourceCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
29
29
|
* // const { GuardDutyClient, ListTagsForResourceCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
30
30
|
* const client = new GuardDutyClient(config);
|
|
31
|
+
* const input = { // ListTagsForResourceRequest
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new ListTagsForResourceCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListThreatIntelSetsCommandOutput extends ListThreatIntelSetsRes
|
|
|
28
28
|
* import { GuardDutyClient, ListThreatIntelSetsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
29
29
|
* // const { GuardDutyClient, ListThreatIntelSetsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
30
30
|
* const client = new GuardDutyClient(config);
|
|
31
|
+
* const input = { // ListThreatIntelSetsRequest
|
|
32
|
+
* DetectorId: "STRING_VALUE", // required
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListThreatIntelSetsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface StartMonitoringMembersCommandOutput extends StartMonitoringMemb
|
|
|
28
28
|
* import { GuardDutyClient, StartMonitoringMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
29
29
|
* // const { GuardDutyClient, StartMonitoringMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
30
30
|
* const client = new GuardDutyClient(config);
|
|
31
|
+
* const input = { // StartMonitoringMembersRequest
|
|
32
|
+
* DetectorId: "STRING_VALUE", // required
|
|
33
|
+
* AccountIds: [ // AccountIds // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
31
37
|
* const command = new StartMonitoringMembersCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -30,6 +30,12 @@ export interface StopMonitoringMembersCommandOutput extends StopMonitoringMember
|
|
|
30
30
|
* import { GuardDutyClient, StopMonitoringMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
31
31
|
* // const { GuardDutyClient, StopMonitoringMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
32
32
|
* const client = new GuardDutyClient(config);
|
|
33
|
+
* const input = { // StopMonitoringMembersRequest
|
|
34
|
+
* DetectorId: "STRING_VALUE", // required
|
|
35
|
+
* AccountIds: [ // AccountIds // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
33
39
|
* const command = new StopMonitoringMembersCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { GuardDutyClient, TagResourceCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
27
27
|
* // const { GuardDutyClient, TagResourceCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
28
28
|
* const client = new GuardDutyClient(config);
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* Tags: { // TagMap // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UnarchiveFindingsCommandOutput extends UnarchiveFindingsRespons
|
|
|
26
26
|
* import { GuardDutyClient, UnarchiveFindingsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
27
27
|
* // const { GuardDutyClient, UnarchiveFindingsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
28
28
|
* const client = new GuardDutyClient(config);
|
|
29
|
+
* const input = { // UnarchiveFindingsRequest
|
|
30
|
+
* DetectorId: "STRING_VALUE", // required
|
|
31
|
+
* FindingIds: [ // FindingIds // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UnarchiveFindingsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { GuardDutyClient, UntagResourceCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
27
27
|
* // const { GuardDutyClient, UntagResourceCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
28
28
|
* const client = new GuardDutyClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -29,6 +29,32 @@ export interface UpdateDetectorCommandOutput extends UpdateDetectorResponse, __M
|
|
|
29
29
|
* import { GuardDutyClient, UpdateDetectorCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
30
30
|
* // const { GuardDutyClient, UpdateDetectorCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
31
31
|
* const client = new GuardDutyClient(config);
|
|
32
|
+
* const input = { // UpdateDetectorRequest
|
|
33
|
+
* DetectorId: "STRING_VALUE", // required
|
|
34
|
+
* Enable: true || false,
|
|
35
|
+
* FindingPublishingFrequency: "FIFTEEN_MINUTES" || "ONE_HOUR" || "SIX_HOURS",
|
|
36
|
+
* DataSources: { // DataSourceConfigurations
|
|
37
|
+
* S3Logs: { // S3LogsConfiguration
|
|
38
|
+
* Enable: true || false, // required
|
|
39
|
+
* },
|
|
40
|
+
* Kubernetes: { // KubernetesConfiguration
|
|
41
|
+
* AuditLogs: { // KubernetesAuditLogsConfiguration
|
|
42
|
+
* Enable: true || false, // required
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* MalwareProtection: { // MalwareProtectionConfiguration
|
|
46
|
+
* ScanEc2InstanceWithFindings: { // ScanEc2InstanceWithFindings
|
|
47
|
+
* EbsVolumes: true || false,
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* Features: [ // DetectorFeatureConfigurations
|
|
52
|
+
* { // DetectorFeatureConfiguration
|
|
53
|
+
* Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS",
|
|
54
|
+
* Status: "ENABLED" || "DISABLED",
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* };
|
|
32
58
|
* const command = new UpdateDetectorCommand(input);
|
|
33
59
|
* const response = await client.send(command);
|
|
34
60
|
* ```
|
|
@@ -26,6 +26,39 @@ export interface UpdateFilterCommandOutput extends UpdateFilterResponse, __Metad
|
|
|
26
26
|
* import { GuardDutyClient, UpdateFilterCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
27
27
|
* // const { GuardDutyClient, UpdateFilterCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
28
28
|
* const client = new GuardDutyClient(config);
|
|
29
|
+
* const input = { // UpdateFilterRequest
|
|
30
|
+
* DetectorId: "STRING_VALUE", // required
|
|
31
|
+
* FilterName: "STRING_VALUE", // required
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* Action: "NOOP" || "ARCHIVE",
|
|
34
|
+
* Rank: Number("int"),
|
|
35
|
+
* FindingCriteria: { // FindingCriteria
|
|
36
|
+
* Criterion: { // Criterion
|
|
37
|
+
* "<keys>": { // Condition
|
|
38
|
+
* Eq: [ // Eq
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* Neq: [ // Neq
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* Gt: Number("int"),
|
|
45
|
+
* Gte: Number("int"),
|
|
46
|
+
* Lt: Number("int"),
|
|
47
|
+
* Lte: Number("int"),
|
|
48
|
+
* Equals: [ // Equals
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* NotEquals: [ // NotEquals
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* GreaterThan: Number("long"),
|
|
55
|
+
* GreaterThanOrEqual: Number("long"),
|
|
56
|
+
* LessThan: Number("long"),
|
|
57
|
+
* LessThanOrEqual: Number("long"),
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* };
|
|
29
62
|
* const command = new UpdateFilterCommand(input);
|
|
30
63
|
* const response = await client.send(command);
|
|
31
64
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface UpdateFindingsFeedbackCommandOutput extends UpdateFindingsFeedb
|
|
|
26
26
|
* import { GuardDutyClient, UpdateFindingsFeedbackCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
27
27
|
* // const { GuardDutyClient, UpdateFindingsFeedbackCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
28
28
|
* const client = new GuardDutyClient(config);
|
|
29
|
+
* const input = { // UpdateFindingsFeedbackRequest
|
|
30
|
+
* DetectorId: "STRING_VALUE", // required
|
|
31
|
+
* FindingIds: [ // FindingIds // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* Feedback: "USEFUL" || "NOT_USEFUL", // required
|
|
35
|
+
* Comments: "STRING_VALUE",
|
|
36
|
+
* };
|
|
29
37
|
* const command = new UpdateFindingsFeedbackCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat
|
|
|
26
26
|
* import { GuardDutyClient, UpdateIPSetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
27
27
|
* // const { GuardDutyClient, UpdateIPSetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
28
28
|
* const client = new GuardDutyClient(config);
|
|
29
|
+
* const input = { // UpdateIPSetRequest
|
|
30
|
+
* DetectorId: "STRING_VALUE", // required
|
|
31
|
+
* IpSetId: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE",
|
|
33
|
+
* Location: "STRING_VALUE",
|
|
34
|
+
* Activate: true || false,
|
|
35
|
+
* };
|
|
29
36
|
* const command = new UpdateIPSetCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -29,6 +29,32 @@ export interface UpdateMalwareScanSettingsCommandOutput extends UpdateMalwareSca
|
|
|
29
29
|
* import { GuardDutyClient, UpdateMalwareScanSettingsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
30
30
|
* // const { GuardDutyClient, UpdateMalwareScanSettingsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
31
31
|
* const client = new GuardDutyClient(config);
|
|
32
|
+
* const input = { // UpdateMalwareScanSettingsRequest
|
|
33
|
+
* DetectorId: "STRING_VALUE", // required
|
|
34
|
+
* ScanResourceCriteria: { // ScanResourceCriteria
|
|
35
|
+
* Include: { // ScanCriterion
|
|
36
|
+
* "<keys>": { // ScanCondition
|
|
37
|
+
* MapEquals: [ // MapEquals // required
|
|
38
|
+
* { // ScanConditionPair
|
|
39
|
+
* Key: "STRING_VALUE", // required
|
|
40
|
+
* Value: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* Exclude: {
|
|
46
|
+
* "<keys>": {
|
|
47
|
+
* MapEquals: [ // required
|
|
48
|
+
* {
|
|
49
|
+
* Key: "STRING_VALUE", // required
|
|
50
|
+
* Value: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* EbsSnapshotPreservation: "NO_RETENTION" || "RETENTION_WITH_FINDING",
|
|
57
|
+
* };
|
|
32
58
|
* const command = new UpdateMalwareScanSettingsCommand(input);
|
|
33
59
|
* const response = await client.send(command);
|
|
34
60
|
* ```
|
|
@@ -29,6 +29,33 @@ export interface UpdateMemberDetectorsCommandOutput extends UpdateMemberDetector
|
|
|
29
29
|
* import { GuardDutyClient, UpdateMemberDetectorsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
30
30
|
* // const { GuardDutyClient, UpdateMemberDetectorsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
31
31
|
* const client = new GuardDutyClient(config);
|
|
32
|
+
* const input = { // UpdateMemberDetectorsRequest
|
|
33
|
+
* DetectorId: "STRING_VALUE", // required
|
|
34
|
+
* AccountIds: [ // AccountIds // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* DataSources: { // DataSourceConfigurations
|
|
38
|
+
* S3Logs: { // S3LogsConfiguration
|
|
39
|
+
* Enable: true || false, // required
|
|
40
|
+
* },
|
|
41
|
+
* Kubernetes: { // KubernetesConfiguration
|
|
42
|
+
* AuditLogs: { // KubernetesAuditLogsConfiguration
|
|
43
|
+
* Enable: true || false, // required
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* MalwareProtection: { // MalwareProtectionConfiguration
|
|
47
|
+
* ScanEc2InstanceWithFindings: { // ScanEc2InstanceWithFindings
|
|
48
|
+
* EbsVolumes: true || false,
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* Features: [ // MemberFeaturesConfigurations
|
|
53
|
+
* { // MemberFeaturesConfiguration
|
|
54
|
+
* Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS",
|
|
55
|
+
* Status: "ENABLED" || "DISABLED",
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* };
|
|
32
59
|
* const command = new UpdateMemberDetectorsCommand(input);
|
|
33
60
|
* const response = await client.send(command);
|
|
34
61
|
* ```
|
|
@@ -30,6 +30,34 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
|
|
|
30
30
|
* import { GuardDutyClient, UpdateOrganizationConfigurationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
31
31
|
* // const { GuardDutyClient, UpdateOrganizationConfigurationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
32
32
|
* const client = new GuardDutyClient(config);
|
|
33
|
+
* const input = { // UpdateOrganizationConfigurationRequest
|
|
34
|
+
* DetectorId: "STRING_VALUE", // required
|
|
35
|
+
* AutoEnable: true || false,
|
|
36
|
+
* DataSources: { // OrganizationDataSourceConfigurations
|
|
37
|
+
* S3Logs: { // OrganizationS3LogsConfiguration
|
|
38
|
+
* AutoEnable: true || false, // required
|
|
39
|
+
* },
|
|
40
|
+
* Kubernetes: { // OrganizationKubernetesConfiguration
|
|
41
|
+
* AuditLogs: { // OrganizationKubernetesAuditLogsConfiguration
|
|
42
|
+
* AutoEnable: true || false, // required
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* MalwareProtection: { // OrganizationMalwareProtectionConfiguration
|
|
46
|
+
* ScanEc2InstanceWithFindings: { // OrganizationScanEc2InstanceWithFindings
|
|
47
|
+
* EbsVolumes: { // OrganizationEbsVolumes
|
|
48
|
+
* AutoEnable: true || false,
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* Features: [ // OrganizationFeaturesConfigurations
|
|
54
|
+
* { // OrganizationFeatureConfiguration
|
|
55
|
+
* Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS",
|
|
56
|
+
* AutoEnable: "NEW" || "NONE",
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* AutoEnableOrganizationMembers: "NEW" || "ALL" || "NONE",
|
|
60
|
+
* };
|
|
33
61
|
* const command = new UpdateOrganizationConfigurationCommand(input);
|
|
34
62
|
* const response = await client.send(command);
|
|
35
63
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface UpdatePublishingDestinationCommandOutput extends UpdatePublishi
|
|
|
27
27
|
* import { GuardDutyClient, UpdatePublishingDestinationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
28
28
|
* // const { GuardDutyClient, UpdatePublishingDestinationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
29
29
|
* const client = new GuardDutyClient(config);
|
|
30
|
+
* const input = { // UpdatePublishingDestinationRequest
|
|
31
|
+
* DetectorId: "STRING_VALUE", // required
|
|
32
|
+
* DestinationId: "STRING_VALUE", // required
|
|
33
|
+
* DestinationProperties: { // DestinationProperties
|
|
34
|
+
* DestinationArn: "STRING_VALUE",
|
|
35
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
30
38
|
* const command = new UpdatePublishingDestinationCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface UpdateThreatIntelSetCommandOutput extends UpdateThreatIntelSetR
|
|
|
27
27
|
* import { GuardDutyClient, UpdateThreatIntelSetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
28
28
|
* // const { GuardDutyClient, UpdateThreatIntelSetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
29
29
|
* const client = new GuardDutyClient(config);
|
|
30
|
+
* const input = { // UpdateThreatIntelSetRequest
|
|
31
|
+
* DetectorId: "STRING_VALUE", // required
|
|
32
|
+
* ThreatIntelSetId: "STRING_VALUE", // required
|
|
33
|
+
* Name: "STRING_VALUE",
|
|
34
|
+
* Location: "STRING_VALUE",
|
|
35
|
+
* Activate: true || false,
|
|
36
|
+
* };
|
|
30
37
|
* const command = new UpdateThreatIntelSetCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
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.301.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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|