@aws-sdk/client-securityhub 3.1146.0 → 3.1148.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.
Files changed (41) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +305 -1
  3. package/dist-es/SecurityHub.js +10 -0
  4. package/dist-es/commands/CancelExportJobV2Command.js +4 -0
  5. package/dist-es/commands/GetExportJobV2Command.js +4 -0
  6. package/dist-es/commands/ListExportJobsV2Command.js +4 -0
  7. package/dist-es/commands/StartExportJobV2Command.js +4 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/enums.js +129 -0
  10. package/dist-es/pagination/ListExportJobsV2Paginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +127 -0
  13. package/dist-types/SecurityHub.d.ts +36 -0
  14. package/dist-types/SecurityHubClient.d.ts +6 -2
  15. package/dist-types/commands/CancelExportJobV2Command.d.ts +112 -0
  16. package/dist-types/commands/GetExportJobV2Command.d.ts +380 -0
  17. package/dist-types/commands/GetRemediationsV2Command.d.ts +1 -2
  18. package/dist-types/commands/ListExportJobsV2Command.d.ts +163 -0
  19. package/dist-types/commands/StartExportJobV2Command.d.ts +375 -0
  20. package/dist-types/commands/index.d.ts +4 -0
  21. package/dist-types/models/enums.d.ts +169 -0
  22. package/dist-types/models/models_2.d.ts +230 -332
  23. package/dist-types/models/models_3.d.ts +544 -2
  24. package/dist-types/pagination/ListExportJobsV2Paginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +20 -0
  27. package/dist-types/ts3.4/SecurityHub.d.ts +76 -0
  28. package/dist-types/ts3.4/SecurityHubClient.d.ts +24 -0
  29. package/dist-types/ts3.4/commands/CancelExportJobV2Command.d.ts +39 -0
  30. package/dist-types/ts3.4/commands/GetExportJobV2Command.d.ts +39 -0
  31. package/dist-types/ts3.4/commands/GetRemediationsV2Command.d.ts +1 -2
  32. package/dist-types/ts3.4/commands/ListExportJobsV2Command.d.ts +38 -0
  33. package/dist-types/ts3.4/commands/StartExportJobV2Command.d.ts +38 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  35. package/dist-types/ts3.4/models/enums.d.ts +135 -0
  36. package/dist-types/ts3.4/models/models_2.d.ts +70 -71
  37. package/dist-types/ts3.4/models/models_3.d.ts +133 -1
  38. package/dist-types/ts3.4/pagination/ListExportJobsV2Paginator.d.ts +11 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
  41. package/package.json +1 -1
@@ -13,6 +13,7 @@ import { BatchUpdateAutomationRulesCommand, } from "./commands/BatchUpdateAutoma
13
13
  import { BatchUpdateFindingsCommand, } from "./commands/BatchUpdateFindingsCommand";
14
14
  import { BatchUpdateFindingsV2Command, } from "./commands/BatchUpdateFindingsV2Command";
15
15
  import { BatchUpdateStandardsControlAssociationsCommand, } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
16
+ import { CancelExportJobV2Command, } from "./commands/CancelExportJobV2Command";
16
17
  import { CreateActionTargetCommand, } from "./commands/CreateActionTargetCommand";
17
18
  import { CreateAggregatorV2Command, } from "./commands/CreateAggregatorV2Command";
18
19
  import { CreateAutomationRuleCommand, } from "./commands/CreateAutomationRuleCommand";
@@ -65,6 +66,7 @@ import { GetConfigurationPolicyCommand, } from "./commands/GetConfigurationPolic
65
66
  import { GetConnectorCommand, } from "./commands/GetConnectorCommand";
66
67
  import { GetConnectorV2Command, } from "./commands/GetConnectorV2Command";
67
68
  import { GetEnabledStandardsCommand, } from "./commands/GetEnabledStandardsCommand";
69
+ import { GetExportJobV2Command, } from "./commands/GetExportJobV2Command";
68
70
  import { GetFindingAggregatorCommand, } from "./commands/GetFindingAggregatorCommand";
69
71
  import { GetFindingHistoryCommand, } from "./commands/GetFindingHistoryCommand";
70
72
  import { GetFindingsCommand, } from "./commands/GetFindingsCommand";
@@ -91,6 +93,7 @@ import { ListConfigurationPolicyAssociationsCommand, } from "./commands/ListConf
91
93
  import { ListConnectorsCommand, } from "./commands/ListConnectorsCommand";
92
94
  import { ListConnectorsV2Command, } from "./commands/ListConnectorsV2Command";
93
95
  import { ListEnabledProductsForImportCommand, } from "./commands/ListEnabledProductsForImportCommand";
96
+ import { ListExportJobsV2Command, } from "./commands/ListExportJobsV2Command";
94
97
  import { ListExposuresByRemediationV2Command, } from "./commands/ListExposuresByRemediationV2Command";
95
98
  import { ListFindingAggregatorsCommand, } from "./commands/ListFindingAggregatorsCommand";
96
99
  import { ListFreeTrialStatusesV2Command, } from "./commands/ListFreeTrialStatusesV2Command";
@@ -103,6 +106,7 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
103
106
  import { RegisterConnectorV2Command, } from "./commands/RegisterConnectorV2Command";
104
107
  import { StartConfigurationPolicyAssociationCommand, } from "./commands/StartConfigurationPolicyAssociationCommand";
105
108
  import { StartConfigurationPolicyDisassociationCommand, } from "./commands/StartConfigurationPolicyDisassociationCommand";
109
+ import { StartExportJobV2Command, } from "./commands/StartExportJobV2Command";
106
110
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
107
111
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
108
112
  import { UpdateActionTargetCommand, } from "./commands/UpdateActionTargetCommand";
@@ -137,6 +141,7 @@ import { paginateListAggregatorsV2 } from "./pagination/ListAggregatorsV2Paginat
137
141
  import { paginateListConfigurationPolicies } from "./pagination/ListConfigurationPoliciesPaginator";
