@aws-sdk/client-securityhub 3.48.0 → 3.49.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 01/28/2022 ([#3263](https://github.com/aws/aws-sdk-js-v3/issues/3263)) ([c207cf4](https://github.com/aws/aws-sdk-js-v3/commit/c207cf4a70ba9ef14dc5b94da7883b0889d64918))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-securityhub
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AwsS3ObjectDetails = exports.AwsS3BucketDetails = exports.AwsS3BucketServerSideEncryptionConfiguration = exports.AwsS3BucketServerSideEncryptionRule = exports.AwsS3BucketServerSideEncryptionByDefault = exports.AwsS3BucketWebsiteConfiguration = exports.AwsS3BucketWebsiteConfigurationRoutingRule = exports.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect = exports.AwsS3BucketWebsiteConfigurationRoutingRuleCondition = exports.AwsS3BucketWebsiteConfigurationRedirectTo = exports.AwsS3BucketNotificationConfiguration = exports.AwsS3BucketNotificationConfigurationDetail = exports.AwsS3BucketNotificationConfigurationFilter = exports.AwsS3BucketNotificationConfigurationS3KeyFilter = exports.AwsS3BucketNotificationConfigurationS3KeyFilterRule = exports.AwsS3BucketNotificationConfigurationS3KeyFilterRuleName = exports.AwsS3BucketLoggingConfiguration = exports.AwsS3BucketBucketVersioningConfiguration = exports.AwsS3BucketBucketLifecycleConfigurationDetails = exports.AwsS3BucketBucketLifecycleConfigurationRulesDetails = exports.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails = exports.AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails = exports.AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails = exports.AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails = exports.AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails = exports.AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails = exports.AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails = exports.AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails = exports.AwsS3AccountPublicAccessBlockDetails = exports.AwsRedshiftClusterDetails = exports.AwsRedshiftClusterVpcSecurityGroup = exports.AwsRedshiftClusterRestoreStatus = exports.AwsRedshiftClusterResizeInfo = exports.AwsRedshiftClusterPendingModifiedValues = exports.AwsRedshiftClusterIamRole = exports.AwsRedshiftClusterHsmStatus = exports.AwsRedshiftClusterEndpoint = exports.AwsRedshiftClusterElasticIpStatus = exports.AwsRedshiftClusterDeferredMaintenanceWindow = exports.AwsRedshiftClusterClusterSnapshotCopyStatus = exports.AwsRedshiftClusterClusterSecurityGroup = exports.AwsRedshiftClusterClusterParameterGroup = exports.AwsRedshiftClusterClusterParameterStatus = exports.AwsRedshiftClusterClusterNode = exports.AwsRdsEventSubscriptionDetails = exports.AwsRdsDbSnapshotDetails = exports.AwsRdsDbInstanceDetails = exports.AwsRdsDbStatusInfo = exports.AwsRdsDbPendingModifiedValues = exports.AwsRdsDbProcessorFeature = void 0;
4
4
  exports.AwsWafWebAclRule = exports.WafOverrideAction = exports.WafExcludedRule = exports.WafAction = exports.AwsWafRegionalRateBasedRuleDetails = exports.AwsWafRegionalRateBasedRuleMatchPredicate = exports.AwsWafRateBasedRuleDetails = exports.AwsWafRateBasedRuleMatchPredicate = exports.AwsSsmPatchComplianceDetails = exports.AwsSsmPatch = exports.AwsSsmComplianceSummary = exports.AwsSqsQueueDetails = exports.AwsSnsTopicDetails = exports.AwsSnsTopicSubscription = exports.DataClassificationDetails = exports.ClassificationResult = exports.ClassificationStatus = exports.SensitiveDataResult = exports.SensitiveDataDetections = exports.CustomDataIdentifiersResult = exports.CustomDataIdentifiersDetections = exports.Occurrences = exports._Record = exports.Page = exports.Range = exports.Cell = exports.Remediation = exports.Recommendation = exports.RecordState = exports.ProcessDetails = exports.PatchSummary = exports.Note = exports.NetworkPathComponent = exports.NetworkHeader = exports.NetworkPathComponentDetails = exports.Network = exports.PortRange = exports.NetworkDirection = exports.Malware = exports.MalwareType = exports.MalwareState = exports.FindingProviderFields = exports.FindingProviderSeverity = exports.SeverityLabel = exports.RelatedFinding = exports.Compliance = exports.StatusReason = exports.ComplianceStatus = exports.AwsSecretsManagerSecretDetails = exports.AwsSecretsManagerSecretRotationRules = void 0;
5
- exports.ControlStatus = exports.BatchUpdateFindingsResponse = exports.BatchUpdateFindingsUnprocessedFinding = exports.BatchUpdateFindingsRequest = exports.WorkflowUpdate = exports.SeverityUpdate = exports.NoteUpdate = exports.BatchImportFindingsResponse = exports.ImportFindingsError = exports.BatchImportFindingsRequest = exports.BatchEnableStandardsResponse = exports.BatchEnableStandardsRequest = exports.StandardsSubscriptionRequest = exports.BatchDisableStandardsResponse = exports.StandardsSubscription = exports.StandardsStatusReason = exports.StatusReasonCode = exports.StandardsStatus = exports.BatchDisableStandardsRequest = exports.AwsSecurityFindingIdentifier = exports.AwsSecurityFindingFilters = exports.MapFilter = exports.MapFilterComparison = exports.IpFilter = exports.KeywordFilter = exports.DateFilter = exports.DateRange = exports.DateRangeUnit = exports.NumberFilter = exports.StringFilter = exports.StringFilterComparison = exports.AwsSecurityFinding = exports.WorkflowState = exports.Workflow = exports.WorkflowStatus = exports.Vulnerability = exports.SoftwarePackage = exports.VulnerabilityVendor = exports.Cvss = exports.VerificationState = exports.ThreatIntelIndicator = exports.ThreatIntelIndicatorType = exports.ThreatIntelIndicatorCategory = exports.Severity = exports.Resource = exports.Partition = exports.ResourceDetails = exports.ContainerDetails = exports.AwsXrayEncryptionConfigDetails = exports.AwsWafWebAclDetails = void 0;
6
- exports.DisassociateMembersResponse = exports.DisassociateMembersRequest = exports.DisassociateFromMasterAccountResponse = exports.DisassociateFromMasterAccountRequest = exports.DisassociateFromAdministratorAccountResponse = exports.DisassociateFromAdministratorAccountRequest = exports.DisableSecurityHubResponse = exports.DisableSecurityHubRequest = exports.DisableOrganizationAdminAccountResponse = exports.DisableOrganizationAdminAccountRequest = exports.DisableImportFindingsForProductResponse = exports.DisableImportFindingsForProductRequest = exports.DescribeStandardsControlsResponse = exports.StandardsControl = exports.SeverityRating = exports.DescribeStandardsControlsRequest = exports.DescribeStandardsResponse = exports.Standard = exports.DescribeStandardsRequest = exports.DescribeProductsResponse = exports.Product = exports.IntegrationType = exports.DescribeProductsRequest = exports.DescribeOrganizationConfigurationResponse = exports.DescribeOrganizationConfigurationRequest = exports.DescribeHubResponse = exports.DescribeHubRequest = exports.DescribeActionTargetsResponse = exports.DescribeActionTargetsRequest = exports.DeleteMembersResponse = exports.DeleteMembersRequest = exports.DeleteInvitationsResponse = exports.DeleteInvitationsRequest = exports.DeleteInsightResponse = exports.DeleteInsightRequest = exports.DeleteFindingAggregatorResponse = exports.DeleteFindingAggregatorRequest = exports.DeleteActionTargetResponse = exports.DeleteActionTargetRequest = exports.DeclineInvitationsResponse = exports.DeclineInvitationsRequest = exports.CreateMembersResponse = exports.Result = exports.CreateMembersRequest = exports.CreateInsightResponse = exports.CreateInsightRequest = exports.CreateFindingAggregatorResponse = exports.CreateFindingAggregatorRequest = exports.CreateActionTargetResponse = exports.CreateActionTargetRequest = void 0;
7
- exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListOrganizationAdminAccountsResponse = exports.ListOrganizationAdminAccountsRequest = exports.ListMembersResponse = exports.ListMembersRequest = exports.ListInvitationsResponse = exports.ListInvitationsRequest = exports.ListFindingAggregatorsResponse = exports.ListFindingAggregatorsRequest = exports.ListEnabledProductsForImportResponse = exports.ListEnabledProductsForImportRequest = exports.InviteMembersResponse = exports.InviteMembersRequest = exports.GetMembersResponse = exports.Member = exports.GetMembersRequest = exports.GetMasterAccountResponse = exports.GetMasterAccountRequest = exports.GetInvitationsCountResponse = exports.GetInvitationsCountRequest = exports.GetInsightsResponse = exports.Insight = exports.GetInsightsRequest = exports.GetInsightResultsResponse = exports.InsightResults = exports.InsightResultValue = exports.GetInsightResultsRequest = exports.GetFindingsResponse = exports.GetFindingsRequest = exports.SortCriterion = exports.SortOrder = exports.GetFindingAggregatorResponse = exports.GetFindingAggregatorRequest = exports.GetEnabledStandardsResponse = exports.GetEnabledStandardsRequest = exports.GetAdministratorAccountResponse = exports.Invitation = exports.GetAdministratorAccountRequest = exports.FindingAggregator = exports.EnableSecurityHubResponse = exports.EnableSecurityHubRequest = exports.EnableOrganizationAdminAccountResponse = exports.EnableOrganizationAdminAccountRequest = exports.EnableImportFindingsForProductResponse = exports.EnableImportFindingsForProductRequest = void 0;
8
- exports.UpdateStandardsControlResponse = exports.UpdateStandardsControlRequest = exports.UpdateSecurityHubConfigurationResponse = exports.UpdateSecurityHubConfigurationRequest = exports.UpdateOrganizationConfigurationResponse = exports.UpdateOrganizationConfigurationRequest = exports.UpdateInsightResponse = exports.UpdateInsightRequest = exports.UpdateFindingsResponse = exports.UpdateFindingsRequest = exports.UpdateFindingAggregatorResponse = exports.UpdateFindingAggregatorRequest = exports.UpdateActionTargetResponse = exports.UpdateActionTargetRequest = void 0;
5
+ exports.BatchUpdateFindingsResponse = exports.BatchUpdateFindingsUnprocessedFinding = exports.BatchUpdateFindingsRequest = exports.WorkflowUpdate = exports.SeverityUpdate = exports.NoteUpdate = exports.BatchImportFindingsResponse = exports.ImportFindingsError = exports.BatchImportFindingsRequest = exports.BatchEnableStandardsResponse = exports.BatchEnableStandardsRequest = exports.StandardsSubscriptionRequest = exports.BatchDisableStandardsResponse = exports.StandardsSubscription = exports.StandardsStatusReason = exports.StatusReasonCode = exports.StandardsStatus = exports.BatchDisableStandardsRequest = exports.AwsSecurityFindingIdentifier = exports.AwsSecurityFindingFilters = exports.BooleanFilter = exports.MapFilter = exports.MapFilterComparison = exports.IpFilter = exports.KeywordFilter = exports.DateFilter = exports.DateRange = exports.DateRangeUnit = exports.NumberFilter = exports.StringFilter = exports.StringFilterComparison = exports.AwsSecurityFinding = exports.WorkflowState = exports.Workflow = exports.WorkflowStatus = exports.Vulnerability = exports.SoftwarePackage = exports.VulnerabilityVendor = exports.Cvss = exports.VerificationState = exports.ThreatIntelIndicator = exports.ThreatIntelIndicatorType = exports.ThreatIntelIndicatorCategory = exports.Severity = exports.Resource = exports.Partition = exports.ResourceDetails = exports.ContainerDetails = exports.AwsXrayEncryptionConfigDetails = exports.AwsWafWebAclDetails = void 0;
6
+ exports.DisassociateMembersRequest = exports.DisassociateFromMasterAccountResponse = exports.DisassociateFromMasterAccountRequest = exports.DisassociateFromAdministratorAccountResponse = exports.DisassociateFromAdministratorAccountRequest = exports.DisableSecurityHubResponse = exports.DisableSecurityHubRequest = exports.DisableOrganizationAdminAccountResponse = exports.DisableOrganizationAdminAccountRequest = exports.DisableImportFindingsForProductResponse = exports.DisableImportFindingsForProductRequest = exports.DescribeStandardsControlsResponse = exports.StandardsControl = exports.SeverityRating = exports.DescribeStandardsControlsRequest = exports.DescribeStandardsResponse = exports.Standard = exports.DescribeStandardsRequest = exports.DescribeProductsResponse = exports.Product = exports.IntegrationType = exports.DescribeProductsRequest = exports.DescribeOrganizationConfigurationResponse = exports.DescribeOrganizationConfigurationRequest = exports.DescribeHubResponse = exports.DescribeHubRequest = exports.DescribeActionTargetsResponse = exports.DescribeActionTargetsRequest = exports.DeleteMembersResponse = exports.DeleteMembersRequest = exports.DeleteInvitationsResponse = exports.DeleteInvitationsRequest = exports.DeleteInsightResponse = exports.DeleteInsightRequest = exports.DeleteFindingAggregatorResponse = exports.DeleteFindingAggregatorRequest = exports.DeleteActionTargetResponse = exports.DeleteActionTargetRequest = exports.DeclineInvitationsResponse = exports.DeclineInvitationsRequest = exports.CreateMembersResponse = exports.Result = exports.CreateMembersRequest = exports.CreateInsightResponse = exports.CreateInsightRequest = exports.CreateFindingAggregatorResponse = exports.CreateFindingAggregatorRequest = exports.CreateActionTargetResponse = exports.CreateActionTargetRequest = exports.ControlStatus = void 0;
7
+ exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListOrganizationAdminAccountsResponse = exports.ListOrganizationAdminAccountsRequest = exports.ListMembersResponse = exports.ListMembersRequest = exports.ListInvitationsResponse = exports.ListInvitationsRequest = exports.ListFindingAggregatorsResponse = exports.ListFindingAggregatorsRequest = exports.ListEnabledProductsForImportResponse = exports.ListEnabledProductsForImportRequest = exports.InviteMembersResponse = exports.InviteMembersRequest = exports.GetMembersResponse = exports.Member = exports.GetMembersRequest = exports.GetMasterAccountResponse = exports.GetMasterAccountRequest = exports.GetInvitationsCountResponse = exports.GetInvitationsCountRequest = exports.GetInsightsResponse = exports.Insight = exports.GetInsightsRequest = exports.GetInsightResultsResponse = exports.InsightResults = exports.InsightResultValue = exports.GetInsightResultsRequest = exports.GetFindingsResponse = exports.GetFindingsRequest = exports.SortCriterion = exports.SortOrder = exports.GetFindingAggregatorResponse = exports.GetFindingAggregatorRequest = exports.GetEnabledStandardsResponse = exports.GetEnabledStandardsRequest = exports.GetAdministratorAccountResponse = exports.Invitation = exports.GetAdministratorAccountRequest = exports.FindingAggregator = exports.EnableSecurityHubResponse = exports.EnableSecurityHubRequest = exports.EnableOrganizationAdminAccountResponse = exports.EnableOrganizationAdminAccountRequest = exports.EnableImportFindingsForProductResponse = exports.EnableImportFindingsForProductRequest = exports.DisassociateMembersResponse = void 0;
8
+ exports.UpdateStandardsControlResponse = exports.UpdateStandardsControlRequest = exports.UpdateSecurityHubConfigurationResponse = exports.UpdateSecurityHubConfigurationRequest = exports.UpdateOrganizationConfigurationResponse = exports.UpdateOrganizationConfigurationRequest = exports.UpdateInsightResponse = exports.UpdateInsightRequest = exports.UpdateFindingsResponse = exports.UpdateFindingsRequest = exports.UpdateFindingAggregatorResponse = exports.UpdateFindingAggregatorRequest = exports.UpdateActionTargetResponse = exports.UpdateActionTargetRequest = exports.UntagResourceResponse = void 0;
9
9
  var AwsRdsDbProcessorFeature;
10
10
  (function (AwsRdsDbProcessorFeature) {
11
11
  AwsRdsDbProcessorFeature.filterSensitiveLog = (obj) => ({
@@ -805,6 +805,12 @@ var MapFilter;
805
805
  ...obj,
806
806
  });
807
807
  })(MapFilter = exports.MapFilter || (exports.MapFilter = {}));
808
+ var BooleanFilter;
809
+ (function (BooleanFilter) {
810
+ BooleanFilter.filterSensitiveLog = (obj) => ({
811
+ ...obj,
812
+ });
813
+ })(BooleanFilter = exports.BooleanFilter || (exports.BooleanFilter = {}));
808
814
  var AwsSecurityFindingFilters;
809
815
  (function (AwsSecurityFindingFilters) {
810
816
  AwsSecurityFindingFilters.filterSensitiveLog = (obj) => ({
@@ -11091,6 +11091,7 @@ const serializeAws_restJson1AwsSecurityFinding = (input, context) => {
11091
11091
  input.Remediation !== null && { Remediation: serializeAws_restJson1Remediation(input.Remediation, context) }),
11092
11092
  ...(input.Resources !== undefined &&
11093
11093
  input.Resources !== null && { Resources: serializeAws_restJson1ResourceList(input.Resources, context) }),
11094
+ ...(input.Sample !== undefined && input.Sample !== null && { Sample: input.Sample }),
11094
11095
  ...(input.SchemaVersion !== undefined && input.SchemaVersion !== null && { SchemaVersion: input.SchemaVersion }),
11095
11096
  ...(input.Severity !== undefined &&
11096
11097
  input.Severity !== null && { Severity: serializeAws_restJson1Severity(input.Severity, context) }),
@@ -11410,6 +11411,8 @@ const serializeAws_restJson1AwsSecurityFindingFilters = (input, context) => {
11410
11411
  input.ResourceType !== null && {
11411
11412
  ResourceType: serializeAws_restJson1StringFilterList(input.ResourceType, context),
11412
11413
  }),
11414
+ ...(input.Sample !== undefined &&
11415
+ input.Sample !== null && { Sample: serializeAws_restJson1BooleanFilterList(input.Sample, context) }),
11413
11416
  ...(input.SeverityLabel !== undefined &&
11414
11417
  input.SeverityLabel !== null && {
11415
11418
  SeverityLabel: serializeAws_restJson1StringFilterList(input.SeverityLabel, context),
@@ -11697,6 +11700,21 @@ const serializeAws_restJson1BatchImportFindingsRequestFindingList = (input, cont
11697
11700
  return serializeAws_restJson1AwsSecurityFinding(entry, context);
11698
11701
  });
11699
11702
  };
11703
+ const serializeAws_restJson1BooleanFilter = (input, context) => {
11704
+ return {
11705
+ ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
11706
+ };
11707
+ };
11708
+ const serializeAws_restJson1BooleanFilterList = (input, context) => {
11709
+ return input
11710
+ .filter((e) => e != null)
11711
+ .map((entry) => {
11712
+ if (entry === null) {
11713
+ return null;
11714
+ }
11715
+ return serializeAws_restJson1BooleanFilter(entry, context);
11716
+ });
11717
+ };
11700
11718
  const serializeAws_restJson1Cell = (input, context) => {
11701
11719
  return {
11702
11720
  ...(input.CellReference !== undefined && input.CellReference !== null && { CellReference: input.CellReference }),
@@ -17867,6 +17885,7 @@ const deserializeAws_restJson1AwsSecurityFinding = (output, context) => {
17867
17885
  Resources: output.Resources !== undefined && output.Resources !== null
17868
17886
  ? deserializeAws_restJson1ResourceList(output.Resources, context)
17869
17887
  : undefined,
17888
+ Sample: smithy_client_1.expectBoolean(output.Sample),
17870
17889
  SchemaVersion: smithy_client_1.expectString(output.SchemaVersion),
17871
17890
  Severity: output.Severity !== undefined && output.Severity !== null
17872
17891
  ? deserializeAws_restJson1Severity(output.Severity, context)
@@ -18130,6 +18149,9 @@ const deserializeAws_restJson1AwsSecurityFindingFilters = (output, context) => {
18130
18149
  ResourceType: output.ResourceType !== undefined && output.ResourceType !== null
18131
18150
  ? deserializeAws_restJson1StringFilterList(output.ResourceType, context)
18132
18151
  : undefined,
18152
+ Sample: output.Sample !== undefined && output.Sample !== null
18153
+ ? deserializeAws_restJson1BooleanFilterList(output.Sample, context)
18154
+ : undefined,
18133
18155
  SeverityLabel: output.SeverityLabel !== undefined && output.SeverityLabel !== null
18134
18156
  ? deserializeAws_restJson1StringFilterList(output.SeverityLabel, context)
18135
18157
  : undefined,
@@ -18399,6 +18421,21 @@ const deserializeAws_restJson1BatchUpdateFindingsUnprocessedFindingsList = (outp
18399
18421
  return deserializeAws_restJson1BatchUpdateFindingsUnprocessedFinding(entry, context);
18400
18422
  });
18401
18423
  };
18424
+ const deserializeAws_restJson1BooleanFilter = (output, context) => {
18425
+ return {
18426
+ Value: smithy_client_1.expectBoolean(output.Value),
18427
+ };
18428
+ };
18429
+ const deserializeAws_restJson1BooleanFilterList = (output, context) => {
18430
+ return (output || [])
18431
+ .filter((e) => e != null)
18432
+ .map((entry) => {
18433
+ if (entry === null) {
18434
+ return null;
18435
+ }
18436
+ return deserializeAws_restJson1BooleanFilter(entry, context);
18437
+ });
18438
+ };
18402
18439
  const deserializeAws_restJson1CategoryList = (output, context) => {
18403
18440
  return (output || [])
18404
18441
  .filter((e) => e != null)
@@ -572,6 +572,10 @@ export var MapFilter;
572
572
  (function (MapFilter) {
573
573
  MapFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
574
574
  })(MapFilter || (MapFilter = {}));
575
+ export var BooleanFilter;
576
+ (function (BooleanFilter) {
577
+ BooleanFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
578
+ })(BooleanFilter || (BooleanFilter = {}));
575
579
  export var AwsSecurityFindingFilters;
576
580
  (function (AwsSecurityFindingFilters) {
577
581
  AwsSecurityFindingFilters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -10203,7 +10203,7 @@ var serializeAws_restJson1AwsSecretsManagerSecretRotationRules = function (input
10203
10203
  input.AutomaticallyAfterDays !== null && { AutomaticallyAfterDays: input.AutomaticallyAfterDays }));
10204
10204
  };
10205
10205
  var serializeAws_restJson1AwsSecurityFinding = function (input, context) {
10206
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Action !== undefined &&
10206
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Action !== undefined &&
10207
10207
  input.Action !== null && { Action: serializeAws_restJson1Action(input.Action, context) })), (input.AwsAccountId !== undefined && input.AwsAccountId !== null && { AwsAccountId: input.AwsAccountId })), (input.CompanyName !== undefined && input.CompanyName !== null && { CompanyName: input.CompanyName })), (input.Compliance !== undefined &&
10208
10208
  input.Compliance !== null && { Compliance: serializeAws_restJson1Compliance(input.Compliance, context) })), (input.Confidence !== undefined && input.Confidence !== null && { Confidence: input.Confidence })), (input.CreatedAt !== undefined && input.CreatedAt !== null && { CreatedAt: input.CreatedAt })), (input.Criticality !== undefined && input.Criticality !== null && { Criticality: input.Criticality })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.FindingProviderFields !== undefined &&
10209
10209
  input.FindingProviderFields !== null && {
@@ -10221,7 +10221,7 @@ var serializeAws_restJson1AwsSecurityFinding = function (input, context) {
10221
10221
  RelatedFindings: serializeAws_restJson1RelatedFindingList(input.RelatedFindings, context),
10222
10222
  })), (input.Remediation !== undefined &&
10223
10223
  input.Remediation !== null && { Remediation: serializeAws_restJson1Remediation(input.Remediation, context) })), (input.Resources !== undefined &&
10224
- input.Resources !== null && { Resources: serializeAws_restJson1ResourceList(input.Resources, context) })), (input.SchemaVersion !== undefined && input.SchemaVersion !== null && { SchemaVersion: input.SchemaVersion })), (input.Severity !== undefined &&
10224
+ input.Resources !== null && { Resources: serializeAws_restJson1ResourceList(input.Resources, context) })), (input.Sample !== undefined && input.Sample !== null && { Sample: input.Sample })), (input.SchemaVersion !== undefined && input.SchemaVersion !== null && { SchemaVersion: input.SchemaVersion })), (input.Severity !== undefined &&
10225
10225
  input.Severity !== null && { Severity: serializeAws_restJson1Severity(input.Severity, context) })), (input.SourceUrl !== undefined && input.SourceUrl !== null && { SourceUrl: input.SourceUrl })), (input.ThreatIntelIndicators !== undefined &&
10226
10226
  input.ThreatIntelIndicators !== null && {
10227
10227
  ThreatIntelIndicators: serializeAws_restJson1ThreatIntelIndicatorList(input.ThreatIntelIndicators, context),
@@ -10237,7 +10237,7 @@ var serializeAws_restJson1AwsSecurityFinding = function (input, context) {
10237
10237
  input.Workflow !== null && { Workflow: serializeAws_restJson1Workflow(input.Workflow, context) })), (input.WorkflowState !== undefined && input.WorkflowState !== null && { WorkflowState: input.WorkflowState }));
