aws-sdk-guardduty 1.65.0 → 1.67.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.
@@ -225,6 +225,25 @@ module Aws::GuardDuty
225
225
  include Aws::Structure
226
226
  end
227
227
 
228
+ # Information about the installed EKS add-on (GuardDuty security agent).
229
+ #
230
+ # @!attribute [rw] addon_version
231
+ # Version of the installed EKS add-on.
232
+ # @return [String]
233
+ #
234
+ # @!attribute [rw] addon_status
235
+ # Status of the installed EKS add-on.
236
+ # @return [String]
237
+ #
238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AddonDetails AWS API Documentation
239
+ #
240
+ class AddonDetails < Struct.new(
241
+ :addon_version,
242
+ :addon_status)
243
+ SENSITIVE = []
244
+ include Aws::Structure
245
+ end
246
+
228
247
  # The account within the organization specified as the GuardDuty
229
248
  # delegated administrator.
230
249
  #
@@ -640,6 +659,201 @@ module Aws::GuardDuty
640
659
  include Aws::Structure
641
660
  end
642
661
 
662
+ # Information about the EKS cluster that has a coverage status.
663
+ #
664
+ # @!attribute [rw] cluster_name
665
+ # Name of the EKS cluster.
666
+ # @return [String]
667
+ #
668
+ # @!attribute [rw] covered_nodes
669
+ # Represents the nodes within the EKS cluster that have a `HEALTHY`
670
+ # coverage status.
671
+ # @return [Integer]
672
+ #
673
+ # @!attribute [rw] compatible_nodes
674
+ # Represents all the nodes within the EKS cluster in your account.
675
+ # @return [Integer]
676
+ #
677
+ # @!attribute [rw] addon_details
678
+ # Information about the installed EKS add-on.
679
+ # @return [Types::AddonDetails]
680
+ #
681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CoverageEksClusterDetails AWS API Documentation
682
+ #
683
+ class CoverageEksClusterDetails < Struct.new(
684
+ :cluster_name,
685
+ :covered_nodes,
686
+ :compatible_nodes,
687
+ :addon_details)
688
+ SENSITIVE = []
689
+ include Aws::Structure
690
+ end
691
+
692
+ # Represents a condition that when matched will be added to the response
693
+ # of the operation.
694
+ #
695
+ # @!attribute [rw] equals
696
+ # Represents an equal condition that is applied to a single field
697
+ # while retrieving the coverage details.
698
+ # @return [Array<String>]
699
+ #
700
+ # @!attribute [rw] not_equals
701
+ # Represents a not equal condition that is applied to a single field
702
+ # while retrieving the coverage details.
703
+ # @return [Array<String>]
704
+ #
705
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CoverageFilterCondition AWS API Documentation
706
+ #
707
+ class CoverageFilterCondition < Struct.new(
708
+ :equals,
709
+ :not_equals)
710
+ SENSITIVE = []
711
+ include Aws::Structure
712
+ end
713
+
714
+ # Represents the criteria used in the filter.
715
+ #
716
+ # @!attribute [rw] filter_criterion
717
+ # Represents a condition that when matched will be added to the
718
+ # response of the operation.
719
+ # @return [Array<Types::CoverageFilterCriterion>]
720
+ #
721
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CoverageFilterCriteria AWS API Documentation
722
+ #
723
+ class CoverageFilterCriteria < Struct.new(
724
+ :filter_criterion)
725
+ SENSITIVE = []
726
+ include Aws::Structure
727
+ end
728
+
729
+ # Represents a condition that when matched will be added to the response
730
+ # of the operation.
731
+ #
732
+ # @!attribute [rw] criterion_key
733
+ # An enum value representing possible filter fields.
734
+ # @return [String]
735
+ #
736
+ # @!attribute [rw] filter_condition
737
+ # Contains information about the condition.
738
+ # @return [Types::CoverageFilterCondition]
739
+ #
740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CoverageFilterCriterion AWS API Documentation
741
+ #
742
+ class CoverageFilterCriterion < Struct.new(
743
+ :criterion_key,
744
+ :filter_condition)
745
+ SENSITIVE = []
746
+ include Aws::Structure
747
+ end
748
+
749
+ # Information about the resource of the GuardDuty account.
750
+ #
751
+ # @!attribute [rw] resource_id
752
+ # The unique ID of the resource.
753
+ # @return [String]
754
+ #
755
+ # @!attribute [rw] detector_id
756
+ # The unique ID of the GuardDuty detector associated with the
757
+ # resource.
758
+ # @return [String]
759
+ #
760
+ # @!attribute [rw] account_id
761
+ # The unique ID of the Amazon Web Services account.
762
+ # @return [String]
763
+ #
764
+ # @!attribute [rw] resource_details
765
+ # Information about the resource for which the coverage statistics are
766
+ # retrieved.
767
+ # @return [Types::CoverageResourceDetails]
768
+ #
769
+ # @!attribute [rw] coverage_status
770
+ # Represents the status of the EKS cluster coverage.
771
+ # @return [String]
772
+ #
773
+ # @!attribute [rw] issue
774
+ # Represents the reason why a coverage status was `UNHEALTHY` for the
775
+ # EKS cluster.
776
+ # @return [String]
777
+ #
778
+ # @!attribute [rw] updated_at
779
+ # The timestamp at which the coverage details for the resource were
780
+ # last updated. This is in UTC format.
781
+ # @return [Time]
782
+ #
783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CoverageResource AWS API Documentation
784
+ #
785
+ class CoverageResource < Struct.new(
786
+ :resource_id,
787
+ :detector_id,
788
+ :account_id,
789
+ :resource_details,
790
+ :coverage_status,
791
+ :issue,
792
+ :updated_at)
793
+ SENSITIVE = []
794
+ include Aws::Structure
795
+ end
796
+
797
+ # Information about the resource for each individual EKS cluster.
798
+ #
799
+ # @!attribute [rw] eks_cluster_details
800
+ # EKS cluster details involved in the coverage statistics.
801
+ # @return [Types::CoverageEksClusterDetails]
802
+ #
803
+ # @!attribute [rw] resource_type
804
+ # The type of Amazon Web Services resource.
805
+ # @return [String]
806
+ #
807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CoverageResourceDetails AWS API Documentation
808
+ #
809
+ class CoverageResourceDetails < Struct.new(
810
+ :eks_cluster_details,
811
+ :resource_type)
812
+ SENSITIVE = []
813
+ include Aws::Structure
814
+ end
815
+
816
+ # Information about the sorting criteria used in the coverage
817
+ # statistics.
818
+ #
819
+ # @!attribute [rw] attribute_name
820
+ # Represents the field name used to sort the coverage details.
821
+ # @return [String]
822
+ #
823
+ # @!attribute [rw] order_by
824
+ # The order in which the sorted findings are to be displayed.
825
+ # @return [String]
826
+ #
827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CoverageSortCriteria AWS API Documentation
828
+ #
829
+ class CoverageSortCriteria < Struct.new(
830
+ :attribute_name,
831
+ :order_by)
832
+ SENSITIVE = []
833
+ include Aws::Structure
834
+ end
835
+
836
+ # Information about the coverage statistics for a resource.
837
+ #
838
+ # @!attribute [rw] count_by_resource_type
839
+ # Represents coverage statistics for EKS clusters aggregated by
840
+ # resource type.
841
+ # @return [Hash<String,Integer>]
842
+ #
843
+ # @!attribute [rw] count_by_coverage_status
844
+ # Represents coverage statistics for EKS clusters aggregated by
845
+ # coverage status.
846
+ # @return [Hash<String,Integer>]
847
+ #
848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CoverageStatistics AWS API Documentation
849
+ #
850
+ class CoverageStatistics < Struct.new(
851
+ :count_by_resource_type,
852
+ :count_by_coverage_status)
853
+ SENSITIVE = []
854
+ include Aws::Structure
855
+ end
856
+
643
857
  # @!attribute [rw] enable
