aws-sdk-securityhub 1.38.0 → 1.43.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 +228 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-securityhub.rb +3 -3
- data/lib/aws-sdk-securityhub/client.rb +601 -70
- data/lib/aws-sdk-securityhub/client_api.rb +202 -7
- data/lib/aws-sdk-securityhub/errors.rb +1 -1
- data/lib/aws-sdk-securityhub/resource.rb +1 -1
- data/lib/aws-sdk-securityhub/types.rb +2004 -101
- metadata +11 -8
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -328,21 +328,61 @@ module Aws::SecurityHub
|
|
328
328
|
# @!group API Operations
|
329
329
|
|
330
330
|
# Accepts the invitation to be a member account and be monitored by the
|
331
|
-
# Security Hub
|
331
|
+
# Security Hub administrator account that the invitation was sent from.
|
332
332
|
#
|
333
333
|
# This operation is only used by member accounts that are not added
|
334
334
|
# through Organizations.
|
335
335
|
#
|
336
336
|
# When the member account accepts the invitation, permission is granted
|
337
|
-
# to the
|
337
|
+
# to the administrator account to view findings generated in the member
|
338
|
+
# account.
|
339
|
+
#
|
340
|
+
# @option params [required, String] :administrator_id
|
341
|
+
# The account ID of the Security Hub administrator account that sent the
|
342
|
+
# invitation.
|
343
|
+
#
|
344
|
+
# @option params [required, String] :invitation_id
|
345
|
+
# The identifier of the invitation sent from the Security Hub
|
346
|
+
# administrator account.
|
347
|
+
#
|
348
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
349
|
+
#
|
350
|
+
# @example Request syntax with placeholder values
|
351
|
+
#
|
352
|
+
# resp = client.accept_administrator_invitation({
|
353
|
+
# administrator_id: "NonEmptyString", # required
|
354
|
+
# invitation_id: "NonEmptyString", # required
|
355
|
+
# })
|
356
|
+
#
|
357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptAdministratorInvitation AWS API Documentation
|
358
|
+
#
|
359
|
+
# @overload accept_administrator_invitation(params = {})
|
360
|
+
# @param [Hash] params ({})
|
361
|
+
def accept_administrator_invitation(params = {}, options = {})
|
362
|
+
req = build_request(:accept_administrator_invitation, params)
|
363
|
+
req.send_request(options)
|
364
|
+
end
|
365
|
+
|
366
|
+
# This method is deprecated. Instead, use
|
367
|
+
# `AcceptAdministratorInvitation`.
|
368
|
+
#
|
369
|
+
# Accepts the invitation to be a member account and be monitored by the
|
370
|
+
# Security Hub administrator account that the invitation was sent from.
|
371
|
+
#
|
372
|
+
# This operation is only used by member accounts that are not added
|
373
|
+
# through Organizations.
|
374
|
+
#
|
375
|
+
# When the member account accepts the invitation, permission is granted
|
376
|
+
# to the administrator account to view findings generated in the member
|
338
377
|
# account.
|
339
378
|
#
|
340
379
|
# @option params [required, String] :master_id
|
341
|
-
# The account ID of the Security Hub
|
380
|
+
# The account ID of the Security Hub administrator account that sent the
|
342
381
|
# invitation.
|
343
382
|
#
|
344
383
|
# @option params [required, String] :invitation_id
|
345
|
-
# The
|
384
|
+
# The identifier of the invitation sent from the Security Hub
|
385
|
+
# administrator account.
|
346
386
|
#
|
347
387
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
348
388
|
#
|
@@ -452,9 +492,9 @@ module Aws::SecurityHub
|
|
452
492
|
req.send_request(options)
|
453
493
|
end
|
454
494
|
|
455
|
-
# Imports security findings generated from an integrated
|
456
|
-
#
|
457
|
-
#
|
495
|
+
# Imports security findings generated from an integrated product into
|
496
|
+
# Security Hub. This action is requested by the integrated product to
|
497
|
+
# import its findings into Security Hub.
|
458
498
|
#
|
459
499
|
# The maximum allowed size for a finding is 240 Kb. An error is returned
|
460
500
|
# for any finding larger than 240 Kb.
|
@@ -471,11 +511,8 @@ module Aws::SecurityHub
|
|
471
511
|
#
|
472
512
|
# * `Workflow`
|
473
513
|
#
|
474
|
-
#
|
475
|
-
#
|
476
|
-
# `BatchUpdateFindings`. After they are updated using
|
477
|
-
# `BatchUpdateFindings`, these fields cannot be updated using
|
478
|
-
# `BatchImportFindings`.
|
514
|
+
# Finding providers also should not use `BatchImportFindings` to update
|
515
|
+
# the following attributes.
|
479
516
|
#
|
480
517
|
# * `Confidence`
|
481
518
|
#
|
@@ -487,6 +524,9 @@ module Aws::SecurityHub
|
|
487
524
|
#
|
488
525
|
# * `Types`
|
489
526
|
#
|
527
|
+
# Instead, finding providers use `FindingProviderFields` to provide
|
528
|
+
# values for these attributes.
|
529
|
+
#
|
490
530
|
# @option params [required, Array<Types::AwsSecurityFinding>] :findings
|
491
531
|
# A list of findings to import. To successfully import a finding, it
|
492
532
|
# must follow the [AWS Security Finding Format][1]. Maximum of 100
|
@@ -512,12 +552,12 @@ module Aws::SecurityHub
|
|
512
552
|
# product_arn: "NonEmptyString", # required
|
513
553
|
# generator_id: "NonEmptyString", # required
|
514
554
|
# aws_account_id: "NonEmptyString", # required
|
515
|
-
# types: ["NonEmptyString"],
|
555
|
+
# types: ["NonEmptyString"],
|
516
556
|
# first_observed_at: "NonEmptyString",
|
517
557
|
# last_observed_at: "NonEmptyString",
|
518
558
|
# created_at: "NonEmptyString", # required
|
519
559
|
# updated_at: "NonEmptyString", # required
|
520
|
-
# severity: {
|
560
|
+
# severity: {
|
521
561
|
# product: 1.0,
|
522
562
|
# label: "INFORMATIONAL", # accepts INFORMATIONAL, LOW, MEDIUM, HIGH, CRITICAL
|
523
563
|
# normalized: 1,
|
@@ -641,6 +681,130 @@ module Aws::SecurityHub
|
|
641
681
|
# tags: {
|
642
682
|
# "NonEmptyString" => "NonEmptyString",
|
643
683
|
# },
|
684
|
+
# data_classification: {
|
685
|
+
# detailed_results_location: "NonEmptyString",
|
686
|
+
# result: {
|
687
|
+
# mime_type: "NonEmptyString",
|
688
|
+
# size_classified: 1,
|
689
|
+
# additional_occurrences: false,
|
690
|
+
# status: {
|
691
|
+
# code: "NonEmptyString",
|
692
|
+
# reason: "NonEmptyString",
|
693
|
+
# },
|
694
|
+
# sensitive_data: [
|
695
|
+
# {
|
696
|
+
# category: "NonEmptyString",
|
697
|
+
# detections: [
|
698
|
+
# {
|
699
|
+
# count: 1,
|
700
|
+
# type: "NonEmptyString",
|
701
|
+
# occurrences: {
|
702
|
+
# line_ranges: [
|
703
|
+
# {
|
704
|
+
# start: 1,
|
705
|
+
# end: 1,
|
706
|
+
# start_column: 1,
|
707
|
+
# },
|
708
|
+
# ],
|
709
|
+
# offset_ranges: [
|
710
|
+
# {
|
711
|
+
# start: 1,
|
712
|
+
# end: 1,
|
713
|
+
# start_column: 1,
|
714
|
+
# },
|
715
|
+
# ],
|
716
|
+
# pages: [
|
717
|
+
# {
|
718
|
+
# page_number: 1,
|
719
|
+
# line_range: {
|
720
|
+
# start: 1,
|
721
|
+
# end: 1,
|
722
|
+
# start_column: 1,
|
723
|
+
# },
|
724
|
+
# offset_range: {
|
725
|
+
# start: 1,
|
726
|
+
# end: 1,
|
727
|
+
# start_column: 1,
|
728
|
+
# },
|
729
|
+
# },
|
730
|
+
# ],
|
731
|
+
# records: [
|
732
|
+
# {
|
733
|
+
# json_path: "NonEmptyString",
|
734
|
+
# record_index: 1,
|
735
|
+
# },
|
736
|
+
# ],
|
737
|
+
# cells: [
|
738
|
+
# {
|
739
|
+
# column: 1,
|
740
|
+
# row: 1,
|
741
|
+
# column_name: "NonEmptyString",
|
742
|
+
# cell_reference: "NonEmptyString",
|
743
|
+
# },
|
744
|
+
# ],
|
745
|
+
# },
|
746
|
+
# },
|
747
|
+
# ],
|
748
|
+
# total_count: 1,
|
749
|
+
# },
|
750
|
+
# ],
|
751
|
+
# custom_data_identifiers: {
|
752
|
+
# detections: [
|
753
|
+
# {
|
754
|
+
# count: 1,
|
755
|
+
# arn: "NonEmptyString",
|
756
|
+
# name: "NonEmptyString",
|
757
|
+
# occurrences: {
|
758
|
+
# line_ranges: [
|
759
|
+
# {
|
760
|
+
# start: 1,
|
761
|
+
# end: 1,
|
762
|
+
# start_column: 1,
|
763
|
+
# },
|
764
|
+
# ],
|
765
|
+
# offset_ranges: [
|
766
|
+
# {
|
767
|
+
# start: 1,
|
768
|
+
# end: 1,
|
769
|
+
# start_column: 1,
|
770
|
+
# },
|
771
|
+
# ],
|
772
|
+
# pages: [
|
773
|
+
# {
|
774
|
+
# page_number: 1,
|
775
|
+
# line_range: {
|
776
|
+
# start: 1,
|
777
|
+
# end: 1,
|
778
|
+
# start_column: 1,
|
779
|
+
# },
|
780
|
+
# offset_range: {
|
781
|
+
# start: 1,
|
782
|
+
# end: 1,
|
783
|
+
# start_column: 1,
|
784
|
+
# },
|
785
|
+
# },
|
786
|
+
# ],
|
787
|
+
# records: [
|
788
|
+
# {
|
789
|
+
# json_path: "NonEmptyString",
|
790
|
+
# record_index: 1,
|
791
|
+
# },
|
792
|
+
# ],
|
793
|
+
# cells: [
|
794
|
+
# {
|
795
|
+
# column: 1,
|
796
|
+
# row: 1,
|
797
|
+
# column_name: "NonEmptyString",
|
798
|
+
# cell_reference: "NonEmptyString",
|
799
|
+
# },
|
800
|
+
# ],
|
801
|
+
# },
|
802
|
+
# },
|
803
|
+
# ],
|
804
|
+
# total_count: 1,
|
805
|
+
# },
|
806
|
+
# },
|
807
|
+
# },
|
644
808
|
# details: {
|
645
809
|
# aws_auto_scaling_auto_scaling_group: {
|
646
810
|
# launch_configuration_name: "NonEmptyString",
|
@@ -942,6 +1106,18 @@ module Aws::SecurityHub
|
|
942
1106
|
# },
|
943
1107
|
# ],
|
944
1108
|
# },
|
1109
|
+
# public_access_block_configuration: {
|
1110
|
+
# block_public_acls: false,
|
1111
|
+
# block_public_policy: false,
|
1112
|
+
# ignore_public_acls: false,
|
1113
|
+
# restrict_public_buckets: false,
|
1114
|
+
# },
|
1115
|
+
# },
|
1116
|
+
# aws_s3_account_public_access_block: {
|
1117
|
+
# block_public_acls: false,
|
1118
|
+
# block_public_policy: false,
|
1119
|
+
# ignore_public_acls: false,
|
1120
|
+
# restrict_public_buckets: false,
|
945
1121
|
# },
|
946
1122
|
# aws_s3_object: {
|
947
1123
|
# last_modified: "NonEmptyString",
|
@@ -2172,6 +2348,21 @@ module Aws::SecurityHub
|
|
2172
2348
|
# blocked: false,
|
2173
2349
|
# },
|
2174
2350
|
# },
|
2351
|
+
# finding_provider_fields: {
|
2352
|
+
# confidence: 1,
|
2353
|
+
# criticality: 1,
|
2354
|
+
# related_findings: [
|
2355
|
+
# {
|
2356
|
+
# product_arn: "NonEmptyString", # required
|
2357
|
+
# id: "NonEmptyString", # required
|
2358
|
+
# },
|
2359
|
+
# ],
|
2360
|
+
# severity: {
|
2361
|
+
# label: "INFORMATIONAL", # accepts INFORMATIONAL, LOW, MEDIUM, HIGH, CRITICAL
|
2362
|
+
# original: "NonEmptyString",
|
2363
|
+
# },
|
2364
|
+
# types: ["NonEmptyString"],
|
2365
|
+
# },
|
2175
2366
|
# },
|
2176
2367
|
# ],
|
2177
2368
|
# })
|
@@ -2195,16 +2386,16 @@ module Aws::SecurityHub
|
|
2195
2386
|
end
|
2196
2387
|
|
2197
2388
|
# Used by Security Hub customers to update information about their
|
2198
|
-
# investigation into a finding. Requested by
|
2199
|
-
# accounts.
|
2200
|
-
# their member accounts. Member accounts can update findings
|
2201
|
-
# account.
|
2389
|
+
# investigation into a finding. Requested by administrator accounts or
|
2390
|
+
# member accounts. Administrator accounts can update findings for their
|
2391
|
+
# account and their member accounts. Member accounts can update findings
|
2392
|
+
# for their account.
|
2202
2393
|
#
|
2203
2394
|
# Updates from `BatchUpdateFindings` do not affect the value of
|
2204
2395
|
# `UpdatedAt` for a finding.
|
2205
2396
|
#
|
2206
|
-
#
|
2207
|
-
# following finding fields and objects.
|
2397
|
+
# Administrator and member accounts can use `BatchUpdateFindings` to
|
2398
|
+
# update the following finding fields and objects.
|
2208
2399
|
#
|
2209
2400
|
# * `Confidence`
|
2210
2401
|
#
|
@@ -2989,6 +3180,50 @@ module Aws::SecurityHub
|
|
2989
3180
|
# value: "NonEmptyString",
|
2990
3181
|
# },
|
2991
3182
|
# ],
|
3183
|
+
# finding_provider_fields_confidence: [
|
3184
|
+
# {
|
3185
|
+
# gte: 1.0,
|
3186
|
+
# lte: 1.0,
|
3187
|
+
# eq: 1.0,
|
3188
|
+
# },
|
3189
|
+
# ],
|
3190
|
+
# finding_provider_fields_criticality: [
|
3191
|
+
# {
|
3192
|
+
# gte: 1.0,
|
3193
|
+
# lte: 1.0,
|
3194
|
+
# eq: 1.0,
|
3195
|
+
# },
|
3196
|
+
# ],
|
3197
|
+
# finding_provider_fields_related_findings_id: [
|
3198
|
+
# {
|
3199
|
+
# value: "NonEmptyString",
|
3200
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
3201
|
+
# },
|
3202
|
+
# ],
|
3203
|
+
# finding_provider_fields_related_findings_product_arn: [
|
3204
|
+
# {
|
3205
|
+
# value: "NonEmptyString",
|
3206
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
3207
|
+
# },
|
3208
|
+
# ],
|
3209
|
+
# finding_provider_fields_severity_label: [
|
3210
|
+
# {
|
3211
|
+
# value: "NonEmptyString",
|
3212
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
3213
|
+
# },
|
3214
|
+
# ],
|
3215
|
+
# finding_provider_fields_severity_original: [
|
3216
|
+
# {
|
3217
|
+
# value: "NonEmptyString",
|
3218
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
3219
|
+
# },
|
3220
|
+
# ],
|
3221
|
+
# finding_provider_fields_types: [
|
3222
|
+
# {
|
3223
|
+
# value: "NonEmptyString",
|
3224
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
3225
|
+
# },
|
3226
|
+
# ],
|
2992
3227
|
# },
|
2993
3228
|
# group_by_attribute: "NonEmptyString", # required
|
2994
3229
|
# })
|
@@ -3007,10 +3242,10 @@ module Aws::SecurityHub
|
|
3007
3242
|
end
|
3008
3243
|
|
3009
3244
|
# Creates a member association in Security Hub between the specified
|
3010
|
-
# accounts and the account used to make the request, which is the
|
3011
|
-
# account. If you are integrated with Organizations, then
|
3012
|
-
#
|
3013
|
-
#
|
3245
|
+
# accounts and the account used to make the request, which is the
|
3246
|
+
# administrator account. If you are integrated with Organizations, then
|
3247
|
+
# the administrator account is designated by the organization management
|
3248
|
+
# account.
|
3014
3249
|
#
|
3015
3250
|
# `CreateMembers` is always used to add accounts that are not
|
3016
3251
|
# organization members.
|
@@ -3037,17 +3272,17 @@ module Aws::SecurityHub
|
|
3037
3272
|
# invitation. They automatically become a member account in Security
|
3038
3273
|
# Hub.
|
3039
3274
|
#
|
3040
|
-
# A permissions policy is added that permits the
|
3041
|
-
# the findings generated in the member account. When Security
|
3042
|
-
# enabled in a member account,
|
3043
|
-
#
|
3275
|
+
# A permissions policy is added that permits the administrator account
|
3276
|
+
# to view the findings generated in the member account. When Security
|
3277
|
+
# Hub is enabled in a member account, the member account findings are
|
3278
|
+
# also visible to the administrator account.
|
3044
3279
|
#
|
3045
|
-
# To remove the association between the
|
3046
|
-
# the ` DisassociateFromMasterAccount ` or `
|
3047
|
-
# operation.
|
3280
|
+
# To remove the association between the administrator and member
|
3281
|
+
# accounts, use the ` DisassociateFromMasterAccount ` or `
|
3282
|
+
# DisassociateMembers ` operation.
|
3048
3283
|
#
|
3049
3284
|
# @option params [required, Array<Types::AccountDetails>] :account_details
|
3050
|
-
# The list of accounts to associate with the Security Hub
|
3285
|
+
# The list of accounts to associate with the Security Hub administrator
|
3051
3286
|
# account. For each account, the list includes the account ID and
|
3052
3287
|
# optionally the email address.
|
3053
3288
|
#
|
@@ -3348,9 +3583,13 @@ module Aws::SecurityHub
|
|
3348
3583
|
req.send_request(options)
|
3349
3584
|
end
|
3350
3585
|
|
3351
|
-
# Returns information about
|
3352
|
-
#
|
3353
|
-
#
|
3586
|
+
# Returns information about product integrations in Security Hub.
|
3587
|
+
#
|
3588
|
+
# You can optionally provide an integration ARN. If you provide an
|
3589
|
+
# integration ARN, then the results only include that integration.
|
3590
|
+
#
|
3591
|
+
# If you do not provide an integration ARN, then the results include all
|
3592
|
+
# of the available product integrations.
|
3354
3593
|
#
|
3355
3594
|
# @option params [String] :next_token
|
3356
3595
|
# The token that is required for pagination. On your first call to the
|
@@ -3364,6 +3603,9 @@ module Aws::SecurityHub
|
|
3364
3603
|
# @option params [Integer] :max_results
|
3365
3604
|
# The maximum number of results to return.
|
3366
3605
|
#
|
3606
|
+
# @option params [String] :product_arn
|
3607
|
+
# The ARN of the integration to return.
|
3608
|
+
#
|
3367
3609
|
# @return [Types::DescribeProductsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3368
3610
|
#
|
3369
3611
|
# * {Types::DescribeProductsResponse#products #products} => Array<Types::Product>
|
@@ -3376,6 +3618,7 @@ module Aws::SecurityHub
|
|
3376
3618
|
# resp = client.describe_products({
|
3377
3619
|
# next_token: "NextToken",
|
3378
3620
|
# max_results: 1,
|
3621
|
+
# product_arn: "NonEmptyString",
|
3379
3622
|
# })
|
3380
3623
|
#
|
3381
3624
|
# @example Response structure
|
@@ -3388,7 +3631,7 @@ module Aws::SecurityHub
|
|
3388
3631
|
# resp.products[0].categories #=> Array
|
3389
3632
|
# resp.products[0].categories[0] #=> String
|
3390
3633
|
# resp.products[0].integration_types #=> Array
|
3391
|
-
# resp.products[0].integration_types[0] #=> String, one of "SEND_FINDINGS_TO_SECURITY_HUB", "RECEIVE_FINDINGS_FROM_SECURITY_HUB"
|
3634
|
+
# resp.products[0].integration_types[0] #=> String, one of "SEND_FINDINGS_TO_SECURITY_HUB", "RECEIVE_FINDINGS_FROM_SECURITY_HUB", "UPDATE_FINDINGS_IN_SECURITY_HUB"
|
3392
3635
|
# resp.products[0].marketplace_url #=> String
|
3393
3636
|
# resp.products[0].activation_url #=> String
|
3394
3637
|
# resp.products[0].product_subscription_resource_policy #=> String
|
@@ -3566,13 +3809,13 @@ module Aws::SecurityHub
|
|
3566
3809
|
# disable Security Hub in all Regions, you must submit one request per
|
3567
3810
|
# Region where you have enabled Security Hub.
|
3568
3811
|
#
|
3569
|
-
# When you disable Security Hub for
|
3570
|
-
# disable Security Hub for any associated member accounts.
|
3812
|
+
# When you disable Security Hub for an administrator account, it
|
3813
|
+
# doesn't disable Security Hub for any associated member accounts.
|
3571
3814
|
#
|
3572
3815
|
# When you disable Security Hub, your existing findings and insights and
|
3573
3816
|
# any Security Hub configuration settings are deleted after 90 days and
|
3574
3817
|
# cannot be recovered. Any standards that were enabled are disabled, and
|
3575
|
-
# your
|
3818
|
+
# your administrator and member account associations are removed.
|
3576
3819
|
#
|
3577
3820
|
# If you want to save your existing findings, you must export them
|
3578
3821
|
# before you disable Security Hub.
|
@@ -3589,12 +3832,32 @@ module Aws::SecurityHub
|
|
3589
3832
|
end
|
3590
3833
|
|
3591
3834
|
# Disassociates the current Security Hub member account from the
|
3592
|
-
# associated
|
3835
|
+
# associated administrator account.
|
3593
3836
|
#
|
3594
3837
|
# This operation is only used by accounts that are not part of an
|
3595
|
-
# organization. For organization accounts, only the
|
3596
|
-
#
|
3597
|
-
#
|
3838
|
+
# organization. For organization accounts, only the administrator
|
3839
|
+
# account can disassociate a member account.
|
3840
|
+
#
|
3841
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3842
|
+
#
|
3843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromAdministratorAccount AWS API Documentation
|
3844
|
+
#
|
3845
|
+
# @overload disassociate_from_administrator_account(params = {})
|
3846
|
+
# @param [Hash] params ({})
|
3847
|
+
def disassociate_from_administrator_account(params = {}, options = {})
|
3848
|
+
req = build_request(:disassociate_from_administrator_account, params)
|
3849
|
+
req.send_request(options)
|
3850
|
+
end
|
3851
|
+
|
3852
|
+
# This method is deprecated. Instead, use
|
3853
|
+
# `DisassociateFromAdministratorAccount`.
|
3854
|
+
#
|
3855
|
+
# Disassociates the current Security Hub member account from the
|
3856
|
+
# associated administrator account.
|
3857
|
+
#
|
3858
|
+
# This operation is only used by accounts that are not part of an
|
3859
|
+
# organization. For organization accounts, only the administrator
|
3860
|
+
# account can disassociate a member account.
|
3598
3861
|
#
|
3599
3862
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3600
3863
|
#
|
@@ -3607,15 +3870,15 @@ module Aws::SecurityHub
|
|
3607
3870
|
req.send_request(options)
|
3608
3871
|
end
|
3609
3872
|
|
3610
|
-
# Disassociates the specified member accounts from the associated
|
3611
|
-
# account.
|
3873
|
+
# Disassociates the specified member accounts from the associated
|
3874
|
+
# administrator account.
|
3612
3875
|
#
|
3613
|
-
# Can be used to disassociate both accounts that are
|
3614
|
-
# and accounts that were invited manually.
|
3876
|
+
# Can be used to disassociate both accounts that are managed using
|
3877
|
+
# Organizations and accounts that were invited manually.
|
3615
3878
|
#
|
3616
3879
|
# @option params [required, Array<String>] :account_ids
|
3617
|
-
# The account IDs of the member accounts to disassociate from the
|
3618
|
-
# account.
|
3880
|
+
# The account IDs of the member accounts to disassociate from the
|
3881
|
+
# administrator account.
|
3619
3882
|
#
|
3620
3883
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3621
3884
|
#
|
@@ -3752,6 +4015,32 @@ module Aws::SecurityHub
|
|
3752
4015
|
req.send_request(options)
|
3753
4016
|
end
|
3754
4017
|
|
4018
|
+
# Provides the details for the Security Hub administrator account for
|
4019
|
+
# the current member account.
|
4020
|
+
#
|
4021
|
+
# Can be used by both member accounts that are managed using
|
4022
|
+
# Organizations and accounts that were invited manually.
|
4023
|
+
#
|
4024
|
+
# @return [Types::GetAdministratorAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4025
|
+
#
|
4026
|
+
# * {Types::GetAdministratorAccountResponse#administrator #administrator} => Types::Invitation
|
4027
|
+
#
|
4028
|
+
# @example Response structure
|
4029
|
+
#
|
4030
|
+
# resp.administrator.account_id #=> String
|
4031
|
+
# resp.administrator.invitation_id #=> String
|
4032
|
+
# resp.administrator.invited_at #=> Time
|
4033
|
+
# resp.administrator.member_status #=> String
|
4034
|
+
#
|
4035
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetAdministratorAccount AWS API Documentation
|
4036
|
+
#
|
4037
|
+
# @overload get_administrator_account(params = {})
|
4038
|
+
# @param [Hash] params ({})
|
4039
|
+
def get_administrator_account(params = {}, options = {})
|
4040
|
+
req = build_request(:get_administrator_account, params)
|
4041
|
+
req.send_request(options)
|
4042
|
+
end
|
4043
|
+
|
3755
4044
|
# Returns a list of the standards that are currently enabled.
|
3756
4045
|
#
|
3757
4046
|
# @option params [Array<String>] :standards_subscription_arns
|
@@ -4395,6 +4684,50 @@ module Aws::SecurityHub
|
|
4395
4684
|
# value: "NonEmptyString",
|
4396
4685
|
# },
|
4397
4686
|
# ],
|
4687
|
+
# finding_provider_fields_confidence: [
|
4688
|
+
# {
|
4689
|
+
# gte: 1.0,
|
4690
|
+
# lte: 1.0,
|
4691
|
+
# eq: 1.0,
|
4692
|
+
# },
|
4693
|
+
# ],
|
4694
|
+
# finding_provider_fields_criticality: [
|
4695
|
+
# {
|
4696
|
+
# gte: 1.0,
|
4697
|
+
# lte: 1.0,
|
4698
|
+
# eq: 1.0,
|
4699
|
+
# },
|
4700
|
+
# ],
|
4701
|
+
# finding_provider_fields_related_findings_id: [
|
4702
|
+
# {
|
4703
|
+
# value: "NonEmptyString",
|
4704
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
4705
|
+
# },
|
4706
|
+
# ],
|
4707
|
+
# finding_provider_fields_related_findings_product_arn: [
|
4708
|
+
# {
|
4709
|
+
# value: "NonEmptyString",
|
4710
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
4711
|
+
# },
|
4712
|
+
# ],
|
4713
|
+
# finding_provider_fields_severity_label: [
|
4714
|
+
# {
|
4715
|
+
# value: "NonEmptyString",
|
4716
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
4717
|
+
# },
|
4718
|
+
# ],
|
4719
|
+
# finding_provider_fields_severity_original: [
|
4720
|
+
# {
|
4721
|
+
# value: "NonEmptyString",
|
4722
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
4723
|
+
# },
|
4724
|
+
# ],
|
4725
|
+
# finding_provider_fields_types: [
|
4726
|
+
# {
|
4727
|
+
# value: "NonEmptyString",
|
4728
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
4729
|
+
# },
|
4730
|
+
# ],
|
4398
4731
|
# },
|
4399
4732
|
# sort_criteria: [
|
4400
4733
|
# {
|
@@ -4499,6 +4832,71 @@ module Aws::SecurityHub
|
|
4499
4832
|
# resp.findings[0].resources[0].resource_role #=> String
|
4500
4833
|
# resp.findings[0].resources[0].tags #=> Hash
|
4501
4834
|
# resp.findings[0].resources[0].tags["NonEmptyString"] #=> String
|
4835
|
+
# resp.findings[0].resources[0].data_classification.detailed_results_location #=> String
|
4836
|
+
# resp.findings[0].resources[0].data_classification.result.mime_type #=> String
|
4837
|
+
# resp.findings[0].resources[0].data_classification.result.size_classified #=> Integer
|
4838
|
+
# resp.findings[0].resources[0].data_classification.result.additional_occurrences #=> Boolean
|
4839
|
+
# resp.findings[0].resources[0].data_classification.result.status.code #=> String
|
4840
|
+
# resp.findings[0].resources[0].data_classification.result.status.reason #=> String
|
4841
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data #=> Array
|
4842
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].category #=> String
|
4843
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections #=> Array
|
4844
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].count #=> Integer
|
4845
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].type #=> String
|
4846
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.line_ranges #=> Array
|
4847
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].start #=> Integer
|
4848
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].end #=> Integer
|
4849
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].start_column #=> Integer
|
4850
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.offset_ranges #=> Array
|
4851
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].start #=> Integer
|
4852
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].end #=> Integer
|
4853
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].start_column #=> Integer
|
4854
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.pages #=> Array
|
4855
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.pages[0].page_number #=> Integer
|
4856
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.start #=> Integer
|
4857
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.end #=> Integer
|
4858
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.start_column #=> Integer
|
4859
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start #=> Integer
|
4860
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.end #=> Integer
|
4861
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
|
4862
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.records #=> Array
|
4863
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.records[0].json_path #=> String
|
4864
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.records[0].record_index #=> Integer
|
4865
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.cells #=> Array
|
4866
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.cells[0].column #=> Integer
|
4867
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.cells[0].row #=> Integer
|
4868
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.cells[0].column_name #=> String
|
4869
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].detections[0].occurrences.cells[0].cell_reference #=> String
|
4870
|
+
# resp.findings[0].resources[0].data_classification.result.sensitive_data[0].total_count #=> Integer
|
4871
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections #=> Array
|
4872
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].count #=> Integer
|
4873
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].arn #=> String
|
4874
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].name #=> String
|
4875
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.line_ranges #=> Array
|
4876
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].start #=> Integer
|
4877
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].end #=> Integer
|
4878
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].start_column #=> Integer
|
4879
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.offset_ranges #=> Array
|
4880
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].start #=> Integer
|
4881
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].end #=> Integer
|
4882
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].start_column #=> Integer
|
4883
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.pages #=> Array
|
4884
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.pages[0].page_number #=> Integer
|
4885
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.start #=> Integer
|
4886
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.end #=> Integer
|
4887
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.start_column #=> Integer
|
4888
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.start #=> Integer
|
4889
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.end #=> Integer
|
4890
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
|
4891
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.records #=> Array
|
4892
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.records[0].json_path #=> String
|
4893
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.records[0].record_index #=> Integer
|
4894
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.cells #=> Array
|
4895
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.cells[0].column #=> Integer
|
4896
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.cells[0].row #=> Integer
|
4897
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.cells[0].column_name #=> String
|
4898
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.detections[0].occurrences.cells[0].cell_reference #=> String
|
4899
|
+
# resp.findings[0].resources[0].data_classification.result.custom_data_identifiers.total_count #=> Integer
|
4502
4900
|
# resp.findings[0].resources[0].details.aws_auto_scaling_auto_scaling_group.launch_configuration_name #=> String
|
4503
4901
|
# resp.findings[0].resources[0].details.aws_auto_scaling_auto_scaling_group.load_balancer_names #=> Array
|
4504
4902
|
# resp.findings[0].resources[0].details.aws_auto_scaling_auto_scaling_group.load_balancer_names[0] #=> String
|
@@ -4682,6 +5080,14 @@ module Aws::SecurityHub
|
|
4682
5080
|
# resp.findings[0].resources[0].details.aws_s3_bucket.server_side_encryption_configuration.rules #=> Array
|
4683
5081
|
# resp.findings[0].resources[0].details.aws_s3_bucket.server_side_encryption_configuration.rules[0].apply_server_side_encryption_by_default.sse_algorithm #=> String
|
4684
5082
|
# resp.findings[0].resources[0].details.aws_s3_bucket.server_side_encryption_configuration.rules[0].apply_server_side_encryption_by_default.kms_master_key_id #=> String
|
5083
|
+
# resp.findings[0].resources[0].details.aws_s3_bucket.public_access_block_configuration.block_public_acls #=> Boolean
|
5084
|
+
# resp.findings[0].resources[0].details.aws_s3_bucket.public_access_block_configuration.block_public_policy #=> Boolean
|
5085
|
+
# resp.findings[0].resources[0].details.aws_s3_bucket.public_access_block_configuration.ignore_public_acls #=> Boolean
|
5086
|
+
# resp.findings[0].resources[0].details.aws_s3_bucket.public_access_block_configuration.restrict_public_buckets #=> Boolean
|
5087
|
+
# resp.findings[0].resources[0].details.aws_s3_account_public_access_block.block_public_acls #=> Boolean
|
5088
|
+
# resp.findings[0].resources[0].details.aws_s3_account_public_access_block.block_public_policy #=> Boolean
|
5089
|
+
# resp.findings[0].resources[0].details.aws_s3_account_public_access_block.ignore_public_acls #=> Boolean
|
5090
|
+
# resp.findings[0].resources[0].details.aws_s3_account_public_access_block.restrict_public_buckets #=> Boolean
|
4685
5091
|
# resp.findings[0].resources[0].details.aws_s3_object.last_modified #=> String
|
4686
5092
|
# resp.findings[0].resources[0].details.aws_s3_object.etag #=> String
|
4687
5093
|
# resp.findings[0].resources[0].details.aws_s3_object.version_id #=> String
|
@@ -5528,6 +5934,15 @@ module Aws::SecurityHub
|
|
5528
5934
|
# resp.findings[0].action.port_probe_action.port_probe_details[0].remote_ip_details.geo_location.lon #=> Float
|
5529
5935
|
# resp.findings[0].action.port_probe_action.port_probe_details[0].remote_ip_details.geo_location.lat #=> Float
|
5530
5936
|
# resp.findings[0].action.port_probe_action.blocked #=> Boolean
|
5937
|
+
# resp.findings[0].finding_provider_fields.confidence #=> Integer
|
5938
|
+
# resp.findings[0].finding_provider_fields.criticality #=> Integer
|
5939
|
+
# resp.findings[0].finding_provider_fields.related_findings #=> Array
|
5940
|
+
# resp.findings[0].finding_provider_fields.related_findings[0].product_arn #=> String
|
5941
|
+
# resp.findings[0].finding_provider_fields.related_findings[0].id #=> String
|
5942
|
+
# resp.findings[0].finding_provider_fields.severity.label #=> String, one of "INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL"
|
5943
|
+
# resp.findings[0].finding_provider_fields.severity.original #=> String
|
5944
|
+
# resp.findings[0].finding_provider_fields.types #=> Array
|
5945
|
+
# resp.findings[0].finding_provider_fields.types[0] #=> String
|
5531
5946
|
# resp.next_token #=> String
|
5532
5947
|
#
|
5533
5948
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings AWS API Documentation
|
@@ -5889,6 +6304,29 @@ module Aws::SecurityHub
|
|
5889
6304
|
# resp.insights[0].filters.note_updated_by[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS"
|
5890
6305
|
# resp.insights[0].filters.keyword #=> Array
|
5891
6306
|
# resp.insights[0].filters.keyword[0].value #=> String
|
6307
|
+
# resp.insights[0].filters.finding_provider_fields_confidence #=> Array
|
6308
|
+
# resp.insights[0].filters.finding_provider_fields_confidence[0].gte #=> Float
|
6309
|
+
# resp.insights[0].filters.finding_provider_fields_confidence[0].lte #=> Float
|
6310
|
+
# resp.insights[0].filters.finding_provider_fields_confidence[0].eq #=> Float
|
6311
|
+
# resp.insights[0].filters.finding_provider_fields_criticality #=> Array
|
6312
|
+
# resp.insights[0].filters.finding_provider_fields_criticality[0].gte #=> Float
|
6313
|
+
# resp.insights[0].filters.finding_provider_fields_criticality[0].lte #=> Float
|
6314
|
+
# resp.insights[0].filters.finding_provider_fields_criticality[0].eq #=> Float
|
6315
|
+
# resp.insights[0].filters.finding_provider_fields_related_findings_id #=> Array
|
6316
|
+
# resp.insights[0].filters.finding_provider_fields_related_findings_id[0].value #=> String
|
6317
|
+
# resp.insights[0].filters.finding_provider_fields_related_findings_id[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS"
|
6318
|
+
# resp.insights[0].filters.finding_provider_fields_related_findings_product_arn #=> Array
|
6319
|
+
# resp.insights[0].filters.finding_provider_fields_related_findings_product_arn[0].value #=> String
|
6320
|
+
# resp.insights[0].filters.finding_provider_fields_related_findings_product_arn[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS"
|
6321
|
+
# resp.insights[0].filters.finding_provider_fields_severity_label #=> Array
|
6322
|
+
# resp.insights[0].filters.finding_provider_fields_severity_label[0].value #=> String
|
6323
|
+
# resp.insights[0].filters.finding_provider_fields_severity_label[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS"
|
6324
|
+
# resp.insights[0].filters.finding_provider_fields_severity_original #=> Array
|
6325
|
+
# resp.insights[0].filters.finding_provider_fields_severity_original[0].value #=> String
|
6326
|
+
# resp.insights[0].filters.finding_provider_fields_severity_original[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS"
|
6327
|
+
# resp.insights[0].filters.finding_provider_fields_types #=> Array
|
6328
|
+
# resp.insights[0].filters.finding_provider_fields_types[0].value #=> String
|
6329
|
+
# resp.insights[0].filters.finding_provider_fields_types[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS"
|
5892
6330
|
# resp.insights[0].group_by_attribute #=> String
|
5893
6331
|
# resp.next_token #=> String
|
5894
6332
|
#
|
@@ -5922,11 +6360,13 @@ module Aws::SecurityHub
|
|
5922
6360
|
req.send_request(options)
|
5923
6361
|
end
|
5924
6362
|
|
5925
|
-
#
|
5926
|
-
#
|
6363
|
+
# This method is deprecated. Instead, use `GetAdministratorAccount`.
|
6364
|
+
#
|
6365
|
+
# Provides the details for the Security Hub administrator account for
|
6366
|
+
# the current member account.
|
5927
6367
|
#
|
5928
|
-
# Can be used by both member accounts that are
|
5929
|
-
# accounts that were invited manually.
|
6368
|
+
# Can be used by both member accounts that are managed using
|
6369
|
+
# Organizations and accounts that were invited manually.
|
5930
6370
|
#
|
5931
6371
|
# @return [Types::GetMasterAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5932
6372
|
#
|
@@ -5951,12 +6391,12 @@ module Aws::SecurityHub
|
|
5951
6391
|
# Returns the details for the Security Hub member accounts for the
|
5952
6392
|
# specified account IDs.
|
5953
6393
|
#
|
5954
|
-
#
|
5955
|
-
# account for an organization or
|
5956
|
-
# Hub manually.
|
6394
|
+
# An administrator account can be either the delegated Security Hub
|
6395
|
+
# administrator account for an organization or an administrator account
|
6396
|
+
# that enabled Security Hub manually.
|
5957
6397
|
#
|
5958
|
-
# The results include both member accounts that are
|
5959
|
-
# and accounts that were invited manually.
|
6398
|
+
# The results include both member accounts that are managed using
|
6399
|
+
# Organizations and accounts that were invited manually.
|
5960
6400
|
#
|
5961
6401
|
# @option params [required, Array<String>] :account_ids
|
5962
6402
|
# The list of account IDs for the Security Hub member accounts to return
|
@@ -5979,6 +6419,7 @@ module Aws::SecurityHub
|
|
5979
6419
|
# resp.members[0].account_id #=> String
|
5980
6420
|
# resp.members[0].email #=> String
|
5981
6421
|
# resp.members[0].master_id #=> String
|
6422
|
+
# resp.members[0].administrator_id #=> String
|
5982
6423
|
# resp.members[0].member_status #=> String
|
5983
6424
|
# resp.members[0].invited_at #=> Time
|
5984
6425
|
# resp.members[0].updated_at #=> Time
|
@@ -5996,7 +6437,7 @@ module Aws::SecurityHub
|
|
5996
6437
|
end
|
5997
6438
|
|
5998
6439
|
# Invites other AWS accounts to become member accounts for the Security
|
5999
|
-
# Hub
|
6440
|
+
# Hub administrator account that the invitation is sent from.
|
6000
6441
|
#
|
6001
6442
|
# This operation is only used to invite accounts that do not belong to
|
6002
6443
|
# an organization. Organization accounts do not receive invitations.
|
@@ -6006,8 +6447,8 @@ module Aws::SecurityHub
|
|
6006
6447
|
# Hub.
|
6007
6448
|
#
|
6008
6449
|
# When the account owner enables Security Hub and accepts the invitation
|
6009
|
-
# to become a member account, the
|
6010
|
-
# generated from the member account.
|
6450
|
+
# to become a member account, the administrator account can view the
|
6451
|
+
# findings generated from the member account.
|
6011
6452
|
#
|
6012
6453
|
# @option params [required, Array<String>] :account_ids
|
6013
6454
|
# The list of account IDs of the AWS accounts to invite to Security Hub
|
@@ -6085,8 +6526,9 @@ module Aws::SecurityHub
|
|
6085
6526
|
# Lists all Security Hub membership invitations that were sent to the
|
6086
6527
|
# current AWS account.
|
6087
6528
|
#
|
6088
|
-
# This operation is only used by accounts that
|
6089
|
-
#
|
6529
|
+
# This operation is only used by accounts that are managed by
|
6530
|
+
# invitation. Accounts that are managed using the integration with AWS
|
6531
|
+
# Organizations do not receive invitations.
|
6090
6532
|
#
|
6091
6533
|
# @option params [Integer] :max_results
|
6092
6534
|
# The maximum number of items to return in the response.
|
@@ -6133,19 +6575,19 @@ module Aws::SecurityHub
|
|
6133
6575
|
end
|
6134
6576
|
|
6135
6577
|
# Lists details about all member accounts for the current Security Hub
|
6136
|
-
#
|
6578
|
+
# administrator account.
|
6137
6579
|
#
|
6138
6580
|
# The results include both member accounts that belong to an
|
6139
6581
|
# organization and member accounts that were invited manually.
|
6140
6582
|
#
|
6141
6583
|
# @option params [Boolean] :only_associated
|
6142
6584
|
# Specifies which member accounts to include in the response based on
|
6143
|
-
# their relationship status with the
|
6144
|
-
# is `TRUE`.
|
6585
|
+
# their relationship status with the administrator account. The default
|
6586
|
+
# value is `TRUE`.
|
6145
6587
|
#
|
6146
6588
|
# If `OnlyAssociated` is set to `TRUE`, the response includes member
|
6147
|
-
# accounts whose relationship status with the
|
6148
|
-
# `ENABLED`.
|
6589
|
+
# accounts whose relationship status with the administrator account is
|
6590
|
+
# set to `ENABLED`.
|
6149
6591
|
#
|
6150
6592
|
# If `OnlyAssociated` is set to `FALSE`, the response includes all
|
6151
6593
|
# existing member accounts.
|
@@ -6182,6 +6624,7 @@ module Aws::SecurityHub
|
|
6182
6624
|
# resp.members[0].account_id #=> String
|
6183
6625
|
# resp.members[0].email #=> String
|
6184
6626
|
# resp.members[0].master_id #=> String
|
6627
|
+
# resp.members[0].administrator_id #=> String
|
6185
6628
|
# resp.members[0].member_status #=> String
|
6186
6629
|
# resp.members[0].invited_at #=> Time
|
6187
6630
|
# resp.members[0].updated_at #=> Time
|
@@ -6929,6 +7372,50 @@ module Aws::SecurityHub
|
|
6929
7372
|
# value: "NonEmptyString",
|
6930
7373
|
# },
|
6931
7374
|
# ],
|
7375
|
+
# finding_provider_fields_confidence: [
|
7376
|
+
# {
|
7377
|
+
# gte: 1.0,
|
7378
|
+
# lte: 1.0,
|
7379
|
+
# eq: 1.0,
|
7380
|
+
# },
|
7381
|
+
# ],
|
7382
|
+
# finding_provider_fields_criticality: [
|
7383
|
+
# {
|
7384
|
+
# gte: 1.0,
|
7385
|
+
# lte: 1.0,
|
7386
|
+
# eq: 1.0,
|
7387
|
+
# },
|
7388
|
+
# ],
|
7389
|
+
# finding_provider_fields_related_findings_id: [
|
7390
|
+
# {
|
7391
|
+
# value: "NonEmptyString",
|
7392
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
7393
|
+
# },
|
7394
|
+
# ],
|
7395
|
+
# finding_provider_fields_related_findings_product_arn: [
|
7396
|
+
# {
|
7397
|
+
# value: "NonEmptyString",
|
7398
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
7399
|
+
# },
|
7400
|
+
# ],
|
7401
|
+
# finding_provider_fields_severity_label: [
|
7402
|
+
# {
|
7403
|
+
# value: "NonEmptyString",
|
7404
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
7405
|
+
# },
|
7406
|
+
# ],
|
7407
|
+
# finding_provider_fields_severity_original: [
|
7408
|
+
# {
|
7409
|
+
# value: "NonEmptyString",
|
7410
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
7411
|
+
# },
|
7412
|
+
# ],
|
7413
|
+
# finding_provider_fields_types: [
|
7414
|
+
# {
|
7415
|
+
# value: "NonEmptyString",
|
7416
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
7417
|
+
# },
|
7418
|
+
# ],
|
6932
7419
|
# },
|
6933
7420
|
# note: {
|
6934
7421
|
# text: "NonEmptyString", # required
|
@@ -7522,6 +8009,50 @@ module Aws::SecurityHub
|
|
7522
8009
|
# value: "NonEmptyString",
|
7523
8010
|
# },
|
7524
8011
|
# ],
|
8012
|
+
# finding_provider_fields_confidence: [
|
8013
|
+
# {
|
8014
|
+
# gte: 1.0,
|
8015
|
+
# lte: 1.0,
|
8016
|
+
# eq: 1.0,
|
8017
|
+
# },
|
8018
|
+
# ],
|
8019
|
+
# finding_provider_fields_criticality: [
|
8020
|
+
# {
|
8021
|
+
# gte: 1.0,
|
8022
|
+
# lte: 1.0,
|
8023
|
+
# eq: 1.0,
|
8024
|
+
# },
|
8025
|
+
# ],
|
8026
|
+
# finding_provider_fields_related_findings_id: [
|
8027
|
+
# {
|
8028
|
+
# value: "NonEmptyString",
|
8029
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
8030
|
+
# },
|
8031
|
+
# ],
|
8032
|
+
# finding_provider_fields_related_findings_product_arn: [
|
8033
|
+
# {
|
8034
|
+
# value: "NonEmptyString",
|
8035
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
8036
|
+
# },
|
8037
|
+
# ],
|
8038
|
+
# finding_provider_fields_severity_label: [
|
8039
|
+
# {
|
8040
|
+
# value: "NonEmptyString",
|
8041
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
8042
|
+
# },
|
8043
|
+
# ],
|
8044
|
+
# finding_provider_fields_severity_original: [
|
8045
|
+
# {
|
8046
|
+
# value: "NonEmptyString",
|
8047
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
8048
|
+
# },
|
8049
|
+
# ],
|
8050
|
+
# finding_provider_fields_types: [
|
8051
|
+
# {
|
8052
|
+
# value: "NonEmptyString",
|
8053
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
8054
|
+
# },
|
8055
|
+
# ],
|
7525
8056
|
# },
|
7526
8057
|
# group_by_attribute: "NonEmptyString",
|
7527
8058
|
# })
|
@@ -7637,7 +8168,7 @@ module Aws::SecurityHub
|
|
7637
8168
|
params: params,
|
7638
8169
|
config: config)
|
7639
8170
|
context[:gem_name] = 'aws-sdk-securityhub'
|
7640
|
-
context[:gem_version] = '1.
|
8171
|
+
context[:gem_version] = '1.43.0'
|
7641
8172
|
Seahorse::Client::Request.new(handlers, context)
|
7642
8173
|
end
|
7643
8174
|
|