@aws-sdk/client-guardduty 3.1122.0 → 3.1124.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 (85) hide show
  1. package/README.md +84 -0
  2. package/dist-cjs/index.js +558 -96
  3. package/dist-es/GuardDuty.js +30 -0
  4. package/dist-es/commands/CreateCustomDetectionRuleAssociationCommand.js +4 -0
  5. package/dist-es/commands/CreateCustomDetectionRuleOrgConfigurationCommand.js +4 -0
  6. package/dist-es/commands/DeleteCustomDetectionRuleAssociationCommand.js +4 -0
  7. package/dist-es/commands/DeleteCustomDetectionRuleOrgConfigurationCommand.js +4 -0
  8. package/dist-es/commands/GetCustomDetectionRuleAssociationCommand.js +4 -0
  9. package/dist-es/commands/GetCustomDetectionRuleCommand.js +4 -0
  10. package/dist-es/commands/GetCustomDetectionRuleOrgConfigurationCommand.js +4 -0
  11. package/dist-es/commands/ListCustomDetectionRuleAssociationsCommand.js +4 -0
  12. package/dist-es/commands/ListCustomDetectionRuleOrgConfigurationsCommand.js +4 -0
  13. package/dist-es/commands/ListCustomDetectionRulesCommand.js +4 -0
  14. package/dist-es/commands/UpdateCustomDetectionRuleAssociationCommand.js +4 -0
  15. package/dist-es/commands/UpdateCustomDetectionRuleOrgConfigurationCommand.js +4 -0
  16. package/dist-es/commands/index.js +12 -0
  17. package/dist-es/models/enums.js +37 -0
  18. package/dist-es/pagination/ListCustomDetectionRuleAssociationsPaginator.js +4 -0
  19. package/dist-es/pagination/ListCustomDetectionRuleOrgConfigurationsPaginator.js +4 -0
  20. package/dist-es/pagination/ListCustomDetectionRulesPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +3 -0
  22. package/dist-es/schemas/schemas_0.js +398 -95
  23. package/dist-types/GuardDuty.d.ts +108 -0
  24. package/dist-types/GuardDutyClient.d.ts +14 -2
  25. package/dist-types/commands/CreateCustomDetectionRuleAssociationCommand.d.ts +100 -0
  26. package/dist-types/commands/CreateCustomDetectionRuleOrgConfigurationCommand.d.ts +92 -0
  27. package/dist-types/commands/DeleteCustomDetectionRuleAssociationCommand.d.ts +82 -0
  28. package/dist-types/commands/DeleteCustomDetectionRuleOrgConfigurationCommand.d.ts +85 -0
  29. package/dist-types/commands/GetCustomDetectionRuleAssociationCommand.d.ts +96 -0
  30. package/dist-types/commands/GetCustomDetectionRuleCommand.d.ts +100 -0
  31. package/dist-types/commands/GetCustomDetectionRuleOrgConfigurationCommand.d.ts +98 -0
  32. package/dist-types/commands/GetFilterCommand.d.ts +1 -1
  33. package/dist-types/commands/GetFindingsCommand.d.ts +1 -1
  34. package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +1 -1
  35. package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
  36. package/dist-types/commands/GetInvestigationCommand.d.ts +1 -1
  37. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
  38. package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
  39. package/dist-types/commands/GetMalwareScanCommand.d.ts +1 -2
  40. package/dist-types/commands/ListCustomDetectionRuleAssociationsCommand.d.ts +94 -0
  41. package/dist-types/commands/ListCustomDetectionRuleOrgConfigurationsCommand.d.ts +93 -0
  42. package/dist-types/commands/ListCustomDetectionRulesCommand.d.ts +107 -0
  43. package/dist-types/commands/UpdateCustomDetectionRuleAssociationCommand.d.ts +86 -0
  44. package/dist-types/commands/UpdateCustomDetectionRuleOrgConfigurationCommand.d.ts +91 -0
  45. package/dist-types/commands/index.d.ts +12 -0
  46. package/dist-types/models/enums.d.ts +101 -0
  47. package/dist-types/models/models_0.d.ts +388 -379
  48. package/dist-types/models/models_1.d.ts +701 -2
  49. package/dist-types/pagination/ListCustomDetectionRuleAssociationsPaginator.d.ts +7 -0
  50. package/dist-types/pagination/ListCustomDetectionRuleOrgConfigurationsPaginator.d.ts +7 -0
  51. package/dist-types/pagination/ListCustomDetectionRulesPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +3 -0
  53. package/dist-types/schemas/schemas_0.d.ts +44 -0
  54. package/dist-types/ts3.4/GuardDuty.d.ts +228 -0
  55. package/dist-types/ts3.4/GuardDutyClient.d.ts +72 -0
  56. package/dist-types/ts3.4/commands/CreateCustomDetectionRuleAssociationCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/CreateCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/DeleteCustomDetectionRuleAssociationCommand.d.ts +42 -0
  59. package/dist-types/ts3.4/commands/DeleteCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/GetCustomDetectionRuleAssociationCommand.d.ts +42 -0
  61. package/dist-types/ts3.4/commands/GetCustomDetectionRuleCommand.d.ts +39 -0
  62. package/dist-types/ts3.4/commands/GetCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/GetInvestigationCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/GetMalwareScanCommand.d.ts +1 -2
  71. package/dist-types/ts3.4/commands/ListCustomDetectionRuleAssociationsCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/ListCustomDetectionRuleOrgConfigurationsCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/ListCustomDetectionRulesCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/UpdateCustomDetectionRuleAssociationCommand.d.ts +42 -0
  75. package/dist-types/ts3.4/commands/UpdateCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  77. package/dist-types/ts3.4/models/enums.d.ts +49 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +118 -117
  79. package/dist-types/ts3.4/models/models_1.d.ts +187 -1
  80. package/dist-types/ts3.4/pagination/ListCustomDetectionRuleAssociationsPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/ListCustomDetectionRuleOrgConfigurationsPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/ListCustomDetectionRulesPaginator.d.ts +11 -0
  83. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  84. package/dist-types/ts3.4/schemas/schemas_0.d.ts +44 -0
  85. package/package.json +2 -2
