aws-sdk-guardduty 1.66.0 → 1.68.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
@@ -1589,15 +1806,17 @@ module Aws::GuardDuty
1589
1806
  # Indicates the auto-enablement configuration of GuardDuty for the
1590
1807
  # member accounts in the organization.
1591
1808
  #
1592
- # * `NEW`: Indicates that new accounts joining the organization are
1593
- # configured to have GuardDuty enabled automatically.
1809
+ # * `NEW`: Indicates that when a new account joins the organization,
1810
+ # they will have GuardDuty enabled automatically.
1594
1811
  #
1595
- # * `ALL`: Indicates that all accounts (new and existing members) in
1596
- # the organization are configured to have GuardDuty enabled
1597
- # automatically.
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.
1598
1816
  #
1599
- # * `NONE`: Indicates that no account in the organization will be
1600
- # configured to have GuardDuty enabled automatically.
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.
1601
1820
  # @return [String]
1602
1821
  #
1603
1822
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationResponse AWS API Documentation
@@ -1716,6 +1935,51 @@ module Aws::GuardDuty
1716
1935
  include Aws::Structure
1717
1936
  end
1718
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
+
1719
1983
  # Contains information about a GuardDuty feature.
1720
1984
  #
1721
1985
  # @!attribute [rw] name
@@ -1726,11 +1990,16 @@ module Aws::GuardDuty
1726
1990
  # The status of the feature.
1727
1991
  # @return [String]
1728
1992
  #
1993
+ # @!attribute [rw] additional_configuration
1994
+ # Additional configuration for a resource.
1995
+ # @return [Array<Types::DetectorAdditionalConfiguration>]
1996
+ #
1729
1997
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorFeatureConfiguration AWS API Documentation
1730
1998
  #
1731
1999
  class DetectorFeatureConfiguration < Struct.new(
1732
2000
  :name,
1733
- :status)
2001
+ :status,
2002
+ :additional_configuration)
1734
2003
  SENSITIVE = []
1735
2004
  include Aws::Structure
1736
2005
  end
@@ -1751,12 +2020,17 @@ module Aws::GuardDuty
1751
2020
  # The timestamp at which the feature object was updated.
1752
2021
  # @return [Time]
1753
2022
  #
2023
+ # @!attribute [rw] additional_configuration
2024
+ # Additional configuration for a resource.
2025
+ # @return [Array<Types::DetectorAdditionalConfigurationResult>]
2026
+ #
1754
2027
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorFeatureConfigurationResult AWS API Documentation
1755
2028
  #
1756
2029
  class DetectorFeatureConfigurationResult < Struct.new(
1757
2030
  :name,
1758
2031
  :status,
1759
- :updated_at)
2032
+ :updated_at,
2033
+ :additional_configuration)
1760
2034
  SENSITIVE = []
1761
2035
  include Aws::Structure
1762
2036
  end
@@ -2399,6 +2673,43 @@ module Aws::GuardDuty
2399
2673
  include Aws::Structure
2400
2674
  end
2401
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
+
2402
2713
  # @!attribute [rw] detector_id
2403
2714
  # The unique ID of the detector that you want to get.
2404
2715
  # @return [String]
@@ -3374,6 +3685,173 @@ module Aws::GuardDuty
3374
3685
  include Aws::Structure
3375
3686
  end
3376
3687
 
