@aws-sdk/client-guardduty 3.1073.0 → 3.1074.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.
Files changed (43) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +80 -1
  3. package/dist-cjs/schemas/schemas_0.js +179 -55
  4. package/dist-es/GuardDuty.js +8 -0
  5. package/dist-es/commands/CreateInvestigationCommand.js +16 -0
  6. package/dist-es/commands/GetInvestigationCommand.js +16 -0
  7. package/dist-es/commands/ListInvestigationsCommand.js +16 -0
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/enums.js +28 -0
  10. package/dist-es/pagination/ListInvestigationsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +167 -55
  13. package/dist-types/GuardDuty.d.ts +28 -0
  14. package/dist-types/GuardDutyClient.d.ts +5 -2
  15. package/dist-types/commands/CreateInvestigationCommand.d.ts +87 -0
  16. package/dist-types/commands/GetInvestigationCommand.d.ts +113 -0
  17. package/dist-types/commands/GetMalwareScanCommand.d.ts +2 -1
  18. package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
  19. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -2
  20. package/dist-types/commands/ListInvestigationsCommand.d.ts +104 -0
  21. package/dist-types/commands/index.d.ts +3 -0
  22. package/dist-types/models/enums.d.ts +68 -0
  23. package/dist-types/models/models_0.d.ts +180 -196
  24. package/dist-types/models/models_1.d.ts +304 -2
  25. package/dist-types/pagination/ListInvestigationsPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +1 -0
  27. package/dist-types/schemas/schemas_0.d.ts +15 -0
  28. package/dist-types/ts3.4/GuardDuty.d.ts +58 -0
  29. package/dist-types/ts3.4/GuardDutyClient.d.ts +18 -0
  30. package/dist-types/ts3.4/commands/CreateInvestigationCommand.d.ts +53 -0
  31. package/dist-types/ts3.4/commands/GetInvestigationCommand.d.ts +52 -0
  32. package/dist-types/ts3.4/commands/GetMalwareScanCommand.d.ts +2 -4
  33. package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +53 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  37. package/dist-types/ts3.4/models/enums.d.ts +35 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +47 -48
  39. package/dist-types/ts3.4/models/models_1.d.ts +82 -2
  40. package/dist-types/ts3.4/pagination/ListInvestigationsPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
  43. package/package.json +3 -3
@@ -4,6 +4,7 @@ import { AcceptInvitationCommand, } from "./commands/AcceptInvitationCommand";
4
4
  import { ArchiveFindingsCommand, } from "./commands/ArchiveFindingsCommand";
5
5
  import { CreateDetectorCommand, } from "./commands/CreateDetectorCommand";
6
6
  import { CreateFilterCommand, } from "./commands/CreateFilterCommand";
7
+ import { CreateInvestigationCommand, } from "./commands/CreateInvestigationCommand";
7
8
  import { CreateIPSetCommand, } from "./commands/CreateIPSetCommand";
8
9
  import { CreateMalwareProtectionPlanCommand, } from "./commands/CreateMalwareProtectionPlanCommand";
9
10
  import { CreateMembersCommand, } from "./commands/CreateMembersCommand";
@@ -37,6 +38,7 @@ import { GetDetectorCommand, } from "./commands/GetDetectorCommand";
37
38
  import { GetFilterCommand } from "./commands/GetFilterCommand";
38
39
  import { GetFindingsCommand, } from "./commands/GetFindingsCommand";
39
40
  import { GetFindingsStatisticsCommand, } from "./commands/GetFindingsStatisticsCommand";
41
+ import { GetInvestigationCommand, } from "./commands/GetInvestigationCommand";
40
42
  import { GetInvitationsCountCommand, } from "./commands/GetInvitationsCountCommand";
41
43
  import { GetIPSetCommand } from "./commands/GetIPSetCommand";
42
44
  import { GetMalwareProtectionPlanCommand, } from "./commands/GetMalwareProtectionPlanCommand";
@@ -56,6 +58,7 @@ import { ListCoverageCommand, } from "./commands/ListCoverageCommand";
56
58
  import { ListDetectorsCommand, } from "./commands/ListDetectorsCommand";
