aws-sdk-securityhub 1.173.0 → 1.174.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 +368 -1
- data/lib/aws-sdk-securityhub/client_api.rb +161 -0
- data/lib/aws-sdk-securityhub/types.rb +434 -0
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +82 -0
- data/sig/params.rbs +35 -0
- data/sig/types.rbs +97 -0
- metadata +3 -3
data/sig/types.rbs
CHANGED
|
@@ -6321,6 +6321,52 @@ module Aws::SecurityHub
|
|
|
6321
6321
|
SENSITIVE: []
|
|
6322
6322
|
end
|
|
6323
6323
|
|
|
6324
|
+
class GetSoftwareResourcesV2Request
|
|
6325
|
+
attr_accessor package_name: ::String
|
|
6326
|
+
attr_accessor package_type: ::String
|
|
6327
|
+
attr_accessor package_version: ::String
|
|
6328
|
+
attr_accessor filters: Types::SoftwareFilters
|
|
6329
|
+
attr_accessor scopes: Types::SoftwareScopes
|
|
6330
|
+
attr_accessor sort_criteria: ::Array[Types::SortCriterion]
|
|
6331
|
+
attr_accessor next_token: ::String
|
|
6332
|
+
attr_accessor max_results: ::Integer
|
|
6333
|
+
SENSITIVE: []
|
|
6334
|
+
end
|
|
6335
|
+
|
|
6336
|
+
class GetSoftwareResourcesV2Response
|
|
6337
|
+
attr_accessor software_resources: ::Array[Types::SoftwareResourceResult]
|
|
6338
|
+
attr_accessor next_token: ::String
|
|
6339
|
+
SENSITIVE: []
|
|
6340
|
+
end
|
|
6341
|
+
|
|
6342
|
+
class GetSoftwareStatisticsV2Request
|
|
6343
|
+
attr_accessor group_by_rules: ::Array[Types::SoftwareGroupByRule]
|
|
6344
|
+
attr_accessor scopes: Types::SoftwareScopes
|
|
6345
|
+
attr_accessor sort_order: ("asc" | "desc")
|
|
6346
|
+
attr_accessor max_statistic_results: ::Integer
|
|
6347
|
+
SENSITIVE: []
|
|
6348
|
+
end
|
|
6349
|
+
|
|
6350
|
+
class GetSoftwareStatisticsV2Response
|
|
6351
|
+
attr_accessor group_by_results: ::Array[Types::GroupByResult]
|
|
6352
|
+
SENSITIVE: []
|
|
6353
|
+
end
|
|
6354
|
+
|
|
6355
|
+
class GetSoftwareV2Request
|
|
6356
|
+
attr_accessor filters: Types::SoftwareFilters
|
|
6357
|
+
attr_accessor scopes: Types::SoftwareScopes
|
|
6358
|
+
attr_accessor sort_criteria: ::Array[Types::SortCriterion]
|
|
6359
|
+
attr_accessor next_token: ::String
|
|
6360
|
+
attr_accessor max_results: ::Integer
|
|
6361
|
+
SENSITIVE: []
|
|
6362
|
+
end
|
|
6363
|
+
|
|
6364
|
+
class GetSoftwareV2Response
|
|
6365
|
+
attr_accessor software: ::Array[Types::SoftwareResult]
|
|
6366
|
+
attr_accessor next_token: ::String
|
|
6367
|
+
SENSITIVE: []
|
|
6368
|
+
end
|
|
6369
|
+
|
|
6324
6370
|
class GroupByResult
|
|
6325
6371
|
attr_accessor group_by_field: ::String
|
|
6326
6372
|
attr_accessor group_by_values: ::Array[Types::GroupByValue]
|
|
@@ -7954,6 +8000,25 @@ module Aws::SecurityHub
|
|
|
7954
8000
|
SENSITIVE: []
|
|
7955
8001
|
end
|
|
7956
8002
|
|
|
8003
|
+
class SoftwareCompositeFilter
|
|
8004
|
+
attr_accessor string_filters: ::Array[Types::SoftwareStringFilter]
|
|
8005
|
+
attr_accessor nested_composite_filters: ::Array[Types::SoftwareCompositeFilter]
|
|
8006
|
+
attr_accessor operator: ("AND" | "OR")
|
|
8007
|
+
SENSITIVE: []
|
|
8008
|
+
end
|
|
8009
|
+
|
|
8010
|
+
class SoftwareFilters
|
|
8011
|
+
attr_accessor composite_filters: ::Array[Types::SoftwareCompositeFilter]
|
|
8012
|
+
attr_accessor composite_operator: ("AND" | "OR")
|
|
8013
|
+
SENSITIVE: []
|
|
8014
|
+
end
|
|
8015
|
+
|
|
8016
|
+
class SoftwareGroupByRule
|
|
8017
|
+
attr_accessor group_by_field: ("AccountId" | "PackageName" | "PackageVersion" | "PackageType" | "Region" | "ResourceRegion" | "ResourceType" | "ResourceId" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition")
|
|
8018
|
+
attr_accessor filters: Types::SoftwareFilters
|
|
8019
|
+
SENSITIVE: []
|
|
8020
|
+
end
|
|
8021
|
+
|
|
7957
8022
|
class SoftwarePackage
|
|
7958
8023
|
attr_accessor name: ::String
|
|
7959
8024
|
attr_accessor version: ::String
|
|
@@ -7969,6 +8034,38 @@ module Aws::SecurityHub
|
|
|
7969
8034
|
SENSITIVE: []
|
|
7970
8035
|
end
|
|
7971
8036
|
|
|
8037
|
+
class SoftwareResourceResult
|
|
8038
|
+
attr_accessor account_id: ::String
|
|
8039
|
+
attr_accessor resource_type: ::String
|
|
8040
|
+
attr_accessor region: ::String
|
|
8041
|
+
attr_accessor resource_id: ::String
|
|
8042
|
+
attr_accessor resource_provider: ::String
|
|
8043
|
+
attr_accessor resource_owner_org_id: ::String
|
|
8044
|
+
attr_accessor resource_owner_account_id: ::String
|
|
8045
|
+
attr_accessor resource_cloud_partition: ::String
|
|
8046
|
+
attr_accessor resource_region: ::String
|
|
8047
|
+
SENSITIVE: []
|
|
8048
|
+
end
|
|
8049
|
+
|
|
8050
|
+
class SoftwareResult
|
|
8051
|
+
attr_accessor package_name: ::String
|
|
8052
|
+
attr_accessor package_version: ::String
|
|
8053
|
+
attr_accessor package_type: ::String
|
|
8054
|
+
attr_accessor resource_count: ::Integer
|
|
8055
|
+
SENSITIVE: []
|
|
8056
|
+
end
|
|
8057
|
+
|
|
8058
|
+
class SoftwareScopes
|
|
8059
|
+
attr_accessor aws_organizations: ::Array[Types::AwsOrganizationScope]
|
|
8060
|
+
SENSITIVE: []
|
|
8061
|
+
end
|
|
8062
|
+
|
|
8063
|
+
class SoftwareStringFilter
|
|
8064
|
+
attr_accessor field_name: ("AccountId" | "PackageName" | "PackageVersion" | "PackageType" | "Region" | "ResourceRegion" | "ResourceType" | "ResourceId" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition")
|
|
8065
|
+
attr_accessor filter: Types::StringFilter
|
|
8066
|
+
SENSITIVE: []
|
|
8067
|
+
end
|
|
8068
|
+
|
|
7972
8069
|
class SortCriterion
|
|
7973
8070
|
attr_accessor field: ::String
|
|
7974
8071
|
attr_accessor sort_order: ("asc" | "desc")
|
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.
|
|
4
|
+
version: 1.174.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.264.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.264.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|