3688
+ # Information about the Lambda function involved in the finding.
3689
+ #
3690
+ # @!attribute [rw] function_arn
3691
+ # Amazon Resource Name (ARN) of the Lambda function.
3692
+ # @return [String]
3693
+ #
3694
+ # @!attribute [rw] function_name
3695
+ # Name of the Lambda function.
3696
+ # @return [String]
3697
+ #
3698
+ # @!attribute [rw] description
3699
+ # Description of the Lambda function.
3700
+ # @return [String]
3701
+ #
3702
+ # @!attribute [rw] last_modified_at
3703
+ # The timestamp when the Lambda function was last modified. This field
3704
+ # is in the UTC date string format `(2023-03-22T19:37:20.168Z)`.
3705
+ # @return [Time]
3706
+ #
3707
+ # @!attribute [rw] revision_id
3708
+ # The revision ID of the Lambda function version.
3709
+ # @return [String]
3710
+ #
3711
+ # @!attribute [rw] function_version
3712
+ # The version of the Lambda function.
3713
+ # @return [String]
3714
+ #
3715
+ # @!attribute [rw] role
3716
+ # The execution role of the Lambda function.
3717
+ # @return [String]
3718
+ #
3719
+ # @!attribute [rw] vpc_config
3720
+ # Amazon Virtual Private Cloud configuration details associated with
3721
+ # your Lambda function.
3722
+ # @return [Types::VpcConfig]
3723
+ #
3724
+ # @!attribute [rw] tags
3725
+ # A list of tags attached to this resource, listed in the format of
3726
+ # `key`:`value` pair.
3727
+ # @return [Array<Types::Tag>]
3728
+ #
3729
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LambdaDetails AWS API Documentation
3730
+ #
3731
+ class LambdaDetails < Struct.new(
3732
+ :function_arn,
3733
+ :function_name,
3734
+ :description,
3735
+ :last_modified_at,
3736
+ :revision_id,
3737
+ :function_version,
3738
+ :role,
3739
+ :vpc_config,
3740
+ :tags)
3741
+ SENSITIVE = []
3742
+ include Aws::Structure
3743
+ end
3744
+
3745
+ # Information about the runtime process details.
3746
+ #
3747
+ # @!attribute [rw] start_time
3748
+ # The time when the process started. This is in UTC format.
3749
+ # @return [Time]
3750
+ #
3751
+ # @!attribute [rw] namespace_pid
3752
+ # The process ID of the child process.
3753
+ # @return [Integer]
3754
+ #
3755
+ # @!attribute [rw] user_id
3756
+ # The user ID of the user that executed the process.
3757
+ # @return [Integer]
3758
+ #
3759
+ # @!attribute [rw] name
3760
+ # The name of the process.
3761
+ # @return [String]
3762
+ #
3763
+ # @!attribute [rw] pid
3764
+ # The ID of the process.
3765
+ # @return [Integer]
3766
+ #
3767
+ # @!attribute [rw] uuid
3768
+ # The unique ID assigned to the process by GuardDuty.
3769
+ # @return [String]
3770
+ #
3771
+ # @!attribute [rw] executable_path
3772
+ # The absolute path of the process executable file.
3773
+ # @return [String]
3774
+ #
3775
+ # @!attribute [rw] euid
3776
+ # The effective user ID that was used to execute the process.
3777
+ # @return [Integer]
3778
+ #
3779
+ # @!attribute [rw] parent_uuid
3780
+ # The unique ID of the parent process. This ID is assigned to the
3781
+ # parent process by GuardDuty.
3782
+ # @return [String]
3783
+ #
3784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LineageObject AWS API Documentation
3785
+ #
3786
+ class LineageObject < Struct.new(
3787
+ :start_time,
3788
+ :namespace_pid,
3789
+ :user_id,
3790
+ :name,
3791
+ :pid,
3792
+ :uuid,
3793
+ :executable_path,
3794
+ :euid,
3795
+ :parent_uuid)
3796
+ SENSITIVE = []
3797
+ include Aws::Structure
3798
+ end
3799
+
3800
+ # @!attribute [rw] detector_id
3801
+ # The unique ID of the detector whose coverage details you want to
3802
+ # retrieve.
3803
+ # @return [String]
3804
+ #
3805
+ # @!attribute [rw] next_token
3806
+ # A token to use for paginating results that are returned in the
3807
+ # response. Set the value of this parameter to null for the first
3808
+ # request to a list action. For subsequent calls, use the NextToken
3809
+ # value returned from the previous request to continue listing results
3810
+ # after the first page.
3811
+ # @return [String]
3812
+ #
3813
+ # @!attribute [rw] max_results
3814
+ # The maximum number of results to return in the response.
3815
+ # @return [Integer]
3816
+ #
3817
+ # @!attribute [rw] filter_criteria
3818
+ # Represents the criteria used to filter the coverage details.
3819
+ # @return [Types::CoverageFilterCriteria]
3820
+ #
3821
+ # @!attribute [rw] sort_criteria
3822
+ # Represents the criteria used to sort the coverage details.
3823
+ # @return [Types::CoverageSortCriteria]
3824
+ #
3825
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListCoverageRequest AWS API Documentation
3826
+ #
3827
+ class ListCoverageRequest < Struct.new(
3828
+ :detector_id,
3829
+ :next_token,
3830
+ :max_results,
3831
+ :filter_criteria,
3832
+ :sort_criteria)
3833
+ SENSITIVE = []
3834
+ include Aws::Structure
3835
+ end
3836
+
3837
+ # @!attribute [rw] resources
3838
+ # A list of resources and their attributes providing cluster details.
3839
+ # @return [Array<Types::CoverageResource>]
3840
+ #
3841
+ # @!attribute [rw] next_token
3842
+ # The pagination parameter to be used on the next list operation to
3843
+ # retrieve more items.
3844
+ # @return [String]
3845
+ #
3846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListCoverageResponse AWS API Documentation
3847
+ #
3848
+ class ListCoverageResponse < Struct.new(
3849
+ :resources,
3850
+ :next_token)
3851
+ SENSITIVE = []
3852
+ include Aws::Structure
3853
+ end
3854
+
3377
3855
  # @!attribute [rw] max_results
