aws-sdk-securityhub 1.154.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +164 -1
- data/lib/aws-sdk-securityhub/client_api.rb +83 -0
- data/lib/aws-sdk-securityhub/types.rb +179 -4
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +145 -60
- data/sig/types.rbs +52 -0
- metadata +1 -1
data/sig/types.rbs
CHANGED
|
@@ -5234,6 +5234,7 @@ module Aws::SecurityHub
|
|
|
5234
5234
|
class DateRange
|
|
5235
5235
|
attr_accessor value: ::Integer
|
|
5236
5236
|
attr_accessor unit: ("DAYS")
|
|
5237
|
+
attr_accessor comparison: ("WITHIN" | "OLDER_THAN")
|
|
5237
5238
|
SENSITIVE: []
|
|
5238
5239
|
end
|
|
5239
5240
|
|
|
@@ -5652,6 +5653,14 @@ module Aws::SecurityHub
|
|
|
5652
5653
|
SENSITIVE: []
|
|
5653
5654
|
end
|
|
5654
5655
|
|
|
5656
|
+
class GenerateRecommendedPolicyV2Request
|
|
5657
|
+
attr_accessor metadata_uid: ::String
|
|
5658
|
+
SENSITIVE: []
|
|
5659
|
+
end
|
|
5660
|
+
|
|
5661
|
+
class GenerateRecommendedPolicyV2Response < Aws::EmptyStructure
|
|
5662
|
+
end
|
|
5663
|
+
|
|
5655
5664
|
class GeneratorDetails
|
|
5656
5665
|
attr_accessor name: ::String
|
|
5657
5666
|
attr_accessor description: ::String
|
|
@@ -5904,6 +5913,23 @@ module Aws::SecurityHub
|
|
|
5904
5913
|
SENSITIVE: []
|
|
5905
5914
|
end
|
|
5906
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
|
+
|
|
5907
5933
|
class GetResourcesStatisticsV2Request
|
|
5908
5934
|
attr_accessor group_by_rules: ::Array[Types::ResourceGroupByRule]
|
|
5909
5935
|
attr_accessor scopes: Types::ResourceScopes
|
|
@@ -6717,6 +6743,23 @@ module Aws::SecurityHub
|
|
|
6717
6743
|
SENSITIVE: []
|
|
6718
6744
|
end
|
|
6719
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
|
+
|
|
6720
6763
|
class Record
|
|
6721
6764
|
attr_accessor json_path: ::String
|
|
6722
6765
|
attr_accessor record_index: ::Integer
|
|
@@ -7588,6 +7631,15 @@ module Aws::SecurityHub
|
|
|
7588
7631
|
class UntagResourceResponse < Aws::EmptyStructure
|
|
7589
7632
|
end
|
|
7590
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
|
+
|
|
7591
7643
|
class UpdateActionTargetRequest
|
|
7592
7644
|
attr_accessor action_target_arn: ::String
|
|
7593
7645
|
attr_accessor name: ::String
|