@aws-sdk/client-securityhub 3.1147.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
@@ -315,6 +315,13 @@ export declare const BatchUpdateFindingsV2UnprocessedFindingErrorCode: {
315
315
  };
316
316
  export type BatchUpdateFindingsV2UnprocessedFindingErrorCode =
317
317
  (typeof BatchUpdateFindingsV2UnprocessedFindingErrorCode)[keyof typeof BatchUpdateFindingsV2UnprocessedFindingErrorCode];
318
+ export declare const ExportStatus: {
319
+ readonly CANCELLED: "CANCELLED";
320
+ readonly FAILED: "FAILED";
321
+ readonly RUNNING: "RUNNING";
322
+ readonly SUCCEEDED: "SUCCEEDED";
323
+ };
324
+ export type ExportStatus = (typeof ExportStatus)[keyof typeof ExportStatus];
318
325
  export declare const OcsfBooleanField: {
319
326
  readonly COMPLIANCE_ASSESSMENTS_MEETS_CRITERIA: "compliance.assessments.meets_criteria";
320
327
  readonly VULNERABILITIES_IS_EXPLOIT_AVAILABLE: "vulnerabilities.is_exploit_available";
@@ -559,6 +566,134 @@ export declare const DiscoveryType: {
559
566
  readonly SELF_HOSTED: "SelfHosted";
560
567
  };
561
568
  export type DiscoveryType = (typeof DiscoveryType)[keyof typeof DiscoveryType];
569
+ export declare const ExportDataType: {
570
+ readonly FINDINGS: "FINDINGS";
571
+ };
572
+ export type ExportDataType = (typeof ExportDataType)[keyof typeof ExportDataType];
573
+ export declare const ExportFailureCode: {
574
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
575
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
576
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
577
+ };
578
+ export type ExportFailureCode = (typeof ExportFailureCode)[keyof typeof ExportFailureCode];
579
+ export declare const FindingsExportFormat: {
580
+ readonly CSV: "CSV";
581
+ readonly OCSF_JSON: "OCSF_JSON";
582
+ };
583
+ export type FindingsExportFormat = (typeof FindingsExportFormat)[keyof typeof FindingsExportFormat];
584
+ export declare const FindingsSelectableField: {
585
+ readonly ACTIVITY_ID: "activity_id";
586
+ readonly ACTIVITY_NAME: "activity_name";
587
+ readonly CLASS_NAME: "class_name";
588
+ readonly CLOUD_ACCOUNT_NAME: "cloud.account.name";
589
+ readonly CLOUD_ACCOUNT_UID: "cloud.account.uid";
590
+ readonly CLOUD_PROVIDER: "cloud.provider";
591
+ readonly CLOUD_REGION: "cloud.region";
592
+ readonly COMMENT: "comment";
593
+ readonly COMPLIANCE_ASSESSMENTS_CATEGORY: "compliance.assessments.category";
594
+ readonly COMPLIANCE_ASSESSMENTS_MEETS_CRITERIA: "compliance.assessments.meets_criteria";
595
+ readonly COMPLIANCE_ASSESSMENTS_NAME: "compliance.assessments.name";
596
+ readonly COMPLIANCE_CONTROL: "compliance.control";
597
+ readonly COMPLIANCE_CONTROL_PARAMETERS: "compliance.control_parameters";
598
+ readonly COMPLIANCE_STANDARDS: "compliance.standards";
599
+ readonly COMPLIANCE_STATUS: "compliance.status";
600
+ readonly COMPLIANCE_STATUS_ID: "compliance.status_id";
601
+ readonly CONFIDENCE_SCORE: "confidence_score";
602
+ readonly DATABUCKET_ENCRYPTION_DETAILS_ALGORITHM: "databucket.encryption_details.algorithm";
603
+ readonly DATABUCKET_ENCRYPTION_DETAILS_KEY_UID: "databucket.encryption_details.key_uid";
604
+ readonly DATABUCKET_FILE_DATA_CLASSIFICATIONS_CLASSIFIER_DETAILS_TYPE: "databucket.file.data_classifications.classifier_details.type";
605
+ readonly DATABUCKET_TAGS: "databucket.tags";
606
+ readonly EVIDENCES_ACTOR_USER_ACCOUNT_UID: "evidences.actor.user.account.uid";
607
+ readonly EVIDENCES_API_OPERATION: "evidences.api.operation";
608
+ readonly EVIDENCES_API_RESPONSE_CODE: "evidences.api.response.code";
609
+ readonly EVIDENCES_API_RESPONSE_ERROR_MESSAGE: "evidences.api.response.error_message";
610
+ readonly EVIDENCES_API_SERVICE_NAME: "evidences.api.service.name";
611
+ readonly EVIDENCES_CONNECTION_INFO_DIRECTION: "evidences.connection_info.direction";
612
+ readonly EVIDENCES_CONNECTION_INFO_PROTOCOL_NAME: "evidences.connection_info.protocol_name";
613
+ readonly EVIDENCES_DST_ENDPOINT_AUTONOMOUS_SYSTEM_NAME: "evidences.dst_endpoint.autonomous_system.name";
614
+ readonly EVIDENCES_DST_ENDPOINT_AUTONOMOUS_SYSTEM_NUMBER: "evidences.dst_endpoint.autonomous_system.number";
615
+ readonly EVIDENCES_DST_ENDPOINT_IP: "evidences.dst_endpoint.ip";
616
+ readonly EVIDENCES_DST_ENDPOINT_LOCATION_CITY: "evidences.dst_endpoint.location.city";
617
+ readonly EVIDENCES_DST_ENDPOINT_LOCATION_COUNTRY: "evidences.dst_endpoint.location.country";
618
+ readonly EVIDENCES_DST_ENDPOINT_PORT: "evidences.dst_endpoint.port";
619
+ readonly EVIDENCES_SRC_ENDPOINT_AUTONOMOUS_SYSTEM_NAME: "evidences.src_endpoint.autonomous_system.name";
620
+ readonly EVIDENCES_SRC_ENDPOINT_AUTONOMOUS_SYSTEM_NUMBER: "evidences.src_endpoint.autonomous_system.number";
621
+ readonly EVIDENCES_SRC_ENDPOINT_HOSTNAME: "evidences.src_endpoint.hostname";
622
+ readonly EVIDENCES_SRC_ENDPOINT_IP: "evidences.src_endpoint.ip";
623
+ readonly EVIDENCES_SRC_ENDPOINT_LOCATION_CITY: "evidences.src_endpoint.location.city";
624
+ readonly EVIDENCES_SRC_ENDPOINT_LOCATION_COUNTRY: "evidences.src_endpoint.location.country";
625
+ readonly EVIDENCES_SRC_ENDPOINT_PORT: "evidences.src_endpoint.port";
626
+ readonly FINDING_INFO_ANALYTIC_NAME: "finding_info.analytic.name";
627
+ readonly FINDING_INFO_CREATED_TIME_DT: "finding_info.created_time_dt";
628
+ readonly FINDING_INFO_DESC: "finding_info.desc";
629
+ readonly FINDING_INFO_FIRST_SEEN_TIME_DT: "finding_info.first_seen_time_dt";
630
+ readonly FINDING_INFO_LAST_SEEN_TIME_DT: "finding_info.last_seen_time_dt";
631
+ readonly FINDING_INFO_MODIFIED_TIME_DT: "finding_info.modified_time_dt";
632
+ readonly FINDING_INFO_RELATED_EVENTS_COUNT: "finding_info.related_events_count";
633
+ readonly FINDING_INFO_RELATED_EVENTS_PRODUCT_UID: "finding_info.related_events.product.uid";
634
+ readonly FINDING_INFO_RELATED_EVENTS_TITLE: "finding_info.related_events.title";
635
+ readonly FINDING_INFO_RELATED_EVENTS_TRAITS_CATEGORY: "finding_info.related_events.traits.category";
636
+ readonly FINDING_INFO_RELATED_EVENTS_UID: "finding_info.related_events.uid";
637
+ readonly FINDING_INFO_SRC_URL: "finding_info.src_url";
638
+ readonly FINDING_INFO_TAGS: "finding_info.tags";
639
+ readonly FINDING_INFO_TITLE: "finding_info.title";
640
+ readonly FINDING_INFO_TYPES: "finding_info.types";
641
+ readonly FINDING_INFO_UID: "finding_info.uid";
642
+ readonly MALWARE_NAME: "malware.name";
643
+ readonly MALWARE_SCAN_INFO_UID: "malware_scan_info.uid";
644
+ readonly MALWARE_SEVERITY: "malware.severity";
645
+ readonly METADATA_PRODUCT_FEATURE_UID: "metadata.product.feature.uid";
646
+ readonly METADATA_PRODUCT_NAME: "metadata.product.name";
647
+ readonly METADATA_PRODUCT_UID: "metadata.product.uid";
648
+ readonly METADATA_PRODUCT_VENDOR_NAME: "metadata.product.vendor_name";
649
+ readonly METADATA_UID: "metadata.uid";
650
+ readonly REMEDIATION_DESC: "remediation.desc";
651
+ readonly REMEDIATION_REFERENCES: "remediation.references";
652
+ readonly RESOURCES_CLOUD_FUNCTION_LAYERS_UID_ALT: "resources.cloud_function.layers.uid_alt";
653
+ readonly RESOURCES_CLOUD_FUNCTION_RUNTIME: "resources.cloud_function.runtime";
654
+ readonly RESOURCES_CLOUD_FUNCTION_USER_UID: "resources.cloud_function.user.uid";
655
+ readonly RESOURCES_CLOUD_PARTITION: "resources.cloud_partition";
656
+ readonly RESOURCES_DEVICE_ENCRYPTION_DETAILS_KEY_UID: "resources.device.encryption_details.key_uid";
657
+ readonly RESOURCES_DEVICE_IMAGE_UID: "resources.device.image.uid";
658
+ readonly RESOURCES_IMAGE_ARCHITECTURE: "resources.image.architecture";
659
+ readonly RESOURCES_IMAGE_CREATED_TIME_DT: "resources.image.created_time_dt";
660
+ readonly RESOURCES_IMAGE_IN_USE_COUNT: "resources.image.in_use_count";
661
+ readonly RESOURCES_IMAGE_LAST_USED_TIME_DT: "resources.image.last_used_time_dt";
662
+ readonly RESOURCES_IMAGE_REGISTRY_UID: "resources.image.registry_uid";
663
+ readonly RESOURCES_IMAGE_REPOSITORY_NAME: "resources.image.repository_name";
664
+ readonly RESOURCES_IMAGE_UID: "resources.image.uid";
665
+ readonly RESOURCES_MODIFIED_TIME_DT: "resources.modified_time_dt";
666
+ readonly RESOURCES_NAME: "resources.name";
667
+ readonly RESOURCES_OWNER_ACCOUNT_NAME: "resources.owner.account.name";
668
+ readonly RESOURCES_OWNER_ACCOUNT_UID: "resources.owner.account.uid";
669
+ readonly RESOURCES_OWNER_ORG_UID: "resources.owner.org.uid";
670
+ readonly RESOURCES_PROVIDER: "resources.provider";
671
+ readonly RESOURCES_REGION: "resources.region";
672
+ readonly RESOURCES_SUBNET_INFO_UID: "resources.subnet_info.uid";
673
+ readonly RESOURCES_TAGS: "resources.tags";
674
+ readonly RESOURCES_TYPE: "resources.type";
675
+ readonly RESOURCES_UID: "resources.uid";
676
+ readonly RESOURCES_VPC_UID: "resources.vpc_uid";
677
+ readonly SEVERITY: "severity";
678
+ readonly SEVERITY_ID: "severity_id";
679
+ readonly STATUS: "status";
680
+ readonly STATUS_ID: "status_id";
681
+ readonly VENDOR_ATTRIBUTES_SEVERITY: "vendor_attributes.severity";
682
+ readonly VENDOR_ATTRIBUTES_SEVERITY_ID: "vendor_attributes.severity_id";
683
+ readonly VULNERABILITIES_AFFECTED_CODE_FILE_PATH: "vulnerabilities.affected_code.file.path";
684
+ readonly VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name";
685
+ readonly VULNERABILITIES_CVE_CVSS_BASE_SCORE: "vulnerabilities.cve.cvss.base_score";
686
+ readonly VULNERABILITIES_CVE_CVSS_VENDOR_NAME: "vulnerabilities.cve.cvss.vendor_name";
687
+ readonly VULNERABILITIES_CVE_CVSS_VERSION: "vulnerabilities.cve.cvss.version";
688
+ readonly VULNERABILITIES_CVE_EPSS_SCORE: "vulnerabilities.cve.epss.score";
689
+ readonly VULNERABILITIES_CVE_UID: "vulnerabilities.cve.uid";
690
+ readonly VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage";
691
+ readonly VULNERABILITIES_IS_EXPLOIT_AVAILABLE: "vulnerabilities.is_exploit_available";
692
+ readonly VULNERABILITIES_IS_FIX_AVAILABLE: "vulnerabilities.is_fix_available";
693
+ readonly VULNERABILITIES_RELATED_VULNERABILITIES: "vulnerabilities.related_vulnerabilities";
694
+ };
695
+ export type FindingsSelectableField =
696
+ (typeof FindingsSelectableField)[keyof typeof FindingsSelectableField];
562
697
  export declare const ExposureImpact: {
563
698
  readonly REDUCES: "Reduces";
564
699
  readonly RESOLVES: "Resolves";
@@ -15,14 +15,17 @@ import {
15
15
  CspmConnectorStatus,
16
16
  CspmEnablementStatus,
17
17
  EnablementStatus,
18
+ ExportDataType,
19
+ ExportFailureCode,
20
+ ExportStatus,
18
21
  ExposureImpact,
19
22
  ExposureSeverity,
20
23
  FeatureName,
21
24
  FeatureStatus,
22
25
  FindingHistoryUpdateSourceType,
26
+ FindingsExportFormat,
23
27
  FindingsTrendsStringField,
24
28
  GranularityField,
25
- GuidanceFormat,
26
29
  HealthIssueCode,
27
30
  IntegrationType,
28
31
  IntegrationV2Type,
@@ -1102,6 +1105,13 @@ export interface BatchUpdateStandardsControlAssociationsResponse {
1102
1105
  export interface BooleanConfigurationOptions {
1103
1106
  DefaultValue?: boolean | undefined;
1104
1107
  }
1108
+ export interface CancelExportJobV2Request {
1109
+ ExportJobId: string | undefined;
1110
+ }
1111
+ export interface CancelExportJobV2Response {
1112
+ ExportJobId: string | undefined;
1113
+ Status: ExportStatus | undefined;
1114
+ }
1105
1115
  export interface OcsfBooleanFilter {
1106
1116
  FieldName?: OcsfBooleanField | undefined;
1107
1117
  Filter?: BooleanFilter | undefined;
@@ -1854,6 +1864,62 @@ export interface EnableSecurityHubV2Request {
1854
1864
  export interface EnableSecurityHubV2Response {
1855
1865
  HubV2Arn?: string | undefined;
1856
1866
  }
1867
+ export interface S3ExportDestination {
1868
+ BucketArn: string | undefined;
1869
+ KmsKeyArn: string | undefined;
1870
+ ObjectPrefix?: string | undefined;
1871
+ }
1872
+ export type ExportDestination = ExportDestination.S3Member | ExportDestination.$UnknownMember;
1873
+ export declare namespace ExportDestination {
1874
+ interface S3Member {
1875
+ S3: S3ExportDestination;
1876
+ $unknown?: never;
1877
+ }
1878
+ interface $UnknownMember {
1879
+ S3?: never;
1880
+ $unknown: [string, any];
1881
+ }
1882
+ interface Visitor<T> {
1883
+ S3: (value: S3ExportDestination) => T;
1884
+ _: (name: string, value: any) => T;
1885
+ }
1886
+ }
1887
+ export interface FindingsOutputSummary {
1888
+ Format: FindingsExportFormat | undefined;
1889
+ }
1890
+ export type ExportOutputSummary =
1891
+ | ExportOutputSummary.FindingsMember
1892
+ | ExportOutputSummary.$UnknownMember;
1893
+ export declare namespace ExportOutputSummary {
1894
+ interface FindingsMember {
1895
+ Findings: FindingsOutputSummary;
1896
+ $unknown?: never;
1897
+ }
1898
+ interface $UnknownMember {
1899
+ Findings?: never;
1900
+ $unknown: [string, any];
1901
+ }
1902
+ interface Visitor<T> {
1903
+ Findings: (value: FindingsOutputSummary) => T;
1904
+ _: (name: string, value: any) => T;
1905
+ }
1906
+ }
1907
+ export interface ExportScopes {
1908
+ AwsOrganizations?: AwsOrganizationScope[] | undefined;
1909
+ }
1910
+ export interface ExportSummary {
1911
+ ExportJobId: string | undefined;
1912
+ Name?: string | undefined;
1913
+ Status: ExportStatus | undefined;
1914
+ DataType: ExportDataType | undefined;
1915
+ OutputConfiguration?: ExportOutputSummary | undefined;
1916
+ Scopes?: ExportScopes | undefined;
1917
+ Destination: ExportDestination | undefined;
1918
+ FailureCode?: ExportFailureCode | undefined;
1919
+ FailureMessage?: string | undefined;
1920
+ StartedAt: Date | undefined;
1921
+ EndedAt?: Date | undefined;
1922
+ }
1857
1923
  export interface ExposureFinding {
1858
1924
  MetadataUid: string | undefined;
1859
1925
  Title: string | undefined;
@@ -1985,6 +2051,9 @@ export interface GetEnabledStandardsResponse {
1985
2051
  StandardsSubscriptions?: StandardsSubscription[] | undefined;
1986
2052
  NextToken?: string | undefined;
1987
2053
  }
2054
+ export interface GetExportJobV2Request {
2055
+ ExportJobId: string | undefined;
2056
+ }
1988
2057
  export interface GetFindingAggregatorRequest {
1989
2058
  FindingAggregatorArn: string | undefined;
1990
2059
  }
@@ -2161,73 +2230,3 @@ export interface RemediationStringFilter {
2161
2230
  export interface RemediationCompositeFilter {
2162
2231
  StringFilters?: RemediationStringFilter[] | undefined;
2163
2232
  }
2164
- export interface RemediationFilters {
2165
- CompositeFilters?: RemediationCompositeFilter[] | undefined;
2166
- }
2167
- export interface GetRemediationsV2Request {
2168
- TargetUid?: string | undefined;
2169
- MetadataUid?: string | undefined;
2170
- Filters?: RemediationFilters | undefined;
2171
- ShowGuidance?: boolean | undefined;
2172
- GuidanceFormat?: GuidanceFormat | undefined;
2173
- MaxResults?: number | undefined;
2174
- NextToken?: string | undefined;
2175
- }
2176
- export interface RemediationGuidanceContext {
2177
- ProblemStatement?: string | undefined;
2178
- RiskAssessment?: string | undefined;
2179
- AffectedScope?: string | undefined;
2180
- Prerequisites?: string[] | undefined;
2181
- }
2182
- export interface RemediationGuidanceExamples {
2183
- AwsCli?: string | undefined;
2184
- Cli?: string | undefined;
2185
- Python?: string | undefined;
2186
- Terraform?: string | undefined;
2187
- Cdk?: string | undefined;
2188
- CloudFormation?: string | undefined;
2189
- IaC?: string | undefined;
2190
- Template?: string | undefined;
2191
- }
2192
- export interface RemediationGuidanceMetadata {
2193
- ResourceType: string | undefined;
2194
- ExposureType: string | undefined;
2195
- TraitTitles: string[] | undefined;
2196
- Reversibility: string | undefined;
2197
- FixEffect: string | undefined;
2198
- RiskLevel: string | undefined;
2199
- AutomationLevel?: string | undefined;
2200
- HumanReviewRequired?: boolean | undefined;
2201
- GeneratedAt?: Date | undefined;
2202
- VerificationStatus?: string | undefined;
2203
- }
2204
- export interface RemediationParameter {
2205
- Name: string | undefined;
2206
- Type: string | undefined;
2207
- Description: string | undefined;
2208
- Required?: boolean | undefined;
2209
- }
2210
- export interface RemediationStep {
2211
- Phase: string | undefined;
2212
- Description: string | undefined;
2213
- Service: string | undefined;
2214
- Action: string | undefined;
2215
- Logic?: string | undefined;
2216
- Inverse?: string | undefined;
2217
- VerifyAfter?: string | undefined;
2218
- }
2219
- export interface RemediationGuidanceSpecification {
2220
- Parameters?: RemediationParameter[] | undefined;
2221
- Steps?: RemediationStep[] | undefined;
2222
- ExpectedEndState?: string | undefined;
2223
- RequiredPermissions?: string[] | undefined;
2224
- }
2225
- export interface RemediationGuidance {
2226
- TargetTypeName: string | undefined;
2227
- Pattern: string | undefined;
2228
- Version: string | undefined;
2229
- Context: RemediationGuidanceContext | undefined;
2230
- Specification: RemediationGuidanceSpecification | undefined;
2231
- Examples: RemediationGuidanceExamples | undefined;
2232
- Metadata: RemediationGuidanceMetadata | undefined;
2233
- }
@@ -15,9 +15,15 @@ import {
15
15
  CspmEnablementStatus,
16
16
  DiscoveryType,
17
17
  EnablementStatus,
18
+ ExportDataType,
19
+ ExportFailureCode,
20
+ ExportStatus,
21
+ FindingsExportFormat,
22
+ FindingsSelectableField,
18
23
  FreeTrialStatusValue,
19
24
  GranularityField,
20
25
  GroupByField,
26
+ GuidanceFormat,
21
27
  RecordState,
22
28
  RegionAvailabilityStatus,
23
29
  RemediationPriority,
@@ -63,6 +69,9 @@ import {
63
69
  ConnectorSummary,
64
70
  CspmConnectorSummary,
65
71
  CspmProviderUpdateConfiguration,
72
+ ExportDestination,
73
+ ExportScopes,
74
+ ExportSummary,
66
75
  ExposureFinding,
67
76
  FindingAggregator,
68
77
  FindingScopes,
@@ -79,11 +88,81 @@ import {
79
88
  OrganizationConfiguration,
80
89
  ParameterConfiguration,
81
90
  Policy,
82
- RemediationGuidance,
91
+ RemediationCompositeFilter,
83
92
  Result,
84
93
  SortCriterion,
85
94
  Target,
86
95
  } from "./models_2";
96
+ export interface RemediationFilters {
97
+ CompositeFilters?: RemediationCompositeFilter[] | undefined;
98
+ }
99
+ export interface GetRemediationsV2Request {
100
+ TargetUid?: string | undefined;
101
+ MetadataUid?: string | undefined;
102
+ Filters?: RemediationFilters | undefined;
103
+ ShowGuidance?: boolean | undefined;
104
+ GuidanceFormat?: GuidanceFormat | undefined;
105
+ MaxResults?: number | undefined;
106
+ NextToken?: string | undefined;
107
+ }
108
+ export interface RemediationGuidanceContext {
109
+ ProblemStatement?: string | undefined;
110
+ RiskAssessment?: string | undefined;
111
+ AffectedScope?: string | undefined;
112
+ Prerequisites?: string[] | undefined;
113
+ }
114
+ export interface RemediationGuidanceExamples {
115
+ AwsCli?: string | undefined;
116
+ Cli?: string | undefined;
117
+ Python?: string | undefined;
118
+ Terraform?: string | undefined;
119
+ Cdk?: string | undefined;
120
+ CloudFormation?: string | undefined;
121
+ IaC?: string | undefined;
122
+ Template?: string | undefined;
123
+ }
124
+ export interface RemediationGuidanceMetadata {
125
+ ResourceType: string | undefined;
126
+ ExposureType: string | undefined;
127
+ TraitTitles: string[] | undefined;
128
+ Reversibility: string | undefined;
129
+ FixEffect: string | undefined;
130
+ RiskLevel: string | undefined;
131
+ AutomationLevel?: string | undefined;
132
+ HumanReviewRequired?: boolean | undefined;
133
+ GeneratedAt?: Date | undefined;
134
+ VerificationStatus?: string | undefined;
135
+ }
136
+ export interface RemediationParameter {
137
+ Name: string | undefined;
138
+ Type: string | undefined;
139
+ Description: string | undefined;
140
+ Required?: boolean | undefined;
141
+ }
142
+ export interface RemediationStep {
143
+ Phase: string | undefined;
144
+ Description: string | undefined;
145
+ Service: string | undefined;
146
+ Action: string | undefined;
147
+ Logic?: string | undefined;
148
+ Inverse?: string | undefined;
149
+ VerifyAfter?: string | undefined;
150
+ }
151
+ export interface RemediationGuidanceSpecification {
152
+ Parameters?: RemediationParameter[] | undefined;
153
+ Steps?: RemediationStep[] | undefined;
154
+ ExpectedEndState?: string | undefined;
155
+ RequiredPermissions?: string[] | undefined;
156
+ }
157
+ export interface RemediationGuidance {
158
+ TargetTypeName: string | undefined;
159
+ Pattern: string | undefined;
160
+ Version: string | undefined;
161
+ Context: RemediationGuidanceContext | undefined;
162
+ Specification: RemediationGuidanceSpecification | undefined;
163
+ Examples: RemediationGuidanceExamples | undefined;
164
+ Metadata: RemediationGuidanceMetadata | undefined;
165
+ }
87
166
  export interface RemediationOutcome {
88
167
  ResolvedFindingsCount: number | undefined;
89
168
  SeverityReductionFindingsCount: number | undefined;
@@ -323,6 +402,16 @@ export interface ListEnabledProductsForImportResponse {
323
402
  ProductSubscriptions?: string[] | undefined;
324
403
  NextToken?: string | undefined;
325
404
  }
405
+ export interface ListExportJobsV2Request {
406
+ Status?: ExportStatus | undefined;
407
+ DataType?: ExportDataType | undefined;
408
+ MaxResults?: number | undefined;
409
+ NextToken?: string | undefined;
410
+ }
411
+ export interface ListExportJobsV2Response {
412
+ Items: ExportSummary[] | undefined;
413
+ NextToken?: string | undefined;
414
+ }
326
415
  export interface ListExposuresByRemediationV2Request {
327
416
  TargetUid: string | undefined;
328
417
  MaxResults?: number | undefined;
@@ -483,6 +572,9 @@ export interface StartConfigurationPolicyDisassociationRequest {
483
572
  ConfigurationPolicyIdentifier: string | undefined;
484
573
  }
485
574
  export interface StartConfigurationPolicyDisassociationResponse {}
575
+ export interface StartExportJobV2Response {
576
+ ExportJobId: string | undefined;
577
+ }
486
578
  export interface TagResourceRequest {
487
579
  ResourceArn: string | undefined;
488
580
  Tags: Record<string, string> | undefined;
@@ -651,6 +743,11 @@ export declare namespace Criteria {
651
743
  _: (name: string, value: any) => T;
652
744
  }
653
745
  }
746
+ export interface FindingsOutput {
747
+ Format: FindingsExportFormat | undefined;
748
+ Filters?: OcsfFindingFilters | undefined;
749
+ SelectedFields?: FindingsSelectableField[] | undefined;
750
+ }
654
751
  export interface GetFindingsTrendsV2Request {
655
752
  Filters?: FindingsTrendsFilters | undefined;
656
753
  StartTime: Date | undefined;
@@ -697,6 +794,21 @@ export interface CreateAutomationRuleV2Request {
697
794
  Tags?: Record<string, string> | undefined;
698
795
  ClientToken?: string | undefined;
699
796
  }
797
+ export type ExportOutput = ExportOutput.FindingsMember | ExportOutput.$UnknownMember;
798
+ export declare namespace ExportOutput {
799
+ interface FindingsMember {
800
+ Findings: FindingsOutput;
801
+ $unknown?: never;
802
+ }
803
+ interface $UnknownMember {
804
+ Findings?: never;
805
+ $unknown: [string, any];
806
+ }
807
+ interface Visitor<T> {
808
+ Findings: (value: FindingsOutput) => T;
809
+ _: (name: string, value: any) => T;
810
+ }
811
+ }
700
812
  export interface GetAutomationRuleV2Response {
701
813
  RuleArn?: string | undefined;
702
814
  RuleId?: string | undefined;
@@ -718,6 +830,19 @@ export interface UpdateAutomationRuleV2Request {
718
830
  Criteria?: Criteria | undefined;
719
831
  Actions?: AutomationRulesActionV2[] | undefined;
720
832
  }
833
+ export interface GetExportJobV2Response {
834
+ ExportJobId: string | undefined;
835
+ Name?: string | undefined;
836
+ Status: ExportStatus | undefined;
837
+ DataType: ExportDataType | undefined;
838
+ OutputConfiguration?: ExportOutput | undefined;
839
+ Scopes?: ExportScopes | undefined;
840
+ Destination: ExportDestination | undefined;
841
+ FailureCode?: ExportFailureCode | undefined;
842
+ FailureMessage?: string | undefined;
843
+ StartedAt: Date | undefined;
844
+ EndedAt?: Date | undefined;
845
+ }
721
846
  export interface GetFindingStatisticsV2Request {
722
847
  GroupByRules: GroupByRule[] | undefined;
723
848
  Scopes?: FindingScopes | undefined;
@@ -730,3 +855,10 @@ export interface GetResourcesStatisticsV2Request {
730
855
  SortOrder?: SortOrder | undefined;
731
856
  MaxStatisticResults?: number | undefined;
732
857
  }
858
+ export interface StartExportJobV2Request {
859
+ Name?: string | undefined;
860
+ Destination: ExportDestination | undefined;
861
+ OutputConfiguration: ExportOutput | undefined;
862
+ Scopes?: ExportScopes | undefined;
863
+ ClientToken?: string | undefined;
864
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListExportJobsV2CommandInput,
4
+ ListExportJobsV2CommandOutput,
5
+ } from "../commands/ListExportJobsV2Command";
6
+ import { SecurityHubPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListExportJobsV2: (
8
+ config: SecurityHubPaginationConfiguration,
9
+ input: ListExportJobsV2CommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListExportJobsV2CommandOutput>;
@@ -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";
@@ -585,6 +585,8 @@ export declare var BatchUpdateStandardsControlAssociationsRequest$: StaticStruct
585
585
  export declare var BatchUpdateStandardsControlAssociationsResponse$: StaticStructureSchema;
586
586
  export declare var BooleanConfigurationOptions$: StaticStructureSchema;
587
587
  export declare var BooleanFilter$: StaticStructureSchema;
588
+ export declare var CancelExportJobV2Request$: StaticStructureSchema;
589
+ export declare var CancelExportJobV2Response$: StaticStructureSchema;
588
590
  export declare var Cell$: StaticStructureSchema;
589
591
  export declare var CidrBlockAssociation$: StaticStructureSchema;
590
592
  export declare var City$: StaticStructureSchema;
@@ -701,6 +703,8 @@ export declare var EnableSecurityHubV2Request$: StaticStructureSchema;
701
703
  export declare var EnableSecurityHubV2Response$: StaticStructureSchema;
702
704
  export declare var EnumConfigurationOptions$: StaticStructureSchema;
703
705
  export declare var EnumListConfigurationOptions$: StaticStructureSchema;
706
+ export declare var ExportScopes$: StaticStructureSchema;
707
+ export declare var ExportSummary$: StaticStructureSchema;
704
708
  export declare var ExposureFinding$: StaticStructureSchema;
705
709
  export declare var ExternalIntegrationConfiguration$: StaticStructureSchema;
706
710
  export declare var FeatureDetail$: StaticStructureSchema;
@@ -712,6 +716,8 @@ export declare var FindingHistoryUpdateSource$: StaticStructureSchema;
712
716
  export declare var FindingProviderFields$: StaticStructureSchema;
713
717
  export declare var FindingProviderSeverity$: StaticStructureSchema;
714
718
  export declare var FindingScopes$: StaticStructureSchema;
719
+ export declare var FindingsOutput$: StaticStructureSchema;
720
+ export declare var FindingsOutputSummary$: StaticStructureSchema;
715
721
  export declare var FindingsTrendsCompositeFilter$: StaticStructureSchema;
716
722
  export declare var FindingsTrendsFilters$: StaticStructureSchema;
717
723
  export declare var FindingsTrendsStringFilter$: StaticStructureSchema;
@@ -740,6 +746,8 @@ export declare var GetConnectorV2Request$: StaticStructureSchema;
740
746
  export declare var GetConnectorV2Response$: StaticStructureSchema;
741
747
  export declare var GetEnabledStandardsRequest$: StaticStructureSchema;
742
748
  export declare var GetEnabledStandardsResponse$: StaticStructureSchema;
749
+ export declare var GetExportJobV2Request$: StaticStructureSchema;
750
+ export declare var GetExportJobV2Response$: StaticStructureSchema;
743
751
  export declare var GetFindingAggregatorRequest$: StaticStructureSchema;
744
752
  export declare var GetFindingAggregatorResponse$: StaticStructureSchema;
745
753
  export declare var GetFindingHistoryRequest$: StaticStructureSchema;
@@ -814,6 +822,8 @@ export declare var ListConnectorsV2Request$: StaticStructureSchema;
814
822
  export declare var ListConnectorsV2Response$: StaticStructureSchema;
815
823
  export declare var ListEnabledProductsForImportRequest$: StaticStructureSchema;
816
824
  export declare var ListEnabledProductsForImportResponse$: StaticStructureSchema;
825
+ export declare var ListExportJobsV2Request$: StaticStructureSchema;
826
+ export declare var ListExportJobsV2Response$: StaticStructureSchema;
817
827
  export declare var ListExposuresByRemediationV2Request$: StaticStructureSchema;
818
828
  export declare var ListExposuresByRemediationV2Response$: StaticStructureSchema;
819
829
  export declare var ListFindingAggregatorsRequest$: StaticStructureSchema;
@@ -940,6 +950,7 @@ export declare var RuleGroupSourceStatelessRulesDetails$: StaticStructureSchema;
940
950
  export declare var RuleGroupVariables$: StaticStructureSchema;
941
951
  export declare var RuleGroupVariablesIpSetsDetails$: StaticStructureSchema;
942
952
  export declare var RuleGroupVariablesPortSetsDetails$: StaticStructureSchema;
953
+ export declare var S3ExportDestination$: StaticStructureSchema;
943
954
  export declare var SecurityControl$: StaticStructureSchema;
944
955
  export declare var SecurityControlCustomParameter$: StaticStructureSchema;
945
956
  export declare var SecurityControlDefinition$: StaticStructureSchema;
@@ -972,6 +983,8 @@ export declare var StartConfigurationPolicyAssociationRequest$: StaticStructureS
972
983
  export declare var StartConfigurationPolicyAssociationResponse$: StaticStructureSchema;
973
984
  export declare var StartConfigurationPolicyDisassociationRequest$: StaticStructureSchema;
974
985
  export declare var StartConfigurationPolicyDisassociationResponse$: StaticStructureSchema;
986
+ export declare var StartExportJobV2Request$: StaticStructureSchema;
987
+ export declare var StartExportJobV2Response$: StaticStructureSchema;
975
988
  export declare var StatelessCustomActionDefinition$: StaticStructureSchema;
976
989
  export declare var StatelessCustomPublishMetricAction$: StaticStructureSchema;
977
990
  export declare var StatelessCustomPublishMetricActionDimension$: StaticStructureSchema;
@@ -1038,6 +1051,9 @@ export declare var Criteria$: StaticUnionSchema;
1038
1051
  export declare var CspmProviderConfiguration$: StaticUnionSchema;
1039
1052
  export declare var CspmProviderDetail$: StaticUnionSchema;
1040
1053
  export declare var CspmProviderUpdateConfiguration$: StaticUnionSchema;
1054
+ export declare var ExportDestination$: StaticUnionSchema;
1055
+ export declare var ExportOutput$: StaticUnionSchema;
1056
+ export declare var ExportOutputSummary$: StaticUnionSchema;
1041
1057
  export declare var ParameterValue$: StaticUnionSchema;
1042
1058
  export declare var Policy$: StaticUnionSchema;
1043
1059
  export declare var ProviderConfiguration$: StaticUnionSchema;
@@ -1059,6 +1075,7 @@ export declare var BatchUpdateAutomationRules$: StaticOperationSchema;
1059
1075
  export declare var BatchUpdateFindings$: StaticOperationSchema;
1060
1076
  export declare var BatchUpdateFindingsV2$: StaticOperationSchema;
1061
1077
  export declare var BatchUpdateStandardsControlAssociations$: StaticOperationSchema;
1078
+ export declare var CancelExportJobV2$: StaticOperationSchema;
1062
1079
  export declare var CreateActionTarget$: StaticOperationSchema;
1063
1080
  export declare var CreateAggregatorV2$: StaticOperationSchema;
1064
1081
  export declare var CreateAutomationRule$: StaticOperationSchema;
@@ -1111,6 +1128,7 @@ export declare var GetConfigurationPolicyAssociation$: StaticOperationSchema;
1111
1128
  export declare var GetConnector$: StaticOperationSchema;
1112
1129
  export declare var GetConnectorV2$: StaticOperationSchema;
1113
1130
  export declare var GetEnabledStandards$: StaticOperationSchema;
1131
+ export declare var GetExportJobV2$: StaticOperationSchema;
1114
1132
  export declare var GetFindingAggregator$: StaticOperationSchema;
1115
1133
  export declare var GetFindingHistory$: StaticOperationSchema;
1116
1134
  export declare var GetFindings$: StaticOperationSchema;
@@ -1137,6 +1155,7 @@ export declare var ListConfigurationPolicyAssociations$: StaticOperationSchema;
1137
1155
  export declare var ListConnectors$: StaticOperationSchema;
1138
1156
  export declare var ListConnectorsV2$: StaticOperationSchema;
1139
1157
  export declare var ListEnabledProductsForImport$: StaticOperationSchema;
1158
+ export declare var ListExportJobsV2$: StaticOperationSchema;
1140
1159
  export declare var ListExposuresByRemediationV2$: StaticOperationSchema;
1141
1160
  export declare var ListFindingAggregators$: StaticOperationSchema;
1142
1161
  export declare var ListFreeTrialStatusesV2$: StaticOperationSchema;
@@ -1149,6 +1168,7 @@ export declare var ListTagsForResource$: StaticOperationSchema;
1149
1168
  export declare var RegisterConnectorV2$: StaticOperationSchema;
1150
1169
  export declare var StartConfigurationPolicyAssociation$: StaticOperationSchema;
1151
1170
  export declare var StartConfigurationPolicyDisassociation$: StaticOperationSchema;
1171
+ export declare var StartExportJobV2$: StaticOperationSchema;
1152
1172
  export declare var TagResource$: StaticOperationSchema;
1153
1173
  export declare var UntagResource$: StaticOperationSchema;
1154
1174
  export declare var UpdateActionTarget$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityhub",
3
- "version": "3.1147.0",
3
+ "version": "3.1148.0",
4
4
  "description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-securityhub",
6
6
  "license": "Apache-2.0",