3378
3856
  # You can use this parameter to indicate the maximum number of items
3379
3857
  # that you want in the response. The default value is 50. The maximum
@@ -4123,6 +4601,52 @@ module Aws::GuardDuty
4123
4601
  include Aws::Structure
4124
4602
  end
4125
4603
 
4604
+ # Information about the additional configuration for the member account.
4605
+ #
4606
+ # @!attribute [rw] name
4607
+ # Name of the additional configuration.
4608
+ # @return [String]
4609
+ #
4610
+ # @!attribute [rw] status
4611
+ # Status of the additional configuration.
4612
+ # @return [String]
4613
+ #
4614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberAdditionalConfiguration AWS API Documentation
4615
+ #
4616
+ class MemberAdditionalConfiguration < Struct.new(
4617
+ :name,
4618
+ :status)
4619
+ SENSITIVE = []
4620
+ include Aws::Structure
4621
+ end
4622
+
4623
+ # Information about the additional configuration for the member account.
4624
+ #
4625
+ # @!attribute [rw] name
4626
+ # Indicates the name of the additional configuration that is set for
4627
+ # the member account.
4628
+ # @return [String]
4629
+ #
4630
+ # @!attribute [rw] status
4631
+ # Indicates the status of the additional configuration that is set for
4632
+ # the member account.
4633
+ # @return [String]
4634
+ #
4635
+ # @!attribute [rw] updated_at
4636
+ # The timestamp at which the additional configuration was set for the
4637
+ # member account. This is in UTC format.
4638
+ # @return [Time]
4639
+ #
4640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberAdditionalConfigurationResult AWS API Documentation
4641
+ #
4642
+ class MemberAdditionalConfigurationResult < Struct.new(
4643
+ :name,
4644
+ :status,
4645
+ :updated_at)
4646
+ SENSITIVE = []
4647
+ include Aws::Structure
4648
+ end
4649
+
4126
4650
  # Contains information on which data sources are enabled for a member
4127
4651
  # account.
4128
4652
  #
@@ -4159,11 +4683,16 @@ module Aws::GuardDuty
4159
4683
  # The status of the feature.
4160
4684
  # @return [String]
4161
4685
  #
4686
+ # @!attribute [rw] additional_configuration
4687
+ # Additional configuration of the feature for the member account.
4688
+ # @return [Array<Types::MemberAdditionalConfiguration>]
4689
+ #
4162
4690
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberFeaturesConfiguration AWS API Documentation
4163
4691
  #
4164
4692
  class MemberFeaturesConfiguration < Struct.new(
4165
4693
  :name,
4166
- :status)
4694
+ :status,
4695
+ :additional_configuration)
4167
4696
  SENSITIVE = []
4168
4697
  include Aws::Structure
4169
4698
  end
@@ -4183,12 +4712,18 @@ module Aws::GuardDuty
4183
4712
  # The timestamp at which the feature object was updated.
4184
4713
  # @return [Time]
4185
4714
  #
4715
+ # @!attribute [rw] additional_configuration
4716
+ # Indicates the additional configuration of the feature that is
4717
+ # configured for the member account.
4718
+ # @return [Array<Types::MemberAdditionalConfigurationResult>]
4719
+ #
4186
4720
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberFeaturesConfigurationResult AWS API Documentation
4187
4721
  #
4188
4722
  class MemberFeaturesConfigurationResult < Struct.new(
4189
4723
  :name,
4190
4724
  :status,
4191
- :updated_at)
4725
+ :updated_at,
4726
+ :additional_configuration)
4192
4727
  SENSITIVE = []
