aws-sdk-securityhub 1.90.0 → 1.92.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +9 -8
- data/lib/aws-sdk-securityhub/client_api.rb +27 -0
- data/lib/aws-sdk-securityhub/types.rb +196 -4
- 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: a5503e8122b79b5d79e585c67bdc7d1e8b3c4a08825728d6c81e80cfb3e7e764
|
4
|
+
data.tar.gz: cd536190fbac26f1cfdbe8b59655f2b85c6e5defcd41290bc6843dc0955099f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d8b34822c95a7aa98e1b6e584e1274608b50175a6a90db7a42161f63193e9ae9d54bab12a551da76db6240877ee780f7c6b1c3bf7f0c57016c898a3cdb8bd82
|
7
|
+
data.tar.gz: 3067c6fb3e128d9fd45a8f0a465111bf9ae7469f9ac81626d97c4065bfea10200ce1d12022f8c80566838157f98418dcc0bdda3b4c4b4de6da7fb32e90f83ae4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.92.0 (2023-09-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for AWS Security Hub
|
8
|
+
|
9
|
+
1.91.0 (2023-08-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added Inspector Lambda code Vulnerability section to ASFF, including GeneratorDetails, EpssScore, ExploitAvailable, and CodeVulnerabilities.
|
13
|
+
|
4
14
|
1.90.0 (2023-07-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.92.0
|
@@ -3561,8 +3561,9 @@ module Aws::SecurityHub
|
|
3561
3561
|
|
3562
3562
|
# Deletes the specified member accounts from Security Hub.
|
3563
3563
|
#
|
3564
|
-
#
|
3565
|
-
#
|
3564
|
+
# You can invoke this API only to delete accounts that became members
|
3565
|
+
# through invitation. You can't invoke this API to delete accounts that
|
3566
|
+
# belong to an Organizations organization.
|
3566
3567
|
#
|
3567
3568
|
# @option params [required, Array<String>] :account_ids
|
3568
3569
|
# The list of account IDs for the member accounts to delete.
|
@@ -4143,12 +4144,12 @@ module Aws::SecurityHub
|
|
4143
4144
|
req.send_request(options)
|
4144
4145
|
end
|
4145
4146
|
|
4146
|
-
# Disables Security Hub in your account only in the current
|
4147
|
-
# disable Security Hub in all Regions, you must
|
4148
|
-
# Region where you have enabled Security Hub.
|
4147
|
+
# Disables Security Hub in your account only in the current Amazon Web
|
4148
|
+
# Services Region. To disable Security Hub in all Regions, you must
|
4149
|
+
# submit one request per Region where you have enabled Security Hub.
|
4149
4150
|
#
|
4150
|
-
#
|
4151
|
-
#
|
4151
|
+
# You can't disable Security Hub in an account that is currently the
|
4152
|
+
# Security Hub administrator.
|
4152
4153
|
#
|
4153
4154
|
# When you disable Security Hub, your existing findings and insights and
|
4154
4155
|
# any Security Hub configuration settings are deleted after 90 days and
|
@@ -8702,7 +8703,7 @@ module Aws::SecurityHub
|
|
8702
8703
|
params: params,
|
8703
8704
|
config: config)
|
8704
8705
|
context[:gem_name] = 'aws-sdk-securityhub'
|
8705
|
-
context[:gem_version] = '1.
|
8706
|
+
context[:gem_version] = '1.92.0'
|
8706
8707
|
Seahorse::Client::Request.new(handlers, context)
|
8707
8708
|
end
|
8708
8709
|
|
@@ -693,6 +693,7 @@ module Aws::SecurityHub
|
|
693
693
|
City = Shapes::StructureShape.new(name: 'City')
|
694
694
|
ClassificationResult = Shapes::StructureShape.new(name: 'ClassificationResult')
|
695
695
|
ClassificationStatus = Shapes::StructureShape.new(name: 'ClassificationStatus')
|
696
|
+
CodeVulnerabilitiesFilePath = Shapes::StructureShape.new(name: 'CodeVulnerabilitiesFilePath')
|
696
697
|
Compliance = Shapes::StructureShape.new(name: 'Compliance')
|
697
698
|
ComplianceStatus = Shapes::StringShape.new(name: 'ComplianceStatus')
|
698
699
|
ContainerDetails = Shapes::StructureShape.new(name: 'ContainerDetails')
|
@@ -784,6 +785,7 @@ module Aws::SecurityHub
|
|
784
785
|
FirewallPolicyStatelessCustomActionsList = Shapes::ListShape.new(name: 'FirewallPolicyStatelessCustomActionsList')
|
785
786
|
FirewallPolicyStatelessRuleGroupReferencesDetails = Shapes::StructureShape.new(name: 'FirewallPolicyStatelessRuleGroupReferencesDetails')
|
786
787
|
FirewallPolicyStatelessRuleGroupReferencesList = Shapes::ListShape.new(name: 'FirewallPolicyStatelessRuleGroupReferencesList')
|
788
|
+
GeneratorDetails = Shapes::StructureShape.new(name: 'GeneratorDetails')
|
787
789
|
GeoLocation = Shapes::StructureShape.new(name: 'GeoLocation')
|
788
790
|
GetAdministratorAccountRequest = Shapes::StructureShape.new(name: 'GetAdministratorAccountRequest')
|
789
791
|
GetAdministratorAccountResponse = Shapes::StructureShape.new(name: 'GetAdministratorAccountResponse')
|
@@ -1049,6 +1051,9 @@ module Aws::SecurityHub
|
|
1049
1051
|
VpcInfoIpv6CidrBlockSetList = Shapes::ListShape.new(name: 'VpcInfoIpv6CidrBlockSetList')
|
1050
1052
|
VpcInfoPeeringOptionsDetails = Shapes::StructureShape.new(name: 'VpcInfoPeeringOptionsDetails')
|
1051
1053
|
Vulnerability = Shapes::StructureShape.new(name: 'Vulnerability')
|
1054
|
+
VulnerabilityCodeVulnerabilities = Shapes::StructureShape.new(name: 'VulnerabilityCodeVulnerabilities')
|
1055
|
+
VulnerabilityCodeVulnerabilitiesList = Shapes::ListShape.new(name: 'VulnerabilityCodeVulnerabilitiesList')
|
1056
|
+
VulnerabilityExploitAvailable = Shapes::StringShape.new(name: 'VulnerabilityExploitAvailable')
|
1052
1057
|
VulnerabilityFixAvailable = Shapes::StringShape.new(name: 'VulnerabilityFixAvailable')
|
1053
1058
|
VulnerabilityList = Shapes::ListShape.new(name: 'VulnerabilityList')
|
1054
1059
|
VulnerabilityVendor = Shapes::StructureShape.new(name: 'VulnerabilityVendor')
|
@@ -4314,6 +4319,7 @@ module Aws::SecurityHub
|
|
4314
4319
|
AwsSecurityFinding.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
4315
4320
|
AwsSecurityFinding.add_member(:finding_provider_fields, Shapes::ShapeRef.new(shape: FindingProviderFields, location_name: "FindingProviderFields"))
|
4316
4321
|
AwsSecurityFinding.add_member(:sample, Shapes::ShapeRef.new(shape: Boolean, location_name: "Sample"))
|
4322
|
+
AwsSecurityFinding.add_member(:generator_details, Shapes::ShapeRef.new(shape: GeneratorDetails, location_name: "GeneratorDetails"))
|
4317
4323
|
AwsSecurityFinding.struct_class = Types::AwsSecurityFinding
|
4318
4324
|
|
4319
4325
|
AwsSecurityFindingFilters.add_member(:product_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ProductArn"))
|
@@ -4834,6 +4840,12 @@ module Aws::SecurityHub
|
|
4834
4840
|
ClassificationStatus.add_member(:reason, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Reason"))
|
4835
4841
|
ClassificationStatus.struct_class = Types::ClassificationStatus
|
4836
4842
|
|
4843
|
+
CodeVulnerabilitiesFilePath.add_member(:end_line, Shapes::ShapeRef.new(shape: Integer, location_name: "EndLine"))
|
4844
|
+
CodeVulnerabilitiesFilePath.add_member(:file_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FileName"))
|
4845
|
+
CodeVulnerabilitiesFilePath.add_member(:file_path, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FilePath"))
|
4846
|
+
CodeVulnerabilitiesFilePath.add_member(:start_line, Shapes::ShapeRef.new(shape: Integer, location_name: "StartLine"))
|
4847
|
+
CodeVulnerabilitiesFilePath.struct_class = Types::CodeVulnerabilitiesFilePath
|
4848
|
+
|
4837
4849
|
Compliance.add_member(:status, Shapes::ShapeRef.new(shape: ComplianceStatus, location_name: "Status"))
|
4838
4850
|
Compliance.add_member(:related_requirements, Shapes::ShapeRef.new(shape: RelatedRequirementsList, location_name: "RelatedRequirements"))
|
4839
4851
|
Compliance.add_member(:status_reasons, Shapes::ShapeRef.new(shape: StatusReasonsList, location_name: "StatusReasons"))
|
@@ -5143,6 +5155,11 @@ module Aws::SecurityHub
|
|
5143
5155
|
|
5144
5156
|
FirewallPolicyStatelessRuleGroupReferencesList.member = Shapes::ShapeRef.new(shape: FirewallPolicyStatelessRuleGroupReferencesDetails)
|
5145
5157
|
|
5158
|
+
GeneratorDetails.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
|
5159
|
+
GeneratorDetails.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Description"))
|
5160
|
+
GeneratorDetails.add_member(:labels, Shapes::ShapeRef.new(shape: TypeList, location_name: "Labels"))
|
5161
|
+
GeneratorDetails.struct_class = Types::GeneratorDetails
|
5162
|
+
|
5146
5163
|
GeoLocation.add_member(:lon, Shapes::ShapeRef.new(shape: Double, location_name: "Lon"))
|
5147
5164
|
GeoLocation.add_member(:lat, Shapes::ShapeRef.new(shape: Double, location_name: "Lat"))
|
5148
5165
|
GeoLocation.struct_class = Types::GeoLocation
|
@@ -6162,8 +6179,18 @@ module Aws::SecurityHub
|
|
6162
6179
|
Vulnerability.add_member(:vendor, Shapes::ShapeRef.new(shape: VulnerabilityVendor, location_name: "Vendor"))
|
6163
6180
|
Vulnerability.add_member(:reference_urls, Shapes::ShapeRef.new(shape: StringList, location_name: "ReferenceUrls"))
|
6164
6181
|
Vulnerability.add_member(:fix_available, Shapes::ShapeRef.new(shape: VulnerabilityFixAvailable, location_name: "FixAvailable"))
|
6182
|
+
Vulnerability.add_member(:epss_score, Shapes::ShapeRef.new(shape: Double, location_name: "EpssScore"))
|
6183
|
+
Vulnerability.add_member(:exploit_available, Shapes::ShapeRef.new(shape: VulnerabilityExploitAvailable, location_name: "ExploitAvailable"))
|
6184
|
+
Vulnerability.add_member(:code_vulnerabilities, Shapes::ShapeRef.new(shape: VulnerabilityCodeVulnerabilitiesList, location_name: "CodeVulnerabilities"))
|
6165
6185
|
Vulnerability.struct_class = Types::Vulnerability
|
6166
6186
|
|
6187
|
+
VulnerabilityCodeVulnerabilities.add_member(:cwes, Shapes::ShapeRef.new(shape: TypeList, location_name: "Cwes"))
|
6188
|
+
VulnerabilityCodeVulnerabilities.add_member(:file_path, Shapes::ShapeRef.new(shape: CodeVulnerabilitiesFilePath, location_name: "FilePath"))
|
6189
|
+
VulnerabilityCodeVulnerabilities.add_member(:source_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SourceArn"))
|
6190
|
+
VulnerabilityCodeVulnerabilities.struct_class = Types::VulnerabilityCodeVulnerabilities
|
6191
|
+
|
6192
|
+
VulnerabilityCodeVulnerabilitiesList.member = Shapes::ShapeRef.new(shape: VulnerabilityCodeVulnerabilities)
|
6193
|
+
|
6167
6194
|
VulnerabilityList.member = Shapes::ShapeRef.new(shape: Vulnerability)
|
6168
6195
|
|
6169
6196
|
VulnerabilityVendor.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Name"))
|
@@ -578,19 +578,29 @@ module Aws::SecurityHub
|
|
578
578
|
# @!attribute [rw] product_arn
|
579
579
|
# The Amazon Resource Name (ARN) for a third-party product that
|
580
580
|
# generated a finding in Security Hub.
|
581
|
+
#
|
582
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
581
583
|
# @return [Array<Types::StringFilter>]
|
582
584
|
#
|
583
585
|
# @!attribute [rw] aws_account_id
|
584
586
|
# The Amazon Web Services account ID in which a finding was generated.
|
587
|
+
#
|
588
|
+
# Array Members: Minimum number of 1 item. Maximum number of 100
|
589
|
+
# items.
|
585
590
|
# @return [Array<Types::StringFilter>]
|
586
591
|
#
|
587
592
|
# @!attribute [rw] id
|
588
593
|
# The product-specific identifier for a finding.
|
594
|
+
#
|
595
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
589
596
|
# @return [Array<Types::StringFilter>]
|
590
597
|
#
|
591
598
|
# @!attribute [rw] generator_id
|
592
599
|
# The identifier for the solution-specific component that generated a
|
593
600
|
# finding.
|
601
|
+
#
|
602
|
+
# Array Members: Minimum number of 1 item. Maximum number of 100
|
603
|
+
# items.
|
594
604
|
# @return [Array<Types::StringFilter>]
|
595
605
|
#
|
596
606
|
# @!attribute [rw] type
|
@@ -599,6 +609,8 @@ module Aws::SecurityHub
|
|
599
609
|
# namespaces, classifiers, and categories, see [Types taxonomy for
|
600
610
|
# ASFF][1] in the *Security Hub User Guide*.
|
601
611
|
#
|
612
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
613
|
+
#
|
602
614
|
#
|
603
615
|
#
|
604
616
|
# [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format-type-taxonomy.html
|
@@ -613,6 +625,8 @@ module Aws::SecurityHub
|
|
613
625
|
# Internet Date/Time Format][1]. The value cannot contain spaces. For
|
614
626
|
# example, `2020-03-22T13:22:13.933Z`.
|
615
627
|
#
|
628
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
629
|
+
#
|
616
630
|
#
|
617
631
|
#
|
618
632
|
# [1]: https://tools.ietf.org/html/rfc3339#section-5.6
|
@@ -627,6 +641,8 @@ module Aws::SecurityHub
|
|
627
641
|
# Internet Date/Time Format][1]. The value cannot contain spaces. For
|
628
642
|
# example, `2020-03-22T13:22:13.933Z`.
|
629
643
|
#
|
644
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
645
|
+
#
|
630
646
|
#
|
631
647
|
#
|
632
648
|
# [1]: https://tools.ietf.org/html/rfc3339#section-5.6
|
@@ -639,6 +655,8 @@ module Aws::SecurityHub
|
|
639
655
|
# Internet Date/Time Format][1]. The value cannot contain spaces. For
|
640
656
|
# example, `2020-03-22T13:22:13.933Z`.
|
641
657
|
#
|
658
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
659
|
+
#
|
642
660
|
#
|
643
661
|
#
|
644
662
|
# [1]: https://tools.ietf.org/html/rfc3339#section-5.6
|
@@ -652,6 +670,8 @@ module Aws::SecurityHub
|
|
652
670
|
# Internet Date/Time Format][1]. The value cannot contain spaces. For
|
653
671
|
# example, `2020-03-22T13:22:13.933Z`.
|
654
672
|
#
|
673
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
674
|
+
#
|
655
675
|
#
|
656
676
|
#
|
657
677
|
# [1]: https://tools.ietf.org/html/rfc3339#section-5.6
|
@@ -667,6 +687,8 @@ module Aws::SecurityHub
|
|
667
687
|
# exfiltration hasn't been verified. For more information, see
|
668
688
|
# [Confidence][1] in the *Security Hub User Guide*.
|
669
689
|
#
|
690
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
691
|
+
#
|
670
692
|
#
|
671
693
|
#
|
672
694
|
# [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/asff-top-level-attributes.html#asff-confidence
|
@@ -680,6 +702,8 @@ module Aws::SecurityHub
|
|
680
702
|
# of `100` is reserved for the most critical resources. For more
|
681
703
|
# information, see [Criticality][1] in the *Security Hub User Guide*.
|
682
704
|
#
|
705
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
706
|
+
#
|
683
707
|
#
|
684
708
|
#
|
685
709
|
# [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/asff-top-level-attributes.html#asff-criticality
|
@@ -687,33 +711,48 @@ module Aws::SecurityHub
|
|
687
711
|
#
|
688
712
|
# @!attribute [rw] title
|
689
713
|
# A finding's title.
|
714
|
+
#
|
715
|
+
# Array Members: Minimum number of 1 item. Maximum number of 100
|
716
|
+
# items.
|
690
717
|
# @return [Array<Types::StringFilter>]
|
691
718
|
#
|
692
719
|
# @!attribute [rw] description
|
693
720
|
# A finding's description.
|
721
|
+
#
|
722
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
694
723
|
# @return [Array<Types::StringFilter>]
|
695
724
|
#
|
696
725
|
# @!attribute [rw] source_url
|
697
726
|
# Provides a URL that links to a page about the current finding in the
|
698
727
|
# finding product.
|
728
|
+
#
|
729
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
699
730
|
# @return [Array<Types::StringFilter>]
|
700
731
|
#
|
701
732
|
# @!attribute [rw] product_name
|
702
733
|
# Provides the name of the product that generated the finding. For
|
703
734
|
# control-based findings, the product name is Security Hub.
|
735
|
+
#
|
736
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
704
737
|
# @return [Array<Types::StringFilter>]
|
705
738
|
#
|
706
739
|
# @!attribute [rw] company_name
|
707
740
|
# The name of the company for the product that generated the finding.
|
708
741
|
# For control-based findings, the company is Amazon Web Services.
|
742
|
+
#
|
743
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
709
744
|
# @return [Array<Types::StringFilter>]
|
710
745
|
#
|
711
746
|
# @!attribute [rw] severity_label
|
712
747
|
# The severity value of the finding.
|
748
|
+
#
|
749
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
713
750
|
# @return [Array<Types::StringFilter>]
|
714
751
|
#
|
715
752
|
# @!attribute [rw] resource_type
|
716
753
|
# The type of resource that the finding pertains to.
|
754
|
+
#
|
755
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
717
756
|
# @return [Array<Types::StringFilter>]
|
718
757
|
#
|
719
758
|
# @!attribute [rw] resource_id
|
@@ -723,37 +762,52 @@ module Aws::SecurityHub
|
|
723
762
|
# is the identifier as defined by the Amazon Web Service that created
|
724
763
|
# the resource. For non-Amazon Web Services resources, this is a
|
725
764
|
# unique identifier that is associated with the resource.
|
765
|
+
#
|
766
|
+
# Array Members: Minimum number of 1 item. Maximum number of 100
|
767
|
+
# items.
|
726
768
|
# @return [Array<Types::StringFilter>]
|
727
769
|
#
|
728
770
|
# @!attribute [rw] resource_partition
|
729
771
|
# The partition in which the resource that the finding pertains to is
|
730
772
|
# located. A partition is a group of Amazon Web Services Regions. Each
|
731
773
|
# Amazon Web Services account is scoped to one partition.
|
774
|
+
#
|
775
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
732
776
|
# @return [Array<Types::StringFilter>]
|
733
777
|
#
|
734
778
|
# @!attribute [rw] resource_region
|
735
779
|
# The Amazon Web Services Region where the resource that a finding
|
736
780
|
# pertains to is located.
|
781
|
+
#
|
782
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
737
783
|
# @return [Array<Types::StringFilter>]
|
738
784
|
#
|
739
785
|
# @!attribute [rw] resource_tags
|
740
786
|
# A list of Amazon Web Services tags associated with a resource at the
|
741
787
|
# time the finding was processed.
|
788
|
+
#
|
789
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
742
790
|
# @return [Array<Types::MapFilter>]
|
743
791
|
#
|
744
792
|
# @!attribute [rw] resource_details_other
|
745
793
|
# Custom fields and values about the resource that a finding pertains
|
746
794
|
# to.
|
795
|
+
#
|
796
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
747
797
|
# @return [Array<Types::MapFilter>]
|
748
798
|
#
|
749
799
|
# @!attribute [rw] compliance_status
|
750
800
|
# The result of a security check. This field is only used for findings
|
751
801
|
# generated from controls.
|
802
|
+
#
|
803
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
752
804
|
# @return [Array<Types::StringFilter>]
|
753
805
|
#
|
754
806
|
# @!attribute [rw] compliance_security_control_id
|
755
807
|
# The security control ID for which a finding was generated. Security
|
756
808
|
# control IDs are the same across standards.
|
809
|
+
#
|
810
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
757
811
|
# @return [Array<Types::StringFilter>]
|
758
812
|
#
|
759
813
|
# @!attribute [rw] compliance_associated_standards_id
|
@@ -762,6 +816,8 @@ module Aws::SecurityHub
|
|
762
816
|
# Name (ARN) returned for a standard in the [DescribeStandards][1] API
|
763
817
|
# response.
|
764
818
|
#
|
819
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
820
|
+
#
|
765
821
|
#
|
766
822
|
#
|
767
823
|
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DescribeStandards.html
|
@@ -769,27 +825,39 @@ module Aws::SecurityHub
|
|
769
825
|
#
|
770
826
|
# @!attribute [rw] verification_state
|
771
827
|
# Provides the veracity of a finding.
|
828
|
+
#
|
829
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
772
830
|
# @return [Array<Types::StringFilter>]
|
773
831
|
#
|
774
832
|
# @!attribute [rw] workflow_status
|
775
833
|
# Provides information about the status of the investigation into a
|
776
834
|
# finding.
|
835
|
+
#
|
836
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
777
837
|
# @return [Array<Types::StringFilter>]
|
778
838
|
#
|
779
839
|
# @!attribute [rw] record_state
|
780
840
|
# Provides the current state of a finding.
|
841
|
+
#
|
842
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
781
843
|
# @return [Array<Types::StringFilter>]
|
782
844
|
#
|
783
845
|
# @!attribute [rw] related_findings_product_arn
|
784
846
|
# The ARN for the product that generated a related finding.
|
847
|
+
#
|
848
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
785
849
|
# @return [Array<Types::StringFilter>]
|
786
850
|
#
|
787
851
|
# @!attribute [rw] related_findings_id
|
788
852
|
# The product-generated identifier for a related finding.
|
853
|
+
#
|
854
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
789
855
|
# @return [Array<Types::StringFilter>]
|
790
856
|
#
|
791
857
|
# @!attribute [rw] note_text
|
792
858
|
# The text of a user-defined note that's added to a finding.
|
859
|
+
#
|
860
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
793
861
|
# @return [Array<Types::StringFilter>]
|
794
862
|
#
|
795
863
|
# @!attribute [rw] note_updated_at
|
@@ -798,6 +866,8 @@ module Aws::SecurityHub
|
|
798
866
|
# Format][1]. The value cannot contain spaces. For example,
|
799
867
|
# `2020-03-22T13:22:13.933Z`.
|
800
868
|
#
|
869
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
870
|
+
#
|
801
871
|
#
|
802
872
|
#
|
803
873
|
# [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
|
@@ -805,11 +875,15 @@ module Aws::SecurityHub
|
|
805
875
|
#
|
806
876
|
# @!attribute [rw] note_updated_by
|
807
877
|
# The principal that created a note.
|
878
|
+
#
|
879
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
808
880
|
# @return [Array<Types::StringFilter>]
|
809
881
|
#
|
810
882
|
# @!attribute [rw] user_defined_fields
|
811
883
|
# A list of user-defined name and value string pairs added to a
|
812
884
|
# finding.
|
885
|
+
#
|
886
|
+
# Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
813
887
|
# @return [Array<Types::MapFilter>]
|
814
888
|
#
|
815
889
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AutomationRulesFindingFilters AWS API Documentation
|
@@ -17721,6 +17795,15 @@ module Aws::SecurityHub
|
|
17721
17795
|
# Indicates whether the finding is a sample finding.
|
17722
17796
|
# @return [Boolean]
|
17723
17797
|
#
|
17798
|
+
# @!attribute [rw] generator_details
|
17799
|
+
# Provides metadata for the Amazon CodeGuru detector associated with a
|
17800
|
+
# finding. This field pertains to findings that relate to Lambda
|
17801
|
+
# functions. Amazon Inspector identifies policy violations and
|
17802
|
+
# vulnerabilities in Lambda function code based on internal detectors
|
17803
|
+
# developed in collaboration with Amazon CodeGuru. Security Hub
|
17804
|
+
# receives those findings.
|
17805
|
+
# @return [Types::GeneratorDetails]
|
17806
|
+
#
|
17724
17807
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsSecurityFinding AWS API Documentation
|
17725
17808
|
#
|
17726
17809
|
class AwsSecurityFinding < Struct.new(
|
@@ -17764,7 +17847,8 @@ module Aws::SecurityHub
|
|
17764
17847
|
:patch_summary,
|
17765
17848
|
:action,
|
17766
17849
|
:finding_provider_fields,
|
17767
|
-
:sample
|
17850
|
+
:sample,
|
17851
|
+
:generator_details)
|
17768
17852
|
SENSITIVE = []
|
17769
17853
|
include Aws::Structure
|
17770
17854
|
end
|
@@ -20662,6 +20746,38 @@ module Aws::SecurityHub
|
|
20662
20746
|
include Aws::Structure
|
20663
20747
|
end
|
20664
20748
|
|
20749
|
+
# Provides details about where a code vulnerability is located in your
|
20750
|
+
# Lambda function.
|
20751
|
+
#
|
20752
|
+
# @!attribute [rw] end_line
|
20753
|
+
# The line number of the last line of code in which the vulnerability
|
20754
|
+
# is located.
|
20755
|
+
# @return [Integer]
|
20756
|
+
#
|
20757
|
+
# @!attribute [rw] file_name
|
20758
|
+
# The name of the file in which the code vulnerability is located.
|
20759
|
+
# @return [String]
|
20760
|
+
#
|
20761
|
+
# @!attribute [rw] file_path
|
20762
|
+
# The file path to the code in which the vulnerability is located.
|
20763
|
+
# @return [String]
|
20764
|
+
#
|
20765
|
+
# @!attribute [rw] start_line
|
20766
|
+
# The line number of the first line of code in which the vulnerability
|
20767
|
+
# is located.
|
20768
|
+
# @return [Integer]
|
20769
|
+
#
|
20770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CodeVulnerabilitiesFilePath AWS API Documentation
|
20771
|
+
#
|
20772
|
+
class CodeVulnerabilitiesFilePath < Struct.new(
|
20773
|
+
:end_line,
|
20774
|
+
:file_name,
|
20775
|
+
:file_path,
|
20776
|
+
:start_line)
|
20777
|
+
SENSITIVE = []
|
20778
|
+
include Aws::Structure
|
20779
|
+
end
|
20780
|
+
|
20665
20781
|
# Contains finding details that are specific to control-based findings.
|
20666
20782
|
# Only returned for findings generated from controls.
|
20667
20783
|
#
|
@@ -22193,6 +22309,37 @@ module Aws::SecurityHub
|
|
22193
22309
|
include Aws::Structure
|
22194
22310
|
end
|
22195
22311
|
|
22312
|
+
# Provides metadata for the Amazon CodeGuru detector associated with a
|
22313
|
+
# finding. This field pertains to findings that relate to Lambda
|
22314
|
+
# functions. Amazon Inspector identifies policy violations and
|
22315
|
+
# vulnerabilities in Lambda function code based on internal detectors
|
22316
|
+
# developed in collaboration with Amazon CodeGuru. Security Hub receives
|
22317
|
+
# those findings.
|
22318
|
+
#
|
22319
|
+
# @!attribute [rw] name
|
22320
|
+
# The name of the detector used to identify the code vulnerability.
|
22321
|
+
# @return [String]
|
22322
|
+
#
|
22323
|
+
# @!attribute [rw] description
|
22324
|
+
# The description of the detector used to identify the code
|
22325
|
+
# vulnerability.
|
22326
|
+
# @return [String]
|
22327
|
+
#
|
22328
|
+
# @!attribute [rw] labels
|
22329
|
+
# An array of tags used to identify the detector associated with the
|
22330
|
+
# finding.
|
22331
|
+
# @return [Array<String>]
|
22332
|
+
#
|
22333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GeneratorDetails AWS API Documentation
|
22334
|
+
#
|
22335
|
+
class GeneratorDetails < Struct.new(
|
22336
|
+
:name,
|
22337
|
+
:description,
|
22338
|
+
:labels)
|
22339
|
+
SENSITIVE = []
|
22340
|
+
include Aws::Structure
|
22341
|
+
end
|
22342
|
+
|
22196
22343
|
# Provides the latitude and longitude coordinates of a location.
|
22197
22344
|
#
|
22198
22345
|
# @!attribute [rw] lon
|
@@ -27193,6 +27340,20 @@ module Aws::SecurityHub
|
|
27193
27340
|
# * `PARTIAL` otherwise
|
27194
27341
|
# @return [String]
|
27195
27342
|
#
|
27343
|
+
# @!attribute [rw] epss_score
|
27344
|
+
# The Exploit Prediction Scoring System (EPSS) score for a finding.
|
27345
|
+
# @return [Float]
|
27346
|
+
#
|
27347
|
+
# @!attribute [rw] exploit_available
|
27348
|
+
# Whether an exploit is available for a finding.
|
27349
|
+
# @return [String]
|
27350
|
+
#
|
27351
|
+
# @!attribute [rw] code_vulnerabilities
|
27352
|
+
# The vulnerabilities found in your Lambda function code. This field
|
27353
|
+
# pertains to findings that Security Hub receives from Amazon
|
27354
|
+
# Inspector.
|
27355
|
+
# @return [Array<Types::VulnerabilityCodeVulnerabilities>]
|
27356
|
+
#
|
27196
27357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Vulnerability AWS API Documentation
|
27197
27358
|
#
|
27198
27359
|
class Vulnerability < Struct.new(
|
@@ -27202,7 +27363,39 @@ module Aws::SecurityHub
|
|
27202
27363
|
:related_vulnerabilities,
|
27203
27364
|
:vendor,
|
27204
27365
|
:reference_urls,
|
27205
|
-
:fix_available
|
27366
|
+
:fix_available,
|
27367
|
+
:epss_score,
|
27368
|
+
:exploit_available,
|
27369
|
+
:code_vulnerabilities)
|
27370
|
+
SENSITIVE = []
|
27371
|
+
include Aws::Structure
|
27372
|
+
end
|
27373
|
+
|
27374
|
+
# Provides details about the vulnerabilities found in your Lambda
|
27375
|
+
# function code. This field pertains to findings that Security Hub
|
27376
|
+
# receives from Amazon Inspector.
|
27377
|
+
#
|
27378
|
+
# @!attribute [rw] cwes
|
27379
|
+
# The Common Weakness Enumeration (CWE) item associated with the
|
27380
|
+
# detected code vulnerability.
|
27381
|
+
# @return [Array<String>]
|
27382
|
+
#
|
27383
|
+
# @!attribute [rw] file_path
|
27384
|
+
# Provides details about where a code vulnerability is located in your
|
27385
|
+
# Lambda function.
|
27386
|
+
# @return [Types::CodeVulnerabilitiesFilePath]
|
27387
|
+
#
|
27388
|
+
# @!attribute [rw] source_arn
|
27389
|
+
# The Amazon Resource Name (ARN) of the Lambda layer in which the code
|
27390
|
+
# vulnerability is located.
|
27391
|
+
# @return [String]
|
27392
|
+
#
|
27393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/VulnerabilityCodeVulnerabilities AWS API Documentation
|
27394
|
+
#
|
27395
|
+
class VulnerabilityCodeVulnerabilities < Struct.new(
|
27396
|
+
:cwes,
|
27397
|
+
:file_path,
|
27398
|
+
:source_arn)
|
27206
27399
|
SENSITIVE = []
|
27207
27400
|
include Aws::Structure
|
27208
27401
|
end
|
@@ -27317,8 +27510,7 @@ module Aws::SecurityHub
|
|
27317
27510
|
include Aws::Structure
|
27318
27511
|
end
|
27319
27512
|
|
27320
|
-
# Provides
|
27321
|
-
# finding.
|
27513
|
+
# Provides details about the status of the investigation into a finding.
|
27322
27514
|
#
|
27323
27515
|
# @!attribute [rw] status
|
27324
27516
|
# The status of the investigation into the finding. The workflow
|
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.92.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: 2023-07
|
11
|
+
date: 2023-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|