644
858
  # A Boolean value that specifies whether the detector is to be
645
859
  # enabled.
@@ -1563,6 +1777,9 @@ module Aws::GuardDuty
1563
1777
  # @!attribute [rw] auto_enable
1564
1778
  # Indicates whether GuardDuty is automatically enabled for accounts
1565
1779
  # added to the organization.
1780
+ #
1781
+ # Even though this is still supported, we recommend using
1782
+ # `AutoEnableOrganizationMembers` to achieve the similar results.
1566
1783
  # @return [Boolean]
1567
1784
  #
1568
1785
  # @!attribute [rw] member_account_limit_reached
@@ -1585,6 +1802,23 @@ module Aws::GuardDuty
1585
1802
  # retrieve more items.
1586
1803
  # @return [String]
1587
1804
  #
1805
+ # @!attribute [rw] auto_enable_organization_members
1806
+ # Indicates the auto-enablement configuration of GuardDuty for the
1807
+ # member accounts in the organization.
1808
+ #
1809
+ # * `NEW`: Indicates that when a new account joins the organization,
1810
+ # they will have GuardDuty enabled automatically.
1811
+ #
1812
+ # * `ALL`: Indicates that all accounts in the Amazon Web Services
1813
+ # Organization have GuardDuty enabled automatically. This includes
1814
+ # `NEW` accounts that join the organization and accounts that may
1815
+ # have been suspended or removed from the organization in GuardDuty.
1816
+ #
1817
+ # * `NONE`: Indicates that GuardDuty will not be automatically enabled
1818
+ # for any accounts in the organization. GuardDuty must be managed
1819
+ # for each account individually by the administrator.
1820
+ # @return [String]
1821
+ #
1588
1822
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationResponse AWS API Documentation
1589
1823
  #