4193
4728
  include Aws::Structure
4194
4729
  end
@@ -4330,6 +4865,56 @@ module Aws::GuardDuty
4330
4865
  include Aws::Structure
4331
4866
  end
4332
4867
 
4868
+ # A list of additional configurations which will be configured for the
4869
+ # organization.
4870
+ #
4871
+ # @!attribute [rw] name
4872
+ # The name of the additional configuration that will be configured for
4873
+ # the organization.
4874
+ # @return [String]
4875
+ #
4876
+ # @!attribute [rw] auto_enable
4877
+ # The status of the additional configuration that will be configured
4878
+ # for the organization.
4879
+ # @return [String]
4880
+ #
4881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationAdditionalConfiguration AWS API Documentation
4882
+ #
4883
+ class OrganizationAdditionalConfiguration < Struct.new(
4884
+ :name,
4885
+ :auto_enable)
4886
+ SENSITIVE = []
4887
+ include Aws::Structure
4888
+ end
4889
+
4890
+ # A list of additional configuration which will be configured for the
4891
+ # organization.
4892
+ #
4893
+ # @!attribute [rw] name
4894
+ # The name of the additional configuration that is configured for the
4895
+ # member accounts within the organization.
4896
+ # @return [String]
4897
+ #
4898
+ # @!attribute [rw] auto_enable
4899
+ # Describes how The status of the additional configuration that are
4900
+ # configured for the member accounts within the organization.
4901
+ #
4902
+ # If you set `AutoEnable` to `NEW`, a feature will be configured for
4903
+ # only the new accounts when they join the organization.
4904
+ #
4905
+ # If you set `AutoEnable` to `NONE`, no feature will be configured for
4906
+ # the accounts when they join the organization.
4907
+ # @return [String]
4908
+ #
4909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationAdditionalConfigurationResult AWS API Documentation
4910
+ #
4911
+ class OrganizationAdditionalConfigurationResult < Struct.new(
4912
+ :name,
4913
+ :auto_enable)
4914
+ SENSITIVE = []
4915
+ include Aws::Structure
4916
+ end
4917
+
4333
4918
  # An object that contains information on which data sources will be
4334
4919
  # configured to be automatically enabled for new members within the
4335
4920
  # organization.
@@ -4428,11 +5013,17 @@ module Aws::GuardDuty
4428
5013
  # organization.
4429
5014
  # @return [String]
4430
5015
  #
5016
+ # @!attribute [rw] additional_configuration
5017
+ # The additional information that will be configured for the
5018
+ # organization.
5019
+ # @return [Array<Types::OrganizationAdditionalConfiguration>]
5020
+ #
4431
5021
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationFeatureConfiguration AWS API Documentation
4432
5022
  #
4433
5023
  class OrganizationFeatureConfiguration < Struct.new(
4434
5024
  :name,
4435
- :auto_enable)
5025
+ :auto_enable,
5026
+ :additional_configuration)
4436
5027
  SENSITIVE = []
4437
5028
  include Aws::Structure
4438
5029
  end
@@ -4455,11 +5046,17 @@ module Aws::GuardDuty
4455
5046
  # the accounts when they join the organization.
4456
5047
  # @return [String]
4457
5048
  #
5049
+ # @!attribute [rw] additional_configuration
5050
+ # The additional configuration that is configured for the member
5051
+ # accounts within the organization.
5052
+ # @return [Array<Types::OrganizationAdditionalConfigurationResult>]
5053
+ #
4458
5054
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationFeatureConfigurationResult AWS API Documentation
4459
5055
  #
4460
5056
  class OrganizationFeatureConfigurationResult < Struct.new(
4461
5057
  :name,
4462
- :auto_enable)
5058
+ :auto_enable,
5059
+ :additional_configuration)
4463
5060
  SENSITIVE = []
4464
5061
  include Aws::Structure
4465
5062
  end
@@ -4727,6 +5324,81 @@ module Aws::GuardDuty
4727
5324
  include Aws::Structure
4728
5325
  end
4729
5326
 
