@aws-sdk/client-securityhub 3.1147.0 → 3.1149.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.
- package/README.md +28 -0
- package/dist-cjs/index.js +321 -1
- package/dist-es/SecurityHub.js +10 -0
- package/dist-es/commands/CancelExportJobV2Command.js +4 -0
- package/dist-es/commands/GetExportJobV2Command.js +4 -0
- package/dist-es/commands/ListExportJobsV2Command.js +4 -0
- package/dist-es/commands/StartExportJobV2Command.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/SecurityHubServiceException.js +1 -0
- package/dist-es/models/enums.js +129 -0
- package/dist-es/models/errors.js +15 -0
- package/dist-es/pagination/ListExportJobsV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +127 -0
- package/dist-types/SecurityHub.d.ts +36 -0
- package/dist-types/SecurityHubClient.d.ts +6 -2
- package/dist-types/commands/CancelExportJobV2Command.d.ts +112 -0
- package/dist-types/commands/GetExportJobV2Command.d.ts +380 -0
- package/dist-types/commands/GetRemediationsV2Command.d.ts +1 -2
- package/dist-types/commands/ListExportJobsV2Command.d.ts +163 -0
- package/dist-types/commands/StartExportJobV2Command.d.ts +375 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/SecurityHubServiceException.d.ts +1 -0
- package/dist-types/models/enums.d.ts +169 -0
- package/dist-types/models/errors.d.ts +15 -0
- package/dist-types/models/models_2.d.ts +230 -332
- package/dist-types/models/models_3.d.ts +544 -2
- package/dist-types/pagination/ListExportJobsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +76 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CancelExportJobV2Command.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetExportJobV2Command.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetRemediationsV2Command.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListExportJobsV2Command.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartExportJobV2Command.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/SecurityHubServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +135 -0
- package/dist-types/ts3.4/models/errors.d.ts +15 -0
- package/dist-types/ts3.4/models/models_2.d.ts +70 -71
- package/dist-types/ts3.4/models/models_3.d.ts +133 -1
- package/dist-types/ts3.4/pagination/ListExportJobsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
- package/package.json +4 -4
package/dist-es/SecurityHub.js
CHANGED
|
@@ -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,
|
|
@@ -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";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SecurityHubServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.securityhub#SecurityHubServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, SecurityHubServiceException.prototype);
|
package/dist-es/models/enums.js
CHANGED
|
@@ -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",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
2
2
|
export class InternalException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.securityhub#InternalException";
|
|
3
4
|
name = "InternalException";
|
|
4
5
|
$fault = "server";
|
|
5
6
|
Message;
|
|
@@ -16,6 +17,7 @@ export class InternalException extends __BaseException {
|
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
export class InvalidAccessException extends __BaseException {
|
|
20
|
+
static shapeId = "com.amazonaws.securityhub#InvalidAccessException";
|
|
19
21
|
name = "InvalidAccessException";
|
|
20
22
|
$fault = "client";
|
|
21
23
|
Message;
|
|
@@ -32,6 +34,7 @@ export class InvalidAccessException extends __BaseException {
|
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
36
|
export class InvalidInputException extends __BaseException {
|
|
37
|
+
static shapeId = "com.amazonaws.securityhub#InvalidInputException";
|
|
35
38
|
name = "InvalidInputException";
|
|
36
39
|
$fault = "client";
|
|
37
40
|
Message;
|
|
@@ -48,6 +51,7 @@ export class InvalidInputException extends __BaseException {
|
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
53
|
export class LimitExceededException extends __BaseException {
|
|
54
|
+
static shapeId = "com.amazonaws.securityhub#LimitExceededException";
|
|
51
55
|
name = "LimitExceededException";
|
|
52
56
|
$fault = "client";
|
|
53
57
|
Message;
|
|
@@ -64,6 +68,7 @@ export class LimitExceededException extends __BaseException {
|
|
|
64
68
|
}
|
|
65
69
|
}
|
|
66
70
|
export class ResourceNotFoundException extends __BaseException {
|
|
71
|
+
static shapeId = "com.amazonaws.securityhub#ResourceNotFoundException";
|
|
67
72
|
name = "ResourceNotFoundException";
|
|
68
73
|
$fault = "client";
|
|
69
74
|
Message;
|
|
@@ -80,6 +85,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
80
85
|
}
|
|
81
86
|
}
|
|
82
87
|
export class AccessDeniedException extends __BaseException {
|
|
88
|
+
static shapeId = "com.amazonaws.securityhub#AccessDeniedException";
|
|
83
89
|
name = "AccessDeniedException";
|
|
84
90
|
$fault = "client";
|
|
85
91
|
Message;
|
|
@@ -96,6 +102,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
96
102
|
}
|
|
97
103
|
}
|
|
98
104
|
export class ConflictException extends __BaseException {
|
|
105
|
+
static shapeId = "com.amazonaws.securityhub#ConflictException";
|
|
99
106
|
name = "ConflictException";
|
|
100
107
|
$fault = "client";
|
|
101
108
|
Message;
|
|
@@ -112,6 +119,7 @@ export class ConflictException extends __BaseException {
|
|
|
112
119
|
}
|
|
113
120
|
}
|
|
114
121
|
export class InternalServerException extends __BaseException {
|
|
122
|
+
static shapeId = "com.amazonaws.securityhub#InternalServerException";
|
|
115
123
|
name = "InternalServerException";
|
|
116
124
|
$fault = "server";
|
|
117
125
|
Message;
|
|
@@ -128,6 +136,7 @@ export class InternalServerException extends __BaseException {
|
|
|
128
136
|
}
|
|
129
137
|
}
|
|
130
138
|
export class ThrottlingException extends __BaseException {
|
|
139
|
+
static shapeId = "com.amazonaws.securityhub#ThrottlingException";
|
|
131
140
|
name = "ThrottlingException";
|
|
132
141
|
$fault = "client";
|
|
133
142
|
Message;
|
|
@@ -144,6 +153,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
144
153
|
}
|
|
145
154
|
}
|
|
146
155
|
export class ValidationException extends __BaseException {
|
|
156
|
+
static shapeId = "com.amazonaws.securityhub#ValidationException";
|
|
147
157
|
name = "ValidationException";
|
|
148
158
|
$fault = "client";
|
|
149
159
|
Message;
|
|
@@ -160,6 +170,7 @@ export class ValidationException extends __BaseException {
|
|
|
160
170
|
}
|
|
161
171
|
}
|
|
162
172
|
export class ResourceConflictException extends __BaseException {
|
|
173
|
+
static shapeId = "com.amazonaws.securityhub#ResourceConflictException";
|
|
163
174
|
name = "ResourceConflictException";
|
|
164
175
|
$fault = "client";
|
|
165
176
|
Message;
|
|
@@ -176,6 +187,7 @@ export class ResourceConflictException extends __BaseException {
|
|
|
176
187
|
}
|
|
177
188
|
}
|
|
178
189
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
190
|
+
static shapeId = "com.amazonaws.securityhub#ServiceQuotaExceededException";
|
|
179
191
|
name = "ServiceQuotaExceededException";
|
|
180
192
|
$fault = "client";
|
|
181
193
|
Message;
|
|
@@ -192,6 +204,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
192
204
|
}
|
|
193
205
|
}
|
|
194
206
|
export class OrganizationalUnitNotFoundException extends __BaseException {
|
|
207
|
+
static shapeId = "com.amazonaws.securityhub#OrganizationalUnitNotFoundException";
|
|
195
208
|
name = "OrganizationalUnitNotFoundException";
|
|
196
209
|
$fault = "client";
|
|
197
210
|
Message;
|
|
@@ -208,6 +221,7 @@ export class OrganizationalUnitNotFoundException extends __BaseException {
|
|
|
208
221
|
}
|
|
209
222
|
}
|
|
210
223
|
export class OrganizationNotFoundException extends __BaseException {
|
|
224
|
+
static shapeId = "com.amazonaws.securityhub#OrganizationNotFoundException";
|
|
211
225
|
name = "OrganizationNotFoundException";
|
|
212
226
|
$fault = "client";
|
|
213
227
|
Message;
|
|
@@ -224,6 +238,7 @@ export class OrganizationNotFoundException extends __BaseException {
|
|
|
224
238
|
}
|
|
225
239
|
}
|
|
226
240
|
export class ResourceInUseException extends __BaseException {
|
|
241
|
+
static shapeId = "com.amazonaws.securityhub#ResourceInUseException";
|
|
227
242
|
name = "ResourceInUseException";
|
|
228
243
|
$fault = "client";
|
|
229
244
|
Message;
|
|
@@ -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";
|