1590
1824
  class DescribeOrganizationConfigurationResponse < Struct.new(
@@ -1592,7 +1826,8 @@ module Aws::GuardDuty
1592
1826
  :member_account_limit_reached,
1593
1827
  :data_sources,
1594
1828
  :features,
1595
- :next_token)
1829
+ :next_token,
1830
+ :auto_enable_organization_members)
1596
1831
  SENSITIVE = []
1597
1832
  include Aws::Structure
1598
1833
  end
@@ -1700,6 +1935,51 @@ module Aws::GuardDuty
1700
1935
  include Aws::Structure
1701
1936
  end
1702
1937
 
1938
+ # Information about the additional configuration for a feature in your
1939
+ # GuardDuty account.
1940
+ #
1941
+ # @!attribute [rw] name
1942
+ # Name of the additional configuration.
1943
+ # @return [String]
1944
+ #
1945
+ # @!attribute [rw] status
1946
+ # Status of the additional configuration.
1947
+ # @return [String]
1948
+ #
1949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorAdditionalConfiguration AWS API Documentation
1950
+ #
1951
+ class DetectorAdditionalConfiguration < Struct.new(
1952
+ :name,
1953
+ :status)
1954
+ SENSITIVE = []
1955
+ include Aws::Structure
1956
+ end
1957
+
1958
+ # Information about the additional configuration.
1959
+ #
1960
+ # @!attribute [rw] name
1961
+ # Name of the additional configuration.
1962
+ # @return [String]
1963
+ #
1964
+ # @!attribute [rw] status
1965
+ # Status of the additional configuration.
1966
+ # @return [String]
1967
+ #
1968
+ # @!attribute [rw] updated_at
1969
+ # The timestamp at which the additional configuration was last
1970
+ # updated. This is in UTC format.
1971
+ # @return [Time]
1972
+ #
1973
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorAdditionalConfigurationResult AWS API Documentation
1974
+ #
1975
+ class DetectorAdditionalConfigurationResult < Struct.new(
1976
+ :name,
1977
+ :status,
1978
+ :updated_at)
1979
+ SENSITIVE = []
1980
+ include Aws::Structure
1981
+ end
1982
+
1703
1983
  # Contains information about a GuardDuty feature.
1704
1984
  #
1705
1985
  # @!attribute [rw] name
@@ -1710,11 +1990,16 @@ module Aws::GuardDuty
1710
1990
  # The status of the feature.
1711
1991
  # @return [String]
1712
1992
  #
1993
+ # @!attribute [rw] additional_configuration
1994
+ # Additional configuration for a resource.
1995
+ # @return [Array<Types::DetectorAdditionalConfiguration>]
1996
+ #
1713
1997
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorFeatureConfiguration AWS API Documentation
1714
1998
  #
1715
1999
  class DetectorFeatureConfiguration < Struct.new(
1716
2000
  :name,
1717
- :status)
2001
+ :status,
2002
+ :additional_configuration)
1718
2003
  SENSITIVE = []
1719
2004
  include Aws::Structure
1720
2005
  end
@@ -1735,12 +2020,17 @@ module Aws::GuardDuty
1735
2020
  # The timestamp at which the feature object was updated.
1736
2021
  # @return [Time]
1737
2022
  #
2023
+ # @!attribute [rw] additional_configuration
2024
+ # Additional configuration for a resource.
2025
+ # @return [Array<Types::DetectorAdditionalConfigurationResult>]
2026
+ #
1738
2027
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorFeatureConfigurationResult AWS API Documentation
1739
2028
  #
1740
2029
  class DetectorFeatureConfigurationResult < Struct.new(
1741
2030
  :name,
1742
2031
  :status,
1743
- :updated_at)
2032
+ :updated_at,
2033
+ :additional_configuration)
1744
2034
  SENSITIVE = []
1745
2035
  include Aws::Structure
1746
2036
  end
@@ -2383,6 +2673,43 @@ module Aws::GuardDuty
2383
2673
  include Aws::Structure
2384
2674
  end
2385
2675
 
2676
+ # @!attribute [rw] detector_id
2677
+ # The unique ID of the GuardDuty detector associated to the coverage
2678
+ # statistics.
2679
+ # @return [String]
2680
+ #
2681
+ # @!attribute [rw] filter_criteria
2682
+ # Represents the criteria used to filter the coverage statistics
2683
+ # @return [Types::CoverageFilterCriteria]
2684
+ #
2685
+ # @!attribute [rw] statistics_type
2686
+ # Represents the statistics type used to aggregate the coverage
2687
+ # details.
2688
+ # @return [Array<String>]
2689
+ #
2690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetCoverageStatisticsRequest AWS API Documentation
2691
+ #
2692
+ class GetCoverageStatisticsRequest < Struct.new(
2693
+ :detector_id,
2694
+ :filter_criteria,
2695
+ :statistics_type)
2696
+ SENSITIVE = []
2697
+ include Aws::Structure
2698
+ end
2699
+
2700
+ # @!attribute [rw] coverage_statistics
2701
+ # Represents the count aggregated by the `statusCode` and
2702
+ # `resourceType`.
2703
+ # @return [Types::CoverageStatistics]
2704
+ #
2705
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetCoverageStatisticsResponse AWS API Documentation
2706
+ #
2707
+ class GetCoverageStatisticsResponse < Struct.new(
2708
+ :coverage_statistics)
2709
+ SENSITIVE = []
2710
+ include Aws::Structure
2711
+ end
2712
+
2386
2713
  # @!attribute [rw] detector_id