5327
+ # Information about the observed process.
5328
+ #
5329
+ # @!attribute [rw] name
5330
+ # The name of the process.
5331
+ # @return [String]
5332
+ #
5333
+ # @!attribute [rw] executable_path
5334
+ # The absolute path of the process executable file.
5335
+ # @return [String]
5336
+ #
5337
+ # @!attribute [rw] executable_sha_256
5338
+ # The `SHA256` hash of the process executable.
5339
+ # @return [String]
5340
+ #
5341
+ # @!attribute [rw] namespace_pid
5342
+ # The ID of the child process.
5343
+ # @return [Integer]
5344
+ #
5345
+ # @!attribute [rw] pwd
5346
+ # The present working directory of the process.
5347
+ # @return [String]
5348
+ #
5349
+ # @!attribute [rw] pid
5350
+ # The ID of the process.
5351
+ # @return [Integer]
5352
+ #
5353
+ # @!attribute [rw] start_time
5354
+ # The time when the process started. This is in UTC format.
5355
+ # @return [Time]
5356
+ #
5357
+ # @!attribute [rw] uuid
5358
+ # The unique ID assigned to the process by GuardDuty.
5359
+ # @return [String]
5360
+ #
5361
+ # @!attribute [rw] parent_uuid
5362
+ # The unique ID of the parent process. This ID is assigned to the
5363
+ # parent process by GuardDuty.
5364
+ # @return [String]
5365
+ #
5366
+ # @!attribute [rw] user
5367
+ # The user that executed the process.
5368
+ # @return [String]
5369
+ #
5370
+ # @!attribute [rw] user_id
5371
+ # The unique ID of the user that executed the process.
5372
+ # @return [Integer]
5373
+ #
5374
+ # @!attribute [rw] euid
5375
+ # The effective user ID of the user that executed the process.
5376
+ # @return [Integer]
5377
+ #
5378
+ # @!attribute [rw] lineage
5379
+ # Information about the process's lineage.
5380
+ # @return [Array<Types::LineageObject>]
5381
+ #
5382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ProcessDetails AWS API Documentation
5383
+ #
5384
+ class ProcessDetails < Struct.new(
5385
+ :name,
5386
+ :executable_path,
5387
+ :executable_sha_256,
5388
+ :namespace_pid,
5389
+ :pwd,
5390
+ :pid,
5391
+ :start_time,
5392
+ :uuid,
5393
+ :parent_uuid,
5394
+ :user,
5395
+ :user_id,
5396
+ :euid,
5397
+ :lineage)
5398
+ SENSITIVE = []
5399
+ include Aws::Structure
5400
+ end
5401
+
4730
5402
  # Contains information about the product code for the EC2 instance.
4731
5403
  #
4732
5404
  # @!attribute [rw] code
@@ -4996,6 +5668,11 @@ module Aws::GuardDuty
4996
5668
  # login attempt was made.
4997
5669
  # @return [Types::RdsDbUserDetails]
4998
5670
  #
5671
+ # @!attribute [rw] lambda_details
5672
+ # Contains information about the Lambda function that was involved in
5673
+ # a finding.
5674
+ # @return [Types::LambdaDetails]
5675
+ #
4999
5676
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Resource AWS API Documentation
5000
5677
  #
5001
5678
  class Resource < Struct.new(
@@ -5009,7 +5686,8 @@ module Aws::GuardDuty
5009
5686
  :ecs_cluster_details,
5010
5687
  :container_details,
5011
5688
  :rds_db_instance_details,
5012
- :rds_db_user_details)
5689
+ :rds_db_user_details,
5690
+ :lambda_details)
5013
5691
  SENSITIVE = []
5014
5692
  include Aws::Structure
5015
5693
  end
@@ -5028,6 +5706,145 @@ module Aws::GuardDuty
5028
5706
  include Aws::Structure
5029
5707
  end
5030
5708
 
