aws-sdk-securityhub 1.153.0 → 1.155.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.
data/sig/errors.rbs CHANGED
@@ -39,6 +39,14 @@ module Aws
39
39
  def message: () -> ::String
40
40
  def code: () -> ::String
41
41
  end
42
+ class OrganizationNotFoundException < ::Aws::Errors::ServiceError
43
+ def message: () -> ::String
44
+ def code: () -> ::String
45
+ end
46
+ class OrganizationalUnitNotFoundException < ::Aws::Errors::ServiceError
47
+ def message: () -> ::String
48
+ def code: () -> ::String
49
+ end
42
50
  class ResourceConflictException < ::Aws::Errors::ServiceError
43
51
  def message: () -> ::String
44
52
  def code: () -> ::String
data/sig/types.rbs CHANGED
@@ -3367,6 +3367,12 @@ module Aws::SecurityHub
3367
3367
  SENSITIVE: []
3368
3368
  end
3369
3369
 
3370
+ class AwsOrganizationScope
3371
+ attr_accessor organization_id: ::String
3372
+ attr_accessor organizational_unit_id: ::String
3373
+ SENSITIVE: []
3374
+ end
3375
+
3370
3376
  class AwsRdsDbClusterAssociatedRole
3371
3377
  attr_accessor role_arn: ::String
3372
3378
  attr_accessor status: ::String
@@ -5228,6 +5234,7 @@ module Aws::SecurityHub
5228
5234
  class DateRange
5229
5235
  attr_accessor value: ::Integer
5230
5236
  attr_accessor unit: ("DAYS")
5237
+ attr_accessor comparison: ("WITHIN" | "OLDER_THAN")
5231
5238
  SENSITIVE: []
5232
5239
  end
5233
5240
 
@@ -5596,6 +5603,11 @@ module Aws::SecurityHub
5596
5603
  SENSITIVE: []
5597
5604
  end
5598
5605
 
5606
+ class FindingScopes
5607
+ attr_accessor aws_organizations: ::Array[Types::AwsOrganizationScope]
5608
+ SENSITIVE: []
5609
+ end
5610
+
5599
5611
  class FindingsTrendsCompositeFilter
5600
5612
  attr_accessor string_filters: ::Array[Types::FindingsTrendsStringFilter]
5601
5613
  attr_accessor nested_composite_filters: ::Array[Types::FindingsTrendsCompositeFilter]
@@ -5641,6 +5653,14 @@ module Aws::SecurityHub
5641
5653
  SENSITIVE: []
5642
5654
  end
5643
5655
 
5656
+ class GenerateRecommendedPolicyV2Request
5657
+ attr_accessor metadata_uid: ::String
5658
+ SENSITIVE: []
5659
+ end
5660
+
5661
+ class GenerateRecommendedPolicyV2Response < Aws::EmptyStructure
5662
+ end
5663
+
5644
5664
  class GeneratorDetails
5645
5665
  attr_accessor name: ::String
5646
5666
  attr_accessor description: ::String
@@ -5787,6 +5807,7 @@ module Aws::SecurityHub
5787
5807
 
5788
5808
  class GetFindingStatisticsV2Request
5789
5809
  attr_accessor group_by_rules: ::Array[Types::GroupByRule]
5810
+ attr_accessor scopes: Types::FindingScopes
5790
5811
  attr_accessor sort_order: ("asc" | "desc")
5791
5812
  attr_accessor max_statistic_results: ::Integer
5792
5813
  SENSITIVE: []
@@ -5829,6 +5850,7 @@ module Aws::SecurityHub
5829
5850
 
5830
5851
  class GetFindingsV2Request
5831
5852
  attr_accessor filters: Types::OcsfFindingFilters
5853
+ attr_accessor scopes: Types::FindingScopes
5832
5854
  attr_accessor sort_criteria: ::Array[Types::SortCriterion]
5833
5855
  attr_accessor next_token: ::String
5834
5856
  attr_accessor max_results: ::Integer
@@ -5891,8 +5913,26 @@ module Aws::SecurityHub
5891
5913
  SENSITIVE: []
5892
5914
  end
5893
5915
 
