@aws-sdk/client-guardduty 3.1167.0 → 3.1169.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 (38) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +1773 -398
  3. package/dist-es/GuardDuty.js +4 -0
  4. package/dist-es/commands/ListInvestigationRecordsCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +179 -6
  7. package/dist-es/pagination/ListInvestigationRecordsPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/schemas/schemas_0.js +1481 -391
  10. package/dist-types/GuardDuty.d.ts +14 -0
  11. package/dist-types/GuardDutyClient.d.ts +3 -2
  12. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
  13. package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
  14. package/dist-types/commands/GetCustomDetectionRuleCommand.d.ts +1 -2
  15. package/dist-types/commands/GetInvestigationCommand.d.ts +176 -1
  16. package/dist-types/commands/ListInvestigationRecordsCommand.d.ts +636 -0
  17. package/dist-types/commands/ListInvestigationsCommand.d.ts +16 -1
  18. package/dist-types/commands/index.d.ts +1 -0
  19. package/dist-types/models/enums.d.ts +348 -7
  20. package/dist-types/models/models_0.d.ts +2636 -2988
  21. package/dist-types/models/models_1.d.ts +4123 -927
  22. package/dist-types/pagination/ListInvestigationRecordsPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/schemas/schemas_0.d.ts +94 -1
  25. package/dist-types/ts3.4/GuardDuty.d.ts +24 -0
  26. package/dist-types/ts3.4/GuardDutyClient.d.ts +6 -0
  27. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/GetCustomDetectionRuleCommand.d.ts +1 -2
  30. package/dist-types/ts3.4/commands/ListInvestigationRecordsCommand.d.ts +42 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  32. package/dist-types/ts3.4/models/enums.d.ts +208 -7
  33. package/dist-types/ts3.4/models/models_0.d.ts +276 -336
  34. package/dist-types/ts3.4/models/models_1.d.ts +808 -6
  35. package/dist-types/ts3.4/pagination/ListInvestigationRecordsPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -1
  38. package/package.json +1 -1
@@ -68,6 +68,7 @@ import { ListCustomDetectionRulesCommand, } from "./commands/ListCustomDetection
68
68
  import { ListDetectorsCommand, } from "./commands/ListDetectorsCommand";
69
69
  import { ListFiltersCommand, } from "./commands/ListFiltersCommand";
70
70
  import { ListFindingsCommand, } from "./commands/ListFindingsCommand";
71
+ import { ListInvestigationRecordsCommand, } from "./commands/ListInvestigationRecordsCommand";
71
72
  import { ListInvestigationsCommand, } from "./commands/ListInvestigationsCommand";
72
73
  import { ListInvitationsCommand, } from "./commands/ListInvitationsCommand";
73
74
  import { ListIPSetsCommand, } from "./commands/ListIPSetsCommand";
@@ -112,6 +113,7 @@ import { paginateListCustomDetectionRules } from "./pagination/ListCustomDetecti
112
113
  import { paginateListDetectors } from "./pagination/ListDetectorsPaginator";
113
114
  import { paginateListFilters } from "./pagination/ListFiltersPaginator";
114
115
  import { paginateListFindings } from "./pagination/ListFindingsPaginator";
116
+ import { paginateListInvestigationRecords } from "./pagination/ListInvestigationRecordsPaginator";
115
117
  import { paginateListInvestigations } from "./pagination/ListInvestigationsPaginator";
116
118
  import { paginateListInvitations } from "./pagination/ListInvitationsPaginator";
117
119
  import { paginateListIPSets } from "./pagination/ListIPSetsPaginator";