5709
+ # Additional information about the suspicious activity.
5710
+ #
5711
+ # @!attribute [rw] modifying_process
5712
+ # Information about the process that modified the current process.
5713
+ # This is available for multiple finding types.
5714
+ # @return [Types::ProcessDetails]
5715
+ #
5716
+ # @!attribute [rw] modified_at
5717
+ # The timestamp at which the process modified the current process. The
5718
+ # timestamp is in UTC date string format.
5719
+ # @return [Time]
5720
+ #
5721
+ # @!attribute [rw] script_path
5722
+ # The path to the script that was executed.
5723
+ # @return [String]
5724
+ #
5725
+ # @!attribute [rw] library_path
5726
+ # The path to the new library that was loaded.
5727
+ # @return [String]
5728
+ #
5729
+ # @!attribute [rw] ld_preload_value
5730
+ # The value of the LD\_PRELOAD environment variable.
5731
+ # @return [String]
5732
+ #
5733
+ # @!attribute [rw] socket_path
5734
+ # The path to the docket socket that was accessed.
5735
+ # @return [String]
5736
+ #
5737
+ # @!attribute [rw] runc_binary_path
5738
+ # The path to the leveraged `runc` implementation.
5739
+ # @return [String]
5740
+ #
5741
+ # @!attribute [rw] release_agent_path
5742
+ # The path in the container that modified the release agent file.
5743
+ # @return [String]
5744
+ #
5745
+ # @!attribute [rw] mount_source
5746
+ # The path on the host that is mounted by the container.
5747
+ # @return [String]
5748
+ #
5749
+ # @!attribute [rw] mount_target
5750
+ # The path in the container that is mapped to the host directory.
5751
+ # @return [String]
5752
+ #
5753
+ # @!attribute [rw] file_system_type
5754
+ # Represents the type of mounted fileSystem.
5755
+ # @return [String]
5756
+ #
5757
+ # @!attribute [rw] flags
5758
+ # Represents options that control the behavior of a runtime operation
5759
+ # or action. For example, a filesystem mount operation may contain a
5760
+ # read-only flag.
5761
+ # @return [Array<String>]
5762
+ #
5763
+ # @!attribute [rw] module_name
5764
+ # The name of the module loaded into the kernel.
5765
+ # @return [String]
5766
+ #
5767
+ # @!attribute [rw] module_file_path
5768
+ # The path to the module loaded into the kernel.
5769
+ # @return [String]
5770
+ #
5771
+ # @!attribute [rw] module_sha_256
5772
+ # The `SHA256` hash of the module.
5773
+ # @return [String]
5774
+ #
5775
+ # @!attribute [rw] shell_history_file_path
5776
+ # The path to the modified shell history file.
5777
+ # @return [String]
5778
+ #
5779
+ # @!attribute [rw] target_process
5780
+ # Information about the process that had its memory overwritten by the
5781
+ # current process.
5782
+ # @return [Types::ProcessDetails]
5783
+ #
5784
+ # @!attribute [rw] address_family
5785
+ # Represents the communication protocol associated with the address.
5786
+ # For example, the address family `AF_INET` is used for IP version of
5787
+ # 4 protocol.
5788
+ # @return [String]
5789
+ #
5790
+ # @!attribute [rw] iana_protocol_number
5791
+ # Specifies a particular protocol within the address family. Usually
5792
+ # there is a single protocol in address families. For example, the
5793
+ # address family `AF_INET` only has the IP protocol.
5794
+ # @return [Integer]
5795
+ #
5796
+ # @!attribute [rw] memory_regions
5797
+ # Specifies the Region of a process's address space such as stack and
5798
+ # heap.
5799
+ # @return [Array<String>]
5800
+ #
5801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RuntimeContext AWS API Documentation
5802
+ #
5803
+ class RuntimeContext < Struct.new(
5804
+ :modifying_process,
5805
+ :modified_at,
5806
+ :script_path,
5807
+ :library_path,
5808
+ :ld_preload_value,
5809
+ :socket_path,
5810
+ :runc_binary_path,
5811
+ :release_agent_path,
5812
+ :mount_source,
5813
+ :mount_target,
5814
+ :file_system_type,
5815
+ :flags,
5816
+ :module_name,
5817
+ :module_file_path,
5818
+ :module_sha_256,
5819
+ :shell_history_file_path,
5820
+ :target_process,
5821
+ :address_family,
5822
+ :iana_protocol_number,
5823
+ :memory_regions)
5824
+ SENSITIVE = []
5825
+ include Aws::Structure
5826
+ end
5827
+
5828
+ # Information about the process and any required context values for a
5829
+ # specific finding.
5830
+ #
5831
+ # @!attribute [rw] process
5832
+ # Information about the observed process.
5833
+ # @return [Types::ProcessDetails]
5834
+ #
5835
+ # @!attribute [rw] context
5836
+ # Additional information about the suspicious activity.
5837
+ # @return [Types::RuntimeContext]
5838
+ #
5839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RuntimeDetails AWS API Documentation
5840
+ #
5841
+ class RuntimeDetails < Struct.new(
5842
+ :process,
5843
+ :context)
5844
+ SENSITIVE = []
5845
+ include Aws::Structure
5846
+ end
5847
+
5031
5848
  # Contains information on the S3 bucket.