5916
+ class GetRecommendedPolicyV2Request
5917
+ attr_accessor metadata_uid: ::String
5918
+ attr_accessor next_token: ::String
5919
+ attr_accessor max_results: ::Integer
5920
+ SENSITIVE: []
5921
+ end
5922
+
5923
+ class GetRecommendedPolicyV2Response
5924
+ attr_accessor next_token: ::String
5925
+ attr_accessor recommendation_type: ("UNUSED_PERMISSION_RECOMMENDATION")
5926
+ attr_accessor recommendation_steps: ::Array[Types::RecommendationStep]
5927
+ attr_accessor error: Types::RecommendationError
5928
+ attr_accessor status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
5929
+ attr_accessor resource_arn: ::String
5930
+ SENSITIVE: []
5931
+ end
5932
+
5894
5933
  class GetResourcesStatisticsV2Request
5895
5934
  attr_accessor group_by_rules: ::Array[Types::ResourceGroupByRule]
5935
+ attr_accessor scopes: Types::ResourceScopes
5896
5936
  attr_accessor sort_order: ("asc" | "desc")
5897
5937
  attr_accessor max_statistic_results: ::Integer
5898
5938
  SENSITIVE: []
@@ -5921,6 +5961,7 @@ module Aws::SecurityHub
5921
5961
 
5922
5962
  class GetResourcesV2Request
5923
5963
  attr_accessor filters: Types::ResourcesFilters
5964
+ attr_accessor scopes: Types::ResourceScopes
5924
5965
  attr_accessor sort_criteria: ::Array[Types::SortCriterion]
5925
5966
  attr_accessor next_token: ::String
5926
5967
  attr_accessor max_results: ::Integer
@@ -6487,6 +6528,18 @@ module Aws::SecurityHub
6487
6528
  SENSITIVE: []
6488
6529
  end
6489
6530
 
6531
+ class OrganizationNotFoundException
6532
+ attr_accessor message: ::String
6533
+ attr_accessor code: ::String
6534
+ SENSITIVE: []
6535
+ end
6536
+
6537
+ class OrganizationalUnitNotFoundException
6538
+ attr_accessor message: ::String
6539
+ attr_accessor code: ::String
6540
+ SENSITIVE: []
6541
+ end
6542
+
6490
6543
  class Page
6491
6544
  attr_accessor page_number: ::Integer
6492
6545
  attr_accessor line_range: Types::Range
@@ -6690,6 +6743,23 @@ module Aws::SecurityHub
6690
6743
  SENSITIVE: []
6691
6744
  end
6692
6745
 
6746
+ class RecommendationError
6747
+ attr_accessor code: ::String
6748
+ attr_accessor message: ::String
6749
+ SENSITIVE: []
6750
+ end
6751
+
6752
+ class RecommendationStep
6753
+ attr_accessor unused_permissions: Types::UnusedPermissionsRecommendationStep
6754
+ attr_accessor unknown: untyped
6755
+ SENSITIVE: []
6756
+
6757
+ class UnusedPermissions < RecommendationStep
6758
+ end
6759
+ class Unknown < RecommendationStep
6760
+ end
6761
+ end
6762
+
6693
6763
  class Record
6694
6764
  attr_accessor json_path: ::String
6695
6765
  attr_accessor record_index: ::Integer
@@ -6885,6 +6955,11 @@ module Aws::SecurityHub
6885
6955
  SENSITIVE: []
6886
6956
  end
6887
6957
 
6958
+ class ResourceScopes
6959
+ attr_accessor aws_organizations: ::Array[Types::AwsOrganizationScope]
6960
+ SENSITIVE: []
6961
+ end
6962
+
6888
6963
  class ResourceSeverityBreakdown
6889
6964
  attr_accessor other: ::Integer
6890
6965
  attr_accessor fatal: ::Integer
@@ -7556,6 +7631,15 @@ module Aws::SecurityHub
7556
7631
  class UntagResourceResponse < Aws::EmptyStructure
7557
7632
  end
7558
7633
 
7634
+ class UnusedPermissionsRecommendationStep
7635
+ attr_accessor recommended_action: ::String
7636
+ attr_accessor existing_policy: ::String
7637
+ attr_accessor existing_policy_id: ::String
7638
+ attr_accessor policy_updated_at: ::Time
7639
+ attr_accessor recommended_policy: ::String
7640
+ SENSITIVE: []
7641
+ end
7642
+
7559
7643
  class UpdateActionTargetRequest
7560
7644
  attr_accessor action_target_arn: ::String
7561
7645
  attr_accessor name: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-securityhub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.153.0
4
+ version: 1.155.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services