@@ -192,6 +194,7 @@ const commands = {
192
194
  ListDetectorsCommand,
193
195
  ListFiltersCommand,
194
196
  ListFindingsCommand,
197
+ ListInvestigationRecordsCommand,
195
198
  ListInvestigationsCommand,
196
199
  ListInvitationsCommand,
197
200
  ListIPSetsCommand,
@@ -237,6 +240,7 @@ const paginators = {
237
240
  paginateListDetectors,
238
241
  paginateListFilters,
239
242
  paginateListFindings,
243
+ paginateListInvestigationRecords,
240
244
  paginateListInvestigations,
241
245
  paginateListInvitations,
242
246
  paginateListIPSets,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListInvestigationRecords$ } from "../schemas/schemas_0";
3
+ export class ListInvestigationRecordsCommand extends command(_ep0, _mw0, "ListInvestigationRecords", ListInvestigationRecords$) {
4
+ }
@@ -68,6 +68,7 @@ export * from "./ListDetectorsCommand";
68
68
  export * from "./ListFiltersCommand";
69
69
  export * from "./ListFindingsCommand";
70
70
  export * from "./ListIPSetsCommand";
71
+ export * from "./ListInvestigationRecordsCommand";
71
72
  export * from "./ListInvestigationsCommand";
72
73
  export * from "./ListInvitationsCommand";
73
74
  export * from "./ListMalwareProtectionPlansCommand";
@@ -1,3 +1,34 @@
1
+ export const InvestigationResourceType = {
2
+ EBS_VOLUME: "EBS_VOLUME",
3
+ EC2_INSTANCE: "EC2_INSTANCE",
4
+ EC2_SECURITY_GROUP: "EC2_SECURITY_GROUP",
5
+ ECS_CLUSTER: "ECS_CLUSTER",
6
+ EKS_CLUSTER: "EKS_CLUSTER",
7
+ IAM_ACCESS_KEY: "IAM_ACCESS_KEY",
8
+ IAM_ROLE: "IAM_ROLE",
9
+ IAM_USER: "IAM_USER",
10
+ KUBERNETES_WORKLOAD: "KUBERNETES_WORKLOAD",
11
+ LAMBDA_FUNCTION: "LAMBDA_FUNCTION",
12
+ RDS_DB_USER: "RDS_DB_USER",
13
+ RDS_INSTANCE: "RDS_INSTANCE",
14
+ S3_BUCKET: "S3_BUCKET",
15
+ };
16
+ export const AttackPhaseName = {
17
+ COLLECTION: "Collection",
18
+ COMMAND_AND_CONTROL: "Command and Control",
19
+ CREDENTIAL_ACCESS: "Credential Access",
20
+ DEFENSE_EVASION: "Defense Evasion",
21
+ DISCOVERY: "Discovery",
22
+ EXECUTION: "Execution",
23
+ EXFILTRATION: "Exfiltration",
24
+ IMPACT: "Impact",
25
+ INITIAL_ACCESS: "Initial Access",
26
+ LATERAL_MOVEMENT: "Lateral Movement",
27
+ PERSISTENCE: "Persistence",
28
+ PRIVILEGE_ESCALATION: "Privilege Escalation",
29
+ RECONNAISSANCE: "Reconnaissance",
30
+ RESOURCE_DEVELOPMENT: "Resource Development",
31
+ };
1
32
  export const FreeTrialFeatureResult = {
2
33
  AI_PROTECTION: "AI_PROTECTION",
3
34
  CLOUD_TRAIL: "CLOUD_TRAIL",
@@ -12,6 +43,18 @@ export const FreeTrialFeatureResult = {
12
43
  RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
13
44
  S3_DATA_EVENTS: "S3_DATA_EVENTS",
14
45
  };
46
+ export const RiskLevel = {
47
+ CRITICAL: "Critical",
48
+ HIGH: "High",
49
+ INFO: "Info",
50
+ LOW: "Low",
51
+ MEDIUM: "Medium",
52
+ };
53
+ export const ActionPriority = {
54
+ IMMEDIATE: "IMMEDIATE",
55
+ SHORT_TERM: "SHORT_TERM",
56
+ STRATEGIC: "STRATEGIC",
57
+ };
15
58
  export const ActivityType = {
16
59
  API_CALL: "API_CALL",
17
60
  };
@@ -23,6 +66,34 @@ export const AdminStatus = {
23
66
  DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
24
67
  ENABLED: "ENABLED",
25
68
  };
69
+ export const TimeGranularity = {
70
+ DAY: "DAY",
71
+ MONTH: "MONTH",
72
+ WEEK: "WEEK",
73
+ };
74
+ export const AnalysisType = {
75
+ BASELINE: "BASELINE",
76
+ KUBERNETES_POLICY_VIOLATION: "KUBERNETES_POLICY_VIOLATION",
77
+ PROCESS_LINEAGE: "PROCESS_LINEAGE",
78
+ RDS_THREAT_ASSESSMENT: "RDS_THREAT_ASSESSMENT",
79
+ REPUTATION: "REPUTATION",
80
+ S3_ACTOR_CONTEXT: "S3_ACTOR_CONTEXT",
81
+ S3_EXPOSURE: "S3_EXPOSURE",
82
+ S3_PEN_TEST: "S3_PEN_TEST",
83
+ THREAT_ASSESSMENT: "THREAT_ASSESSMENT",
84
+ TREND: "TREND",
85
+ };
86
+ export const InvestigationIndicatorType = {
87
+ DOMAIN: "DOMAIN",
88
+ FILE: "FILE",
89
+ IP: "IP",
90
+ };
91
+ export const ThreatConfidence = {
92
+ HIGH: "HIGH",
93
+ LOW: "LOW",
94
+ MEDIUM: "MEDIUM",
95
+ VERY_HIGH: "VERY_HIGH",
96
+ };
26
97
  export const ProfileSubtype = {
27
98
  AVERAGE: "AVERAGE",
28
99
  COUNT: "COUNT",
@@ -92,6 +163,11 @@ export const Confidence = {
92
163
  MEDIUM: "Medium",
93
164
  UNKNOWN: "Unknown",
94
165
  };
166
+ export const CorrelationReason = {
167
+ HIGH_SEVERITY: "HIGH_SEVERITY",
168
+ SAME_BEHAVIOR: "SAME_BEHAVIOR",
169
+ SAME_RESOURCE: "SAME_RESOURCE",
170
+ };
95
171
  export const CoverageStatus = {
96
172
  HEALTHY: "HEALTHY",
97
173
  UNHEALTHY: "UNHEALTHY",
@@ -101,6 +177,20 @@ export const ResourceType = {
101
177
  ECS: "ECS",
102
178
  EKS: "EKS",
103
179
  };
180
+ export const Disposition = {
181
+ ACCESS_REVOKED: "Access Revoked",
182
+ BLOCKED: "Blocked",
183
+ DELETED: "Deleted",
184
+ ISOLATED: "Isolated",
185
+ LOGGED: "Logged",
186
+ };
187
+ export const DefenseTactic = {
188
+ DETECT: "Detect",
189
+ EVICT: "Evict",
190
+ HARDEN: "Harden",
191
+ ISOLATE: "Isolate",
192
+ RESTORE: "Restore",
193
+ };
104
194
  export const ManagementType = {
105
195
  AUTO_MANAGED: "AUTO_MANAGED",
106
196
  DISABLED: "DISABLED",
@@ -367,6 +457,21 @@ export const SignalType = {
367
457
  RUNTIME_MONITORING: "RUNTIME_MONITORING",
368
458
  S3_DATA_EVENTS: "S3_DATA_EVENTS",
369
459
  };
460
+ export const InvestigationDetectorFeature = {
461
+ CLOUD_TRAIL: "CLOUD_TRAIL",
462
+ DNS_LOGS: "DNS_LOGS",
463
+ EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
464
+ EC2_AGENT_MANAGEMENT: "EC2_AGENT_MANAGEMENT",
465
+ ECS_FARGATE_AGENT_MANAGEMENT: "ECS_FARGATE_AGENT_MANAGEMENT",
466
+ EKS_ADDON_MANAGEMENT: "EKS_ADDON_MANAGEMENT",
467
+ EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
468
+ EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
469
+ FLOW_LOGS: "FLOW_LOGS",
470
+ LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
471
+ RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
472
+ RUNTIME_MONITORING: "RUNTIME_MONITORING",
473
+ S3_DATA_EVENTS: "S3_DATA_EVENTS",
474
+ };
370
475
  export const DetectionRuleConfigurationStatus = {
371
476
  ACTIVE: "ACTIVE",
372
477
  FAILED: "FAILED",
@@ -420,6 +525,13 @@ export const DetectorStatus = {
420
525
  DISABLED: "DISABLED",
421
526
  ENABLED: "ENABLED",
422
527
  };
528
+ export const DistributionDimension = {
529
+ ARCHIVE: "ARCHIVE",
530
+ ATTACK_VECTOR: "ATTACK_VECTOR",
531
+ RESOURCE: "RESOURCE",
532
+ SEVERITY: "SEVERITY",
533
+ TYPE: "TYPE",
534
+ };
423
535
  export const EbsSnapshotPreservation = {
424
536
  NO_RETENTION: "NO_RETENTION",
425
537
  RETENTION_WITH_FINDING: "RETENTION_WITH_FINDING",
@@ -428,6 +540,28 @@ export const Feedback = {
428
540
  NOT_USEFUL: "NOT_USEFUL",
429
541
  USEFUL: "USEFUL",
430
542
  };
543
+ export const FetchCriterionCondition = {
544
+ EQUALS: "EQUALS",
545
+ GREATER_THAN: "GREATER_THAN",
546
+ GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",
547
+ LESS_THAN: "LESS_THAN",
548
+ LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL",
549
+ NOT_EQUALS: "NOT_EQUALS",
550
+ };
551
+ export const FetchType = {
552
+ CLOUD_TRAIL_RAW_EVENTS: "CLOUD_TRAIL_RAW_EVENTS",
553
+ DETECTOR: "DETECTOR",
554
+ FINDINGS: "FINDINGS",
555
+ FINDING_TYPE_DOCUMENTATION: "FINDING_TYPE_DOCUMENTATION",
556
+ MEMBER_ACCOUNTS: "MEMBER_ACCOUNTS",
557
+ REPUTATION: "REPUTATION",
558
+ RUNTIME_SIGNALS: "RUNTIME_SIGNALS",
559
+ };
560
+ export const FetchVerdict = {
561
+ BENIGN: "BENIGN",
562
+ NEUTRAL: "NEUTRAL",
563
+ THREAT: "THREAT",
564
+ };
431
565
  export const ScanCategory = {
432
566
  FULL_SCAN: "FULL_SCAN",
433
567
  INCREMENTAL_SCAN: "INCREMENTAL_SCAN",
@@ -453,18 +587,27 @@ export const GroupByType = {
453
587
  RESOURCE: "RESOURCE",
454
588
  SEVERITY: "SEVERITY",
455
589
  };
456
- export const RiskLevel = {
457
- CRITICAL: "Critical",
458
- HIGH: "High",
459
- INFO: "Info",
460
- LOW: "Low",
461
- MEDIUM: "Medium",
590
+ export const SummaryFormat = {
591
+ STRING: "STRING",
592
+ STRUCTURED: "STRUCTURED",
593
+ };
594
+ export const InvestigationType = {
595
+ ACCOUNT: "ACCOUNT",
596
+ FINDING: "FINDING",
597
+ ORGANIZATION: "ORGANIZATION",
462
598
  };
463
599
  export const InvestigationStatus = {
464
600
  COMPLETED: "COMPLETED",
465
601
  FAILED: "FAILED",
466
602
  RUNNING: "RUNNING",
467
603
  };
604
+ export const RecommendationCategory = {
605
+ ENABLE_PROTECTION: "ENABLE_PROTECTION",
606
+ FURTHER_INVESTIGATION: "FURTHER_INVESTIGATION",
607
+ HARDENING: "HARDENING",
608
+ MONITORING: "MONITORING",
609
+ SUPPRESSION_RULE: "SUPPRESSION_RULE",
610
+ };
468
611
  export const IpSetStatus = {
469
612
  ACTIVATING: "ACTIVATING",
470
613
  ACTIVE: "ACTIVE",
@@ -578,6 +721,36 @@ export const UsageStatisticType = {
578
721
  TOP_ACCOUNTS_BY_FEATURE: "TOP_ACCOUNTS_BY_FEATURE",
579
722
  TOP_RESOURCES: "TOP_RESOURCES",
580
723
  };
724
+ export const RecordType = {
725
+ ANALYSIS: "ANALYSIS",
726
+ FETCH: "FETCH",
727
+ METADATA: "METADATA",
728
+ OBSERVATION: "OBSERVATION",
729
+ UPDATE: "UPDATE",
730
+ };
731
+ export const ObservationType = {
732
+ ACCOUNT_OVERVIEW: "ACCOUNT_OVERVIEW",
733
+ DETECTION_COVERAGE: "DETECTION_COVERAGE",
734
+ DISTRIBUTION: "DISTRIBUTION",
735
+ FINDING_DETAIL: "FINDING_DETAIL",
736
+ KUBERNETES_ACTIVITY: "KUBERNETES_ACTIVITY",
737
+ MALWARE_SCAN: "MALWARE_SCAN",
738
+ NETWORK_ACTIVITY: "NETWORK_ACTIVITY",
739
+ RDS_LOGIN_ACTIVITY: "RDS_LOGIN_ACTIVITY",
740
+ RECOMMENDATION: "RECOMMENDATION",
741
+ RELATED_FINDINGS: "RELATED_FINDINGS",
742
+ REPRESENTATIVE_RESOURCE: "REPRESENTATIVE_RESOURCE",
743
+ RESOURCE: "RESOURCE",
744
+ RUNTIME_SIGNALS: "RUNTIME_SIGNALS",
745
+ S3_ACTIVITY: "S3_ACTIVITY",
746
+ };
747
+ export const InvestigationFilterCriterionKey = {
748
+ CONFIDENCE: "CONFIDENCE",
749
+ FINDING_ID: "FINDING_ID",
750
+ INVESTIGATION_TYPE: "INVESTIGATION_TYPE",
751
+ RISK_LEVEL: "RISK_LEVEL",
752
+ STATUS: "STATUS",
753
+ };
581
754
  export const InvestigationSortField = {
582
755
  CONFIDENCE: "CONFIDENCE",
583
756
  END_TIME: "END_TIME",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListInvestigationRecordsCommand, } from "../commands/ListInvestigationRecordsCommand";
3
+ import { GuardDutyClient } from "../GuardDutyClient";
4
+ export const paginateListInvestigationRecords = createPaginator(GuardDutyClient, ListInvestigationRecordsCommand, "NextToken", "NextToken", "MaxResults");
@@ -9,6 +9,7 @@ export * from "./ListCustomDetectionRulesPaginator";
9
9
  export * from "./ListDetectorsPaginator";
10
10
  export * from "./ListFiltersPaginator";
11
11
  export * from "./ListFindingsPaginator";
12
+ export * from "./ListInvestigationRecordsPaginator";
12
13
  export * from "./ListInvestigationsPaginator";
13
14
  export * from "./ListInvitationsPaginator";
14
15
  export * from "./ListIPSetsPaginator";