aws-sdk-securityhub 1.161.0 → 1.162.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 +132 -1
- data/lib/aws-sdk-securityhub.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7db3daf164d9acc922544a6f4532f49988e8017f24aafa6978fcb64f6ac7255c
|
|
4
|
+
data.tar.gz: f20348a3950609218236b7762e90cd972b6d98616c4d762e7ef1c9df58582f1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 266cd996a99ab52093d475aefdac4d6a93d95b6838b458a333ad91f7b3133452543051ca51c46fecacf8ac980275b4c60363ad0d61159e8fcffc7c143a298a10
|
|
7
|
+
data.tar.gz: 7cfb56e0db0a403948246940731e5eefe74d05e91bee79b6abb6725efb2b21652dff2185fffaba1fdc9faadeba047fc909e7e35d183f34a7007b8febf841b43e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.162.0
|
|
@@ -675,7 +675,9 @@ module Aws::SecurityHub
|
|
|
675
675
|
# {
|
|
676
676
|
# standards_subscriptions: [
|
|
677
677
|
# {
|
|
678
|
+
# provider: "AWS",
|
|
678
679
|
# standards_arn: "arn:aws:securityhub:eu-central-1::standards/pci-dss/v/3.2.1",
|
|
680
|
+
# standards_controls_updatable: "NOT_READY_FOR_UPDATES",
|
|
679
681
|
# standards_input: {
|
|
680
682
|
# },
|
|
681
683
|
# standards_status: "DELETING",
|
|
@@ -746,7 +748,9 @@ module Aws::SecurityHub
|
|
|
746
748
|
# {
|
|
747
749
|
# standards_subscriptions: [
|
|
748
750
|
# {
|
|
751
|
+
# provider: "AWS",
|
|
749
752
|
# standards_arn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
|
|
753
|
+
# standards_controls_updatable: "NOT_READY_FOR_UPDATES",
|
|
750
754
|
# standards_input: {
|
|
751
755
|
# },
|
|
752
756
|
# standards_status: "PENDING",
|
|
@@ -1232,6 +1236,7 @@ module Aws::SecurityHub
|
|
|
1232
1236
|
# value_type: "DEFAULT",
|
|
1233
1237
|
# },
|
|
1234
1238
|
# },
|
|
1239
|
+
# provider: "AWS",
|
|
1235
1240
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/ACM.1/remediation",
|
|
1236
1241
|
# security_control_arn: "arn:aws:securityhub:us-west-2:123456789012:security-control/ACM.1",
|
|
1237
1242
|
# security_control_id: "ACM.1",
|
|
@@ -1251,6 +1256,7 @@ module Aws::SecurityHub
|
|
|
1251
1256
|
# value_type: "CUSTOM",
|
|
1252
1257
|
# },
|
|
1253
1258
|
# },
|
|
1259
|
+
# provider: "AWS",
|
|
1254
1260
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/APIGateway.1/remediation",
|
|
1255
1261
|
# security_control_arn: "arn:aws:securityhub:us-west-2:123456789012:security-control/APIGateway.1",
|
|
1256
1262
|
# security_control_id: "APIGateway.1",
|
|
@@ -5371,25 +5377,83 @@ module Aws::SecurityHub
|
|
|
5371
5377
|
# description: "The AWS Foundational Security Best Practices standard is a set of automated security checks that detect when AWS accounts and deployed resources do not align to security best practices. The standard is defined by AWS security experts. This curated set of controls helps improve your security posture in AWS, and cover AWS's most popular and foundational services.",
|
|
5372
5378
|
# enabled_by_default: true,
|
|
5373
5379
|
# name: "AWS Foundational Security Best Practices v1.0.0",
|
|
5380
|
+
# provider: "AWS",
|
|
5374
5381
|
# standards_arn: "arn:aws:securityhub:us-west-1::standards/aws-foundational-security-best-practices/v/1.0.0",
|
|
5382
|
+
# standards_managed_by: {
|
|
5383
|
+
# company: "AWS",
|
|
5384
|
+
# product: "Security Hub",
|
|
5385
|
+
# },
|
|
5375
5386
|
# },
|
|
5376
5387
|
# {
|
|
5377
5388
|
# description: "The Center for Internet Security (CIS) AWS Foundations Benchmark v1.2.0 is a set of security configuration best practices for AWS. This Security Hub standard automatically checks for your compliance readiness against a subset of CIS requirements.",
|
|
5378
5389
|
# enabled_by_default: true,
|
|
5379
5390
|
# name: "CIS AWS Foundations Benchmark v1.2.0",
|
|
5391
|
+
# provider: "AWS",
|
|
5380
5392
|
# standards_arn: "arn:aws:securityhub:us-west-1::ruleset/cis-aws-foundations-benchmark/v/1.2.0",
|
|
5393
|
+
# standards_managed_by: {
|
|
5394
|
+
# company: "AWS",
|
|
5395
|
+
# product: "Security Hub",
|
|
5396
|
+
# },
|
|
5381
5397
|
# },
|
|
5382
5398
|
# {
|
|
5383
5399
|
# description: "The Center for Internet Security (CIS) AWS Foundations Benchmark v1.4.0 is a set of security configuration best practices for AWS. This Security Hub standard automatically checks for your compliance readiness against a subset of CIS requirements.",
|
|
5384
5400
|
# enabled_by_default: false,
|
|
5385
5401
|
# name: "CIS AWS Foundations Benchmark v1.4.0",
|
|
5402
|
+
# provider: "AWS",
|
|
5386
5403
|
# standards_arn: "arn:aws::securityhub:us-west-1::standards/cis-aws-foundations-benchmark/v/1.4.0",
|
|
5404
|
+
# standards_managed_by: {
|
|
5405
|
+
# company: "AWS",
|
|
5406
|
+
# product: "Security Hub",
|
|
5407
|
+
# },
|
|
5387
5408
|
# },
|
|
5388
5409
|
# {
|
|
5389
5410
|
# description: "The Payment Card Industry Data Security Standard (PCI DSS) v3.2.1 is an information security standard for entities that store, process, and/or transmit cardholder data. This Security Hub standard automatically checks for your compliance readiness against a subset of PCI DSS requirements.",
|
|
5390
5411
|
# enabled_by_default: false,
|
|
5391
5412
|
# name: "PCI DSS v3.2.1",
|
|
5413
|
+
# provider: "AWS",
|
|
5392
5414
|
# standards_arn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
|
|
5415
|
+
# standards_managed_by: {
|
|
5416
|
+
# company: "AWS",
|
|
5417
|
+
# product: "Security Hub",
|
|
5418
|
+
# },
|
|
5419
|
+
# },
|
|
5420
|
+
# {
|
|
5421
|
+
# description: "The Center for Internet Security (CIS) Microsoft Azure Foundations Benchmark v4.0.0 is a set of security configuration best practices for Azure. This Security Hub standard automatically checks your compliance readiness against a subset of CIS requirements.",
|
|
5422
|
+
# enabled_by_default: false,
|
|
5423
|
+
# name: "CIS Azure Foundations Benchmark v4.0.0",
|
|
5424
|
+
# provider: "Azure",
|
|
5425
|
+
# standards_arn: "arn:aws:securityhub:us-west-1::standards/cis-azure-foundations-benchmark/v/4.0.0",
|
|
5426
|
+
# standards_managed_by: {
|
|
5427
|
+
# company: "AWS",
|
|
5428
|
+
# product: "Security Hub",
|
|
5429
|
+
# },
|
|
5430
|
+
# },
|
|
5431
|
+
# ],
|
|
5432
|
+
# }
|
|
5433
|
+
#
|
|
5434
|
+
# @example Example: To get available Azure security standards
|
|
5435
|
+
#
|
|
5436
|
+
# # The following example returns a list of available security standards from a specified provider.
|
|
5437
|
+
#
|
|
5438
|
+
# resp = client.describe_standards({
|
|
5439
|
+
# providers: [
|
|
5440
|
+
# "Azure",
|
|
5441
|
+
# ],
|
|
5442
|
+
# })
|
|
5443
|
+
#
|
|
5444
|
+
# resp.to_h outputs the following:
|
|
5445
|
+
# {
|
|
5446
|
+
# standards: [
|
|
5447
|
+
# {
|
|
5448
|
+
# description: "The Center for Internet Security (CIS) Microsoft Azure Foundations Benchmark v4.0.0 is a set of security configuration best practices for Azure. This Security Hub standard automatically checks your compliance readiness against a subset of CIS requirements.",
|
|
5449
|
+
# enabled_by_default: false,
|
|
5450
|
+
# name: "CIS Azure Foundations Benchmark v4.0.0",
|
|
5451
|
+
# provider: "Azure",
|
|
5452
|
+
# standards_arn: "arn:aws:securityhub:us-west-1::standards/cis-azure-foundations-benchmark/v/4.0.0",
|
|
5453
|
+
# standards_managed_by: {
|
|
5454
|
+
# company: "AWS",
|
|
5455
|
+
# product: "Security Hub",
|
|
5456
|
+
# },
|
|
5393
5457
|
# },
|
|
5394
5458
|
# ],
|
|
5395
5459
|
# }
|
|
@@ -6598,6 +6662,7 @@ module Aws::SecurityHub
|
|
|
6598
6662
|
# {
|
|
6599
6663
|
# standards_subscriptions: [
|
|
6600
6664
|
# {
|
|
6665
|
+
# provider: "AWS",
|
|
6601
6666
|
# standards_arn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
|
|
6602
6667
|
# standards_input: {
|
|
6603
6668
|
# },
|
|
@@ -9357,6 +9422,7 @@ module Aws::SecurityHub
|
|
|
9357
9422
|
# description: "Number of days the EC2 instance is allowed to be in a stopped state before generating a failed finding",
|
|
9358
9423
|
# },
|
|
9359
9424
|
# },
|
|
9425
|
+
# provider: "AWS",
|
|
9360
9426
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/EC2.4/remediation",
|
|
9361
9427
|
# security_control_id: "EC2.4",
|
|
9362
9428
|
# severity_rating: "MEDIUM",
|
|
@@ -10425,6 +10491,7 @@ module Aws::SecurityHub
|
|
|
10425
10491
|
# "Parameters",
|
|
10426
10492
|
# ],
|
|
10427
10493
|
# description: "This AWS control checks whether ACM Certificates in your account are marked for expiration within a specified time period. Certificates provided by ACM are automatically renewed. ACM does not automatically renew certificates that you import.",
|
|
10494
|
+
# provider: "AWS",
|
|
10428
10495
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/ACM.1/remediation",
|
|
10429
10496
|
# security_control_id: "ACM.1",
|
|
10430
10497
|
# severity_rating: "MEDIUM",
|
|
@@ -10436,6 +10503,7 @@ module Aws::SecurityHub
|
|
|
10436
10503
|
# "Parameters",
|
|
10437
10504
|
# ],
|
|
10438
10505
|
# description: "This control checks whether all stages of Amazon API Gateway REST and WebSocket APIs have logging enabled. The control fails if logging is not enabled for all methods of a stage or if loggingLevel is neither ERROR nor INFO.",
|
|
10506
|
+
# provider: "AWS",
|
|
10439
10507
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/APIGateway.1/remediation",
|
|
10440
10508
|
# security_control_id: "APIGateway.1",
|
|
10441
10509
|
# severity_rating: "MEDIUM",
|
|
@@ -10444,11 +10512,74 @@ module Aws::SecurityHub
|
|
|
10444
10512
|
# {
|
|
10445
10513
|
# current_region_availability: "AVAILABLE",
|
|
10446
10514
|
# description: "This control checks whether Amazon API Gateway REST API stages have SSL certificates configured that backend systems can use to authenticate that incoming requests are from the API Gateway.",
|
|
10515
|
+
# provider: "AWS",
|
|
10447
10516
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/APIGateway.2/remediation",
|
|
10448
10517
|
# security_control_id: "APIGateway.2",
|
|
10449
10518
|
# severity_rating: "MEDIUM",
|
|
10450
10519
|
# title: "API Gateway REST API stages should be configured to use SSL certificates for backend authentication",
|
|
10451
10520
|
# },
|
|
10521
|
+
# {
|
|
10522
|
+
# current_region_availability: "AVAILABLE",
|
|
10523
|
+
# customizable_properties: [
|
|
10524
|
+
# ],
|
|
10525
|
+
# description: "This control checks whether Azure Container Apps have managed identity enabled. The control fails if the Container App has a system-assigned or user-assigned managed identity enabled.",
|
|
10526
|
+
# provider: "Azure",
|
|
10527
|
+
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/Azure.App.1/remediation",
|
|
10528
|
+
# security_control_id: "Azure.App.1",
|
|
10529
|
+
# severity_rating: "MEDIUM",
|
|
10530
|
+
# title: "Azure Container Apps with managed identity enabled should follow least privilege",
|
|
10531
|
+
# },
|
|
10532
|
+
# ],
|
|
10533
|
+
# }
|
|
10534
|
+
#
|
|
10535
|
+
# @example Example: To list Azure security control definitions
|
|
10536
|
+
#
|
|
10537
|
+
# # The following example lists security control definitions for a specified provider.
|
|
10538
|
+
#
|
|
10539
|
+
# resp = client.list_security_control_definitions({
|
|
10540
|
+
# max_results: 3,
|
|
10541
|
+
# providers: [
|
|
10542
|
+
# "Azure",
|
|
10543
|
+
# ],
|
|
10544
|
+
# })
|
|
10545
|
+
#
|
|
10546
|
+
# resp.to_h outputs the following:
|
|
10547
|
+
# {
|
|
10548
|
+
# next_token: "U2FsdGVkX1...",
|
|
10549
|
+
# security_control_definitions: [
|
|
10550
|
+
# {
|
|
10551
|
+
# current_region_availability: "AVAILABLE",
|
|
10552
|
+
# customizable_properties: [
|
|
10553
|
+
# ],
|
|
10554
|
+
# description: "This control checks whether Azure Container Apps have managed identity enabled. The control fails if the Container App has a system-assigned or user-assigned managed identity enabled.",
|
|
10555
|
+
# provider: "Azure",
|
|
10556
|
+
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/Azure.App.1/remediation",
|
|
10557
|
+
# security_control_id: "Azure.App.1",
|
|
10558
|
+
# severity_rating: "MEDIUM",
|
|
10559
|
+
# title: "Azure Container Apps with managed identity enabled should follow least privilege",
|
|
10560
|
+
# },
|
|
10561
|
+
# {
|
|
10562
|
+
# current_region_availability: "AVAILABLE",
|
|
10563
|
+
# customizable_properties: [
|
|
10564
|
+
# ],
|
|
10565
|
+
# description: "This control checks whether an Azure Container App passes Azure SDK credentials as plain-text container environment variables. The control fails if any container (including initContainers) defines AZURE_CLIENT_SECRET, AZURE_CLIENT_CERTIFICATE_PASSWORD, or AZURE_PASSWORD as a plain-text environment variable instead of referencing a secret via secretRef.",
|
|
10566
|
+
# provider: "Azure",
|
|
10567
|
+
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/Azure.App.2/remediation",
|
|
10568
|
+
# security_control_id: "Azure.App.2",
|
|
10569
|
+
# severity_rating: "CRITICAL",
|
|
10570
|
+
# title: "Azure Container Apps should not pass Azure SDK credentials as environment variables",
|
|
10571
|
+
# },
|
|
10572
|
+
# {
|
|
10573
|
+
# current_region_availability: "AVAILABLE",
|
|
10574
|
+
# customizable_properties: [
|
|
10575
|
+
# ],
|
|
10576
|
+
# description: "This control checks whether Azure Container Apps have external ingress configured. The control fails if the Container App ingress is set to accept traffic from anywhere (external).",
|
|
10577
|
+
# provider: "Azure",
|
|
10578
|
+
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/Azure.App.3/remediation",
|
|
10579
|
+
# security_control_id: "Azure.App.3",
|
|
10580
|
+
# severity_rating: "HIGH",
|
|
10581
|
+
# title: "Azure Container Apps should not have external ingress enabled",
|
|
10582
|
+
# },
|
|
10452
10583
|
# ],
|
|
10453
10584
|
# }
|
|
10454
10585
|
#
|
|
@@ -13416,7 +13547,7 @@ module Aws::SecurityHub
|
|
|
13416
13547
|
tracer: tracer
|
|
13417
13548
|
)
|
|
13418
13549
|
context[:gem_name] = 'aws-sdk-securityhub'
|
|
13419
|
-
context[:gem_version] = '1.
|
|
13550
|
+
context[:gem_version] = '1.162.0'
|
|
13420
13551
|
Seahorse::Client::Request.new(handlers, context)
|
|
13421
13552
|
end
|
|
13422
13553
|
|
data/lib/aws-sdk-securityhub.rb
CHANGED