2387
2714
  # The unique ID of the detector that you want to get.
2388
2715
  # @return [String]
@@ -3358,6 +3685,116 @@ module Aws::GuardDuty
3358
3685
  include Aws::Structure
3359
3686
  end
3360
3687
 
3688
+ # Information about the runtime process details.
3689
+ #
3690
+ # @!attribute [rw] start_time
3691
+ # The time when the process started. This is in UTC format.
3692
+ # @return [Time]
3693
+ #
3694
+ # @!attribute [rw] namespace_pid
3695
+ # The process ID of the child process.
3696
+ # @return [Integer]
3697
+ #
3698
+ # @!attribute [rw] user_id
3699
+ # The user ID of the user that executed the process.
3700
+ # @return [Integer]
3701
+ #
3702
+ # @!attribute [rw] name
3703
+ # The name of the process.
3704
+ # @return [String]
3705
+ #
3706
+ # @!attribute [rw] pid
3707
+ # The ID of the process.
3708
+ # @return [Integer]
3709
+ #
3710
+ # @!attribute [rw] uuid
3711
+ # The unique ID assigned to the process by GuardDuty.
3712
+ # @return [String]
3713
+ #
3714
+ # @!attribute [rw] executable_path
3715
+ # The absolute path of the process executable file.
3716
+ # @return [String]
3717
+ #
3718
+ # @!attribute [rw] euid
3719
+ # The effective user ID that was used to execute the process.
3720
+ # @return [Integer]
3721
+ #
3722
+ # @!attribute [rw] parent_uuid
3723
+ # The unique ID of the parent process. This ID is assigned to the
3724
+ # parent process by GuardDuty.
3725
+ # @return [String]
3726
+ #
3727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LineageObject AWS API Documentation
3728
+ #
3729
+ class LineageObject < Struct.new(
3730
+ :start_time,
3731
+ :namespace_pid,
3732
+ :user_id,
3733
+ :name,
3734
+ :pid,
3735
+ :uuid,
3736
+ :executable_path,
3737
+ :euid,
3738
+ :parent_uuid)
3739
+ SENSITIVE = []
3740
+ include Aws::Structure
3741
+ end
3742
+
3743
+ # @!attribute [rw] detector_id
3744
+ # The unique ID of the detector whose coverage details you want to
3745
+ # retrieve.
3746
+ # @return [String]
3747
+ #
3748
+ # @!attribute [rw] next_token
3749
+ # A token to use for paginating results that are returned in the
3750
+ # response. Set the value of this parameter to null for the first
3751
+ # request to a list action. For subsequent calls, use the NextToken
3752
+ # value returned from the previous request to continue listing results
3753
+ # after the first page.
3754
+ # @return [String]
3755
+ #
3756
+ # @!attribute [rw] max_results
3757
+ # The maximum number of results to return in the response.
3758
+ # @return [Integer]
3759
+ #
3760
+ # @!attribute [rw] filter_criteria
3761
+ # Represents the criteria used to filter the coverage details.
3762
+ # @return [Types::CoverageFilterCriteria]
3763
+ #
3764
+ # @!attribute [rw] sort_criteria
3765
+ # Represents the criteria used to sort the coverage details.
3766
+ # @return [Types::CoverageSortCriteria]
3767
+ #
3768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListCoverageRequest AWS API Documentation
3769
+ #
3770
+ class ListCoverageRequest < Struct.new(
3771
+ :detector_id,
3772
+ :next_token,
3773
+ :max_results,
3774
+ :filter_criteria,
3775
+ :sort_criteria)
3776
+ SENSITIVE = []
3777
+ include Aws::Structure
3778
+ end
3779
+
3780
+ # @!attribute [rw] resources
3781
+ # A list of resources and their attributes providing cluster details.
3782
+ # @return [Array<Types::CoverageResource>]
3783
+ #
3784
+ # @!attribute [rw] next_token
3785
+ # The pagination parameter to be used on the next list operation to
3786
+ # retrieve more items.
3787
+ # @return [String]
3788
+ #
3789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListCoverageResponse AWS API Documentation
3790
+ #
3791
+ class ListCoverageResponse < Struct.new(
3792
+ :resources,
3793
+ :next_token)
3794
+ SENSITIVE = []
3795
+ include Aws::Structure
3796
+ end
3797
+
3361
3798
  # @!attribute [rw] max_results