@@ -38,6 +38,11 @@ export declare const ProfileType: {
38
38
  readonly VOLUME: "VOLUME";
39
39
  };
40
40
  export type ProfileType = (typeof ProfileType)[keyof typeof ProfileType];
41
+ export declare const AssociationMode: {
42
+ readonly DRY_RUN: "DRY_RUN";
43
+ readonly LIVE: "LIVE";
44
+ };
45
+ export type AssociationMode = (typeof AssociationMode)[keyof typeof AssociationMode];
41
46
  export declare const AutoEnableMembers: {
42
47
  readonly ALL: "ALL";
43
48
  readonly NEW: "NEW";
@@ -415,6 +420,42 @@ export declare const SignalType: {
415
420
  readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
416
421
  };
417
422
  export type SignalType = (typeof SignalType)[keyof typeof SignalType];
423
+ export declare const DetectionRuleConfigurationStatus: {
424
+ readonly ACTIVE: "ACTIVE";
425
+ readonly FAILED: "FAILED";
426
+ readonly PROCESSING: "PROCESSING";
427
+ };
428
+ export type DetectionRuleConfigurationStatus =
429
+ (typeof DetectionRuleConfigurationStatus)[keyof typeof DetectionRuleConfigurationStatus];
430
+ export declare const DetectionRuleDataSource: {
431
+ readonly CLOUDTRAIL_MANAGEMENT_EVENT: "CloudTrailManagementEvent";
432
+ };
433
+ export type DetectionRuleDataSource =
434
+ (typeof DetectionRuleDataSource)[keyof typeof DetectionRuleDataSource];
435
+ export declare const DetectionRuleFilterCondition: {
436
+ readonly CONTAINS: "CONTAINS";
437
+ readonly EQUALS: "EQUALS";
438
+ };
439
+ export type DetectionRuleFilterCondition =
440
+ (typeof DetectionRuleFilterCondition)[keyof typeof DetectionRuleFilterCondition];
441
+ export declare const FilterFieldName: {
442
+ readonly DATA_SOURCE: "dataSource";
443
+ readonly DESCRIPTION: "description";
444
+ readonly NAME: "name";
445
+ readonly SERVICE: "service";
446
+ readonly SEVERITY: "severity";
447
+ readonly TACTIC: "tactic";
448
+ readonly TECHNIQUE: "technique";
449
+ };
450
+ export type FilterFieldName = (typeof FilterFieldName)[keyof typeof FilterFieldName];
451
+ export declare const DetectionRuleSeverity: {
452
+ readonly CRITICAL: "CRITICAL";
453
+ readonly HIGH: "HIGH";
454
+ readonly LOW: "LOW";
455
+ readonly MEDIUM: "MEDIUM";
456
+ };
457
+ export type DetectionRuleSeverity =
458
+ (typeof DetectionRuleSeverity)[keyof typeof DetectionRuleSeverity];
418
459
  export declare const DetectionSource: {
419
460
  readonly AMAZON: "AMAZON";
420
461
  readonly BITDEFENDER: "BITDEFENDER";
@@ -468,6 +509,14 @@ export declare const FindingStatisticType: {
468
509
  readonly COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY";
469
510
  };
470
511
  export type FindingStatisticType = (typeof FindingStatisticType)[keyof typeof FindingStatisticType];
512
+ export declare const RuleLanguage: {
513
+ readonly SQL: "SQL";
514
+ };
515
+ export type RuleLanguage = (typeof RuleLanguage)[keyof typeof RuleLanguage];
516
+ export declare const RuleSchema: {
517
+ readonly CLOUD_TRAIL: "CloudTrail";
518
+ };
519
+ export type RuleSchema = (typeof RuleSchema)[keyof typeof RuleSchema];
471
520
  export declare const GroupByType: {
472
521
  readonly ACCOUNT: "ACCOUNT";
473
522
  readonly DATE: "DATE";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AdminStatus,
3
+ AssociationMode,
3
4
  AutoEnableMembers,
4
5
  CloudProvider,
5
6
  ClusterStatus,
6
- Confidence,
7
7
  ConfidenceLevel,
8
8
  ContentPolicyFilterAction,
9
9
  ContentPolicyFilterType,
@@ -14,6 +14,10 @@ import {
14
14
  CriterionKey,
15
15
  DataSourceStatus,
16
16
  DestinationType,
17
+ DetectionRuleConfigurationStatus,
18
+ DetectionRuleDataSource,
19
+ DetectionRuleFilterCondition,
20
+ DetectionRuleSeverity,
17
21
  DetectorFeature,
18
22
  DetectorFeatureResult,
19
23
  DetectorStatus,
@@ -22,19 +26,15 @@ import {
22
26
  FeatureAdditionalConfiguration,
23
27
  FeatureStatus,
24
28
  FilterAction,
29
+ FilterFieldName,
25
30
  FindingPublishingFrequency,
26
31
  FindingResourceType,
27
- FindingStatisticType,
28
32
  FreeTrialFeatureResult,
29
- GroupByType,
30
33
  GuardrailAction,
31
34
  GuardrailSource,
32
35
  IndicatorType,
33
- InvestigationStatus,
34
36
  IpSetFormat,
35
- IpSetStatus,
36
37
  KubernetesResourcesTypes,
37
- MalwareProtectionPlanStatus,
38
38
  MalwareProtectionPlanTaggingActionStatus,
39
39
  MalwareProtectionScanType,
40
40
  ManagementType,
@@ -51,7 +51,8 @@ import {
51
51
  PublicBucketRestrictBehavior,
52
52
  PublishingStatus,
53
53
  ResourceType,
54
- RiskLevel,
54
+ RuleLanguage,
55
+ RuleSchema,
55
56
  ScanCategory,
56
57
  ScanResult,
57
58
  ScanStatus,
@@ -337,6 +338,25 @@ export interface ArchiveFindingsRequest {
337
338
  FindingIds: string[] | undefined;
338
339
  }
339
340
  export interface ArchiveFindingsResponse {}
341
+ export interface AssociationDetail {
342
+ AssociationId: string | undefined;
343
+ Arn: string | undefined;
344
+ RuleId: string | undefined;
345
+ AccountId: string | undefined;
346
+ Mode: AssociationMode | undefined;
347
+ CreatedAt: Date | undefined;
348
+ UpdatedAt: Date | undefined;
349
+ ExpiresAt?: Date | undefined;
350
+ }
351
+ export interface AssociationSummary {
352
+ AssociationId: string | undefined;
353
+ Arn: string | undefined;
354
+ RuleId: string | undefined;
355
+ Mode: AssociationMode | undefined;
356
+ CreatedAt: Date | undefined;
357
+ UpdatedAt: Date | undefined;
358
+ ExpiresAt?: Date | undefined;
359
+ }
340
360
  export interface AutonomousSystem {
341
361
  Name: string | undefined;
342
362
  Number: number | undefined;
@@ -483,6 +503,23 @@ export interface CoverageStatistics {
483
503
  CountByResourceType?: Partial<Record<ResourceType, number>> | undefined;
484
504
  CountByCoverageStatus?: Partial<Record<CoverageStatus, number>> | undefined;
485
505
  }
506
+ export interface CreateCustomDetectionRuleAssociationRequest {
507
+ RuleId: string | undefined;
508
+ Mode: AssociationMode | undefined;
509
+ ClientToken?: string | undefined;
510
+ Tags?: Record<string, string> | undefined;
511
+ }
512
+ export interface CreateCustomDetectionRuleAssociationResponse {
513
+ RuleAssociation: AssociationDetail | undefined;
514
+ }
515
+ export interface CreateCustomDetectionRuleOrgConfigurationRequest {
516
+ RuleId: string | undefined;
517
+ Mode: AssociationMode | undefined;
518
+ IncludeAccountIds?: string[] | undefined;
519
+ ExcludeAccountIds?: string[] | undefined;
520
+ ClientToken?: string | undefined;
521
+ }
522
+ export interface CreateCustomDetectionRuleOrgConfigurationResponse {}
486
523
  export interface KubernetesAuditLogsConfiguration {
487
524
  Enable: boolean | undefined;
488
525
  }
@@ -706,6 +743,16 @@ export interface DefaultServerSideEncryption {
706
743
  EncryptionType?: string | undefined;
707
744
  KmsMasterKeyArn?: string | undefined;
708
745
  }
746
+ export interface DeleteCustomDetectionRuleAssociationRequest {
747
+ RuleId: string | undefined;
748
+ AssociationId: string | undefined;
749
+ }
750
+ export interface DeleteCustomDetectionRuleAssociationResponse {}
751
+ export interface DeleteCustomDetectionRuleOrgConfigurationRequest {
752
+ RuleId: string | undefined;
753
+ Mode: AssociationMode | undefined;
754
+ }
755
+ export interface DeleteCustomDetectionRuleOrgConfigurationResponse {}
709
756
  export interface DeleteDetectorRequest {
710
757
  DetectorId: string | undefined;
711
758
  }
@@ -1061,6 +1108,31 @@ export interface Detection {
1061
1108
  Anomaly?: Anomaly | undefined;
1062
1109
  Sequence?: Sequence | undefined;
1063
1110
  }
1111
+ export interface DetectionRuleFilter {
1112
+ Name: FilterFieldName | undefined;
1113
+ Values: string[] | undefined;
1114
+ Condition?: DetectionRuleFilterCondition | undefined;
1115
+ }
1116
+ export interface DetectionRuleOrgConfiguration {
1117
+ RuleId: string | undefined;
1118
+ Mode: AssociationMode | undefined;
1119
+ Status: DetectionRuleConfigurationStatus | undefined;
1120
+ StatusReason?: string | undefined;
1121
+ IncludeAccountIds: string[] | undefined;
1122
+ ExcludeAccountIds: string[] | undefined;
1123
+ CreatedAt: Date | undefined;
1124
+ UpdatedAt: Date | undefined;
1125
+ ExpiresAt?: Date | undefined;
1126
+ }
1127
+ export interface DetectionRuleOrgConfigurationSummary {
1128
+ RuleId: string | undefined;
1129
+ Mode: AssociationMode | undefined;
1130
+ Status: DetectionRuleConfigurationStatus | undefined;
1131
+ StatusReason?: string | undefined;
1132
+ CreatedAt: Date | undefined;
1133
+ UpdatedAt: Date | undefined;
1134
+ ExpiresAt?: Date | undefined;
1135
+ }
1064
1136
  export interface DetectorAdditionalConfigurationResult {
1065
1137
  Name?: FeatureAdditionalConfiguration | undefined;
1066
1138
  Status?: FeatureStatus | undefined;
@@ -1528,127 +1600,56 @@ export interface GetCoverageStatisticsRequest {
1528
1600
  export interface GetCoverageStatisticsResponse {
1529
1601
  CoverageStatistics?: CoverageStatistics | undefined;
1530
1602
  }
1531
- export interface GetDetectorRequest {
1532
- DetectorId: string | undefined;
1533
- }
1534
- export interface GetDetectorResponse {
1535
- CreatedAt?: string | undefined;
1536
- FindingPublishingFrequency?: FindingPublishingFrequency | undefined;
1537
- ServiceRole: string | undefined;
1538
- Status: DetectorStatus | undefined;
1539
- UpdatedAt?: string | undefined;
1540
- DataSources?: DataSourceConfigurationsResult | undefined;
1541
- Tags?: Record<string, string> | undefined;
1542
- Features?: DetectorFeatureConfigurationResult[] | undefined;
1603
+ export interface GetCustomDetectionRuleRequest {
1604
+ RuleId: string | undefined;
1543
1605
  }
1544
- export interface GetFilterRequest {
1545
- DetectorId: string | undefined;
1546
- FilterName: string | undefined;
1606
+ export interface RuleDefinition {
1607
+ Expression: string | undefined;
1547
1608
  }
1548
- export interface GetFilterResponse {
1609
+ export interface RuleDetail {
1610
+ RuleId: string | undefined;
1611
+ Arn: string | undefined;
1549
1612
  Name: string | undefined;
1550
- Description?: string | undefined;
1551
- Action: FilterAction | undefined;
1552
- Rank?: number | undefined;
1553
- FindingCriteria: FindingCriteria | undefined;
1554
- Tags?: Record<string, string> | undefined;
1555
- CreatedAt?: Date | undefined;
1613
+ Description: string | undefined;
1614
+ Severity: DetectionRuleSeverity | undefined;
1615
+ DataSource: DetectionRuleDataSource | undefined;
1616
+ Tactic: string | undefined;
1617
+ Technique: string | undefined;
1618
+ Service: string | undefined;
1619
+ Definition: RuleDefinition | undefined;
1620
+ Language?: RuleLanguage | undefined;
1621
+ Schema?: RuleSchema | undefined;
1622
+ CreatedAt: Date | undefined;
1556
1623
  UpdatedAt?: Date | undefined;
1557
- Version?: number | undefined;
1558
- }
1559
- export interface GetFindingsRequest {
1560
- DetectorId: string | undefined;
1561
- FindingIds: string[] | undefined;
1562
- SortCriteria?: SortCriteria | undefined;
1563
- }
1564
- export interface GetFindingsResponse {
1565
- Findings: Finding[] | undefined;
1566
- }
1567
- export interface GetFindingsStatisticsRequest {
1568
- DetectorId: string | undefined;
1569
- FindingStatisticTypes?: FindingStatisticType[] | undefined;
1570
- FindingCriteria?: FindingCriteria | undefined;
1571
- GroupBy?: GroupByType | undefined;
1572
- OrderBy?: OrderBy | undefined;
1573
- MaxResults?: number | undefined;
1574
1624
  }
1575
- export interface GetFindingsStatisticsResponse {
1576
- FindingStatistics: FindingStatistics | undefined;
1577
- NextToken?: string | undefined;
1578
- }
1579
- export interface GetInvestigationRequest {
1580
- DetectorId: string | undefined;
1581
- InvestigationId: string | undefined;
1582
- }
1583
- export interface Product {
1584
- Name: string | undefined;
1585
- Feature?: string | undefined;
1625
+ export interface GetCustomDetectionRuleResponse {
1626
+ Rule: RuleDetail | undefined;
1586
1627
  }
1587
- export interface InvestigationMetadata {
1588
- Version: string | undefined;
1589
- Product: Product | undefined;
1628
+ export interface GetCustomDetectionRuleAssociationRequest {
1629
+ RuleId: string | undefined;
1630
+ AssociationId: string | undefined;
1590
1631
  }
1591
- export interface Investigation {
1592
- InvestigationId: string | undefined;
1593
- Status: InvestigationStatus | undefined;
1594
- TriggerPrompt: string | undefined;
1595
- TriggeredBy: string | undefined;
1596
- Metadata?: InvestigationMetadata | undefined;
1597
- Cloud?: CloudDetails | undefined;
1598
- RiskLevel?: RiskLevel | undefined;
1599
- Risk?: string | undefined;
1600
- Confidence?: Confidence | undefined;
1601
- Summary?: string | undefined;
1602
- StartTime?: Date | undefined;
1603
- EndTime?: Date | undefined;
1604
- Error?: string | undefined;
1632
+ export interface GetCustomDetectionRuleAssociationResponse {
1633
+ RuleAssociation: AssociationDetail | undefined;
1634
+ Tags?: Record<string, string> | undefined;
1605
1635
  }
1606
- export interface GetInvestigationResponse {
1607
- Investigation: Investigation | undefined;
1636
+ export interface GetCustomDetectionRuleOrgConfigurationRequest {
1637
+ RuleId: string | undefined;
1638
+ Mode: AssociationMode | undefined;
1608
1639
  }
1609
- export interface GetInvitationsCountRequest {}
1610
- export interface GetInvitationsCountResponse {
1611
- InvitationsCount?: number | undefined;
1640
+ export interface GetCustomDetectionRuleOrgConfigurationResponse {
1641
+ Configuration: DetectionRuleOrgConfiguration | undefined;
1612
1642
  }
1613
- export interface GetIPSetRequest {
1643
+ export interface GetDetectorRequest {
1614
1644
  DetectorId: string | undefined;
1615
- IpSetId: string | undefined;
1616
- }
1617
- export interface GetIPSetResponse {
1618
- Name: string | undefined;
1619
- Format: IpSetFormat | undefined;
1620
- Location: string | undefined;
1621
- Status: IpSetStatus | undefined;
1622
- Tags?: Record<string, string> | undefined;
1623
- ExpectedBucketOwner?: string | undefined;
1624
1645
  }
1625
- export interface GetMalwareProtectionPlanRequest {
1626
- MalwareProtectionPlanId: string | undefined;
1627
- }
1628
- export interface MalwareProtectionPlanStatusReason {
1629
- Code?: string | undefined;
1630
- Message?: string | undefined;
1631
- }
1632
- export interface GetMalwareProtectionPlanResponse {
1633
- Arn?: string | undefined;
1634
- Role?: string | undefined;
1635
- ProtectedResource?: CreateProtectedResource | undefined;
1636
- Actions?: MalwareProtectionPlanActions | undefined;
1637
- CreatedAt?: Date | undefined;
1638
- Status?: MalwareProtectionPlanStatus | undefined;
1639
- StatusReasons?: MalwareProtectionPlanStatusReason[] | undefined;
1646
+ export interface GetDetectorResponse {
1647
+ CreatedAt?: string | undefined;
1648
+ FindingPublishingFrequency?: FindingPublishingFrequency | undefined;
1649
+ ServiceRole: string | undefined;
1650
+ Status: DetectorStatus | undefined;
1651
+ UpdatedAt?: string | undefined;
1652
+ DataSources?: DataSourceConfigurationsResult | undefined;
1640
1653
  Tags?: Record<string, string> | undefined;
1641
- }
1642
- export interface GetMalwareScanRequest {
1643
- ScanId: string | undefined;
1644
- }
1645
- export interface ScanConfigurationRecoveryPoint {
1646
- BackupVaultName?: string | undefined;
1647
- ContinuousScanDetails?: ScanConfigurationContinuousScanDetails | undefined;
1648
- }
1649
- export interface ScanConfiguration {
1650
- Role?: string | undefined;
1651
- TriggerDetails?: TriggerDetails | undefined;
1652
- IncrementalScanDetails?: IncrementalScanDetails | undefined;
1653
- RecoveryPoint?: ScanConfigurationRecoveryPoint | undefined;
1654
+ Features?: DetectorFeatureConfigurationResult[] | undefined;
1654
1655
  }
@@ -1,16 +1,25 @@
1
1
  import {
2
+ AssociationMode,
2
3
  AutoEnableMembers,
3
4
  Confidence,
4
5
  DataSource,
6
+ DetectionRuleConfigurationStatus,
7
+ DetectionRuleDataSource,
8
+ DetectionRuleSeverity,
5
9
  DetectionSource,
6
10
  EbsSnapshotPreservation,
7
11
  FeatureStatus,
8
12
  Feedback,
9
13
  FilterAction,
10
14
  FindingPublishingFrequency,
15
+ FindingStatisticType,
16
+ GroupByType,
11
17
  InvestigationSortField,
12
18
  InvestigationStatus,
19
+ IpSetFormat,
20
+ IpSetStatus,
13
21
  ListMalwareScansCriterionKey,
22
+ MalwareProtectionPlanStatus,
14
23
  MalwareProtectionResourceType,
15
24
  MalwareProtectionScanStatus,
16
25
  MalwareProtectionScanType,
@@ -19,6 +28,8 @@ import {
19
28
  OrgFeatureAdditionalConfiguration,
20
29
  OrgFeatureStatus,
21
30
  RiskLevel,
31
+ RuleLanguage,
32
+ RuleSchema,
22
33
  ScanCategory,
23
34
  ScanCriterionKey,
24
35
  ScanResultStatus,
@@ -35,26 +46,145 @@ import {
35
46
  import {
36
47
  AccountFreeTrialInfo,
37
48
  AdminAccount,
49
+ AssociationSummary,
50
+ CloudDetails,
38
51
  ContinuousScanDetails,
39
52
  CoverageFilterCriteria,
40
53
  CoverageResource,
41
54
  CoverageSortCriteria,
55
+ CreateProtectedResource,
42
56
  DataSourceConfigurations,
43
57
  DataSourceConfigurationsResult,
44
58
  Destination,
45
59
  DestinationProperties,
60
+ DetectionRuleFilter,
61
+ DetectionRuleOrgConfigurationSummary,
46
62
  DetectorFeatureConfiguration,
47
63
  EbsSnapshot,
48
64
  FilterCondition,
65
+ Finding,
49
66
  FindingCriteria,
67
+ FindingStatistics,
50
68
  IncrementalScanDetails,
51
69
  ItemDetails,
52
70
  MalwareProtectionPlanActions,
53
- ScanConfiguration,
71
+ ScanConfigurationContinuousScanDetails,
54
72
  SortCriteria,
73
+ TriggerDetails,
55
74
  UnprocessedAccount,
56
75
  VolumeDetail,
57
76
  } from "./models_0";
77
+ export interface GetFilterRequest {
78
+ DetectorId: string | undefined;
79
+ FilterName: string | undefined;
80
+ }
81
+ export interface GetFilterResponse {
82
+ Name: string | undefined;
83
+ Description?: string | undefined;
84
+ Action: FilterAction | undefined;
85
+ Rank?: number | undefined;
86
+ FindingCriteria: FindingCriteria | undefined;
87
+ Tags?: Record<string, string> | undefined;
88
+ CreatedAt?: Date | undefined;
89
+ UpdatedAt?: Date | undefined;
90
+ Version?: number | undefined;
91
+ }
92
+ export interface GetFindingsRequest {
93
+ DetectorId: string | undefined;
94
+ FindingIds: string[] | undefined;
95
+ SortCriteria?: SortCriteria | undefined;
96
+ }
97
+ export interface GetFindingsResponse {
98
+ Findings: Finding[] | undefined;
99
+ }
100
+ export interface GetFindingsStatisticsRequest {
101
+ DetectorId: string | undefined;
102
+ FindingStatisticTypes?: FindingStatisticType[] | undefined;
103
+ FindingCriteria?: FindingCriteria | undefined;
104
+ GroupBy?: GroupByType | undefined;
105
+ OrderBy?: OrderBy | undefined;
106
+ MaxResults?: number | undefined;
107
+ }
108
+ export interface GetFindingsStatisticsResponse {
109
+ FindingStatistics: FindingStatistics | undefined;
110
+ NextToken?: string | undefined;
111
+ }
112
+ export interface GetInvestigationRequest {
113
+ DetectorId: string | undefined;
114
+ InvestigationId: string | undefined;
115
+ }
116
+ export interface Product {
117
+ Name: string | undefined;
118
+ Feature?: string | undefined;
119
+ }
120
+ export interface InvestigationMetadata {
121
+ Version: string | undefined;
122
+ Product: Product | undefined;
123
+ }
124
+ export interface Investigation {
125
+ InvestigationId: string | undefined;
126
+ Status: InvestigationStatus | undefined;
127
+ TriggerPrompt: string | undefined;
128
+ TriggeredBy: string | undefined;
129
+ Metadata?: InvestigationMetadata | undefined;
130
+ Cloud?: CloudDetails | undefined;
131
+ RiskLevel?: RiskLevel | undefined;
132
+ Risk?: string | undefined;
133
+ Confidence?: Confidence | undefined;
134
+ Summary?: string | undefined;
135
+ StartTime?: Date | undefined;
136
+ EndTime?: Date | undefined;
137
+ Error?: string | undefined;
138
+ }
139
+ export interface GetInvestigationResponse {
140
+ Investigation: Investigation | undefined;
141
+ }
142
+ export interface GetInvitationsCountRequest {}
143
+ export interface GetInvitationsCountResponse {
144
+ InvitationsCount?: number | undefined;
145
+ }
146
+ export interface GetIPSetRequest {
147
+ DetectorId: string | undefined;
148
+ IpSetId: string | undefined;
149
+ }
150
+ export interface GetIPSetResponse {
151
+ Name: string | undefined;
152
+ Format: IpSetFormat | undefined;
153
+ Location: string | undefined;
154
+ Status: IpSetStatus | undefined;
155
+ Tags?: Record<string, string> | undefined;
156
+ ExpectedBucketOwner?: string | undefined;
157
+ }
158
+ export interface GetMalwareProtectionPlanRequest {
159
+ MalwareProtectionPlanId: string | undefined;
160
+ }
161
+ export interface MalwareProtectionPlanStatusReason {
162
+ Code?: string | undefined;
163
+ Message?: string | undefined;
164
+ }
165
+ export interface GetMalwareProtectionPlanResponse {
166
+ Arn?: string | undefined;
167
+ Role?: string | undefined;
168
+ ProtectedResource?: CreateProtectedResource | undefined;
169
+ Actions?: MalwareProtectionPlanActions | undefined;
170
+ CreatedAt?: Date | undefined;
171
+ Status?: MalwareProtectionPlanStatus | undefined;
172
+ StatusReasons?: MalwareProtectionPlanStatusReason[] | undefined;
173
+ Tags?: Record<string, string> | undefined;
174
+ }
175
+ export interface GetMalwareScanRequest {
176
+ ScanId: string | undefined;
177
+ }
178
+ export interface ScanConfigurationRecoveryPoint {
179
+ BackupVaultName?: string | undefined;
180
+ ContinuousScanDetails?: ScanConfigurationContinuousScanDetails | undefined;
181
+ }
182
+ export interface ScanConfiguration {
183
+ Role?: string | undefined;
184
+ TriggerDetails?: TriggerDetails | undefined;
185
+ IncrementalScanDetails?: IncrementalScanDetails | undefined;
186
+ RecoveryPoint?: ScanConfigurationRecoveryPoint | undefined;
187
+ }
58
188
  export interface ScannedResourceDetails {
59
189
  EbsVolume?: VolumeDetail | undefined;
60
190
  EbsSnapshot?: EbsSnapshot | undefined;
@@ -321,6 +451,49 @@ export interface ListCoverageResponse {
321
451
  Resources: CoverageResource[] | undefined;
322
452
  NextToken?: string | undefined;
323
453
  }
454
+ export interface ListCustomDetectionRuleAssociationsRequest {
455
+ MaxResults?: number | undefined;
456
+ NextToken?: string | undefined;
457
+ RuleId?: string | undefined;
458
+ Mode?: AssociationMode | undefined;
459
+ }
460
+ export interface ListCustomDetectionRuleAssociationsResponse {
461
+ RuleAssociations: AssociationSummary[] | undefined;
462
+ NextToken?: string | undefined;
463
+ }
464
+ export interface ListCustomDetectionRuleOrgConfigurationsRequest {
465
+ MaxResults?: number | undefined;
466
+ NextToken?: string | undefined;
467
+ Status?: DetectionRuleConfigurationStatus | undefined;
468
+ }
469
+ export interface ListCustomDetectionRuleOrgConfigurationsResponse {
470
+ Configurations: DetectionRuleOrgConfigurationSummary[] | undefined;
471
+ NextToken?: string | undefined;
472
+ }
473
+ export interface ListCustomDetectionRulesRequest {
474
+ MaxResults?: number | undefined;
475
+ NextToken?: string | undefined;
476
+ Filters?: DetectionRuleFilter[] | undefined;
477
+ }
478
+ export interface RuleSummary {
479
+ RuleId: string | undefined;
480
+ Arn: string | undefined;
481
+ Name: string | undefined;
482
+ Description: string | undefined;
483
+ Severity: DetectionRuleSeverity | undefined;
484
+ DataSource: DetectionRuleDataSource | undefined;
485
+ Tactic: string | undefined;
486
+ Technique: string | undefined;
487
+ Service: string | undefined;
488
+ Language?: RuleLanguage | undefined;
489
+ Schema?: RuleSchema | undefined;
490
+ CreatedAt: Date | undefined;
491
+ UpdatedAt?: Date | undefined;
492
+ }
493
+ export interface ListCustomDetectionRulesResponse {
494
+ Rules: RuleSummary[] | undefined;
495
+ NextToken?: string | undefined;
496
+ }
324
497
  export interface ListDetectorsRequest {
325
498
  MaxResults?: number | undefined;
326
499
  NextToken?: string | undefined;
@@ -549,6 +722,19 @@ export interface UntagResourceRequest {
549
722
  TagKeys: string[] | undefined;
550
723
  }
551
724
  export interface UntagResourceResponse {}
725
+ export interface UpdateCustomDetectionRuleAssociationRequest {
726
+ RuleId: string | undefined;
727
+ AssociationId: string | undefined;
728
+ Mode: AssociationMode | undefined;
729
+ }
730
+ export interface UpdateCustomDetectionRuleAssociationResponse {}
731
+ export interface UpdateCustomDetectionRuleOrgConfigurationRequest {
732
+ RuleId: string | undefined;
733
+ Mode: AssociationMode | undefined;
734
+ IncludeAccountIds?: string[] | undefined;
735
+ ExcludeAccountIds?: string[] | undefined;
736
+ }
737
+ export interface UpdateCustomDetectionRuleOrgConfigurationResponse {}
552
738
  export interface UpdateDetectorRequest {
553
739
  DetectorId: string | undefined;
554
740
  Enable?: boolean | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCustomDetectionRuleAssociationsCommandInput,
4
+ ListCustomDetectionRuleAssociationsCommandOutput,
5
+ } from "../commands/ListCustomDetectionRuleAssociationsCommand";
6
+ import { GuardDutyPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCustomDetectionRuleAssociations: (
8
+ config: GuardDutyPaginationConfiguration,
9
+ input: ListCustomDetectionRuleAssociationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListCustomDetectionRuleAssociationsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCustomDetectionRuleOrgConfigurationsCommandInput,
4
+ ListCustomDetectionRuleOrgConfigurationsCommandOutput,
5
+ } from "../commands/ListCustomDetectionRuleOrgConfigurationsCommand";
6
+ import { GuardDutyPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCustomDetectionRuleOrgConfigurations: (
8
+ config: GuardDutyPaginationConfiguration,
9
+ input: ListCustomDetectionRuleOrgConfigurationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListCustomDetectionRuleOrgConfigurationsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCustomDetectionRulesCommandInput,
4
+ ListCustomDetectionRulesCommandOutput,
5
+ } from "../commands/ListCustomDetectionRulesCommand";
6
+ import { GuardDutyPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCustomDetectionRules: (
8
+ config: GuardDutyPaginationConfiguration,
9
+ input: ListCustomDetectionRulesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListCustomDetectionRulesCommandOutput>;
@@ -3,6 +3,9 @@ export * from "./DescribeMalwareScansPaginator";
3
3
  export * from "./DescribeOrganizationConfigurationPaginator";
4
4
  export * from "./GetUsageStatisticsPaginator";
5
5
  export * from "./ListCoveragePaginator";
6
+ export * from "./ListCustomDetectionRuleAssociationsPaginator";
7
+ export * from "./ListCustomDetectionRuleOrgConfigurationsPaginator";
8
+ export * from "./ListCustomDetectionRulesPaginator";
6
9
  export * from "./ListDetectorsPaginator";
7
10
  export * from "./ListFiltersPaginator";
8
11
  export * from "./ListFindingsPaginator";