aws-sdk-securityhub 1.166.0 → 1.167.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 +696 -1
- data/lib/aws-sdk-securityhub/client_api.rb +182 -0
- data/lib/aws-sdk-securityhub/types.rb +546 -1
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +78 -0
- data/sig/types.rbs +131 -0
- metadata +1 -1
|
@@ -22565,6 +22565,36 @@ module Aws::SecurityHub
|
|
|
22565
22565
|
include Aws::Structure
|
|
22566
22566
|
end
|
|
22567
22567
|
|
|
22568
|
+
# @!attribute [rw] export_job_id
|
|
22569
|
+
# The unique identifier of the export job to cancel. This is the value
|
|
22570
|
+
# returned by `StartExportJobV2`.
|
|
22571
|
+
# @return [String]
|
|
22572
|
+
#
|
|
22573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CancelExportJobV2Request AWS API Documentation
|
|
22574
|
+
#
|
|
22575
|
+
class CancelExportJobV2Request < Struct.new(
|
|
22576
|
+
:export_job_id)
|
|
22577
|
+
SENSITIVE = []
|
|
22578
|
+
include Aws::Structure
|
|
22579
|
+
end
|
|
22580
|
+
|
|
22581
|
+
# @!attribute [rw] export_job_id
|
|
22582
|
+
# The unique identifier of the export job.
|
|
22583
|
+
# @return [String]
|
|
22584
|
+
#
|
|
22585
|
+
# @!attribute [rw] status
|
|
22586
|
+
# The state of the export job after the cancel request.
|
|
22587
|
+
# @return [String]
|
|
22588
|
+
#
|
|
22589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CancelExportJobV2Response AWS API Documentation
|
|
22590
|
+
#
|
|
22591
|
+
class CancelExportJobV2Response < Struct.new(
|
|
22592
|
+
:export_job_id,
|
|
22593
|
+
:status)
|
|
22594
|
+
SENSITIVE = []
|
|
22595
|
+
include Aws::Structure
|
|
22596
|
+
end
|
|
22597
|
+
|
|
22568
22598
|
# An occurrence of sensitive data detected in a Microsoft Excel
|
|
22569
22599
|
# workbook, comma-separated value (CSV) file, or tab-separated value
|
|
22570
22600
|
# (TSV) file.
|
|
@@ -25300,6 +25330,187 @@ module Aws::SecurityHub
|
|
|
25300
25330
|
include Aws::Structure
|
|
25301
25331
|
end
|
|
25302
25332
|
|
|
25333
|
+
# Specifies where Security Hub writes the export output. This is a
|
|
25334
|
+
# union: you must specify exactly one member. Currently, the only
|
|
25335
|
+
# supported member is `S3`.
|
|
25336
|
+
#
|
|
25337
|
+
# @note ExportDestination is a union - when making an API calls you must set exactly one of the members.
|
|
25338
|
+
#
|
|
25339
|
+
# @note ExportDestination is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ExportDestination corresponding to the set member.
|
|
25340
|
+
#
|
|
25341
|
+
# @!attribute [rw] s3
|
|
25342
|
+
# The Amazon Simple Storage Service (Amazon S3) bucket and Amazon Web
|
|
25343
|
+
# Services Key Management Service (Amazon Web Services KMS) key that
|
|
25344
|
+
# Security Hub uses to write the export.
|
|
25345
|
+
# @return [Types::S3ExportDestination]
|
|
25346
|
+
#
|
|
25347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ExportDestination AWS API Documentation
|
|
25348
|
+
#
|
|
25349
|
+
class ExportDestination < Struct.new(
|
|
25350
|
+
:s3,
|
|
25351
|
+
:unknown)
|
|
25352
|
+
SENSITIVE = []
|
|
25353
|
+
include Aws::Structure
|
|
25354
|
+
include Aws::Structure::Union
|
|
25355
|
+
|
|
25356
|
+
class S3 < ExportDestination; end
|
|
25357
|
+
class Unknown < ExportDestination; end
|
|
25358
|
+
end
|
|
25359
|
+
|
|
25360
|
+
# Specifies what data to export and how to format it. This is a union:
|
|
25361
|
+
# you must specify exactly one member. Currently, the only supported
|
|
25362
|
+
# member is `Findings`.
|
|
25363
|
+
#
|
|
25364
|
+
# @note ExportOutput is a union - when making an API calls you must set exactly one of the members.
|
|
25365
|
+
#
|
|
25366
|
+
# @note ExportOutput is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ExportOutput corresponding to the set member.
|
|
25367
|
+
#
|
|
25368
|
+
# @!attribute [rw] findings
|
|
25369
|
+
# Configures an export of Security Hub findings, including the output
|
|
25370
|
+
# format and any filters or selected fields.
|
|
25371
|
+
# @return [Types::FindingsOutput]
|
|
25372
|
+
#
|
|
25373
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ExportOutput AWS API Documentation
|
|
25374
|
+
#
|
|
25375
|
+
class ExportOutput < Struct.new(
|
|
25376
|
+
:findings,
|
|
25377
|
+
:unknown)
|
|
25378
|
+
SENSITIVE = []
|
|
25379
|
+
include Aws::Structure
|
|
25380
|
+
include Aws::Structure::Union
|
|
25381
|
+
|
|
25382
|
+
class Findings < ExportOutput; end
|
|
25383
|
+
class Unknown < ExportOutput; end
|
|
25384
|
+
end
|
|
25385
|
+
|
|
25386
|
+
# A summary of the output configuration for an export job. The populated
|
|
25387
|
+
# member corresponds to the data type that was exported.
|
|
25388
|
+
#
|
|
25389
|
+
# @note ExportOutputSummary is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ExportOutputSummary corresponding to the set member.
|
|
25390
|
+
#
|
|
25391
|
+
# @!attribute [rw] findings
|
|
25392
|
+
# The output configuration summary for a findings export.
|
|
25393
|
+
# @return [Types::FindingsOutputSummary]
|
|
25394
|
+
#
|
|
25395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ExportOutputSummary AWS API Documentation
|
|
25396
|
+
#
|
|
25397
|
+
class ExportOutputSummary < Struct.new(
|
|
25398
|
+
:findings,
|
|
25399
|
+
:unknown)
|
|
25400
|
+
SENSITIVE = []
|
|
25401
|
+
include Aws::Structure
|
|
25402
|
+
include Aws::Structure::Union
|
|
25403
|
+
|
|
25404
|
+
class Findings < ExportOutputSummary; end
|
|
25405
|
+
class Unknown < ExportOutputSummary; end
|
|
25406
|
+
end
|
|
25407
|
+
|
|
25408
|
+
# Defines the data boundary for a findings export. Scopes determine
|
|
25409
|
+
# which organizational units or organizations to retrieve data from.
|
|
25410
|
+
#
|
|
25411
|
+
# Only a delegated administrator can use this structure. If a delegated
|
|
25412
|
+
# administrator omits it, the export covers the entire organization; any
|
|
25413
|
+
# other caller exports only findings from its own account.
|
|
25414
|
+
#
|
|
25415
|
+
# @!attribute [rw] aws_organizations
|
|
25416
|
+
# A list of Organizations scopes to include in the export. Each entry
|
|
25417
|
+
# in the list specifies an organization or organizational unit to
|
|
25418
|
+
# include for the delegated administrator's account. If the list
|
|
25419
|
+
# specifies multiple entries, the entries are combined using OR logic.
|
|
25420
|
+
# @return [Array<Types::AwsOrganizationScope>]
|
|
25421
|
+
#
|
|
25422
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ExportScopes AWS API Documentation
|
|
25423
|
+
#
|
|
25424
|
+
class ExportScopes < Struct.new(
|
|
25425
|
+
:aws_organizations)
|
|
25426
|
+
SENSITIVE = []
|
|
25427
|
+
include Aws::Structure
|
|
25428
|
+
end
|
|
25429
|
+
|
|
25430
|
+
# A summary of an export job, as returned by `ListExportJobsV2`.
|
|
25431
|
+
#
|
|
25432
|
+
# @!attribute [rw] export_job_id
|
|
25433
|
+
# The unique identifier of the export job.
|
|
25434
|
+
# @return [String]
|
|
25435
|
+
#
|
|
25436
|
+
# @!attribute [rw] name
|
|
25437
|
+
# The user-provided name of the export job, if one was specified.
|
|
25438
|
+
# @return [String]
|
|
25439
|
+
#
|
|
25440
|
+
# @!attribute [rw] status
|
|
25441
|
+
# The current state of the export job.
|
|
25442
|
+
# @return [String]
|
|
25443
|
+
#
|
|
25444
|
+
# @!attribute [rw] data_type
|
|
25445
|
+
# The category of data that the export job produces.
|
|
25446
|
+
# @return [String]
|
|
25447
|
+
#
|
|
25448
|
+
# @!attribute [rw] output_configuration
|
|
25449
|
+
# The output configuration of the export job. For findings exports,
|
|
25450
|
+
# this reports the output format. Present only for findings exports;
|
|
25451
|
+
# absent for other data types.
|
|
25452
|
+
# @return [Types::ExportOutputSummary]
|
|
25453
|
+
#
|
|
25454
|
+
# @!attribute [rw] scopes
|
|
25455
|
+
# The organization scopes that the export job was started with, echoed
|
|
25456
|
+
# verbatim. Absent if the caller didn't supply `Scopes`.
|
|
25457
|
+
# @return [Types::ExportScopes]
|
|
25458
|
+
#
|
|
25459
|
+
# @!attribute [rw] destination
|
|
25460
|
+
# The destination that the export job writes to.
|
|
25461
|
+
# @return [Types::ExportDestination]
|
|
25462
|
+
#
|
|
25463
|
+
# @!attribute [rw] failure_code
|
|
25464
|
+
# A code that classifies why the export job failed. Present only when
|
|
25465
|
+
# `Status` is `FAILED`.
|
|
25466
|
+
# @return [String]
|
|
25467
|
+
#
|
|
25468
|
+
# @!attribute [rw] failure_message
|
|
25469
|
+
# A human-readable message about why the export job failed. Present
|
|
25470
|
+
# only when `Status` is `FAILED`.
|
|
25471
|
+
# @return [String]
|
|
25472
|
+
#
|
|
25473
|
+
# @!attribute [rw] started_at
|
|
25474
|
+
# The time when the export job was created.
|
|
25475
|
+
#
|
|
25476
|
+
# For more information about the validation and formatting of
|
|
25477
|
+
# timestamp fields in Security Hub, see [Timestamps][1].
|
|
25478
|
+
#
|
|
25479
|
+
#
|
|
25480
|
+
#
|
|
25481
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps
|
|
25482
|
+
# @return [Time]
|
|
25483
|
+
#
|
|
25484
|
+
# @!attribute [rw] ended_at
|
|
25485
|
+
# The time when the export job reached a terminal state. Absent while
|
|
25486
|
+
# the job is `RUNNING`.
|
|
25487
|
+
#
|
|
25488
|
+
# For more information about the validation and formatting of
|
|
25489
|
+
# timestamp fields in Security Hub, see [Timestamps][1].
|
|
25490
|
+
#
|
|
25491
|
+
#
|
|
25492
|
+
#
|
|
25493
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps
|
|
25494
|
+
# @return [Time]
|
|
25495
|
+
#
|
|
25496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ExportSummary AWS API Documentation
|
|
25497
|
+
#
|
|
25498
|
+
class ExportSummary < Struct.new(
|
|
25499
|
+
:export_job_id,
|
|
25500
|
+
:name,
|
|
25501
|
+
:status,
|
|
25502
|
+
:data_type,
|
|
25503
|
+
:output_configuration,
|
|
25504
|
+
:scopes,
|
|
25505
|
+
:destination,
|
|
25506
|
+
:failure_code,
|
|
25507
|
+
:failure_message,
|
|
25508
|
+
:started_at,
|
|
25509
|
+
:ended_at)
|
|
25510
|
+
SENSITIVE = []
|
|
25511
|
+
include Aws::Structure
|
|
25512
|
+
end
|
|
25513
|
+
|
|
25303
25514
|
# Provides details about an exposure finding and the effect the specific
|
|
25304
25515
|
# remediation target has on it.
|
|
25305
25516
|
#
|
|
@@ -25731,6 +25942,69 @@ module Aws::SecurityHub
|
|
|
25731
25942
|
include Aws::Structure
|
|
25732
25943
|
end
|
|
25733
25944
|
|
|
25945
|
+
# The configuration for a findings export: the output format, an
|
|
25946
|
+
# optional set of filters, and the fields to include.
|
|
25947
|
+
#
|
|
25948
|
+
# @!attribute [rw] format
|
|
25949
|
+
# The output format of the export. `CSV` produces comma-separated rows
|
|
25950
|
+
# that are suitable for spreadsheets and analysis tools. `OCSF_JSON`
|
|
25951
|
+
# produces newline-delimited JSON records in the Open Cybersecurity
|
|
25952
|
+
# Schema Framework (OCSF) format used elsewhere in Security Hub.
|
|
25953
|
+
# @return [String]
|
|
25954
|
+
#
|
|
25955
|
+
# @!attribute [rw] filters
|
|
25956
|
+
# An optional set of OCSF finding filters that restrict which findings
|
|
25957
|
+
# are exported. The filter structure is the same as the one used by
|
|
25958
|
+
# `GetFindingsV2`. If you omit this member, Security Hub exports all
|
|
25959
|
+
# findings available to the caller. When echoed by `GetExportJobV2`,
|
|
25960
|
+
# relative date ranges are returned unresolved.
|
|
25961
|
+
# @return [Types::OcsfFindingFilters]
|
|
25962
|
+
#
|
|
25963
|
+
# @!attribute [rw] selected_fields
|
|
25964
|
+
# The OCSF finding fields to include in the export, specified as OCSF
|
|
25965
|
+
# field paths (for example, `finding_info.title` or `severity`). You
|
|
25966
|
+
# can specify from 1 to 50 fields.
|
|
25967
|
+
#
|
|
25968
|
+
# Whether this parameter is required depends on the value of `Format`:
|
|
25969
|
+
#
|
|
25970
|
+
# * `CSV` – Required. The field paths that you specify become the
|
|
25971
|
+
# columns of the output, in the order that you provide them. If you
|
|
25972
|
+
# omit this parameter, the request returns a `ValidationException`.
|
|
25973
|
+
#
|
|
25974
|
+
# * `OCSF_JSON` – Not supported. This format includes each finding in
|
|
25975
|
+
# full, so field selection doesn't apply. If you specify this
|
|
25976
|
+
# parameter, the request returns a `ValidationException`.
|
|
25977
|
+
# @return [Array<String>]
|
|
25978
|
+
#
|
|
25979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/FindingsOutput AWS API Documentation
|
|
25980
|
+
#
|
|
25981
|
+
class FindingsOutput < Struct.new(
|
|
25982
|
+
:format,
|
|
25983
|
+
:filters,
|
|
25984
|
+
:selected_fields)
|
|
25985
|
+
SENSITIVE = []
|
|
25986
|
+
include Aws::Structure
|
|
25987
|
+
end
|
|
25988
|
+
|
|
25989
|
+
# A summary of the output configuration for a findings export, returned
|
|
25990
|
+
# by `ListExportJobsV2`. Unlike the configuration returned by
|
|
25991
|
+
# `GetExportJobV2`, it reports only the output format.
|
|
25992
|
+
#
|
|
25993
|
+
# @!attribute [rw] format
|
|
25994
|
+
# The output format of the export. `CSV` produces comma-separated rows
|
|
25995
|
+
# that are suitable for spreadsheets and analysis tools. `OCSF_JSON`
|
|
25996
|
+
# produces newline-delimited JSON records in the Open Cybersecurity
|
|
25997
|
+
# Schema Framework (OCSF) format used elsewhere in Security Hub.
|
|
25998
|
+
# @return [String]
|
|
25999
|
+
#
|
|
26000
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/FindingsOutputSummary AWS API Documentation
|
|
26001
|
+
#
|
|
26002
|
+
class FindingsOutputSummary < Struct.new(
|
|
26003
|
+
:format)
|
|
26004
|
+
SENSITIVE = []
|
|
26005
|
+
include Aws::Structure
|
|
26006
|
+
end
|
|
26007
|
+
|
|
25734
26008
|
# A filter structure that contains a logical combination of string
|
|
25735
26009
|
# filters and nested composite filters for findings trend data.
|
|
25736
26010
|
#
|
|
@@ -26512,6 +26786,105 @@ module Aws::SecurityHub
|
|
|
26512
26786
|
include Aws::Structure
|
|
26513
26787
|
end
|
|
26514
26788
|
|
|
26789
|
+
# @!attribute [rw] export_job_id
|
|
26790
|
+
# The unique identifier of the export job to retrieve. This is the
|
|
26791
|
+
# value returned by `StartExportJobV2`.
|
|
26792
|
+
# @return [String]
|
|
26793
|
+
#
|
|
26794
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetExportJobV2Request AWS API Documentation
|
|
26795
|
+
#
|
|
26796
|
+
class GetExportJobV2Request < Struct.new(
|
|
26797
|
+
:export_job_id)
|
|
26798
|
+
SENSITIVE = []
|
|
26799
|
+
include Aws::Structure
|
|
26800
|
+
end
|
|
26801
|
+
|
|
26802
|
+
# @!attribute [rw] export_job_id
|
|
26803
|
+
# The unique identifier of the export job.
|
|
26804
|
+
# @return [String]
|
|
26805
|
+
#
|
|
26806
|
+
# @!attribute [rw] name
|
|
26807
|
+
# The user-provided name of the export job, if one was specified when
|
|
26808
|
+
# the job was started.
|
|
26809
|
+
# @return [String]
|
|
26810
|
+
#
|
|
26811
|
+
# @!attribute [rw] status
|
|
26812
|
+
# The current state of the export job.
|
|
26813
|
+
# @return [String]
|
|
26814
|
+
#
|
|
26815
|
+
# @!attribute [rw] data_type
|
|
26816
|
+
# The category of data that the export job produces.
|
|
26817
|
+
# @return [String]
|
|
26818
|
+
#
|
|
26819
|
+
# @!attribute [rw] output_configuration
|
|
26820
|
+
# The output configuration that the export job was started with,
|
|
26821
|
+
# including the format and any filters or selected fields.
|
|
26822
|
+
# @return [Types::ExportOutput]
|
|
26823
|
+
#
|
|
26824
|
+
# @!attribute [rw] scopes
|
|
26825
|
+
# The organization scopes that the export job was started with, echoed
|
|
26826
|
+
# verbatim. This parameter is absent if the caller didn't supply
|
|
26827
|
+
# `Scopes`. It contains only the organization or organizational unit
|
|
26828
|
+
# (OU) identifiers that the caller submitted; it never contains
|
|
26829
|
+
# resolved member-account identifiers.
|
|
26830
|
+
# @return [Types::ExportScopes]
|
|
26831
|
+
#
|
|
26832
|
+
# @!attribute [rw] destination
|
|
26833
|
+
# The destination that the export job writes to.
|
|
26834
|
+
# @return [Types::ExportDestination]
|
|
26835
|
+
#
|
|
26836
|
+
# @!attribute [rw] failure_code
|
|
26837
|
+
# A code that classifies why the export job failed. Present only when
|
|
26838
|
+
# `Status` is `FAILED`.
|
|
26839
|
+
# @return [String]
|
|
26840
|
+
#
|
|
26841
|
+
# @!attribute [rw] failure_message
|
|
26842
|
+
# A human-readable message that provides more detail about why the
|
|
26843
|
+
# export job failed. Present only when `Status` is `FAILED`.
|
|
26844
|
+
# @return [String]
|
|
26845
|
+
#
|
|
26846
|
+
# @!attribute [rw] started_at
|
|
26847
|
+
# The time when the export job was created.
|
|
26848
|
+
#
|
|
26849
|
+
# For more information about the validation and formatting of
|
|
26850
|
+
# timestamp fields in Security Hub, see [Timestamps][1].
|
|
26851
|
+
#
|
|
26852
|
+
#
|
|
26853
|
+
#
|
|
26854
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps
|
|
26855
|
+
# @return [Time]
|
|
26856
|
+
#
|
|
26857
|
+
# @!attribute [rw] ended_at
|
|
26858
|
+
# The time when the export job reached a terminal state (`SUCCEEDED`,
|
|
26859
|
+
# `FAILED`, or `CANCELLED`). This parameter is absent while the job is
|
|
26860
|
+
# `RUNNING`.
|
|
26861
|
+
#
|
|
26862
|
+
# For more information about the validation and formatting of
|
|
26863
|
+
# timestamp fields in Security Hub, see [Timestamps][1].
|
|
26864
|
+
#
|
|
26865
|
+
#
|
|
26866
|
+
#
|
|
26867
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps
|
|
26868
|
+
# @return [Time]
|
|
26869
|
+
#
|
|
26870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetExportJobV2Response AWS API Documentation
|
|
26871
|
+
#
|
|
26872
|
+
class GetExportJobV2Response < Struct.new(
|
|
26873
|
+
:export_job_id,
|
|
26874
|
+
:name,
|
|
26875
|
+
:status,
|
|
26876
|
+
:data_type,
|
|
26877
|
+
:output_configuration,
|
|
26878
|
+
:scopes,
|
|
26879
|
+
:destination,
|
|
26880
|
+
:failure_code,
|
|
26881
|
+
:failure_message,
|
|
26882
|
+
:started_at,
|
|
26883
|
+
:ended_at)
|
|
26884
|
+
SENSITIVE = []
|
|
26885
|
+
include Aws::Structure
|
|
26886
|
+
end
|
|
26887
|
+
|
|
26515
26888
|
# @!attribute [rw] finding_aggregator_arn
|
|
26516
26889
|
# The ARN of the finding aggregator to return details for. To obtain
|
|
26517
26890
|
# the ARN, use `ListFindingAggregators`.
|
|
@@ -28419,6 +28792,56 @@ module Aws::SecurityHub
|
|
|
28419
28792
|
include Aws::Structure
|
|
28420
28793
|
end
|
|
28421
28794
|
|
|
28795
|
+
# @!attribute [rw] status
|
|
28796
|
+
# Filters the results to export jobs that have the specified status.
|
|
28797
|
+
# @return [String]
|
|
28798
|
+
#
|
|
28799
|
+
# @!attribute [rw] data_type
|
|
28800
|
+
# Filters the results to export jobs that produce the specified data
|
|
28801
|
+
# type.
|
|
28802
|
+
# @return [String]
|
|
28803
|
+
#
|
|
28804
|
+
# @!attribute [rw] max_results
|
|
28805
|
+
# The maximum number of results to return in a single call. Valid
|
|
28806
|
+
# range is 1–20.
|
|
28807
|
+
# @return [Integer]
|
|
28808
|
+
#
|
|
28809
|
+
# @!attribute [rw] next_token
|
|
28810
|
+
# The token required for pagination. On your first call, set the value
|
|
28811
|
+
# of this parameter to `NULL`. For subsequent calls, to continue
|
|
28812
|
+
# listing data, set the value of this parameter to the value returned
|
|
28813
|
+
# in the previous response.
|
|
28814
|
+
# @return [String]
|
|
28815
|
+
#
|
|
28816
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListExportJobsV2Request AWS API Documentation
|
|
28817
|
+
#
|
|
28818
|
+
class ListExportJobsV2Request < Struct.new(
|
|
28819
|
+
:status,
|
|
28820
|
+
:data_type,
|
|
28821
|
+
:max_results,
|
|
28822
|
+
:next_token)
|
|
28823
|
+
SENSITIVE = []
|
|
28824
|
+
include Aws::Structure
|
|
28825
|
+
end
|
|
28826
|
+
|
|
28827
|
+
# @!attribute [rw] items
|
|
28828
|
+
# The export jobs that match the request, as `ExportSummary` objects.
|
|
28829
|
+
# @return [Array<Types::ExportSummary>]
|
|
28830
|
+
#
|
|
28831
|
+
# @!attribute [rw] next_token
|
|
28832
|
+
# The pagination token to use to request the next page of results.
|
|
28833
|
+
# Otherwise, this parameter is null.
|
|
28834
|
+
# @return [String]
|
|
28835
|
+
#
|
|
28836
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListExportJobsV2Response AWS API Documentation
|
|
28837
|
+
#
|
|
28838
|
+
class ListExportJobsV2Response < Struct.new(
|
|
28839
|
+
:items,
|
|
28840
|
+
:next_token)
|
|
28841
|
+
SENSITIVE = []
|
|
28842
|
+
include Aws::Structure
|
|
28843
|
+
end
|
|
28844
|
+
|
|
28422
28845
|
# @!attribute [rw] target_uid
|
|
28423
28846
|
# The unique identifier (ID) of an existing remediation target to list
|
|
28424
28847
|
# exposure findings for.
|
|
@@ -30815,7 +31238,7 @@ module Aws::SecurityHub
|
|
|
30815
31238
|
# be run for remediating the target.
|
|
30816
31239
|
#
|
|
30817
31240
|
# @!attribute [rw] aws_cli
|
|
30818
|
-
# An
|
|
31241
|
+
# An CLI snippet version of the example.
|
|
30819
31242
|
# @return [String]
|
|
30820
31243
|
#
|
|
30821
31244
|
# @!attribute [rw] cli
|
|
@@ -33220,6 +33643,62 @@ module Aws::SecurityHub
|
|
|
33220
33643
|
include Aws::Structure
|
|
33221
33644
|
end
|
|
33222
33645
|
|
|
33646
|
+
# The Amazon S3 destination for an export, including the bucket, the
|
|
33647
|
+
# Amazon Web Services KMS key used for encryption, and an optional
|
|
33648
|
+
# object key prefix.
|
|
33649
|
+
#
|
|
33650
|
+
# @!attribute [rw] bucket_arn
|
|
33651
|
+
# The Amazon Resource Name (ARN) of the Amazon S3 bucket that Security
|
|
33652
|
+
# Hub writes the export to. You must own the bucket, and its bucket
|
|
33653
|
+
# policy must grant the Security Hub service principal
|
|
33654
|
+
# (`exportv2.securityhub.amazonaws.com`) permission to write objects.
|
|
33655
|
+
# For the required bucket policy, see the Examples section of
|
|
33656
|
+
# `StartExportJobV2`.
|
|
33657
|
+
# @return [String]
|
|
33658
|
+
#
|
|
33659
|
+
# @!attribute [rw] kms_key_arn
|
|
33660
|
+
# The ARN of the Amazon Web Services KMS key that Security Hub uses to
|
|
33661
|
+
# encrypt the export objects with server-side encryption. The key
|
|
33662
|
+
# policy must allow the Security Hub service principal
|
|
33663
|
+
# (`exportv2.securityhub.amazonaws.com`) to use the key through Amazon
|
|
33664
|
+
# S3. For the required key policy, see the Examples section of
|
|
33665
|
+
# `StartExportJobV2`.
|
|
33666
|
+
#
|
|
33667
|
+
# The key must meet all of the following requirements:
|
|
33668
|
+
#
|
|
33669
|
+
# * It must be a symmetric key with a key usage of `ENCRYPT_DECRYPT`.
|
|
33670
|
+
#
|
|
33671
|
+
# * It must be a single-Region key. Multi-Region keys, whose key IDs
|
|
33672
|
+
# begin with `mrk-`, are rejected.
|
|
33673
|
+
#
|
|
33674
|
+
# * You must specify the full key ARN. Key IDs and aliases are
|
|
33675
|
+
# rejected.
|
|
33676
|
+
#
|
|
33677
|
+
# * The key must be in the same Amazon Web Services account as the
|
|
33678
|
+
# export job.
|
|
33679
|
+
#
|
|
33680
|
+
# * The key must be in the same Amazon Web Services Region as the
|
|
33681
|
+
# export job.
|
|
33682
|
+
#
|
|
33683
|
+
# * The key must be in the `aws`, `aws-cn`, or `aws-us-gov` partition.
|
|
33684
|
+
# @return [String]
|
|
33685
|
+
#
|
|
33686
|
+
# @!attribute [rw] object_prefix
|
|
33687
|
+
# An optional key prefix that Security Hub prepends to the Amazon S3
|
|
33688
|
+
# object keys of the export output. Use a prefix to organize exports
|
|
33689
|
+
# within the bucket. The value can be up to 512 characters.
|
|
33690
|
+
# @return [String]
|
|
33691
|
+
#
|
|
33692
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/S3ExportDestination AWS API Documentation
|
|
33693
|
+
#
|
|
33694
|
+
class S3ExportDestination < Struct.new(
|
|
33695
|
+
:bucket_arn,
|
|
33696
|
+
:kms_key_arn,
|
|
33697
|
+
:object_prefix)
|
|
33698
|
+
SENSITIVE = []
|
|
33699
|
+
include Aws::Structure
|
|
33700
|
+
end
|
|
33701
|
+
|
|
33223
33702
|
# A security control in Security Hub CSPM describes a security best
|
|
33224
33703
|
# practice related to a specific resource.
|
|
33225
33704
|
#
|
|
@@ -34652,6 +35131,72 @@ module Aws::SecurityHub
|
|
|
34652
35131
|
#
|
|
34653
35132
|
class StartConfigurationPolicyDisassociationResponse < Aws::EmptyStructure; end
|
|
34654
35133
|
|
|
35134
|
+
# @!attribute [rw] name
|
|
35135
|
+
# An optional, user-provided name for the export job that helps you
|
|
35136
|
+
# identify it in `ListExportJobsV2` results. The value can be 1–256
|
|
35137
|
+
# characters. Alphanumeric characters, spaces, and the following ASCII
|
|
35138
|
+
# characters are permitted: `. _ , : ( ) / + -`.
|
|
35139
|
+
# @return [String]
|
|
35140
|
+
#
|
|
35141
|
+
# @!attribute [rw] destination
|
|
35142
|
+
# The destination that Security Hub writes the export to. You must
|
|
35143
|
+
# specify exactly one destination type. Currently, the only supported
|
|
35144
|
+
# type is Amazon S3.
|
|
35145
|
+
# @return [Types::ExportDestination]
|
|
35146
|
+
#
|
|
35147
|
+
# @!attribute [rw] output_configuration
|
|
35148
|
+
# Specifies what data to export and how to format it. You must specify
|
|
35149
|
+
# exactly one output type. Currently, the only supported type is
|
|
35150
|
+
# `Findings`.
|
|
35151
|
+
# @return [Types::ExportOutput]
|
|
35152
|
+
#
|
|
35153
|
+
# @!attribute [rw] scopes
|
|
35154
|
+
# Limits the export to findings from specific organizational units
|
|
35155
|
+
# (OUs) or from the delegated administrator's organization. Only the
|
|
35156
|
+
# delegated administrator account can use this parameter; other
|
|
35157
|
+
# accounts that specify it receive an `AccessDeniedException`.
|
|
35158
|
+
#
|
|
35159
|
+
# This parameter is optional. If you omit it, the delegated
|
|
35160
|
+
# administrator exports findings from all accounts across the entire
|
|
35161
|
+
# organization, and other accounts export only their own findings.
|
|
35162
|
+
#
|
|
35163
|
+
# You can specify up to 10 entries in `Scopes.AwsOrganizations`. If
|
|
35164
|
+
# you specify multiple entries, Security Hub combines them using OR
|
|
35165
|
+
# logic.
|
|
35166
|
+
# @return [Types::ExportScopes]
|
|
35167
|
+
#
|
|
35168
|
+
# @!attribute [rw] client_token
|
|
35169
|
+
# A unique identifier used to ensure idempotency.
|
|
35170
|
+
#
|
|
35171
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
35172
|
+
# not need to pass this option.
|
|
35173
|
+
# @return [String]
|
|
35174
|
+
#
|
|
35175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/StartExportJobV2Request AWS API Documentation
|
|
35176
|
+
#
|
|
35177
|
+
class StartExportJobV2Request < Struct.new(
|
|
35178
|
+
:name,
|
|
35179
|
+
:destination,
|
|
35180
|
+
:output_configuration,
|
|
35181
|
+
:scopes,
|
|
35182
|
+
:client_token)
|
|
35183
|
+
SENSITIVE = []
|
|
35184
|
+
include Aws::Structure
|
|
35185
|
+
end
|
|
35186
|
+
|
|
35187
|
+
# @!attribute [rw] export_job_id
|
|
35188
|
+
# The unique identifier of the export job that Security Hub started.
|
|
35189
|
+
# Use this value with `GetExportJobV2` or `CancelExportJobV2`.
|
|
35190
|
+
# @return [String]
|
|
35191
|
+
#
|
|
35192
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/StartExportJobV2Response AWS API Documentation
|
|
35193
|
+
#
|
|
35194
|
+
class StartExportJobV2Response < Struct.new(
|
|
35195
|
+
:export_job_id)
|
|
35196
|
+
SENSITIVE = []
|
|
35197
|
+
include Aws::Structure
|
|
35198
|
+
end
|
|
35199
|
+
|
|
34655
35200
|
# The definition of a custom action that can be used for stateless
|
|
34656
35201
|
# packet handling.
|
|
34657
35202
|
#
|
data/lib/aws-sdk-securityhub.rb
CHANGED