3362
3799
  # You can use this parameter to indicate the maximum number of items
3363
3800
  # that you want in the response. The default value is 50. The maximum
@@ -4107,6 +4544,52 @@ module Aws::GuardDuty
4107
4544
  include Aws::Structure
4108
4545
  end
4109
4546
 
4547
+ # Information about the additional configuration for the member account.
4548
+ #
4549
+ # @!attribute [rw] name
4550
+ # Name of the additional configuration.
4551
+ # @return [String]
4552
+ #
4553
+ # @!attribute [rw] status
4554
+ # Status of the additional configuration.
4555
+ # @return [String]
4556
+ #
4557
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberAdditionalConfiguration AWS API Documentation
4558
+ #
4559
+ class MemberAdditionalConfiguration < Struct.new(
4560
+ :name,
4561
+ :status)
4562
+ SENSITIVE = []
4563
+ include Aws::Structure
4564
+ end
4565
+
4566
+ # Information about the additional configuration for the member account.
4567
+ #
4568
+ # @!attribute [rw] name
4569
+ # Indicates the name of the additional configuration that is set for
4570
+ # the member account.
4571
+ # @return [String]
4572
+ #
4573
+ # @!attribute [rw] status
4574
+ # Indicates the status of the additional configuration that is set for
4575
+ # the member account.
4576
+ # @return [String]
4577
+ #
4578
+ # @!attribute [rw] updated_at
4579
+ # The timestamp at which the additional configuration was set for the
4580
+ # member account. This is in UTC format.
4581
+ # @return [Time]
4582
+ #
4583
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberAdditionalConfigurationResult AWS API Documentation
4584
+ #
4585
+ class MemberAdditionalConfigurationResult < Struct.new(
4586
+ :name,
4587
+ :status,
4588
+ :updated_at)
4589
+ SENSITIVE = []
4590
+ include Aws::Structure
4591
+ end
4592
+
4110
4593
  # Contains information on which data sources are enabled for a member
4111
4594
  # account.
4112
4595
  #
@@ -4143,11 +4626,16 @@ module Aws::GuardDuty
4143
4626
  # The status of the feature.
4144
4627
  # @return [String]
4145
4628
  #
4629
+ # @!attribute [rw] additional_configuration
4630
+ # Additional configuration of the feature for the member account.
4631
+ # @return [Array<Types::MemberAdditionalConfiguration>]
4632
+ #
4146
4633
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberFeaturesConfiguration AWS API Documentation
4147
4634
  #
4148
4635
  class MemberFeaturesConfiguration < Struct.new(
4149
4636
  :name,
4150
- :status)
4637
+ :status,
4638
+ :additional_configuration)
4151
4639
  SENSITIVE = []
4152
4640
  include Aws::Structure
4153
4641
  end
@@ -4167,12 +4655,18 @@ module Aws::GuardDuty
4167
4655
  # The timestamp at which the feature object was updated.
4168
4656
  # @return [Time]
4169
4657
  #
4658
+ # @!attribute [rw] additional_configuration
4659
+ # Indicates the additional configuration of the feature that is
4660
+ # configured for the member account.
4661
+ # @return [Array<Types::MemberAdditionalConfigurationResult>]
4662
+ #
4170
4663
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberFeaturesConfigurationResult AWS API Documentation
4171
4664
  #
4172
4665
  class MemberFeaturesConfigurationResult < Struct.new(
4173
4666
  :name,
4174
4667
  :status,
4175
- :updated_at)
4668
+ :updated_at,
4669
+ :additional_configuration)
4176
4670
  SENSITIVE = []
4177
4671
  include Aws::Structure
4178
4672
  end
@@ -4314,6 +4808,56 @@ module Aws::GuardDuty
4314
4808
  include Aws::Structure
4315
4809
  end
4316
4810
 
