@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.
Files changed (47) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +321 -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/SecurityHubServiceException.js +1 -0
  10. package/dist-es/models/enums.js +129 -0
  11. package/dist-es/models/errors.js +15 -0
  12. package/dist-es/pagination/ListExportJobsV2Paginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/schemas/schemas_0.js +127 -0
  15. package/dist-types/SecurityHub.d.ts +36 -0
  16. package/dist-types/SecurityHubClient.d.ts +6 -2
  17. package/dist-types/commands/CancelExportJobV2Command.d.ts +112 -0
  18. package/dist-types/commands/GetExportJobV2Command.d.ts +380 -0
  19. package/dist-types/commands/GetRemediationsV2Command.d.ts +1 -2
  20. package/dist-types/commands/ListExportJobsV2Command.d.ts +163 -0
  21. package/dist-types/commands/StartExportJobV2Command.d.ts +375 -0
  22. package/dist-types/commands/index.d.ts +4 -0
  23. package/dist-types/models/SecurityHubServiceException.d.ts +1 -0
  24. package/dist-types/models/enums.d.ts +169 -0
  25. package/dist-types/models/errors.d.ts +15 -0
  26. package/dist-types/models/models_2.d.ts +230 -332
  27. package/dist-types/models/models_3.d.ts +544 -2
  28. package/dist-types/pagination/ListExportJobsV2Paginator.d.ts +7 -0
  29. package/dist-types/pagination/index.d.ts +1 -0
  30. package/dist-types/schemas/schemas_0.d.ts +20 -0
  31. package/dist-types/ts3.4/SecurityHub.d.ts +76 -0
  32. package/dist-types/ts3.4/SecurityHubClient.d.ts +24 -0
  33. package/dist-types/ts3.4/commands/CancelExportJobV2Command.d.ts +39 -0
  34. package/dist-types/ts3.4/commands/GetExportJobV2Command.d.ts +39 -0
  35. package/dist-types/ts3.4/commands/GetRemediationsV2Command.d.ts +1 -2
  36. package/dist-types/ts3.4/commands/ListExportJobsV2Command.d.ts +38 -0
  37. package/dist-types/ts3.4/commands/StartExportJobV2Command.d.ts +38 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  39. package/dist-types/ts3.4/models/SecurityHubServiceException.d.ts +1 -0
  40. package/dist-types/ts3.4/models/enums.d.ts +135 -0
  41. package/dist-types/ts3.4/models/errors.d.ts +15 -0
  42. package/dist-types/ts3.4/models/models_2.d.ts +70 -71
  43. package/dist-types/ts3.4/models/models_3.d.ts +133 -1
  44. package/dist-types/ts3.4/pagination/ListExportJobsV2Paginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
  47. package/package.json +4 -4
@@ -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";
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
3
3
  export declare class InternalException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "InternalException";
5
6
  readonly $fault: "server";
6
7
  Message?: string | undefined;
@@ -8,6 +9,7 @@ export declare class InternalException extends __BaseException {
8
9
  constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
9
10
  }
