@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
@@ -1,3 +1,37 @@
1
+ export declare const InvestigationResourceType: {
2
+ readonly EBS_VOLUME: "EBS_VOLUME";
3
+ readonly EC2_INSTANCE: "EC2_INSTANCE";
4
+ readonly EC2_SECURITY_GROUP: "EC2_SECURITY_GROUP";
5
+ readonly ECS_CLUSTER: "ECS_CLUSTER";
6
+ readonly EKS_CLUSTER: "EKS_CLUSTER";
7
+ readonly IAM_ACCESS_KEY: "IAM_ACCESS_KEY";
8
+ readonly IAM_ROLE: "IAM_ROLE";
9
+ readonly IAM_USER: "IAM_USER";
10
+ readonly KUBERNETES_WORKLOAD: "KUBERNETES_WORKLOAD";
11
+ readonly LAMBDA_FUNCTION: "LAMBDA_FUNCTION";
12
+ readonly RDS_DB_USER: "RDS_DB_USER";
13
+ readonly RDS_INSTANCE: "RDS_INSTANCE";
14
+ readonly S3_BUCKET: "S3_BUCKET";
15
+ };
16
+ export type InvestigationResourceType =
17
+ (typeof InvestigationResourceType)[keyof typeof InvestigationResourceType];
18
+ export declare const AttackPhaseName: {
19
+ readonly COLLECTION: "Collection";
20
+ readonly COMMAND_AND_CONTROL: "Command and Control";
21
+ readonly CREDENTIAL_ACCESS: "Credential Access";
22
+ readonly DEFENSE_EVASION: "Defense Evasion";
23
+ readonly DISCOVERY: "Discovery";
24
+ readonly EXECUTION: "Execution";
25
+ readonly EXFILTRATION: "Exfiltration";
26
+ readonly IMPACT: "Impact";
27
+ readonly INITIAL_ACCESS: "Initial Access";
28
+ readonly LATERAL_MOVEMENT: "Lateral Movement";
29
+ readonly PERSISTENCE: "Persistence";
30
+ readonly PRIVILEGE_ESCALATION: "Privilege Escalation";
31
+ readonly RECONNAISSANCE: "Reconnaissance";
32
+ readonly RESOURCE_DEVELOPMENT: "Resource Development";
33
+ };
34
+ export type AttackPhaseName = (typeof AttackPhaseName)[keyof typeof AttackPhaseName];
1
35
  export declare const FreeTrialFeatureResult: {
2
36
  readonly AI_PROTECTION: "AI_PROTECTION";
3
37
  readonly CLOUD_TRAIL: "CLOUD_TRAIL";
@@ -14,6 +48,20 @@ export declare const FreeTrialFeatureResult: {
14
48
  };
15
49
  export type FreeTrialFeatureResult =
16
50
  (typeof FreeTrialFeatureResult)[keyof typeof FreeTrialFeatureResult];
51
+ export declare const RiskLevel: {
52
+ readonly CRITICAL: "Critical";
53
+ readonly HIGH: "High";
54
+ readonly INFO: "Info";
55
+ readonly LOW: "Low";
56
+ readonly MEDIUM: "Medium";
57
+ };
58
+ export type RiskLevel = (typeof RiskLevel)[keyof typeof RiskLevel];
59
+ export declare const ActionPriority: {
60
+ readonly IMMEDIATE: "IMMEDIATE";
61
+ readonly SHORT_TERM: "SHORT_TERM";
62
+ readonly STRATEGIC: "STRATEGIC";
63
+ };
64
+ export type ActionPriority = (typeof ActionPriority)[keyof typeof ActionPriority];
17
65
  export declare const ActivityType: {
18
66
  readonly API_CALL: "API_CALL";
19
67
  };
@@ -28,6 +76,39 @@ export declare const AdminStatus: {
28
76
  readonly ENABLED: "ENABLED";
29
77
  };
30
78
  export type AdminStatus = (typeof AdminStatus)[keyof typeof AdminStatus];
79
+ export declare const TimeGranularity: {
80
+ readonly DAY: "DAY";
81
+ readonly MONTH: "MONTH";
82
+ readonly WEEK: "WEEK";
83
+ };
84
+ export type TimeGranularity = (typeof TimeGranularity)[keyof typeof TimeGranularity];
85
+ export declare const AnalysisType: {
86
+ readonly BASELINE: "BASELINE";
87
+ readonly KUBERNETES_POLICY_VIOLATION: "KUBERNETES_POLICY_VIOLATION";
88
+ readonly PROCESS_LINEAGE: "PROCESS_LINEAGE";
89
+ readonly RDS_THREAT_ASSESSMENT: "RDS_THREAT_ASSESSMENT";
90
+ readonly REPUTATION: "REPUTATION";
91
+ readonly S3_ACTOR_CONTEXT: "S3_ACTOR_CONTEXT";
92
+ readonly S3_EXPOSURE: "S3_EXPOSURE";
93
+ readonly S3_PEN_TEST: "S3_PEN_TEST";
94
+ readonly THREAT_ASSESSMENT: "THREAT_ASSESSMENT";
95
+ readonly TREND: "TREND";
96
+ };
97
+ export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
98
+ export declare const InvestigationIndicatorType: {
99
+ readonly DOMAIN: "DOMAIN";
100
+ readonly FILE: "FILE";
101
+ readonly IP: "IP";
102
+ };
103
+ export type InvestigationIndicatorType =
104
+ (typeof InvestigationIndicatorType)[keyof typeof InvestigationIndicatorType];
105
+ export declare const ThreatConfidence: {
106
+ readonly HIGH: "HIGH";
107
+ readonly LOW: "LOW";
108
+ readonly MEDIUM: "MEDIUM";
109
+ readonly VERY_HIGH: "VERY_HIGH";
110
+ };
111
+ export type ThreatConfidence = (typeof ThreatConfidence)[keyof typeof ThreatConfidence];
31
112
  export declare const ProfileSubtype: {
32
113
  readonly AVERAGE: "AVERAGE";
33
114
  readonly COUNT: "COUNT";
@@ -112,6 +193,12 @@ export declare const Confidence: {
112
193
  readonly UNKNOWN: "Unknown";
113
194
  };
114
195
  export type Confidence = (typeof Confidence)[keyof typeof Confidence];
196
+ export declare const CorrelationReason: {
197
+ readonly HIGH_SEVERITY: "HIGH_SEVERITY";
198
+ readonly SAME_BEHAVIOR: "SAME_BEHAVIOR";
199
+ readonly SAME_RESOURCE: "SAME_RESOURCE";
200
+ };
201
+ export type CorrelationReason = (typeof CorrelationReason)[keyof typeof CorrelationReason];
115
202
  export declare const CoverageStatus: {
116
203
  readonly HEALTHY: "HEALTHY";
117
204
  readonly UNHEALTHY: "UNHEALTHY";
@@ -123,6 +210,22 @@ export declare const ResourceType: {
123
210
  readonly EKS: "EKS";
124
211
  };
125
212
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
213
+ export declare const Disposition: {
214
+ readonly ACCESS_REVOKED: "Access Revoked";
215
+ readonly BLOCKED: "Blocked";
216
+ readonly DELETED: "Deleted";
217
+ readonly ISOLATED: "Isolated";
218
+ readonly LOGGED: "Logged";
219
+ };
220
+ export type Disposition = (typeof Disposition)[keyof typeof Disposition];
221
+ export declare const DefenseTactic: {
222
+ readonly DETECT: "Detect";
223
+ readonly EVICT: "Evict";
224
+ readonly HARDEN: "Harden";
225
+ readonly ISOLATE: "Isolate";
226
+ readonly RESTORE: "Restore";
227
+ };
228
+ export type DefenseTactic = (typeof DefenseTactic)[keyof typeof DefenseTactic];
126
229
  export declare const ManagementType: {
127
230
  readonly AUTO_MANAGED: "AUTO_MANAGED";
128
231
  readonly DISABLED: "DISABLED";
@@ -436,6 +539,23 @@ export declare const SignalType: {
436
539
  readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
437
540
  };
438
541
  export type SignalType = (typeof SignalType)[keyof typeof SignalType];
542
+ export declare const InvestigationDetectorFeature: {
543
+ readonly CLOUD_TRAIL: "CLOUD_TRAIL";
544
+ readonly DNS_LOGS: "DNS_LOGS";
545
+ readonly EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION";
546
+ readonly EC2_AGENT_MANAGEMENT: "EC2_AGENT_MANAGEMENT";
547
+ readonly ECS_FARGATE_AGENT_MANAGEMENT: "ECS_FARGATE_AGENT_MANAGEMENT";
548
+ readonly EKS_ADDON_MANAGEMENT: "EKS_ADDON_MANAGEMENT";
549
+ readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
550
+ readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
551
+ readonly FLOW_LOGS: "FLOW_LOGS";
552
+ readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
553
+ readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
554
+ readonly RUNTIME_MONITORING: "RUNTIME_MONITORING";
555
+ readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
556
+ };
557
+ export type InvestigationDetectorFeature =
558
+ (typeof InvestigationDetectorFeature)[keyof typeof InvestigationDetectorFeature];
439
559
  export declare const DetectionRuleConfigurationStatus: {
440
560
  readonly ACTIVE: "ACTIVE";
441
561
  readonly FAILED: "FAILED";
@@ -503,6 +623,15 @@ export declare const DetectorStatus: {
503
623
  readonly ENABLED: "ENABLED";
504
624
  };
505
625
  export type DetectorStatus = (typeof DetectorStatus)[keyof typeof DetectorStatus];
626
+ export declare const DistributionDimension: {
627
+ readonly ARCHIVE: "ARCHIVE";
628
+ readonly ATTACK_VECTOR: "ATTACK_VECTOR";
629
+ readonly RESOURCE: "RESOURCE";
630
+ readonly SEVERITY: "SEVERITY";
631
+ readonly TYPE: "TYPE";
632
+ };
633
+ export type DistributionDimension =
634
+ (typeof DistributionDimension)[keyof typeof DistributionDimension];
506
635
  export declare const EbsSnapshotPreservation: {
507
636
  readonly NO_RETENTION: "NO_RETENTION";
508
637
  readonly RETENTION_WITH_FINDING: "RETENTION_WITH_FINDING";
@@ -514,6 +643,32 @@ export declare const Feedback: {
514
643
  readonly USEFUL: "USEFUL";
515
644
  };
516
645
  export type Feedback = (typeof Feedback)[keyof typeof Feedback];
646
+ export declare const FetchCriterionCondition: {
647
+ readonly EQUALS: "EQUALS";
648
+ readonly GREATER_THAN: "GREATER_THAN";
649
+ readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
650
+ readonly LESS_THAN: "LESS_THAN";
651
+ readonly LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL";
652
+ readonly NOT_EQUALS: "NOT_EQUALS";
653
+ };
654
+ export type FetchCriterionCondition =
655
+ (typeof FetchCriterionCondition)[keyof typeof FetchCriterionCondition];
656
+ export declare const FetchType: {
657
+ readonly CLOUD_TRAIL_RAW_EVENTS: "CLOUD_TRAIL_RAW_EVENTS";
658
+ readonly DETECTOR: "DETECTOR";
659
+ readonly FINDINGS: "FINDINGS";
660
+ readonly FINDING_TYPE_DOCUMENTATION: "FINDING_TYPE_DOCUMENTATION";
661
+ readonly MEMBER_ACCOUNTS: "MEMBER_ACCOUNTS";
662
+ readonly REPUTATION: "REPUTATION";
663
+ readonly RUNTIME_SIGNALS: "RUNTIME_SIGNALS";
664
+ };
665
+ export type FetchType = (typeof FetchType)[keyof typeof FetchType];
666
+ export declare const FetchVerdict: {
667
+ readonly BENIGN: "BENIGN";
668
+ readonly NEUTRAL: "NEUTRAL";
669
+ readonly THREAT: "THREAT";
670
+ };
671
+ export type FetchVerdict = (typeof FetchVerdict)[keyof typeof FetchVerdict];
517
672
  export declare const ScanCategory: {
518
673
  readonly FULL_SCAN: "FULL_SCAN";
519
674
  readonly INCREMENTAL_SCAN: "INCREMENTAL_SCAN";
@@ -546,20 +701,32 @@ export declare const GroupByType: {
546
701
  readonly SEVERITY: "SEVERITY";
547
702
  };
548
703
  export type GroupByType = (typeof GroupByType)[keyof typeof GroupByType];
549
- export declare const RiskLevel: {
550
- readonly CRITICAL: "Critical";
551
- readonly HIGH: "High";
552
- readonly INFO: "Info";
553
- readonly LOW: "Low";
554
- readonly MEDIUM: "Medium";
704
+ export declare const SummaryFormat: {
705
+ readonly STRING: "STRING";
706
+ readonly STRUCTURED: "STRUCTURED";
555
707
  };
556
- export type RiskLevel = (typeof RiskLevel)[keyof typeof RiskLevel];
708
+ export type SummaryFormat = (typeof SummaryFormat)[keyof typeof SummaryFormat];
709
+ export declare const InvestigationType: {
710
+ readonly ACCOUNT: "ACCOUNT";
711
+ readonly FINDING: "FINDING";
712
+ readonly ORGANIZATION: "ORGANIZATION";
713
+ };
714
+ export type InvestigationType = (typeof InvestigationType)[keyof typeof InvestigationType];
557
715
  export declare const InvestigationStatus: {
558
716
  readonly COMPLETED: "COMPLETED";
559
717
  readonly FAILED: "FAILED";
560
718
  readonly RUNNING: "RUNNING";
561
719
  };
562
720
  export type InvestigationStatus = (typeof InvestigationStatus)[keyof typeof InvestigationStatus];
721
+ export declare const RecommendationCategory: {
722
+ readonly ENABLE_PROTECTION: "ENABLE_PROTECTION";
723
+ readonly FURTHER_INVESTIGATION: "FURTHER_INVESTIGATION";
724
+ readonly HARDENING: "HARDENING";
725
+ readonly MONITORING: "MONITORING";
726
+ readonly SUPPRESSION_RULE: "SUPPRESSION_RULE";
727
+ };
728
+ export type RecommendationCategory =
729
+ (typeof RecommendationCategory)[keyof typeof RecommendationCategory];
563
730
  export declare const IpSetStatus: {
564
731
  readonly ACTIVATING: "ACTIVATING";
565
732
  readonly ACTIVE: "ACTIVE";
@@ -690,6 +857,40 @@ export declare const UsageStatisticType: {
690
857
  readonly TOP_RESOURCES: "TOP_RESOURCES";
691
858
  };
692
859
  export type UsageStatisticType = (typeof UsageStatisticType)[keyof typeof UsageStatisticType];
860
+ export declare const RecordType: {
861
+ readonly ANALYSIS: "ANALYSIS";
862
+ readonly FETCH: "FETCH";
863
+ readonly METADATA: "METADATA";
864
+ readonly OBSERVATION: "OBSERVATION";
865
+ readonly UPDATE: "UPDATE";
866
+ };
867
+ export type RecordType = (typeof RecordType)[keyof typeof RecordType];
868
+ export declare const ObservationType: {
869
+ readonly ACCOUNT_OVERVIEW: "ACCOUNT_OVERVIEW";
870
+ readonly DETECTION_COVERAGE: "DETECTION_COVERAGE";
871
+ readonly DISTRIBUTION: "DISTRIBUTION";
872
+ readonly FINDING_DETAIL: "FINDING_DETAIL";
873
+ readonly KUBERNETES_ACTIVITY: "KUBERNETES_ACTIVITY";
874
+ readonly MALWARE_SCAN: "MALWARE_SCAN";
875
+ readonly NETWORK_ACTIVITY: "NETWORK_ACTIVITY";
876
+ readonly RDS_LOGIN_ACTIVITY: "RDS_LOGIN_ACTIVITY";
877
+ readonly RECOMMENDATION: "RECOMMENDATION";
878
+ readonly RELATED_FINDINGS: "RELATED_FINDINGS";
879
+ readonly REPRESENTATIVE_RESOURCE: "REPRESENTATIVE_RESOURCE";
880
+ readonly RESOURCE: "RESOURCE";
881
+ readonly RUNTIME_SIGNALS: "RUNTIME_SIGNALS";
882
+ readonly S3_ACTIVITY: "S3_ACTIVITY";
883
+ };
884
+ export type ObservationType = (typeof ObservationType)[keyof typeof ObservationType];
885
+ export declare const InvestigationFilterCriterionKey: {
886
+ readonly CONFIDENCE: "CONFIDENCE";
887
+ readonly FINDING_ID: "FINDING_ID";
888
+ readonly INVESTIGATION_TYPE: "INVESTIGATION_TYPE";
889
+ readonly RISK_LEVEL: "RISK_LEVEL";
890
+ readonly STATUS: "STATUS";
891
+ };
892
+ export type InvestigationFilterCriterionKey =
893
+ (typeof InvestigationFilterCriterionKey)[keyof typeof InvestigationFilterCriterionKey];
693
894
  export declare const InvestigationSortField: {
694
895
  readonly CONFIDENCE: "CONFIDENCE";
695
896
  readonly END_TIME: "END_TIME";