4811
+ # A list of additional configurations which will be configured for the
4812
+ # organization.
4813
+ #
4814
+ # @!attribute [rw] name
4815
+ # The name of the additional configuration that will be configured for
4816
+ # the organization.
4817
+ # @return [String]
4818
+ #
4819
+ # @!attribute [rw] auto_enable
4820
+ # The status of the additional configuration that will be configured
4821
+ # for the organization.
4822
+ # @return [String]
4823
+ #
4824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationAdditionalConfiguration AWS API Documentation
4825
+ #
4826
+ class OrganizationAdditionalConfiguration < Struct.new(
4827
+ :name,
4828
+ :auto_enable)
4829
+ SENSITIVE = []
4830
+ include Aws::Structure
4831
+ end
4832
+
4833
+ # A list of additional configuration which will be configured for the
4834
+ # organization.
4835
+ #
4836
+ # @!attribute [rw] name
4837
+ # The name of the additional configuration that is configured for the
4838
+ # member accounts within the organization.
4839
+ # @return [String]
4840
+ #
4841
+ # @!attribute [rw] auto_enable
4842
+ # Describes how The status of the additional configuration that are
4843
+ # configured for the member accounts within the organization.
4844
+ #
4845
+ # If you set `AutoEnable` to `NEW`, a feature will be configured for
4846
+ # only the new accounts when they join the organization.
4847
+ #
4848
+ # If you set `AutoEnable` to `NONE`, no feature will be configured for
4849
+ # the accounts when they join the organization.
4850
+ # @return [String]
4851
+ #
4852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationAdditionalConfigurationResult AWS API Documentation
4853
+ #
4854
+ class OrganizationAdditionalConfigurationResult < Struct.new(
4855
+ :name,
4856
+ :auto_enable)
4857
+ SENSITIVE = []
4858
+ include Aws::Structure
4859
+ end
4860
+
4317
4861
  # An object that contains information on which data sources will be
4318
4862
  # configured to be automatically enabled for new members within the
4319
4863
  # organization.
@@ -4412,11 +4956,17 @@ module Aws::GuardDuty
4412
4956
  # organization.
4413
4957
  # @return [String]
4414
4958
  #
4959
+ # @!attribute [rw] additional_configuration
4960
+ # The additional information that will be configured for the
4961
+ # organization.
4962
+ # @return [Array<Types::OrganizationAdditionalConfiguration>]
4963
+ #
4415
4964
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationFeatureConfiguration AWS API Documentation
4416
4965
  #
4417
4966
  class OrganizationFeatureConfiguration < Struct.new(
4418
4967
  :name,
4419
- :auto_enable)
4968
+ :auto_enable,
4969
+ :additional_configuration)
4420
4970
  SENSITIVE = []
4421
4971
  include Aws::Structure
4422
4972
  end
@@ -4439,11 +4989,17 @@ module Aws::GuardDuty
4439
4989
  # the accounts when they join the organization.
4440
4990
  # @return [String]
4441
4991
  #
4992
+ # @!attribute [rw] additional_configuration
4993
+ # The additional configuration that is configured for the member
4994
+ # accounts within the organization.
4995
+ # @return [Array<Types::OrganizationAdditionalConfigurationResult>]
4996
+ #
4442
4997
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationFeatureConfigurationResult AWS API Documentation
4443
4998
  #
4444
4999
  class OrganizationFeatureConfigurationResult < Struct.new(
4445
5000
  :name,
4446
- :auto_enable)
5001
+ :auto_enable,
5002
+ :additional_configuration)
4447
5003
  SENSITIVE = []
4448
5004
  include Aws::Structure
4449
5005
  end
@@ -4711,6 +5267,81 @@ module Aws::GuardDuty
4711
5267
  include Aws::Structure
4712
5268
  end
4713
5269
 
5270
+ # Information about the observed process.
5271
+ #
5272
+ # @!attribute [rw] name
5273
+ # The name of the process.
5274
+ # @return [String]
5275
+ #
5276
+ # @!attribute [rw] executable_path
5277
+ # The absolute path of the process executable file.
5278
+ # @return [String]
5279
+ #
5280
+ # @!attribute [rw] executable_sha_256
5281
+ # The `SHA256` hash of the process executable.
5282
+ # @return [String]
5283
+ #
5284
+ # @!attribute [rw] namespace_pid
5285
+ # The ID of the child process.
5286
+ # @return [Integer]
5287
+ #
5288
+ # @!attribute [rw] pwd
5289
+ # The present working directory of the process.
5290
+ # @return [String]
5291
+ #
5292
+ # @!attribute [rw] pid
5293
+ # The ID of the process.
5294
+ # @return [Integer]
5295
+ #
5296
+ # @!attribute [rw] start_time
5297
+ # The time when the process started. This is in UTC format.
5298
+ # @return [Time]
5299
+ #
5300
+ # @!attribute [rw] uuid
5301
+ # The unique ID assigned to the process by GuardDuty.
5302
+ # @return [String]
5303
+ #
5304
+ # @!attribute [rw] parent_uuid
5305
+ # The unique ID of the parent process. This ID is assigned to the
5306
+ # parent process by GuardDuty.
5307
+ # @return [String]
5308
+ #
5309
+ # @!attribute [rw] user
5310
+ # The user that executed the process.
5311
+ # @return [String]
5312
+ #
5313
+ # @!attribute [rw] user_id
5314
+ # The unique ID of the user that executed the process.
5315
+ # @return [Integer]
5316
+ #
5317
+ # @!attribute [rw] euid
5318
+ # The effective user ID of the user that executed the process.
5319
+ # @return [Integer]
5320
+ #
5321
+ # @!attribute [rw] lineage
5322
+ # Information about the process's lineage.
5323
+ # @return [Array<Types::LineageObject>]
5324
+ #
5325
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ProcessDetails AWS API Documentation
5326
+ #
5327
+ class ProcessDetails < Struct.new(
5328
+ :name,
5329
+ :executable_path,
5330
+ :executable_sha_256,
5331
+ :namespace_pid,
5332
+ :pwd,
5333
+ :pid,
5334
+ :start_time,
5335
+ :uuid,
5336
+ :parent_uuid,
5337
+ :user,
5338
+ :user_id,
5339
+ :euid,
5340
+ :lineage)
5341
+ SENSITIVE = []
5342
+ include Aws::Structure
5343
+ end
5344
+
4714
5345
  # Contains information about the product code for the EC2 instance.