5032
5849
  #
5033
5850
  # @!attribute [rw] arn
@@ -5496,6 +6313,11 @@ module Aws::GuardDuty
5496
6313
  # Returns details from the malware scan that created a finding.
5497
6314
  # @return [Types::EbsVolumeScanDetails]
5498
6315
  #
6316
+ # @!attribute [rw] runtime_details
6317
+ # Information about the process and any required context values for a
6318
+ # specific finding
6319
+ # @return [Types::RuntimeDetails]
6320
+ #
5499
6321
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Service AWS API Documentation
5500
6322
  #
5501
6323
  class Service < Struct.new(
@@ -5511,7 +6333,8 @@ module Aws::GuardDuty
5511
6333
  :user_feedback,
5512
6334
  :additional_info,
5513
6335
  :feature_name,
5514
- :ebs_volume_scan_details)
6336
+ :ebs_volume_scan_details,
6337
+ :runtime_details)
5515
6338
  SENSITIVE = []
5516
6339
  include Aws::Structure
5517
6340
  end
@@ -6092,6 +6915,9 @@ module Aws::GuardDuty
6092
6915
  # @!attribute [rw] auto_enable
6093
6916
  # Indicates whether to automatically enable member accounts in the
6094
6917
  # organization.
6918
+ #
6919
+ # Even though this is still supported, we recommend using
6920
+ # `AutoEnableOrganizationMembers` to achieve the similar results.
6095
6921
  # @return [Boolean]
6096
6922
  #
6097
6923
  # @!attribute [rw] data_sources
@@ -6106,15 +6932,17 @@ module Aws::GuardDuty
6106
6932
  # Indicates the auto-enablement configuration of GuardDuty for the
6107
6933
  # member accounts in the organization.
6108
6934
  #
6109
- # * `NEW`: Indicates that new accounts joining the organization are
6110
- # configured to have GuardDuty enabled automatically.
6935
+ # * `NEW`: Indicates that when a new account joins the organization,
6936
+ # they will have GuardDuty enabled automatically.
6111
6937
  #
6112
- # * `ALL`: Indicates that all accounts (new and existing members) in
6113
- # the organization are configured to have GuardDuty enabled
6114
- # automatically.
6938
+ # * `ALL`: Indicates that all accounts in the Amazon Web Services
6939
+ # Organization have GuardDuty enabled automatically. This includes
6940
+ # `NEW` accounts that join the organization and accounts that may
6941
+ # have been suspended or removed from the organization in GuardDuty.
6115
6942
  #
6116
- # * `NONE`: Indicates that no account in the organization will be
6117
- # configured to have GuardDuty enabled automatically.
6943
+ # * `NONE`: Indicates that GuardDuty will not be automatically enabled
6944
+ # for any accounts in the organization. GuardDuty must be managed
6945
+ # for each account individually by the administrator.
6118
6946
  # @return [String]
6119
6947
  #
6120
6948
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfigurationRequest AWS API Documentation
@@ -6430,5 +7258,32 @@ module Aws::GuardDuty
6430
7258
  include Aws::Structure
6431
7259
  end
6432
7260
 
7261
+ # Amazon Virtual Private Cloud configuration details associated with
7262
+ # your Lambda function.
7263
+ #
7264
+ # @!attribute [rw] subnet_ids
7265
+ # The identifiers of the subnets that are associated with your Lambda
7266
+ # function.
7267
+ # @return [Array<String>]
7268
+ #
7269
+ # @!attribute [rw] vpc_id
7270
+ # The identifier of the Amazon Virtual Private Cloud.
7271
+ # @return [String]
7272
+ #
7273
+ # @!attribute [rw] security_groups
7274
+ # The identifier of the security group attached to the Lambda
7275
+ # function.
7276
+ # @return [Array<Types::SecurityGroup>]
7277
+ #
7278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/VpcConfig AWS API Documentation
7279
+ #
7280
+ class VpcConfig < Struct.new(
7281
+ :subnet_ids,
7282
+ :vpc_id,
7283
+ :security_groups)
7284
+ SENSITIVE = []
7285
+ include Aws::Structure
7286
+ end
7287
+
6433
7288
  end
6434
7289
  end