aws-sdk-securityhub 1.71.0 → 1.72.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +10 -1
- data/lib/aws-sdk-securityhub/client_api.rb +4 -0
- data/lib/aws-sdk-securityhub/types.rb +44 -3
- data/lib/aws-sdk-securityhub.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc1e1228c008726027fea76e1252c8043d702051986f49d0b8bd76a876da304c
|
4
|
+
data.tar.gz: cf11586f673f07f06030694d0326fe2b19a6b450f550bfa77b8e09466dee4a2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c54f9bfa98dda3e1341cc36dc4ad433625f3287ad804e86247e05930939557cb5da2b33d30ff58e2bdce6cdc74a72edb80474cb90a0bad3f4f55a839c3bedac9
|
7
|
+
data.tar.gz: 12c0c0279104e287301cab68233068fbcd6961341a8f68d2ee8ee3a256c28ca591bc4e2e07bd101edd1dcdfe8199acd0e0af2ed70bab971b6c8ac7884593693f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.72.0 (2022-11-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added SourceLayerArn and SourceLayerHash field for security findings. Updated AwsLambdaFunction Resource detail
|
8
|
+
|
4
9
|
1.71.0 (2022-11-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.72.0
|
@@ -2290,6 +2290,8 @@ module Aws::SecurityHub
|
|
2290
2290
|
# vpc_id: "NonEmptyString",
|
2291
2291
|
# },
|
2292
2292
|
# version: "NonEmptyString",
|
2293
|
+
# architectures: ["NonEmptyString"],
|
2294
|
+
# package_type: "NonEmptyString",
|
2293
2295
|
# },
|
2294
2296
|
# aws_lambda_layer_version: {
|
2295
2297
|
# version: 1,
|
@@ -3773,6 +3775,8 @@ module Aws::SecurityHub
|
|
3773
3775
|
# file_path: "NonEmptyString",
|
3774
3776
|
# fixed_in_version: "NonEmptyString",
|
3775
3777
|
# remediation: "NonEmptyString",
|
3778
|
+
# source_layer_hash: "NonEmptyString",
|
3779
|
+
# source_layer_arn: "NonEmptyString",
|
3776
3780
|
# },
|
3777
3781
|
# ],
|
3778
3782
|
# cvss: [
|
@@ -7607,6 +7611,9 @@ module Aws::SecurityHub
|
|
7607
7611
|
# resp.findings[0].resources[0].details.aws_lambda_function.vpc_config.subnet_ids[0] #=> String
|
7608
7612
|
# resp.findings[0].resources[0].details.aws_lambda_function.vpc_config.vpc_id #=> String
|
7609
7613
|
# resp.findings[0].resources[0].details.aws_lambda_function.version #=> String
|
7614
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.architectures #=> Array
|
7615
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.architectures[0] #=> String
|
7616
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.package_type #=> String
|
7610
7617
|
# resp.findings[0].resources[0].details.aws_lambda_layer_version.version #=> Integer
|
7611
7618
|
# resp.findings[0].resources[0].details.aws_lambda_layer_version.compatible_runtimes #=> Array
|
7612
7619
|
# resp.findings[0].resources[0].details.aws_lambda_layer_version.compatible_runtimes[0] #=> String
|
@@ -8612,6 +8619,8 @@ module Aws::SecurityHub
|
|
8612
8619
|
# resp.findings[0].vulnerabilities[0].vulnerable_packages[0].file_path #=> String
|
8613
8620
|
# resp.findings[0].vulnerabilities[0].vulnerable_packages[0].fixed_in_version #=> String
|
8614
8621
|
# resp.findings[0].vulnerabilities[0].vulnerable_packages[0].remediation #=> String
|
8622
|
+
# resp.findings[0].vulnerabilities[0].vulnerable_packages[0].source_layer_hash #=> String
|
8623
|
+
# resp.findings[0].vulnerabilities[0].vulnerable_packages[0].source_layer_arn #=> String
|
8615
8624
|
# resp.findings[0].vulnerabilities[0].cvss #=> Array
|
8616
8625
|
# resp.findings[0].vulnerabilities[0].cvss[0].version #=> String
|
8617
8626
|
# resp.findings[0].vulnerabilities[0].cvss[0].base_score #=> Float
|
@@ -11133,7 +11142,7 @@ module Aws::SecurityHub
|
|
11133
11142
|
params: params,
|
11134
11143
|
config: config)
|
11135
11144
|
context[:gem_name] = 'aws-sdk-securityhub'
|
11136
|
-
context[:gem_version] = '1.
|
11145
|
+
context[:gem_version] = '1.72.0'
|
11137
11146
|
Seahorse::Client::Request.new(handlers, context)
|
11138
11147
|
end
|
11139
11148
|
|
@@ -2760,6 +2760,8 @@ module Aws::SecurityHub
|
|
2760
2760
|
AwsLambdaFunctionDetails.add_member(:tracing_config, Shapes::ShapeRef.new(shape: AwsLambdaFunctionTracingConfig, location_name: "TracingConfig"))
|
2761
2761
|
AwsLambdaFunctionDetails.add_member(:vpc_config, Shapes::ShapeRef.new(shape: AwsLambdaFunctionVpcConfig, location_name: "VpcConfig"))
|
2762
2762
|
AwsLambdaFunctionDetails.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Version"))
|
2763
|
+
AwsLambdaFunctionDetails.add_member(:architectures, Shapes::ShapeRef.new(shape: NonEmptyStringList, location_name: "Architectures"))
|
2764
|
+
AwsLambdaFunctionDetails.add_member(:package_type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "PackageType"))
|
2763
2765
|
AwsLambdaFunctionDetails.struct_class = Types::AwsLambdaFunctionDetails
|
2764
2766
|
|
2765
2767
|
AwsLambdaFunctionEnvironment.add_member(:variables, Shapes::ShapeRef.new(shape: FieldMap, location_name: "Variables"))
|
@@ -4838,6 +4840,8 @@ module Aws::SecurityHub
|
|
4838
4840
|
SoftwarePackage.add_member(:file_path, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FilePath"))
|
4839
4841
|
SoftwarePackage.add_member(:fixed_in_version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FixedInVersion"))
|
4840
4842
|
SoftwarePackage.add_member(:remediation, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Remediation"))
|
4843
|
+
SoftwarePackage.add_member(:source_layer_hash, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SourceLayerHash"))
|
4844
|
+
SoftwarePackage.add_member(:source_layer_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SourceLayerArn"))
|
4841
4845
|
SoftwarePackage.struct_class = Types::SoftwarePackage
|
4842
4846
|
|
4843
4847
|
SoftwarePackageList.member = Shapes::ShapeRef.new(shape: SoftwarePackage)
|
@@ -14555,7 +14555,7 @@ module Aws::SecurityHub
|
|
14555
14555
|
include Aws::Structure
|
14556
14556
|
end
|
14557
14557
|
|
14558
|
-
# Details about
|
14558
|
+
# Details about an Lambda function's configuration.
|
14559
14559
|
#
|
14560
14560
|
# @note When making an API call, you may pass AwsLambdaFunctionDetails
|
14561
14561
|
# data as a hash:
|
@@ -14605,6 +14605,8 @@ module Aws::SecurityHub
|
|
14605
14605
|
# vpc_id: "NonEmptyString",
|
14606
14606
|
# },
|
14607
14607
|
# version: "NonEmptyString",
|
14608
|
+
# architectures: ["NonEmptyString"],
|
14609
|
+
# package_type: "NonEmptyString",
|
14608
14610
|
# }
|
14609
14611
|
#
|
14610
14612
|
# @!attribute [rw] code
|
@@ -14690,6 +14692,17 @@ module Aws::SecurityHub
|
|
14690
14692
|
# The version of the Lambda function.
|
14691
14693
|
# @return [String]
|
14692
14694
|
#
|
14695
|
+
# @!attribute [rw] architectures
|
14696
|
+
# The instruction set architecture that the function uses. Valid
|
14697
|
+
# values are `x86_64` or `arm64`.
|
14698
|
+
# @return [Array<String>]
|
14699
|
+
#
|
14700
|
+
# @!attribute [rw] package_type
|
14701
|
+
# The type of deployment package that's used to deploy the function
|
14702
|
+
# code to Lambda. Set to `Image` for a container image and `Zip` for a
|
14703
|
+
# .zip file archive.
|
14704
|
+
# @return [String]
|
14705
|
+
#
|
14693
14706
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsLambdaFunctionDetails AWS API Documentation
|
14694
14707
|
#
|
14695
14708
|
class AwsLambdaFunctionDetails < Struct.new(
|
@@ -14710,7 +14723,9 @@ module Aws::SecurityHub
|
|
14710
14723
|
:timeout,
|
14711
14724
|
:tracing_config,
|
14712
14725
|
:vpc_config,
|
14713
|
-
:version
|
14726
|
+
:version,
|
14727
|
+
:architectures,
|
14728
|
+
:package_type)
|
14714
14729
|
SENSITIVE = []
|
14715
14730
|
include Aws::Structure
|
14716
14731
|
end
|
@@ -22195,6 +22210,8 @@ module Aws::SecurityHub
|
|
22195
22210
|
# vpc_id: "NonEmptyString",
|
22196
22211
|
# },
|
22197
22212
|
# version: "NonEmptyString",
|
22213
|
+
# architectures: ["NonEmptyString"],
|
22214
|
+
# package_type: "NonEmptyString",
|
22198
22215
|
# },
|
22199
22216
|
# aws_lambda_layer_version: {
|
22200
22217
|
# version: 1,
|
@@ -23678,6 +23695,8 @@ module Aws::SecurityHub
|
|
23678
23695
|
# file_path: "NonEmptyString",
|
23679
23696
|
# fixed_in_version: "NonEmptyString",
|
23680
23697
|
# remediation: "NonEmptyString",
|
23698
|
+
# source_layer_hash: "NonEmptyString",
|
23699
|
+
# source_layer_arn: "NonEmptyString",
|
23681
23700
|
# },
|
23682
23701
|
# ],
|
23683
23702
|
# cvss: [
|
@@ -28570,6 +28589,8 @@ module Aws::SecurityHub
|
|
28570
28589
|
# vpc_id: "NonEmptyString",
|
28571
28590
|
# },
|
28572
28591
|
# version: "NonEmptyString",
|
28592
|
+
# architectures: ["NonEmptyString"],
|
28593
|
+
# package_type: "NonEmptyString",
|
28573
28594
|
# },
|
28574
28595
|
# aws_lambda_layer_version: {
|
28575
28596
|
# version: 1,
|
@@ -30053,6 +30074,8 @@ module Aws::SecurityHub
|
|
30053
30074
|
# file_path: "NonEmptyString",
|
30054
30075
|
# fixed_in_version: "NonEmptyString",
|
30055
30076
|
# remediation: "NonEmptyString",
|
30077
|
+
# source_layer_hash: "NonEmptyString",
|
30078
|
+
# source_layer_arn: "NonEmptyString",
|
30056
30079
|
# },
|
30057
30080
|
# ],
|
30058
30081
|
# cvss: [
|
@@ -37847,6 +37870,8 @@ module Aws::SecurityHub
|
|
37847
37870
|
# vpc_id: "NonEmptyString",
|
37848
37871
|
# },
|
37849
37872
|
# version: "NonEmptyString",
|
37873
|
+
# architectures: ["NonEmptyString"],
|
37874
|
+
# package_type: "NonEmptyString",
|
37850
37875
|
# },
|
37851
37876
|
# aws_lambda_layer_version: {
|
37852
37877
|
# version: 1,
|
@@ -40780,6 +40805,8 @@ module Aws::SecurityHub
|
|
40780
40805
|
# vpc_id: "NonEmptyString",
|
40781
40806
|
# },
|
40782
40807
|
# version: "NonEmptyString",
|
40808
|
+
# architectures: ["NonEmptyString"],
|
40809
|
+
# package_type: "NonEmptyString",
|
40783
40810
|
# },
|
40784
40811
|
# aws_lambda_layer_version: {
|
40785
40812
|
# version: 1,
|
@@ -43946,6 +43973,8 @@ module Aws::SecurityHub
|
|
43946
43973
|
# file_path: "NonEmptyString",
|
43947
43974
|
# fixed_in_version: "NonEmptyString",
|
43948
43975
|
# remediation: "NonEmptyString",
|
43976
|
+
# source_layer_hash: "NonEmptyString",
|
43977
|
+
# source_layer_arn: "NonEmptyString",
|
43949
43978
|
# }
|
43950
43979
|
#
|
43951
43980
|
# @!attribute [rw] name
|
@@ -43986,6 +44015,14 @@ module Aws::SecurityHub
|
|
43986
44015
|
# vulnerability in the software package.
|
43987
44016
|
# @return [String]
|
43988
44017
|
#
|
44018
|
+
# @!attribute [rw] source_layer_hash
|
44019
|
+
# The source layer hash of the vulnerable package.
|
44020
|
+
# @return [String]
|
44021
|
+
#
|
44022
|
+
# @!attribute [rw] source_layer_arn
|
44023
|
+
# The Amazon Resource Name (ARN) of the source layer.
|
44024
|
+
# @return [String]
|
44025
|
+
#
|
43989
44026
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/SoftwarePackage AWS API Documentation
|
43990
44027
|
#
|
43991
44028
|
class SoftwarePackage < Struct.new(
|
@@ -43997,7 +44034,9 @@ module Aws::SecurityHub
|
|
43997
44034
|
:package_manager,
|
43998
44035
|
:file_path,
|
43999
44036
|
:fixed_in_version,
|
44000
|
-
:remediation
|
44037
|
+
:remediation,
|
44038
|
+
:source_layer_hash,
|
44039
|
+
:source_layer_arn)
|
44001
44040
|
SENSITIVE = []
|
44002
44041
|
include Aws::Structure
|
44003
44042
|
end
|
@@ -46288,6 +46327,8 @@ module Aws::SecurityHub
|
|
46288
46327
|
# file_path: "NonEmptyString",
|
46289
46328
|
# fixed_in_version: "NonEmptyString",
|
46290
46329
|
# remediation: "NonEmptyString",
|
46330
|
+
# source_layer_hash: "NonEmptyString",
|
46331
|
+
# source_layer_arn: "NonEmptyString",
|
46291
46332
|
# },
|
46292
46333
|
# ],
|
46293
46334
|
# cvss: [
|
data/lib/aws-sdk-securityhub.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.72.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|