57
59
  import { ListFiltersCommand, } from "./commands/ListFiltersCommand";
58
60
  import { ListFindingsCommand, } from "./commands/ListFindingsCommand";
61
+ import { ListInvestigationsCommand, } from "./commands/ListInvestigationsCommand";
59
62
  import { ListInvitationsCommand, } from "./commands/ListInvitationsCommand";
60
63
  import { ListIPSetsCommand, } from "./commands/ListIPSetsCommand";
61
64
  import { ListMalwareProtectionPlansCommand, } from "./commands/ListMalwareProtectionPlansCommand";
@@ -94,6 +97,7 @@ import { paginateListCoverage } from "./pagination/ListCoveragePaginator";
94
97
  import { paginateListDetectors } from "./pagination/ListDetectorsPaginator";
95
98
  import { paginateListFilters } from "./pagination/ListFiltersPaginator";
96
99
  import { paginateListFindings } from "./pagination/ListFindingsPaginator";
100
+ import { paginateListInvestigations } from "./pagination/ListInvestigationsPaginator";
97
101
  import { paginateListInvitations } from "./pagination/ListInvitationsPaginator";
98
102
  import { paginateListIPSets } from "./pagination/ListIPSetsPaginator";
99
103
  import { paginateListMalwareScans } from "./pagination/ListMalwareScansPaginator";