10238
10238
  };
10239
10239
  var serializeAws_restJson1AwsSecurityFindingFilters = function (input, context) {
10240
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AwsAccountId !== undefined &&
10240
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AwsAccountId !== undefined &&
10241
10241
  input.AwsAccountId !== null && {
10242
10242
  AwsAccountId: serializeAws_restJson1StringFilterList(input.AwsAccountId, context),
10243
10243
  })), (input.CompanyName !== undefined &&
@@ -10450,7 +10450,8 @@ var serializeAws_restJson1AwsSecurityFindingFilters = function (input, context)
10450
10450
  })), (input.ResourceType !== undefined &&
10451
10451
  input.ResourceType !== null && {
10452
10452
  ResourceType: serializeAws_restJson1StringFilterList(input.ResourceType, context),
10453
- })), (input.SeverityLabel !== undefined &&
10453
+ })), (input.Sample !== undefined &&
10454
+ input.Sample !== null && { Sample: serializeAws_restJson1BooleanFilterList(input.Sample, context) })), (input.SeverityLabel !== undefined &&
10454
10455
  input.SeverityLabel !== null && {
10455
10456
  SeverityLabel: serializeAws_restJson1StringFilterList(input.SeverityLabel, context),
10456
10457
  })), (input.SeverityNormalized !== undefined &&
@@ -10643,6 +10644,19 @@ var serializeAws_restJson1BatchImportFindingsRequestFindingList = function (inpu
10643
10644
  return serializeAws_restJson1AwsSecurityFinding(entry, context);
10644
10645
  });