138
142
  import { paginateListConfigurationPolicyAssociations } from "./pagination/ListConfigurationPolicyAssociationsPaginator";
139
143
  import { paginateListEnabledProductsForImport } from "./pagination/ListEnabledProductsForImportPaginator";
144
+ import { paginateListExportJobsV2 } from "./pagination/ListExportJobsV2Paginator";
140
145
  import { paginateListExposuresByRemediationV2 } from "./pagination/ListExposuresByRemediationV2Paginator";
141
146
  import { paginateListFindingAggregators } from "./pagination/ListFindingAggregatorsPaginator";
142
147
  import { paginateListFreeTrialStatusesV2 } from "./pagination/ListFreeTrialStatusesV2Paginator";
@@ -161,6 +166,7 @@ const commands = {
161
166
  BatchUpdateFindingsCommand,
162
167
  BatchUpdateFindingsV2Command,
163
168
  BatchUpdateStandardsControlAssociationsCommand,
169
+ CancelExportJobV2Command,
164
170
  CreateActionTargetCommand,
165
171
  CreateAggregatorV2Command,
166
172
  CreateAutomationRuleCommand,
@@ -213,6 +219,7 @@ const commands = {
213
219
  GetConnectorCommand,
214
220
  GetConnectorV2Command,
215
221
  GetEnabledStandardsCommand,
222
+ GetExportJobV2Command,
216
223
  GetFindingAggregatorCommand,
217
224
  GetFindingHistoryCommand,
218
225
  GetFindingsCommand,
@@ -239,6 +246,7 @@ const commands = {
239
246
  ListConnectorsCommand,
240
247
  ListConnectorsV2Command,
241
248
  ListEnabledProductsForImportCommand,
249
+ ListExportJobsV2Command,
242
250
  ListExposuresByRemediationV2Command,
243
251
  ListFindingAggregatorsCommand,
244
252
  ListFreeTrialStatusesV2Command,
@@ -251,6 +259,7 @@ const commands = {
251
259
  RegisterConnectorV2Command,
252
260
  StartConfigurationPolicyAssociationCommand,
253
261
  StartConfigurationPolicyDisassociationCommand,
262
+ StartExportJobV2Command,
254
263
  TagResourceCommand,
255
264
  UntagResourceCommand,
256
265
  UpdateActionTargetCommand,
@@ -287,6 +296,7 @@ const paginators = {
287
296
  paginateListConfigurationPolicies,
288
297
  paginateListConfigurationPolicyAssociations,
289
298
  paginateListEnabledProductsForImport,
299
+ paginateListExportJobsV2,
290
300
  paginateListExposuresByRemediationV2,
291
301
  paginateListFindingAggregators,
292
302
  paginateListFreeTrialStatusesV2,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CancelExportJobV2$ } from "../schemas/schemas_0";
3
+ export class CancelExportJobV2Command extends command(_ep0, _mw0, "CancelExportJobV2", CancelExportJobV2$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetExportJobV2$ } from "../schemas/schemas_0";
3
+ export class GetExportJobV2Command extends command(_ep0, _mw0, "GetExportJobV2", GetExportJobV2$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListExportJobsV2$ } from "../schemas/schemas_0";
3
+ export class ListExportJobsV2Command extends command(_ep0, _mw0, "ListExportJobsV2", ListExportJobsV2$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { StartExportJobV2$ } from "../schemas/schemas_0";
3
+ export class StartExportJobV2Command extends command(_ep0, _mw0, "StartExportJobV2", StartExportJobV2$) {
4
+ }
@@ -12,6 +12,7 @@ export * from "./BatchUpdateAutomationRulesCommand";
12
12
  export * from "./BatchUpdateFindingsCommand";
13
13
  export * from "./BatchUpdateFindingsV2Command";
14
14
  export * from "./BatchUpdateStandardsControlAssociationsCommand";
15
+ export * from "./CancelExportJobV2Command";
15
16
  export * from "./CreateActionTargetCommand";
16
17
  export * from "./CreateAggregatorV2Command";
17
18
  export * from "./CreateAutomationRuleCommand";
@@ -64,6 +65,7 @@ export * from "./GetConfigurationPolicyCommand";
64
65
  export * from "./GetConnectorCommand";
65
66
  export * from "./GetConnectorV2Command";
66
67
  export * from "./GetEnabledStandardsCommand";
68
+ export * from "./GetExportJobV2Command";
67
69
  export * from "./GetFindingAggregatorCommand";
68
70
  export * from "./GetFindingHistoryCommand";
69
71
  export * from "./GetFindingStatisticsV2Command";
@@ -90,6 +92,7 @@ export * from "./ListConfigurationPolicyAssociationsCommand";
90
92
  export * from "./ListConnectorsCommand";
91
93
  export * from "./ListConnectorsV2Command";
92
94
  export * from "./ListEnabledProductsForImportCommand";
95
+ export * from "./ListExportJobsV2Command";
93
96
  export * from "./ListExposuresByRemediationV2Command";
94
97
  export * from "./ListFindingAggregatorsCommand";
95
98
  export * from "./ListFreeTrialStatusesV2Command";
@@ -102,6 +105,7 @@ export * from "./ListTagsForResourceCommand";
102
105
  export * from "./RegisterConnectorV2Command";
103
106
  export * from "./StartConfigurationPolicyAssociationCommand";
104
107
  export * from "./StartConfigurationPolicyDisassociationCommand";
108
+ export * from "./StartExportJobV2Command";
105
109
  export * from "./TagResourceCommand";
106
110
  export * from "./UntagResourceCommand";
107
111
  export * from "./UpdateActionTargetCommand";
@@ -253,6 +253,12 @@ export const BatchUpdateFindingsV2UnprocessedFindingErrorCode = {
253
253
  ResourceNotFoundException: "ResourceNotFoundException",
254
254
  ValidationException: "ValidationException",
255
255
  };
256
+ export const ExportStatus = {
257
+ CANCELLED: "CANCELLED",
258
+ FAILED: "FAILED",
259
+ RUNNING: "RUNNING",
260
+ SUCCEEDED: "SUCCEEDED",
261
+ };
256
262
  export const OcsfBooleanField = {
257
263
  COMPLIANCE_ASSESSMENTS_MEETS_CRITERIA: "compliance.assessments.meets_criteria",
258
264
  VULNERABILITIES_IS_EXPLOIT_AVAILABLE: "vulnerabilities.is_exploit_available",
@@ -466,6 +472,129 @@ export const DiscoveryType = {
466
472
  MANAGED: "Managed",
467
473
  SELF_HOSTED: "SelfHosted",
468
474
  };
475
+ export const ExportDataType = {
476
+ FINDINGS: "FINDINGS",
477
+ };
478
+ export const ExportFailureCode = {
479
+ ACCESS_DENIED: "ACCESS_DENIED",
480
+ INTERNAL_ERROR: "INTERNAL_ERROR",
481
+ RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
482
+ };
483
+ export const FindingsExportFormat = {
484
+ CSV: "CSV",
485
+ OCSF_JSON: "OCSF_JSON",
486
+ };
487
+ export const FindingsSelectableField = {
488
+ ACTIVITY_ID: "activity_id",
489
+ ACTIVITY_NAME: "activity_name",
490
+ CLASS_NAME: "class_name",
491
+ CLOUD_ACCOUNT_NAME: "cloud.account.name",
492
+ CLOUD_ACCOUNT_UID: "cloud.account.uid",
493
+ CLOUD_PROVIDER: "cloud.provider",
494
+ CLOUD_REGION: "cloud.region",
495
+ COMMENT: "comment",
496
+ COMPLIANCE_ASSESSMENTS_CATEGORY: "compliance.assessments.category",
497
+ COMPLIANCE_ASSESSMENTS_MEETS_CRITERIA: "compliance.assessments.meets_criteria",
498
+ COMPLIANCE_ASSESSMENTS_NAME: "compliance.assessments.name",
499
+ COMPLIANCE_CONTROL: "compliance.control",
500
+ COMPLIANCE_CONTROL_PARAMETERS: "compliance.control_parameters",
501
+ COMPLIANCE_STANDARDS: "compliance.standards",
502
+ COMPLIANCE_STATUS: "compliance.status",
503
+ COMPLIANCE_STATUS_ID: "compliance.status_id",
504
+ CONFIDENCE_SCORE: "confidence_score",
505
+ DATABUCKET_ENCRYPTION_DETAILS_ALGORITHM: "databucket.encryption_details.algorithm",
506
+ DATABUCKET_ENCRYPTION_DETAILS_KEY_UID: "databucket.encryption_details.key_uid",
507
+ DATABUCKET_FILE_DATA_CLASSIFICATIONS_CLASSIFIER_DETAILS_TYPE: "databucket.file.data_classifications.classifier_details.type",
508
+ DATABUCKET_TAGS: "databucket.tags",
509
+ EVIDENCES_ACTOR_USER_ACCOUNT_UID: "evidences.actor.user.account.uid",
510
+ EVIDENCES_API_OPERATION: "evidences.api.operation",
511
+ EVIDENCES_API_RESPONSE_CODE: "evidences.api.response.code",
512
+ EVIDENCES_API_RESPONSE_ERROR_MESSAGE: "evidences.api.response.error_message",
513
+ EVIDENCES_API_SERVICE_NAME: "evidences.api.service.name",
514
+ EVIDENCES_CONNECTION_INFO_DIRECTION: "evidences.connection_info.direction",
515
+ EVIDENCES_CONNECTION_INFO_PROTOCOL_NAME: "evidences.connection_info.protocol_name",
516
+ EVIDENCES_DST_ENDPOINT_AUTONOMOUS_SYSTEM_NAME: "evidences.dst_endpoint.autonomous_system.name",
517
+ EVIDENCES_DST_ENDPOINT_AUTONOMOUS_SYSTEM_NUMBER: "evidences.dst_endpoint.autonomous_system.number",
518
+ EVIDENCES_DST_ENDPOINT_IP: "evidences.dst_endpoint.ip",
519
+ EVIDENCES_DST_ENDPOINT_LOCATION_CITY: "evidences.dst_endpoint.location.city",
520
+ EVIDENCES_DST_ENDPOINT_LOCATION_COUNTRY: "evidences.dst_endpoint.location.country",
521
+ EVIDENCES_DST_ENDPOINT_PORT: "evidences.dst_endpoint.port",
522
+ EVIDENCES_SRC_ENDPOINT_AUTONOMOUS_SYSTEM_NAME: "evidences.src_endpoint.autonomous_system.name",
523
+ EVIDENCES_SRC_ENDPOINT_AUTONOMOUS_SYSTEM_NUMBER: "evidences.src_endpoint.autonomous_system.number",
524
+ EVIDENCES_SRC_ENDPOINT_HOSTNAME: "evidences.src_endpoint.hostname",
525
+ EVIDENCES_SRC_ENDPOINT_IP: "evidences.src_endpoint.ip",
526
+ EVIDENCES_SRC_ENDPOINT_LOCATION_CITY: "evidences.src_endpoint.location.city",
527
+ EVIDENCES_SRC_ENDPOINT_LOCATION_COUNTRY: "evidences.src_endpoint.location.country",
528
+ EVIDENCES_SRC_ENDPOINT_PORT: "evidences.src_endpoint.port",
529
+ FINDING_INFO_ANALYTIC_NAME: "finding_info.analytic.name",
530
+ FINDING_INFO_CREATED_TIME_DT: "finding_info.created_time_dt",
531
+ FINDING_INFO_DESC: "finding_info.desc",
532
+ FINDING_INFO_FIRST_SEEN_TIME_DT: "finding_info.first_seen_time_dt",
533
+ FINDING_INFO_LAST_SEEN_TIME_DT: "finding_info.last_seen_time_dt",
534
+ FINDING_INFO_MODIFIED_TIME_DT: "finding_info.modified_time_dt",
535
+ FINDING_INFO_RELATED_EVENTS_COUNT: "finding_info.related_events_count",
536
+ FINDING_INFO_RELATED_EVENTS_PRODUCT_UID: "finding_info.related_events.product.uid",
537
+ FINDING_INFO_RELATED_EVENTS_TITLE: "finding_info.related_events.title",
538
+ FINDING_INFO_RELATED_EVENTS_TRAITS_CATEGORY: "finding_info.related_events.traits.category",
539
+ FINDING_INFO_RELATED_EVENTS_UID: "finding_info.related_events.uid",
540
+ FINDING_INFO_SRC_URL: "finding_info.src_url",
541
+ FINDING_INFO_TAGS: "finding_info.tags",
542
+ FINDING_INFO_TITLE: "finding_info.title",
543
+ FINDING_INFO_TYPES: "finding_info.types",
544
+ FINDING_INFO_UID: "finding_info.uid",
545
+ MALWARE_NAME: "malware.name",
546
+ MALWARE_SCAN_INFO_UID: "malware_scan_info.uid",
547
+ MALWARE_SEVERITY: "malware.severity",
548
+ METADATA_PRODUCT_FEATURE_UID: "metadata.product.feature.uid",
549
+ METADATA_PRODUCT_NAME: "metadata.product.name",
550
+ METADATA_PRODUCT_UID: "metadata.product.uid",
551
+ METADATA_PRODUCT_VENDOR_NAME: "metadata.product.vendor_name",
552
+ METADATA_UID: "metadata.uid",
553
+ REMEDIATION_DESC: "remediation.desc",
554
+ REMEDIATION_REFERENCES: "remediation.references",
555
+ RESOURCES_CLOUD_FUNCTION_LAYERS_UID_ALT: "resources.cloud_function.layers.uid_alt",
556
+ RESOURCES_CLOUD_FUNCTION_RUNTIME: "resources.cloud_function.runtime",
557
+ RESOURCES_CLOUD_FUNCTION_USER_UID: "resources.cloud_function.user.uid",
558
+ RESOURCES_CLOUD_PARTITION: "resources.cloud_partition",
559
+ RESOURCES_DEVICE_ENCRYPTION_DETAILS_KEY_UID: "resources.device.encryption_details.key_uid",
560
+ RESOURCES_DEVICE_IMAGE_UID: "resources.device.image.uid",
561
+ RESOURCES_IMAGE_ARCHITECTURE: "resources.image.architecture",
562
+ RESOURCES_IMAGE_CREATED_TIME_DT: "resources.image.created_time_dt",
563
+ RESOURCES_IMAGE_IN_USE_COUNT: "resources.image.in_use_count",
564
+ RESOURCES_IMAGE_LAST_USED_TIME_DT: "resources.image.last_used_time_dt",
565
+ RESOURCES_IMAGE_REGISTRY_UID: "resources.image.registry_uid",
566
+ RESOURCES_IMAGE_REPOSITORY_NAME: "resources.image.repository_name",
567
+ RESOURCES_IMAGE_UID: "resources.image.uid",
568
+ RESOURCES_MODIFIED_TIME_DT: "resources.modified_time_dt",
569
+ RESOURCES_NAME: "resources.name",
570
+ RESOURCES_OWNER_ACCOUNT_NAME: "resources.owner.account.name",
571
+ RESOURCES_OWNER_ACCOUNT_UID: "resources.owner.account.uid",
572
+ RESOURCES_OWNER_ORG_UID: "resources.owner.org.uid",
573
+ RESOURCES_PROVIDER: "resources.provider",
574
+ RESOURCES_REGION: "resources.region",
575
+ RESOURCES_SUBNET_INFO_UID: "resources.subnet_info.uid",
576
+ RESOURCES_TAGS: "resources.tags",
577
+ RESOURCES_TYPE: "resources.type",
578
+ RESOURCES_UID: "resources.uid",
579
+ RESOURCES_VPC_UID: "resources.vpc_uid",
580
+ SEVERITY: "severity",
581
+ SEVERITY_ID: "severity_id",
582
+ STATUS: "status",
583
+ STATUS_ID: "status_id",
584
+ VENDOR_ATTRIBUTES_SEVERITY: "vendor_attributes.severity",
585
+ VENDOR_ATTRIBUTES_SEVERITY_ID: "vendor_attributes.severity_id",
586
+ VULNERABILITIES_AFFECTED_CODE_FILE_PATH: "vulnerabilities.affected_code.file.path",
587
+ VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name",
588
+ VULNERABILITIES_CVE_CVSS_BASE_SCORE: "vulnerabilities.cve.cvss.base_score",
589
+ VULNERABILITIES_CVE_CVSS_VENDOR_NAME: "vulnerabilities.cve.cvss.vendor_name",
590
+ VULNERABILITIES_CVE_CVSS_VERSION: "vulnerabilities.cve.cvss.version",
591
+ VULNERABILITIES_CVE_EPSS_SCORE: "vulnerabilities.cve.epss.score",
592
+ VULNERABILITIES_CVE_UID: "vulnerabilities.cve.uid",
593
+ VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage",
594
+ VULNERABILITIES_IS_EXPLOIT_AVAILABLE: "vulnerabilities.is_exploit_available",
595
+ VULNERABILITIES_IS_FIX_AVAILABLE: "vulnerabilities.is_fix_available",
596
+ VULNERABILITIES_RELATED_VULNERABILITIES: "vulnerabilities.related_vulnerabilities",
597
+ };
469
598
  export const ExposureImpact = {
470
599
  REDUCES: "Reduces",
471
600
  RESOLVES: "Resolves",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListExportJobsV2Command, } from "../commands/ListExportJobsV2Command";
3
+ import { SecurityHubClient } from "../SecurityHubClient";
4
+ export const paginateListExportJobsV2 = createPaginator(SecurityHubClient, ListExportJobsV2Command, "NextToken", "NextToken", "MaxResults");
@@ -18,6 +18,7 @@ export * from "./ListAggregatorsV2Paginator";
18
18
  export * from "./ListConfigurationPoliciesPaginator";
19
19
  export * from "./ListConfigurationPolicyAssociationsPaginator";
20
20
  export * from "./ListEnabledProductsForImportPaginator";
21
+ export * from "./ListExportJobsV2Paginator";
21
22
  export * from "./ListExposuresByRemediationV2Paginator";
22
23
  export * from "./ListFindingAggregatorsPaginator";
23
24
  export * from "./ListFreeTrialStatusesV2Paginator";
@@ -963,6 +963,7 @@ const _Az = "Azure";
963
963
  const _B = "Bucket";
964
964
  const _BA = "BrokerArn";
965
965
  const _BAI = "BucketAccountId";
966
+ const _BAu = "BucketArn";
966
967
  const _BCO = "BooleanConfigurationOptions";
967
968
  const _BDAR = "BatchDeleteAutomationRules";
968
969
  const _BDARR = "BatchDeleteAutomationRulesRequest";
@@ -1134,6 +1135,9 @@ const _CDre = "CreateDate";
1134
1135
  const _CE = "ConflictException";
1135
1136
  const _CECA = "CustomEndpointCertificateArn";
1136
1137
  const _CEE = "CustomEndpointEnabled";
1138
+ const _CEJV = "CancelExportJobV2";
1139
+ const _CEJVR = "CancelExportJobV2Request";
1140
+ const _CEJVRa = "CancelExportJobV2Response";
1137
1141
  const _CEP = "CookieExpirationPeriod";
1138
1142
  const _CEa = "CachingEnabled";
1139
1143
  const _CEu = "CustomEndpoint";
@@ -1557,6 +1561,7 @@ const _DT = "DeviceType";
1557
1561
  const _DTA = "DatapointsToAlarm";
1558
1562
  const _DTE = "DataTraceEnabled";
1559
1563
  const _DTS = "DpdTimeoutSeconds";
1564
+ const _DTa = "DataType";
1560
1565
  const _DTi = "DiscoveryType";
1561
1566
  const _DU = "DateUpdated";
1562
1567
  const _DV = "DocumentationVersion";
@@ -1587,6 +1592,7 @@ const _EA = "EvaluatedAt";
1587
1592
  const _EAR = "EncryptionAtRest";
1588
1593
  const _EARO = "EncryptionAtRestOptions";
1589
1594
  const _EAn = "EndpointArn";
1595
+ const _EAnd = "EndedAt";
1590
1596
  const _EAnv = "EnvironmentArn";
1591
1597
  const _EAx = "ExpiresAt";
1592
1598
  const _EAxp = "ExploitAvailable";
@@ -1608,6 +1614,7 @@ const _EDS = "EnableDefaultStandards";
1608
1614
  const _EDr = "ErrorDocument";
1609
1615
  const _EDx = "ExpirationDate";
1610
1616
  const _EDxp = "ExpressionDescription";
1617
+ const _EDxpo = "ExportDestination";
1611
1618
  const _EEC = "EnableExecuteCommand";
1612
1619
  const _EEMT = "EnableEcsManagedTags";
1613
1620
  const _EES = "ExpectedEndState";
@@ -1635,6 +1642,7 @@ const _EInc = "EncryptionInfo";
1635
1642
  const _EInd = "EndpointId";
1636
1643
  const _EIndp = "EndpointIds";
1637
1644
  const _EIx = "ExternalId";
1645
+ const _EJI = "ExportJobId";
1638
1646
  const _EK = "EncryptionKey";
1639
1647
  const _EKA = "EncryptionKeyArn";
1640
1648
  const _EKU = "ExtendedKeyUsages";
@@ -1657,9 +1665,11 @@ const _EOAAR = "EnableOrganizationAdminAccountRequest";
1657
1665
  const _EOAARn = "EnableOrganizationAdminAccountResponse";
1658
1666
  const _EODM = "ExpiredObjectDeleteMarker";
1659
1667
  const _EOIGI = "EgressOnlyInternetGatewayId";
1668
+ const _EOS = "ExportOutputSummary";
1660
1669
  const _EOb = "EbsOptimized";
1661
1670
  const _EOn = "EncryptionOption";
1662
1671
  const _EOnc = "EnclaveOptions";
1672
+ const _EOx = "ExportOutput";
1663
1673
  const _EP = "EvaluationPeriods";
1664
1674
  const _EPA = "EndpointPublicAccess";
1665
1675
  const _EPI = "ExistingPolicyId";
@@ -1688,9 +1698,12 @@ const _ESHV = "EnableSecurityHubV2";
1688
1698
  const _ESHVR = "EnableSecurityHubV2Request";
1689
1699
  const _ESHVRn = "EnableSecurityHubV2Response";
1690
1700
  const _ESI = "EnabledStandardIdentifiers";
1701
+ const _ESL = "ExportSummaryList";
1691
1702
  const _ESR = "EnablementStatusReason";
1692
1703
  const _ESn = "EnablementStatus";
1693
1704
  const _ESp = "EpssScore";
1705
+ const _ESx = "ExportScopes";
1706
+ const _ESxp = "ExportSummary";
1694
1707
  const _ET = "EngineType";
1695
1708
  const _ETIS = "ElapsedTimeInSeconds";
1696
1709
  const _ETP = "EnableTerminationProtection";
@@ -1741,6 +1754,7 @@ const _FAix = "FixAvailable";
1741
1754
  const _FC = "FailoverCriteria";
1742
1755
  const _FCa = "FailoverConfig";
1743
1756
  const _FCai = "FailedCount";
1757
+ const _FCail = "FailureCode";
1744
1758
  const _FCi = "FirelensConfiguration";
1745
1759
  const _FCin = "FindingCreated";
1746
1760
  const _FD = "FeatureDetail";
@@ -1761,13 +1775,16 @@ const _FIin = "FindingIdentifiers";
1761
1775
  const _FIind = "FindingIdentifier";
1762
1776
  const _FL = "FlowLogs";
1763
1777
  const _FLL = "FieldLogLevel";
1778
+ const _FM = "FailureMessage";
1764
1779
  const _FMU = "FindingMetadataUid";
1765
1780
  const _FN = "FunctionName";
1766
1781
  const _FNe = "FeatureName";
1767
1782
  const _FNi = "FirewallName";
1768
1783
  const _FNie = "FieldName";
1769
1784
  const _FNil = "FileName";
1785
+ const _FO = "FindingsOutput";
1770
1786
  const _FOA = "FirstObservedAt";
1787
+ const _FOS = "FindingsOutputSummary";
1771
1788
  const _FP = "FromPort";
1772
1789
  const _FPA = "FirewallPolicyArn";
1773
1790
  const _FPCP = "FirewallPolicyChangeProtection";
@@ -1859,6 +1876,9 @@ const _GCV = "GetConnectorV2";
1859
1876
  const _GCVR = "GetConnectorV2Request";
1860
1877
  const _GCVRe = "GetConnectorV2Response";
1861
1878
  const _GD = "GeneratorDetails";
1879
+ const _GEJV = "GetExportJobV2";
1880
+ const _GEJVR = "GetExportJobV2Request";
1881
+ const _GEJVRe = "GetExportJobV2Response";
1862
1882
  const _GES = "GetEnabledStandards";
1863
1883
  const _GESR = "GetEnabledStandardsRequest";
1864
1884
  const _GESRe = "GetEnabledStandardsResponse";
@@ -2223,6 +2243,9 @@ const _LEBRV = "ListExposuresByRemediationV2";
2223
2243
  const _LEBRVR = "ListExposuresByRemediationV2Request";
2224
2244
  const _LEBRVRi = "ListExposuresByRemediationV2Response";
2225
2245
  const _LEE = "LimitExceededException";
2246
+ const _LEJV = "ListExportJobsV2";
2247
+ const _LEJVR = "ListExportJobsV2Request";
2248
+ const _LEJVRi = "ListExportJobsV2Response";
2226
2249
  const _LEPFI = "ListEnabledProductsForImport";
2227
2250
  const _LEPFIR = "ListEnabledProductsForImportRequest";
2228
2251
  const _LEPFIRi = "ListEnabledProductsForImportResponse";
@@ -2498,6 +2521,7 @@ const _OAw = "OwnerAlias";
2498
2521
  const _OBF = "OcsfBooleanFilter";
2499
2522
  const _OBFL = "OcsfBooleanFilterList";
2500
2523
  const _OC = "OrganizationConfiguration";
2524
+ const _OCu = "OutputConfiguration";
2501
2525
  const _OD = "OptionalDeployment";
2502
2526
  const _ODAS = "OnDemandAllocationStrategy";
2503
2527
  const _ODBC = "OnDemandBaseCapacity";
@@ -2535,6 +2559,7 @@ const _ONw = "OwnerName";
2535
2559
  const _OP = "OriginPath";
2536
2560
  const _OPP = "OriginProtocolPolicy";
2537
2561
  const _OPR = "OpenPortRange";
2562
+ const _OPb = "ObjectPrefix";
2538
2563
  const _OPt = "OtherPolicies";
2539
2564
  const _OR = "OffsetRanges";
2540
2565
  const _ORT = "OriginReadTimeout";
@@ -3124,8 +3149,12 @@ const _SDo = "SourceDomain";
3124
3149
  const _SDp = "SpreadDomain";
3125
3150
  const _SE = "ScheduleExpression";
3126
3151
  const _SEA = "SourceEndpointArn";
3152
+ const _SED = "S3ExportDestination";
3127
3153
  const _SEE = "S3EncryptionEnabled";
3128
3154
  const _SEIWF = "ScanEc2InstanceWithFindings";
3155
+ const _SEJV = "StartExportJobV2";
3156
+ const _SEJVR = "StartExportJobV2Request";
3157
+ const _SEJVRt = "StartExportJobV2Response";
3129
3158
  const _SEe = "ServiceEnabled";
3130
3159
  const _SEt = "StreamEnabled";
3131
3160
  const _SEto = "StorageEncrypted";
@@ -3134,6 +3163,7 @@ const _SF = "StringFilters";
3134
3163
  const _SFDA = "StatelessFragmentDefaultActions";
3135
3164
  const _SFFRA = "SqsFailureFeedbackRoleArn";
3136
3165
  const _SFL = "StringFilterList";
3166
+ const _SFe = "SelectedFields";
3137
3167
  const _SFt = "StringFilter";
3138
3168
  const _SG = "SecurityGroups";
3139
3169
  const _SGI = "SecurityGroupIds";
@@ -3292,6 +3322,7 @@ const _SVc = "SchemaVersion";
3292
3322
  const _SVco = "ScopeValues";
3293
3323
  const _SVo = "SourceVolume";
3294
3324
  const _SWM = "StartWindowMinutes";
3325
+ const _S_ = "S3";
3295
3326
  const _Sa = "Sasl";
3296
3327
  const _Sam = "Sample";
3297
3328
  const _Sc = "Scope";
@@ -6531,6 +6562,16 @@ export var BooleanFilter$ = [3, n0, _BF,
6531
6562
  [_Val],
6532
6563
  [2]
6533
6564
  ];
6565
+ export var CancelExportJobV2Request$ = [3, n0, _CEJVR,
6566
+ 0,
6567
+ [_EJI],
6568
+ [[0, 1]], 1
6569
+ ];
6570
+ export var CancelExportJobV2Response$ = [3, n0, _CEJVRa,
6571
+ 0,
6572
+ [_EJI, _St],
6573
+ [0, 0], 2
6574
+ ];
6534
6575
  export var Cell$ = [3, n0, _Cel,
6535
6576
  0,
6536
6577
  [_Col, _Row, _CNol, _CRe],
@@ -7111,6 +7152,16 @@ export var EnumListConfigurationOptions$ = [3, n0, _ELCO,
7111
7152
  [_DVe, _MIa, _AVl],
7112
7153
  [64 | 0, 1, 64 | 0]
7113
7154
  ];
7155
+ export var ExportScopes$ = [3, n0, _ESx,
7156
+ 0,
7157
+ [_AOw],
7158
+ [() => AwsOrganizationScopeList]
7159
+ ];
7160
+ export var ExportSummary$ = [3, n0, _ESxp,
7161
+ 0,
7162
+ [_EJI, _St, _DTa, _Des, _SAt, _N, _OCu, _Sco, _FCail, _FM, _EAnd],
7163
+ [0, 0, 0, () => ExportDestination$, 5, 0, () => ExportOutputSummary$, () => ExportScopes$, 0, 0, 5], 5
7164
+ ];
7114
7165
  export var ExposureFinding$ = [3, n0, _EFx,
7115
7166
  0,
7116
7167
  [_MUe, _Ti, _PSre, _PSro, _Imp],
@@ -7166,6 +7217,16 @@ export var FindingScopes$ = [3, n0, _FSi,
7166
7217
  [_AOw],
7167
7218
  [() => AwsOrganizationScopeList]
7168
7219
  ];
7220
+ export var FindingsOutput$ = [3, n0, _FO,
7221
+ 0,
7222
+ [_F, _Filt, _SFe],
7223
+ [0, () => OcsfFindingFilters$, 64 | 0], 1
7224
+ ];
7225
+ export var FindingsOutputSummary$ = [3, n0, _FOS,
7226
+ 0,
7227
+ [_F],
7228
+ [0], 1
7229
+ ];
7169
7230
  export var FindingsTrendsCompositeFilter$ = [3, n0, _FTCF,
7170
7231
  0,
7171
7232
  [_SF, _NCF, _Oper],
@@ -7306,6 +7367,16 @@ export var GetEnabledStandardsResponse$ = [3, n0, _GESRe,
7306
7367
  [_SSta, _NTe],
7307
7368
  [() => StandardsSubscriptions, 0]
7308
7369
  ];
7370
+ export var GetExportJobV2Request$ = [3, n0, _GEJVR,
7371
+ 0,
7372
+ [_EJI],
7373
+ [[0, 1]], 1
7374
+ ];
7375
+ export var GetExportJobV2Response$ = [3, n0, _GEJVRe,
7376
+ 0,
7377
+ [_EJI, _St, _DTa, _Des, _SAt, _N, _OCu, _Sco, _FCail, _FM, _EAnd],
7378
+ [0, 0, 0, () => ExportDestination$, 5, 0, () => ExportOutput$, () => ExportScopes$, 0, 0, 5], 5
7379
+ ];
7309
7380
  export var GetFindingAggregatorRequest$ = [3, n0, _GFAR,
7310
7381
  0,
7311
7382
  [_FAA],
@@ -7676,6 +7747,16 @@ export var ListEnabledProductsForImportResponse$ = [3, n0, _LEPFIRi,
7676
7747
  [_PSrod, _NTe],
7677
7748
  [64 | 0, 0]
7678
7749
  ];
7750
+ export var ListExportJobsV2Request$ = [3, n0, _LEJVR,
7751
+ 0,
7752
+ [_St, _DTa, _MRa, _NTe],
7753
+ [[0, { [_hQ]: _St }], [0, { [_hQ]: _DTa }], [1, { [_hQ]: _MRa }], [0, { [_hQ]: _NTe }]]
7754
+ ];
7755
+ export var ListExportJobsV2Response$ = [3, n0, _LEJVRi,
7756
+ 0,
7757
+ [_It, _NTe],
7758
+ [() => ExportSummaryList, 0], 1
7759
+ ];
7679
7760
  export var ListExposuresByRemediationV2Request$ = [3, n0, _LEBRVR,
7680
7761
  0,
7681
7762
  [_TU, _MRa, _NTe],
@@ -8306,6 +8387,11 @@ export var RuleGroupVariablesPortSetsDetails$ = [3, n0, _RGVPSD,
8306
8387
  [_Def],
8307
8388
  [64 | 0]
8308
8389
  ];
8390
+ export var S3ExportDestination$ = [3, n0, _SED,
8391
+ 0,
8392
+ [_BAu, _KKA, _OPb],
8393
+ [0, 0, 0], 2
8394
+ ];
8309
8395
  export var SecurityControl$ = [3, n0, _SCecu,
8310
8396
  0,
8311
8397
  [_SCIec, _SCAe, _Ti, _D, _RU, _SRev, _SCS, _US, _Par, _LUR, _Prov],
@@ -8466,6 +8552,16 @@ export var StartConfigurationPolicyDisassociationResponse$ = [3, n0, _SCPDRt,
8466
8552
  [],
8467
8553
  []
8468
8554
  ];
8555
+ export var StartExportJobV2Request$ = [3, n0, _SEJVR,
8556
+ 0,
8557
+ [_Des, _OCu, _N, _Sco, _CTl],
8558
+ [() => ExportDestination$, () => ExportOutput$, 0, () => ExportScopes$, [0, 4]], 2
8559
+ ];
8560
+ export var StartExportJobV2Response$ = [3, n0, _SEJVRt,
8561
+ 0,
8562
+ [_EJI],
8563
+ [0], 1
8564
+ ];
8469
8565
  export var StatelessCustomActionDefinition$ = [3, n0, _SCADta,
8470
8566
  0,
8471
8567
  [_PMA],
@@ -9323,6 +9419,9 @@ var DateFilterList = [1, n0, _DFL,
9323
9419
  var DisabledSecurityControlIdentifierList = 64 | 0;
9324
9420
  var EnabledSecurityControlIdentifierList = 64 | 0;
9325
9421
  var EnabledStandardIdentifierList = 64 | 0;
9422
+ var ExportSummaryList = [1, n0, _ESL,
9423
+ 0, () => ExportSummary$
9424
+ ];
9326
9425
  var ExposureFindingItemsList = [1, n0, _EFIL,
9327
9426
  0, () => ExposureFinding$
9328
9427
  ];
@@ -9338,6 +9437,7 @@ var FindingHistoryRecordList = [1, n0, _FHRL,
9338
9437
  var FindingHistoryUpdatesList = [1, n0, _FHUL,
9339
9438
  0, () => FindingHistoryUpdate$
9340
9439
  ];
9440
+ var FindingsSelectedFieldList = 64 | 0;
9341
9441
  var FindingsTrendsCompositeFilterList = [1, n0, _FTCFL,
9342
9442
  0, () => FindingsTrendsCompositeFilter$
9343
9443
  ];
@@ -9715,6 +9815,21 @@ export var CspmProviderUpdateConfiguration$ = [4, n0, _CPUC,
9715
9815
  [_Az],
9716
9816
  [() => AzureUpdateConfiguration$]
9717
9817
  ];
9818
+ export var ExportDestination$ = [4, n0, _EDxpo,
9819
+ 0,
9820
+ [_S_],
9821
+ [() => S3ExportDestination$]
9822
+ ];
9823
+ export var ExportOutput$ = [4, n0, _EOx,
9824
+ 0,
9825
+ [_Fin],
9826
+ [() => FindingsOutput$]
9827
+ ];
9828
+ export var ExportOutputSummary$ = [4, n0, _EOS,
9829
+ 0,
9830
+ [_Fin],
9831
+ [() => FindingsOutputSummary$]
9832
+ ];
9718
9833
  export var ParameterValue$ = [4, n0, _PVa,
9719
9834
  0,
9720
9835
  [_Inte, _ILnt, _Dou, _Str, _SLtr, _Bo, _Enu, _ELnu],
@@ -9792,6 +9907,9 @@ export var BatchUpdateFindingsV2$ = [9, n0, _BUFV,
9792
9907
  export var BatchUpdateStandardsControlAssociations$ = [9, n0, _BUSCA,
9793
9908
  { [_h]: ["PATCH", "/associations", 200] }, () => BatchUpdateStandardsControlAssociationsRequest$, () => BatchUpdateStandardsControlAssociationsResponse$
9794
9909
  ];
9910
+ export var CancelExportJobV2$ = [9, n0, _CEJV,
9911
+ { [_h]: ["POST", "/exportjobsv2/{ExportJobId}/cancel", 200] }, () => CancelExportJobV2Request$, () => CancelExportJobV2Response$
9912
+ ];
9795
9913
  export var CreateActionTarget$ = [9, n0, _CAT,
9796
9914
  { [_h]: ["POST", "/actionTargets", 200] }, () => CreateActionTargetRequest$, () => CreateActionTargetResponse$
9797
9915
  ];
@@ -9948,6 +10066,9 @@ export var GetConnectorV2$ = [9, n0, _GCV,
9948
10066
  export var GetEnabledStandards$ = [9, n0, _GES,
9949
10067
  { [_h]: ["POST", "/standards/get", 200] }, () => GetEnabledStandardsRequest$, () => GetEnabledStandardsResponse$
9950
10068
  ];
10069
+ export var GetExportJobV2$ = [9, n0, _GEJV,
10070
+ { [_h]: ["GET", "/exportjobsv2/{ExportJobId}", 200] }, () => GetExportJobV2Request$, () => GetExportJobV2Response$
10071
+ ];
9951
10072
  export var GetFindingAggregator$ = [9, n0, _GFA,
9952
10073
  { [_h]: ["GET", "/findingAggregator/get/{FindingAggregatorArn+}", 200] }, () => GetFindingAggregatorRequest$, () => GetFindingAggregatorResponse$
9953
10074
  ];
@@ -10026,6 +10147,9 @@ export var ListConnectorsV2$ = [9, n0, _LCV,
10026
10147
  export var ListEnabledProductsForImport$ = [9, n0, _LEPFI,
10027
10148
  { [_h]: ["GET", "/productSubscriptions", 200] }, () => ListEnabledProductsForImportRequest$, () => ListEnabledProductsForImportResponse$
10028
10149
  ];
10150
+ export var ListExportJobsV2$ = [9, n0, _LEJV,
10151
+ { [_h]: ["GET", "/exportjobsv2", 200] }, () => ListExportJobsV2Request$, () => ListExportJobsV2Response$
10152
+ ];
10029
10153
  export var ListExposuresByRemediationV2$ = [9, n0, _LEBRV,
10030
10154
  { [_h]: ["POST", "/ListExposuresByRemediationV2", 200] }, () => ListExposuresByRemediationV2Request$, () => ListExposuresByRemediationV2Response$
10031
10155
  ];
@@ -10062,6 +10186,9 @@ export var StartConfigurationPolicyAssociation$ = [9, n0, _SCPA,
10062
10186
  export var StartConfigurationPolicyDisassociation$ = [9, n0, _SCPD,
10063
10187
  { [_h]: ["POST", "/configurationPolicyAssociation/disassociate", 200] }, () => StartConfigurationPolicyDisassociationRequest$, () => StartConfigurationPolicyDisassociationResponse$
10064
10188
  ];
10189
+ export var StartExportJobV2$ = [9, n0, _SEJV,
10190
+ { [_h]: ["POST", "/exportjobsv2", 202] }, () => StartExportJobV2Request$, () => StartExportJobV2Response$
10191
+ ];
10065
10192
  export var TagResource$ = [9, n0, _TR,
10066
10193
  { [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
10067
10194
  ];