@@ -109,6 +113,7 @@ const commands = {
109
113
  ArchiveFindingsCommand,
110
114
  CreateDetectorCommand,
111
115
  CreateFilterCommand,
116
+ CreateInvestigationCommand,
112
117
  CreateIPSetCommand,
113
118
  CreateMalwareProtectionPlanCommand,
114
119
  CreateMembersCommand,
@@ -142,6 +147,7 @@ const commands = {
142
147
  GetFilterCommand,
143
148
  GetFindingsCommand,
144
149
  GetFindingsStatisticsCommand,
150
+ GetInvestigationCommand,
145
151
  GetInvitationsCountCommand,
146
152
  GetIPSetCommand,
147
153
  GetMalwareProtectionPlanCommand,
@@ -161,6 +167,7 @@ const commands = {
161
167
  ListDetectorsCommand,
162
168
  ListFiltersCommand,
163
169
  ListFindingsCommand,
170
+ ListInvestigationsCommand,
164
171
  ListInvitationsCommand,
165
172
  ListIPSetsCommand,
166
173
  ListMalwareProtectionPlansCommand,
@@ -200,6 +207,7 @@ const paginators = {
200
207
  paginateListDetectors,
201
208
  paginateListFilters,
202
209
  paginateListFindings,
210
+ paginateListInvestigations,
203
211
  paginateListInvitations,
204
212
  paginateListIPSets,
205
213
  paginateListMalwareScans,
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateInvestigation$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateInvestigationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("GuardDutyAPIService", "CreateInvestigation", {})
13
+ .n("GuardDutyClient", "CreateInvestigationCommand")
14
+ .sc(CreateInvestigation$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetInvestigation$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetInvestigationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("GuardDutyAPIService", "GetInvestigation", {})
13
+ .n("GuardDutyClient", "GetInvestigationCommand")
14
+ .sc(GetInvestigation$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListInvestigations$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListInvestigationsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("GuardDutyAPIService", "ListInvestigations", {})
13
+ .n("GuardDutyClient", "ListInvestigationsCommand")
14
+ .sc(ListInvestigations$)
15
+ .build() {
16
+ }
@@ -4,6 +4,7 @@ export * from "./ArchiveFindingsCommand";
4
4
  export * from "./CreateDetectorCommand";
5
5
  export * from "./CreateFilterCommand";
6
6
  export * from "./CreateIPSetCommand";
7
+ export * from "./CreateInvestigationCommand";
7
8
  export * from "./CreateMalwareProtectionPlanCommand";
8
9
  export * from "./CreateMembersCommand";
9
10
  export * from "./CreatePublishingDestinationCommand";
@@ -37,6 +38,7 @@ export * from "./GetFilterCommand";
37
38
  export * from "./GetFindingsCommand";
38
39
  export * from "./GetFindingsStatisticsCommand";
39
40
  export * from "./GetIPSetCommand";
41
+ export * from "./GetInvestigationCommand";
40
42
  export * from "./GetInvitationsCountCommand";
41
43
  export * from "./GetMalwareProtectionPlanCommand";
42
44
  export * from "./GetMalwareScanCommand";
@@ -56,6 +58,7 @@ export * from "./ListDetectorsCommand";
56
58
  export * from "./ListFiltersCommand";
57
59
  export * from "./ListFindingsCommand";
58
60
  export * from "./ListIPSetsCommand";
61
+ export * from "./ListInvestigationsCommand";
59
62
  export * from "./ListInvitationsCommand";
60
63
  export * from "./ListMalwareProtectionPlansCommand";
61
64
  export * from "./ListMalwareScansCommand";
@@ -33,6 +33,9 @@ export const AutoEnableMembers = {
33
33
  NEW: "NEW",
34
34
  NONE: "NONE",
35
35
  };
36
+ export const CloudProvider = {
37
+ AWS: "AWS",
38
+ };
36
39
  export const DataSourceStatus = {
37
40
  DISABLED: "DISABLED",
38
41
  ENABLED: "ENABLED",
@@ -45,6 +48,12 @@ export const ClusterStatus = {
45
48
  PENDING: "PENDING",
46
49
  UPDATING: "UPDATING",
47
50
  };
51
+ export const Confidence = {
52
+ HIGH: "High",
53
+ LOW: "Low",
54
+ MEDIUM: "Medium",
55
+ UNKNOWN: "Unknown",
56
+ };
48
57
  export const CoverageStatus = {
49
58
  HEALTHY: "HEALTHY",
50
59
  UNHEALTHY: "UNHEALTHY",
@@ -352,6 +361,18 @@ export const GroupByType = {
352
361
  RESOURCE: "RESOURCE",
353
362
  SEVERITY: "SEVERITY",
354
363
  };
364
+ export const RiskLevel = {
365
+ CRITICAL: "Critical",
366
+ HIGH: "High",
367
+ INFO: "Info",
368
+ LOW: "Low",
369
+ MEDIUM: "Medium",
370
+ };
371
+ export const InvestigationStatus = {
372
+ COMPLETED: "COMPLETED",
373
+ FAILED: "FAILED",
374
+ RUNNING: "RUNNING",
375
+ };
355
376
  export const IpSetStatus = {
356
377
  ACTIVATING: "ACTIVATING",
357
378
  ACTIVE: "ACTIVE",
@@ -460,6 +481,13 @@ export const UsageStatisticType = {
460
481
  TOP_ACCOUNTS_BY_FEATURE: "TOP_ACCOUNTS_BY_FEATURE",
461
482
  TOP_RESOURCES: "TOP_RESOURCES",
462
483
  };
484
+ export const InvestigationSortField = {
485
+ CONFIDENCE: "CONFIDENCE",
486
+ END_TIME: "END_TIME",
487
+ RISK_LEVEL: "RISK_LEVEL",
488
+ START_TIME: "START_TIME",
489
+ STATUS: "STATUS",
490
+ };
463
491
  export const ListMalwareScansCriterionKey = {
464
492
  ACCOUNT_ID: "ACCOUNT_ID",
465
493
  GUARDDUTY_FINDING_ID: "GUARDDUTY_FINDING_ID",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListInvestigationsCommand, } from "../commands/ListInvestigationsCommand";
3
+ import { GuardDutyClient } from "../GuardDutyClient";
4
+ export const paginateListInvestigations = createPaginator(GuardDutyClient, ListInvestigationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -6,6 +6,7 @@ export * from "./ListCoveragePaginator";
6
6
  export * from "./ListDetectorsPaginator";
7
7
  export * from "./ListFiltersPaginator";
8
8
  export * from "./ListFindingsPaginator";
9
+ export * from "./ListInvestigationsPaginator";
9
10
  export * from "./ListInvitationsPaginator";
10
11
  export * from "./ListIPSetsPaginator";
11
12
  export * from "./ListMalwareScansPaginator";