10645
10646
  };
10647
+ var serializeAws_restJson1BooleanFilter = function (input, context) {
10648
+ return __assign({}, (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
10649
+ };
10650
+ var serializeAws_restJson1BooleanFilterList = function (input, context) {
10651
+ return input
10652
+ .filter(function (e) { return e != null; })
10653
+ .map(function (entry) {
10654
+ if (entry === null) {
10655
+ return null;
10656
+ }
10657
+ return serializeAws_restJson1BooleanFilter(entry, context);
10658
+ });
10659
+ };
10646
10660
  var serializeAws_restJson1Cell = function (input, context) {
10647
10661
  return __assign(__assign(__assign(__assign({}, (input.CellReference !== undefined && input.CellReference !== null && { CellReference: input.CellReference })), (input.Column !== undefined && input.Column !== null && { Column: input.Column })), (input.ColumnName !== undefined && input.ColumnName !== null && { ColumnName: input.ColumnName })), (input.Row !== undefined && input.Row !== null && { Row: input.Row }));
10648
10662
  };
@@ -16385,6 +16399,7 @@ var deserializeAws_restJson1AwsSecurityFinding = function (output, context) {
16385
16399
  Resources: output.Resources !== undefined && output.Resources !== null
16386
16400
  ? deserializeAws_restJson1ResourceList(output.Resources, context)
16387
16401
  : undefined,
16402
+ Sample: __expectBoolean(output.Sample),
16388
16403
  SchemaVersion: __expectString(output.SchemaVersion),
16389
16404
  Severity: output.Severity !== undefined && output.Severity !== null
16390
16405
  ? deserializeAws_restJson1Severity(output.Severity, context)
@@ -16648,6 +16663,9 @@ var deserializeAws_restJson1AwsSecurityFindingFilters = function (output, contex
16648
16663
  ResourceType: output.ResourceType !== undefined && output.ResourceType !== null
16649
16664
  ? deserializeAws_restJson1StringFilterList(output.ResourceType, context)
16650
16665
  : undefined,
16666
+ Sample: output.Sample !== undefined && output.Sample !== null
16667
+ ? deserializeAws_restJson1BooleanFilterList(output.Sample, context)
16668
+ : undefined,
16651
16669
  SeverityLabel: output.SeverityLabel !== undefined && output.SeverityLabel !== null
16652
16670
  ? deserializeAws_restJson1StringFilterList(output.SeverityLabel, context)
16653
16671
  : undefined,
@@ -16917,6 +16935,21 @@ var deserializeAws_restJson1BatchUpdateFindingsUnprocessedFindingsList = functio
16917
16935
  return deserializeAws_restJson1BatchUpdateFindingsUnprocessedFinding(entry, context);
16918
16936
  });
16919
16937
  };
16938
+ var deserializeAws_restJson1BooleanFilter = function (output, context) {
16939
+ return {
16940
+ Value: __expectBoolean(output.Value),
16941
+ };
16942
+ };
16943
+ var deserializeAws_restJson1BooleanFilterList = function (output, context) {
16944
+ return (output || [])
16945
+ .filter(function (e) { return e != null; })
16946
+ .map(function (entry) {
16947
+ if (entry === null) {
16948
+ return null;
16949
+ }
16950
+ return deserializeAws_restJson1BooleanFilter(entry, context);
16951
+ });
16952
+ };
16920
16953
  var deserializeAws_restJson1CategoryList = function (output, context) {
16921
16954
  return (output || [])
16922
16955
  .filter(function (e) { return e != null; })
@@ -4307,6 +4307,10 @@ export interface AwsSecurityFinding {
4307
4307
  * <p>In a <code>BatchImportFindings</code> request, finding providers use <code>FindingProviderFields</code> to provide and update their own values for confidence, criticality, related findings, severity, and types.</p>
4308
4308
  */
4309
4309
  FindingProviderFields?: FindingProviderFields;
4310
+ /**
4311
+ * <p>Indicates whether the finding is a sample finding.</p>
4312
+ */
4313
+ Sample?: boolean;
4310
4314
  }
4311
4315
  export declare namespace AwsSecurityFinding {
4312
4316
  /**
@@ -4569,6 +4573,21 @@ export declare namespace MapFilter {
4569
4573
  */
4570
4574
  const filterSensitiveLog: (obj: MapFilter) => any;
4571
4575
  }
4576
+ /**
4577
+ * <p>Boolean filter for querying findings.</p>
4578
+ */
4579
+ export interface BooleanFilter {
4580
+ /**
4581
+ * <p>The value of the boolean.</p>
4582
+ */
4583
+ Value?: boolean;
4584
+ }
4585
+ export declare namespace BooleanFilter {
4586
+ /**
4587
+ * @internal
4588
+ */
4589
+ const filterSensitiveLog: (obj: BooleanFilter) => any;
4590
+ }
4572
4591
  /**
4573
4592
  * <p>A collection of attributes that are applied to all active Security Hub-aggregated findings and
4574
4593
  * that result in a subset of findings that are included in this insight.</p>
@@ -5066,6 +5085,10 @@ export interface AwsSecurityFindingFilters {
5066
5085
  * Behaviors | Sensitive Data Identifications</p>
5067
5086
  */
5068
5087
  FindingProviderFieldsTypes?: StringFilter[];
5088
+ /**
5089
+ * <p>Indicates whether or not sample findings are included in the filter results.</p>
5090
+ */
5091
+ Sample?: BooleanFilter[];
5069
5092
  }
5070
5093
  export declare namespace AwsSecurityFindingFilters {
5071
5094
  /**
@@ -2063,6 +2063,8 @@ export interface AwsSecurityFinding {
2063
2063
  Action?: Action;
2064
2064
 
2065
2065
  FindingProviderFields?: FindingProviderFields;
2066
+
2067
+ Sample?: boolean;
2066
2068
  }
2067
2069
  export declare namespace AwsSecurityFinding {
2068
2070
 
@@ -2161,6 +2163,15 @@ export declare namespace MapFilter {
2161
2163
  const filterSensitiveLog: (obj: MapFilter) => any;
2162
2164
  }
2163
2165
 
2166
+ export interface BooleanFilter {
2167
+
2168
+ Value?: boolean;
2169
+ }
2170
+ export declare namespace BooleanFilter {
2171
+
2172
+ const filterSensitiveLog: (obj: BooleanFilter) => any;
2173
+ }
2174
+
2164
2175
  export interface AwsSecurityFindingFilters {
2165
2176
 
2166
2177
  ProductArn?: StringFilter[];
@@ -2350,6 +2361,8 @@ export interface AwsSecurityFindingFilters {
2350
2361
  FindingProviderFieldsSeverityOriginal?: StringFilter[];
2351
2362
 
2352
2363
  FindingProviderFieldsTypes?: StringFilter[];
2364
+
2365
+ Sample?: BooleanFilter[];
2353
2366
  }
2354
2367
  export declare namespace AwsSecurityFindingFilters {
2355
2368
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityhub",
3
3
  "description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
4
- "version": "3.48.0",
4
+ "version": "3.49.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,41 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.48.0",
22
- "@aws-sdk/config-resolver": "3.47.2",
23
- "@aws-sdk/credential-provider-node": "3.48.0",
24
- "@aws-sdk/fetch-http-handler": "3.47.2",
25
- "@aws-sdk/hash-node": "3.47.2",
26
- "@aws-sdk/invalid-dependency": "3.47.2",
27
- "@aws-sdk/middleware-content-length": "3.47.2",
28
- "@aws-sdk/middleware-host-header": "3.47.2",
29
- "@aws-sdk/middleware-logger": "3.47.2",
30
- "@aws-sdk/middleware-retry": "3.47.2",
31
- "@aws-sdk/middleware-serde": "3.47.2",
32
- "@aws-sdk/middleware-signing": "3.47.2",
33
- "@aws-sdk/middleware-stack": "3.47.2",
34
- "@aws-sdk/middleware-user-agent": "3.47.2",
35
- "@aws-sdk/node-config-provider": "3.47.2",
36
- "@aws-sdk/node-http-handler": "3.47.2",
37
- "@aws-sdk/protocol-http": "3.47.2",
38
- "@aws-sdk/smithy-client": "3.47.2",
39
- "@aws-sdk/types": "3.47.1",
40
- "@aws-sdk/url-parser": "3.47.2",
41
- "@aws-sdk/util-base64-browser": "3.47.1",
42
- "@aws-sdk/util-base64-node": "3.47.2",
43
- "@aws-sdk/util-body-length-browser": "3.47.1",
44
- "@aws-sdk/util-body-length-node": "3.47.1",
45
- "@aws-sdk/util-defaults-mode-browser": "3.47.2",
46
- "@aws-sdk/util-defaults-mode-node": "3.47.2",
47
- "@aws-sdk/util-user-agent-browser": "3.47.2",
48
- "@aws-sdk/util-user-agent-node": "3.47.2",
49
- "@aws-sdk/util-utf8-browser": "3.47.1",
50
- "@aws-sdk/util-utf8-node": "3.47.2",
21
+ "@aws-sdk/client-sts": "3.49.0",
22
+ "@aws-sdk/config-resolver": "3.49.0",
23
+ "@aws-sdk/credential-provider-node": "3.49.0",
24
+ "@aws-sdk/fetch-http-handler": "3.49.0",
25
+ "@aws-sdk/hash-node": "3.49.0",
26
+ "@aws-sdk/invalid-dependency": "3.49.0",
27
+ "@aws-sdk/middleware-content-length": "3.49.0",
28
+ "@aws-sdk/middleware-host-header": "3.49.0",
29
+ "@aws-sdk/middleware-logger": "3.49.0",
30
+ "@aws-sdk/middleware-retry": "3.49.0",
31
+ "@aws-sdk/middleware-serde": "3.49.0",
32
+ "@aws-sdk/middleware-signing": "3.49.0",
33
+ "@aws-sdk/middleware-stack": "3.49.0",
34
+ "@aws-sdk/middleware-user-agent": "3.49.0",
35
+ "@aws-sdk/node-config-provider": "3.49.0",
36
+ "@aws-sdk/node-http-handler": "3.49.0",
37
+ "@aws-sdk/protocol-http": "3.49.0",
38
+ "@aws-sdk/smithy-client": "3.49.0",
39
+ "@aws-sdk/types": "3.49.0",
40
+ "@aws-sdk/url-parser": "3.49.0",
41
+ "@aws-sdk/util-base64-browser": "3.49.0",
42
+ "@aws-sdk/util-base64-node": "3.49.0",
43
+ "@aws-sdk/util-body-length-browser": "3.49.0",
44
+ "@aws-sdk/util-body-length-node": "3.49.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.49.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.49.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.49.0",
48
+ "@aws-sdk/util-user-agent-node": "3.49.0",
49
+ "@aws-sdk/util-utf8-browser": "3.49.0",
50
+ "@aws-sdk/util-utf8-node": "3.49.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.47.1",
55
- "@types/node": "^12.7.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.49.0",
55
+ "@tsconfig/recommended": "1.0.1",
56
+ "@types/node": "^12.7.5",
57
+ "concurrently": "7.0.0",
58
+ "downlevel-dts": "0.7.0",
59
+ "rimraf": "3.0.2",
60
+ "typedoc": "0.19.2",
61
+ "typescript": "~4.3.5"
56
62
  },
57
63
  "engines": {
58
64
  "node": ">=12.0.0"