4715
5346
  #
4716
5347
  # @!attribute [rw] code
@@ -5012,6 +5643,145 @@ module Aws::GuardDuty
5012
5643
  include Aws::Structure
5013
5644
  end
5014
5645
 
5646
+ # Additional information about the suspicious activity.
5647
+ #
5648
+ # @!attribute [rw] modifying_process
5649
+ # Information about the process that modified the current process.
5650
+ # This is available for multiple finding types.
5651
+ # @return [Types::ProcessDetails]
5652
+ #
5653
+ # @!attribute [rw] modified_at
5654
+ # The timestamp at which the process modified the current process. The
5655
+ # timestamp is in UTC date string format.
5656
+ # @return [Time]
5657
+ #
5658
+ # @!attribute [rw] script_path
5659
+ # The path to the script that was executed.
5660
+ # @return [String]
5661
+ #
5662
+ # @!attribute [rw] library_path
5663
+ # The path to the new library that was loaded.
5664
+ # @return [String]
5665
+ #
5666
+ # @!attribute [rw] ld_preload_value
5667
+ # The value of the LD\_PRELOAD environment variable.
5668
+ # @return [String]
5669
+ #
5670
+ # @!attribute [rw] socket_path
5671
+ # The path to the docket socket that was accessed.
5672
+ # @return [String]
5673
+ #
5674
+ # @!attribute [rw] runc_binary_path
5675
+ # The path to the leveraged `runc` implementation.
5676
+ # @return [String]
5677
+ #
5678
+ # @!attribute [rw] release_agent_path
5679
+ # The path in the container that modified the release agent file.
5680
+ # @return [String]
5681
+ #
5682
+ # @!attribute [rw] mount_source
5683
+ # The path on the host that is mounted by the container.
5684
+ # @return [String]
5685
+ #
5686
+ # @!attribute [rw] mount_target
5687
+ # The path in the container that is mapped to the host directory.
5688
+ # @return [String]
5689
+ #
5690
+ # @!attribute [rw] file_system_type
5691
+ # Represents the type of mounted fileSystem.
5692
+ # @return [String]
5693
+ #
5694
+ # @!attribute [rw] flags
5695
+ # Represents options that control the behavior of a runtime operation
5696
+ # or action. For example, a filesystem mount operation may contain a
5697
+ # read-only flag.
5698
+ # @return [Array<String>]
5699
+ #
5700
+ # @!attribute [rw] module_name
5701
+ # The name of the module loaded into the kernel.
5702
+ # @return [String]
5703
+ #
5704
+ # @!attribute [rw] module_file_path
5705
+ # The path to the module loaded into the kernel.
5706
+ # @return [String]
5707
+ #
5708
+ # @!attribute [rw] module_sha_256
5709
+ # The `SHA256` hash of the module.
5710
+ # @return [String]
5711
+ #
5712
+ # @!attribute [rw] shell_history_file_path
5713
+ # The path to the modified shell history file.
5714
+ # @return [String]
5715
+ #
5716
+ # @!attribute [rw] target_process
5717
+ # Information about the process that had its memory overwritten by the
5718
+ # current process.
5719
+ # @return [Types::ProcessDetails]
5720
+ #
5721
+ # @!attribute [rw] address_family
5722
+ # Represents the communication protocol associated with the address.
5723
+ # For example, the address family `AF_INET` is used for IP version of
5724
+ # 4 protocol.
5725
+ # @return [String]
5726
+ #
5727
+ # @!attribute [rw] iana_protocol_number
5728
+ # Specifies a particular protocol within the address family. Usually
5729
+ # there is a single protocol in address families. For example, the
5730
+ # address family `AF_INET` only has the IP protocol.
5731
+ # @return [Integer]
5732
+ #
5733
+ # @!attribute [rw] memory_regions
5734
+ # Specifies the Region of a process's address space such as stack and
5735
+ # heap.
5736
+ # @return [Array<String>]
5737
+ #
5738
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RuntimeContext AWS API Documentation
5739
+ #
5740
+ class RuntimeContext < Struct.new(
5741
+ :modifying_process,
5742
+ :modified_at,
5743
+ :script_path,
5744
+ :library_path,
5745
+ :ld_preload_value,
5746
+ :socket_path,
5747
+ :runc_binary_path,
5748
+ :release_agent_path,
5749
+ :mount_source,
5750
+ :mount_target,
5751
+ :file_system_type,
5752
+ :flags,
5753
+ :module_name,
5754
+ :module_file_path,
5755
+ :module_sha_256,
5756
+ :shell_history_file_path,
5757
+ :target_process,
5758
+ :address_family,
5759
+ :iana_protocol_number,
5760
+ :memory_regions)
5761
+ SENSITIVE = []
5762
+ include Aws::Structure
5763
+ end
5764
+
5765
+ # Information about the process and any required context values for a
5766
+ # specific finding.
5767
+ #
5768
+ # @!attribute [rw] process
5769
+ # Information about the observed process.
5770
+ # @return [Types::ProcessDetails]
5771
+ #
5772
+ # @!attribute [rw] context
5773
+ # Additional information about the suspicious activity.
5774
+ # @return [Types::RuntimeContext]
5775
+ #
5776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RuntimeDetails AWS API Documentation
5777
+ #
5778
+ class RuntimeDetails < Struct.new(
5779
+ :process,
5780
+ :context)
5781
+ SENSITIVE = []
5782
+ include Aws::Structure
5783
+ end
5784
+
5015
5785
  # Contains information on the S3 bucket.