10
11
  export declare class InvalidAccessException extends __BaseException {
12
+ static readonly shapeId: string;
11
13
  readonly name: "InvalidAccessException";
12
14
  readonly $fault: "client";
13
15
  Message?: string | undefined;
@@ -15,6 +17,7 @@ export declare class InvalidAccessException extends __BaseException {
15
17
  constructor(opts: __ExceptionOptionType<InvalidAccessException, __BaseException>);
16
18
  }
17
19
  export declare class InvalidInputException extends __BaseException {
20
+ static readonly shapeId: string;
18
21
  readonly name: "InvalidInputException";
19
22
  readonly $fault: "client";
20
23
  Message?: string | undefined;
@@ -22,6 +25,7 @@ export declare class InvalidInputException extends __BaseException {
22
25
  constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
23
26
  }
24
27
  export declare class LimitExceededException extends __BaseException {
28
+ static readonly shapeId: string;
25
29
  readonly name: "LimitExceededException";
26
30
  readonly $fault: "client";
27
31
  Message?: string | undefined;
@@ -29,6 +33,7 @@ export declare class LimitExceededException extends __BaseException {
29
33
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
30
34
  }
31
35
  export declare class ResourceNotFoundException extends __BaseException {
36
+ static readonly shapeId: string;
32
37
  readonly name: "ResourceNotFoundException";
33
38
  readonly $fault: "client";
34
39
  Message?: string | undefined;
@@ -36,6 +41,7 @@ export declare class ResourceNotFoundException extends __BaseException {
36
41
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
37
42
  }
38
43
  export declare class AccessDeniedException extends __BaseException {
44
+ static readonly shapeId: string;
39
45
  readonly name: "AccessDeniedException";
40
46
  readonly $fault: "client";
41
47
  Message?: string | undefined;
@@ -43,6 +49,7 @@ export declare class AccessDeniedException extends __BaseException {
43
49
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
44
50
  }
45
51
  export declare class ConflictException extends __BaseException {
52
+ static readonly shapeId: string;
46
53
  readonly name: "ConflictException";
47
54
  readonly $fault: "client";
48
55
  Message?: string | undefined;
@@ -50,6 +57,7 @@ export declare class ConflictException extends __BaseException {
50
57
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
51
58
  }
52
59
  export declare class InternalServerException extends __BaseException {
60
+ static readonly shapeId: string;
53
61
  readonly name: "InternalServerException";
54
62
  readonly $fault: "server";
55
63
  Message?: string | undefined;
@@ -57,6 +65,7 @@ export declare class InternalServerException extends __BaseException {
57
65
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
58
66
  }
59
67
  export declare class ThrottlingException extends __BaseException {
68
+ static readonly shapeId: string;
60
69
  readonly name: "ThrottlingException";
61
70
  readonly $fault: "client";
62
71
  Message?: string | undefined;
@@ -64,6 +73,7 @@ export declare class ThrottlingException extends __BaseException {
64
73
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
65
74
  }
66
75
  export declare class ValidationException extends __BaseException {
76
+ static readonly shapeId: string;
67
77
  readonly name: "ValidationException";
68
78
  readonly $fault: "client";
69
79
  Message?: string | undefined;
@@ -71,6 +81,7 @@ export declare class ValidationException extends __BaseException {
71
81
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
72
82
  }
73
83
  export declare class ResourceConflictException extends __BaseException {
84
+ static readonly shapeId: string;
74
85
  readonly name: "ResourceConflictException";
75
86
  readonly $fault: "client";
76
87
  Message?: string | undefined;
@@ -78,6 +89,7 @@ export declare class ResourceConflictException extends __BaseException {
78
89
  constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
79
90
  }
80
91
  export declare class ServiceQuotaExceededException extends __BaseException {
92
+ static readonly shapeId: string;
81
93
  readonly name: "ServiceQuotaExceededException";
82
94
  readonly $fault: "client";
83
95
  Message?: string | undefined;
@@ -85,6 +97,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
85
97
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
86
98
  }
87
99
  export declare class OrganizationalUnitNotFoundException extends __BaseException {
100
+ static readonly shapeId: string;
88
101
  readonly name: "OrganizationalUnitNotFoundException";
89
102
  readonly $fault: "client";
90
103
  Message?: string | undefined;
@@ -92,6 +105,7 @@ export declare class OrganizationalUnitNotFoundException extends __BaseException
92
105
  constructor(opts: __ExceptionOptionType<OrganizationalUnitNotFoundException, __BaseException>);
93
106
  }
94
107
  export declare class OrganizationNotFoundException extends __BaseException {
108
+ static readonly shapeId: string;
95
109
  readonly name: "OrganizationNotFoundException";
96
110
  readonly $fault: "client";
97
111
  Message?: string | undefined;
@@ -99,6 +113,7 @@ export declare class OrganizationNotFoundException extends __BaseException {
99
113
  constructor(opts: __ExceptionOptionType<OrganizationNotFoundException, __BaseException>);
100
114
  }
101
115
  export declare class ResourceInUseException extends __BaseException {
116
+ static readonly shapeId: string;
102
117
  readonly name: "ResourceInUseException";
103
118
  readonly $fault: "client";
104
119
  Message?: string | undefined;
@@ -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";