5016
5786
  #
5017
5787
  # @!attribute [rw] arn
@@ -5480,6 +6250,11 @@ module Aws::GuardDuty
5480
6250
  # Returns details from the malware scan that created a finding.
5481
6251
  # @return [Types::EbsVolumeScanDetails]
5482
6252
  #
6253
+ # @!attribute [rw] runtime_details
6254
+ # Information about the process and any required context values for a
6255
+ # specific finding
6256
+ # @return [Types::RuntimeDetails]
6257
+ #
5483
6258
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Service AWS API Documentation
5484
6259
  #
5485
6260
  class Service < Struct.new(
@@ -5495,7 +6270,8 @@ module Aws::GuardDuty
5495
6270
  :user_feedback,
5496
6271
  :additional_info,
5497
6272
  :feature_name,
5498
- :ebs_volume_scan_details)
6273
+ :ebs_volume_scan_details,
6274
+ :runtime_details)
5499
6275
  SENSITIVE = []
5500
6276
  include Aws::Structure
5501
6277
  end
@@ -6070,12 +6846,15 @@ module Aws::GuardDuty
6070
6846
  end
6071
6847
 
6072
6848
  # @!attribute [rw] detector_id
6073
- # The ID of the detector to update the delegated administrator for.
6849
+ # The ID of the detector that configures the delegated administrator.
6074
6850
  # @return [String]
6075
6851
  #
6076
6852
  # @!attribute [rw] auto_enable
6077
6853
  # Indicates whether to automatically enable member accounts in the
6078
6854
  # organization.
6855
+ #
6856
+ # Even though this is still supported, we recommend using
6857
+ # `AutoEnableOrganizationMembers` to achieve the similar results.
6079
6858
  # @return [Boolean]
6080
6859
  #
6081
6860
  # @!attribute [rw] data_sources
@@ -6086,13 +6865,31 @@ module Aws::GuardDuty
6086
6865
  # A list of features that will be configured for the organization.
6087
6866
  # @return [Array<Types::OrganizationFeatureConfiguration>]
6088
6867
  #
6868
+ # @!attribute [rw] auto_enable_organization_members
6869
+ # Indicates the auto-enablement configuration of GuardDuty for the
6870
+ # member accounts in the organization.
6871
+ #
6872
+ # * `NEW`: Indicates that when a new account joins the organization,
6873
+ # they will have GuardDuty enabled automatically.
6874
+ #
6875
+ # * `ALL`: Indicates that all accounts in the Amazon Web Services
6876
+ # Organization have GuardDuty enabled automatically. This includes
6877
+ # `NEW` accounts that join the organization and accounts that may
6878
+ # have been suspended or removed from the organization in GuardDuty.
6879
+ #
6880
+ # * `NONE`: Indicates that GuardDuty will not be automatically enabled
6881
+ # for any accounts in the organization. GuardDuty must be managed
6882
+ # for each account individually by the administrator.
6883
+ # @return [String]
6884
+ #
6089
6885
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfigurationRequest AWS API Documentation
6090
6886
  #
6091
6887
  class UpdateOrganizationConfigurationRequest < Struct.new(
6092
6888
  :detector_id,
6093
6889
  :auto_enable,
6094
6890
  :data_sources,
6095
- :features)
6891
+ :features,
6892
+ :auto_enable_organization_members)
6096
6893
  SENSITIVE = []
6097
6894
  include Aws::Structure
6098
6895
  end