@aws-sdk/client-securityhub 3.1150.0 → 3.1152.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 (28) hide show
  1. package/dist-cjs/index.js +103 -58
  2. package/dist-es/models/enums.js +69 -48
  3. package/dist-es/schemas/schemas_0.js +29 -9
  4. package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +110 -3
  5. package/dist-types/commands/GetAutomationRuleV2Command.d.ts +110 -3
  6. package/dist-types/commands/GetExportJobV2Command.d.ts +2 -2
  7. package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +3 -3
  8. package/dist-types/commands/GetFindingsV2Command.d.ts +2 -2
  9. package/dist-types/commands/GetRecommendedPolicyV2Command.d.ts +2 -1
  10. package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +3 -3
  11. package/dist-types/commands/GetResourcesV2Command.d.ts +9 -2
  12. package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
  13. package/dist-types/commands/StartExportJobV2Command.d.ts +2 -2
  14. package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +110 -3
  15. package/dist-types/models/enums.d.ts +117 -80
  16. package/dist-types/models/models_0.d.ts +17 -23
  17. package/dist-types/models/models_1.d.ts +23 -34
  18. package/dist-types/models/models_2.d.ts +116 -141
  19. package/dist-types/models/models_3.d.ts +337 -241
  20. package/dist-types/schemas/schemas_0.d.ts +2 -0
  21. package/dist-types/ts3.4/commands/GetRecommendedPolicyV2Command.d.ts +2 -1
  22. package/dist-types/ts3.4/models/enums.d.ts +76 -52
  23. package/dist-types/ts3.4/models/models_0.d.ts +5 -7
  24. package/dist-types/ts3.4/models/models_1.d.ts +8 -7
  25. package/dist-types/ts3.4/models/models_2.d.ts +32 -46
  26. package/dist-types/ts3.4/models/models_3.d.ts +111 -70
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  28. package/package.json +1 -1
@@ -73,9 +73,18 @@ export declare const AutoEnableStandards: {
73
73
  readonly NONE: "NONE";
74
74
  };
75
75
  export type AutoEnableStandards = (typeof AutoEnableStandards)[keyof typeof AutoEnableStandards];
76
+ export declare const ResourceCriticality: {
77
+ readonly HIGH: "High";
78
+ readonly LOW: "Low";
79
+ readonly MEDIUM: "Medium";
80
+ readonly UNKNOWN: "Unknown";
81
+ readonly VERY_HIGH: "Very High";
82
+ };
83
+ export type ResourceCriticality = (typeof ResourceCriticality)[keyof typeof ResourceCriticality];
76
84
  export declare const AutomationRulesActionTypeV2: {
77
85
  readonly EXTERNAL_INTEGRATION: "EXTERNAL_INTEGRATION";
78
86
  readonly FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE";
87
+ readonly RESOURCE_FIELDS_UPDATE: "RESOURCE_FIELDS_UPDATE";
79
88
  };
80
89
  export type AutomationRulesActionTypeV2 =
81
90
  (typeof AutomationRulesActionTypeV2)[keyof typeof AutomationRulesActionTypeV2];
@@ -406,6 +415,8 @@ export declare const OcsfStringField: {
406
415
  readonly FINDING_INFO_TITLE: "finding_info.title";
407
416
  readonly FINDING_INFO_TYPES: "finding_info.types";
408
417
  readonly FINDING_INFO_UID: "finding_info.uid";
418
+ readonly IMPACT: "impact";
419
+ readonly LIKELIHOOD: "likelihood";
409
420
  readonly MALWARE_NAME: "malware.name";
410
421
  readonly MALWARE_SCAN_INFO_UID: "malware_scan_info.uid";
411
422
  readonly MALWARE_SEVERITY: "malware.severity";
@@ -419,6 +430,7 @@ export declare const OcsfStringField: {
419
430
  readonly RESOURCES_CLOUD_FUNCTION_RUNTIME: "resources.cloud_function.runtime";
420
431
  readonly RESOURCES_CLOUD_FUNCTION_USER_UID: "resources.cloud_function.user.uid";
421
432
  readonly RESOURCES_CLOUD_PARTITION: "resources.cloud_partition";
433
+ readonly RESOURCES_CRITICALITY: "resources.criticality";
422
434
  readonly RESOURCES_DEVICE_ENCRYPTION_DETAILS_KEY_UID: "resources.device.encryption_details.key_uid";
423
435
  readonly RESOURCES_DEVICE_IMAGE_UID: "resources.device.image.uid";
424
436
  readonly RESOURCES_IMAGE_ARCHITECTURE: "resources.image.architecture";
@@ -483,6 +495,59 @@ export declare const ControlFindingGenerator: {
483
495
  };
484
496
  export type ControlFindingGenerator =
485
497
  (typeof ControlFindingGenerator)[keyof typeof ControlFindingGenerator];
498
+ export declare const ResourcesDateField: {
499
+ readonly RESOURCE_CREATION_TIME_DT: "ResourceCreationTime";
500
+ readonly RESOURCE_DETAIL_CAPTURE_TIME_DT: "ResourceDetailCaptureTime";
501
+ };
502
+ export type ResourcesDateField = (typeof ResourcesDateField)[keyof typeof ResourcesDateField];
503
+ export declare const ResourcesMapField: {
504
+ readonly TAG: "ResourceTags";
505
+ };
506
+ export type ResourcesMapField = (typeof ResourcesMapField)[keyof typeof ResourcesMapField];
507
+ export declare const ResourcesNumberField: {
508
+ readonly SELF_HOSTED_AI_AGENT_FRAMEWORK_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIAgentFrameworkResourceCount";
509
+ readonly SELF_HOSTED_AI_AGENT_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIAgentResourceCount";
510
+ readonly SELF_HOSTED_AI_AGENT_TOOLS_AND_IDENTITY_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIAgentToolsAndIdentityResourceCount";
511
+ readonly SELF_HOSTED_AI_DEVELOPMENT_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIDevelopmentResourceCount";
512
+ readonly SELF_HOSTED_AI_EXTERNAL_ENDPOINT_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIExternalEndpointResourceCount";
513
+ readonly SELF_HOSTED_AI_MODEL_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIModelResourceCount";
514
+ readonly SELF_HOSTED_AI_MODEL_SERVING_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIModelServingResourceCount";
515
+ readonly SELF_HOSTED_TOTAL_AI_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedTotalAIResourceCount";
516
+ readonly SEVERITY_CRITICAL: "FindingsSummary.Severities.Critical";
517
+ readonly SEVERITY_FATAL: "FindingsSummary.Severities.Fatal";
518
+ readonly SEVERITY_HIGH: "FindingsSummary.Severities.High";
519
+ readonly SEVERITY_INFORMATIONAL: "FindingsSummary.Severities.Informational";
520
+ readonly SEVERITY_LOW: "FindingsSummary.Severities.Low";
521
+ readonly SEVERITY_MEDIUM: "FindingsSummary.Severities.Medium";
522
+ readonly SEVERITY_OTHER: "FindingsSummary.Severities.Other";
523
+ readonly SEVERITY_UNKNOWN: "FindingsSummary.Severities.Unknown";
524
+ readonly TOTAL_FINDINGS: "FindingsSummary.TotalFindings";
525
+ };
526
+ export type ResourcesNumberField = (typeof ResourcesNumberField)[keyof typeof ResourcesNumberField];
527
+ export declare const ResourcesStringField: {
528
+ readonly ACCOUNT_ID: "AccountId";
529
+ readonly ACCOUNT_NAME: "AccountName";
530
+ readonly CANONICAL_ID: "ResourceInfo.AIDetails.CanonicalId";
531
+ readonly DISCOVERY_TYPE: "DiscoveryType";
532
+ readonly FINDING_TYPE: "FindingsSummary.FindingType";
533
+ readonly HOST_RESOURCE_GUID: "ResourceInfo.AIDetails.HostResourceGuid";
534
+ readonly HOST_RESOURCE_TYPE: "ResourceInfo.AIDetails.HostResourceType";
535
+ readonly PRODUCT_NAME: "FindingsSummary.ProductName";
536
+ readonly REGION: "Region";
537
+ readonly RESOURCE_CATEGORY: "ResourceCategory";
538
+ readonly RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition";
539
+ readonly RESOURCE_CRITICALITY: "ResourceCriticality";
540
+ readonly RESOURCE_GUID: "ResourceGuid";
541
+ readonly RESOURCE_ID: "ResourceId";
542
+ readonly RESOURCE_NAME: "ResourceName";
543
+ readonly RESOURCE_OWNER_ACCOUNT_ID: "ResourceOwnerAccountId";
544
+ readonly RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId";
545
+ readonly RESOURCE_PROVIDER: "ResourceProvider";
546
+ readonly RESOURCE_REGION: "ResourceRegion";
547
+ readonly RESOURCE_SUB_CATEGORY: "ResourceSubCategory";
548
+ readonly RESOURCE_TYPE: "ResourceType";
549
+ };
550
+ export type ResourcesStringField = (typeof ResourcesStringField)[keyof typeof ResourcesStringField];
486
551
  export declare const CspmConnectorStatus: {
487
552
  readonly CONNECTED: "CONNECTED";
488
553
  readonly DEGRADED: "DEGRADED";
@@ -501,6 +566,13 @@ export declare const TicketCreationMode: {
501
566
  readonly DRYRUN: "DRYRUN";
502
567
  };
503
568
  export type TicketCreationMode = (typeof TicketCreationMode)[keyof typeof TicketCreationMode];
569
+ export declare const CriticalitySourceType: {
570
+ readonly AUTOMATION_RULE: "AutomationRule";
571
+ readonly RESOURCE_NAME: "ResourceName";
572
+ readonly TAG_INFERENCE: "TagInference";
573
+ };
574
+ export type CriticalitySourceType =
575
+ (typeof CriticalitySourceType)[keyof typeof CriticalitySourceType];
504
576
  export declare const CspmConnectorProviderName: {
505
577
  readonly AZURE: "AZURE";
506
578
  };
@@ -752,10 +824,13 @@ export declare const GroupByField: {
752
824
  readonly FINDING_INFO_RELATED_EVENTS_TRAITS_CATEGORY: "finding_info.related_events.traits.category";
753
825
  readonly FINDING_INFO_TITLE: "finding_info.title";
754
826
  readonly FINDING_INFO_TYPES: "finding_info.types";
827
+ readonly IMPACT: "impact";
828
+ readonly LIKELIHOOD: "likelihood";
755
829
  readonly METADATA_PRODUCT_NAME: "metadata.product.name";
756
830
  readonly METADATA_PRODUCT_UID: "metadata.product.uid";
757
831
  readonly METADATA_PRODUCT_VENDOR_NAME: "metadata.product.vendor_name";
758
832
  readonly RESOURCES_CLOUD_PARTITION: "resources.cloud_partition";
833
+ readonly RESOURCES_CRITICALITY: "resources.criticality";
759
834
  readonly RESOURCES_NAME: "resources.name";
760
835
  readonly RESOURCES_OWNER_ACCOUNT_NAME: "resources.owner.account.name";
761
836
  readonly RESOURCES_OWNER_ACCOUNT_UID: "resources.owner.account.uid";
@@ -822,58 +897,6 @@ export declare const RemediationStatus: {
822
897
  readonly UPDATED: "Updated";
823
898
  };
824
899
  export type RemediationStatus = (typeof RemediationStatus)[keyof typeof RemediationStatus];
825
- export declare const ResourcesDateField: {
826
- readonly RESOURCE_CREATION_TIME_DT: "ResourceCreationTime";
827
- readonly RESOURCE_DETAIL_CAPTURE_TIME_DT: "ResourceDetailCaptureTime";
828
- };
829
- export type ResourcesDateField = (typeof ResourcesDateField)[keyof typeof ResourcesDateField];
830
- export declare const ResourcesMapField: {
831
- readonly TAG: "ResourceTags";
832
- };
833
- export type ResourcesMapField = (typeof ResourcesMapField)[keyof typeof ResourcesMapField];
834
- export declare const ResourcesNumberField: {
835
- readonly SELF_HOSTED_AI_AGENT_FRAMEWORK_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIAgentFrameworkResourceCount";
836
- readonly SELF_HOSTED_AI_AGENT_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIAgentResourceCount";
837
- readonly SELF_HOSTED_AI_AGENT_TOOLS_AND_IDENTITY_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIAgentToolsAndIdentityResourceCount";
838
- readonly SELF_HOSTED_AI_DEVELOPMENT_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIDevelopmentResourceCount";
839
- readonly SELF_HOSTED_AI_EXTERNAL_ENDPOINT_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIExternalEndpointResourceCount";
840
- readonly SELF_HOSTED_AI_MODEL_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIModelResourceCount";
841
- readonly SELF_HOSTED_AI_MODEL_SERVING_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIModelServingResourceCount";
842
- readonly SELF_HOSTED_TOTAL_AI_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedTotalAIResourceCount";
843
- readonly SEVERITY_CRITICAL: "FindingsSummary.Severities.Critical";
844
- readonly SEVERITY_FATAL: "FindingsSummary.Severities.Fatal";
845
- readonly SEVERITY_HIGH: "FindingsSummary.Severities.High";
846
- readonly SEVERITY_INFORMATIONAL: "FindingsSummary.Severities.Informational";
847
- readonly SEVERITY_LOW: "FindingsSummary.Severities.Low";
848
- readonly SEVERITY_MEDIUM: "FindingsSummary.Severities.Medium";
849
- readonly SEVERITY_OTHER: "FindingsSummary.Severities.Other";
850
- readonly SEVERITY_UNKNOWN: "FindingsSummary.Severities.Unknown";
851
- readonly TOTAL_FINDINGS: "FindingsSummary.TotalFindings";
852
- };
853
- export type ResourcesNumberField = (typeof ResourcesNumberField)[keyof typeof ResourcesNumberField];
854
- export declare const ResourcesStringField: {
855
- readonly ACCOUNT_ID: "AccountId";
856
- readonly ACCOUNT_NAME: "AccountName";
857
- readonly CANONICAL_ID: "ResourceInfo.AIDetails.CanonicalId";
858
- readonly DISCOVERY_TYPE: "DiscoveryType";
859
- readonly FINDING_TYPE: "FindingsSummary.FindingType";
860
- readonly HOST_RESOURCE_GUID: "ResourceInfo.AIDetails.HostResourceGuid";
861
- readonly HOST_RESOURCE_TYPE: "ResourceInfo.AIDetails.HostResourceType";
862
- readonly PRODUCT_NAME: "FindingsSummary.ProductName";
863
- readonly REGION: "Region";
864
- readonly RESOURCE_CATEGORY: "ResourceCategory";
865
- readonly RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition";
866
- readonly RESOURCE_GUID: "ResourceGuid";
867
- readonly RESOURCE_ID: "ResourceId";
868
- readonly RESOURCE_NAME: "ResourceName";
869
- readonly RESOURCE_OWNER_ACCOUNT_ID: "ResourceOwnerAccountId";
870
- readonly RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId";
871
- readonly RESOURCE_PROVIDER: "ResourceProvider";
872
- readonly RESOURCE_REGION: "ResourceRegion";
873
- readonly RESOURCE_SUB_CATEGORY: "ResourceSubCategory";
874
- readonly RESOURCE_TYPE: "ResourceType";
875
- };
876
- export type ResourcesStringField = (typeof ResourcesStringField)[keyof typeof ResourcesStringField];
877
900
  export declare const ResourceGroupByField: {
878
901
  readonly ACCOUNT_ID: "AccountId";
879
902
  readonly ACCOUNT_NAME: "AccountName";
@@ -884,6 +907,7 @@ export declare const ResourceGroupByField: {
884
907
  readonly REGION: "Region";
885
908
  readonly RESOURCE_CATEGORY: "ResourceCategory";
886
909
  readonly RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition";
910
+ readonly RESOURCE_CRITICALITY: "ResourceCriticality";
887
911
  readonly RESOURCE_NAME: "ResourceName";
888
912
  readonly RESOURCE_OWNER_ACCOUNT_ID: "ResourceOwnerAccountId";
889
913
  readonly RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId";
@@ -10,6 +10,7 @@ import {
10
10
  FreeTrialStatusValue,
11
11
  FreeTrialType,
12
12
  MapFilterComparison,
13
+ ResourceCriticality,
13
14
  RuleStatus,
14
15
  RuleStatusV2,
15
16
  SeverityLabel,
@@ -229,10 +230,14 @@ export interface AutomationRulesFindingFieldsUpdateV2 {
229
230
  Comment?: string | undefined;
230
231
  StatusId?: number | undefined;
231
232
  }
233
+ export interface AutomationRulesResourceFieldsUpdateV2 {
234
+ Criticality: ResourceCriticality | undefined;
235
+ }
232
236
  export interface AutomationRulesActionV2 {
233
237
  Type: AutomationRulesActionTypeV2 | undefined;
234
238
  FindingFieldsUpdate?: AutomationRulesFindingFieldsUpdateV2 | undefined;
235
239
  ExternalIntegrationConfiguration?: ExternalIntegrationConfiguration | undefined;
240
+ ResourceFieldsUpdate?: AutomationRulesResourceFieldsUpdateV2 | undefined;
236
241
  }
237
242
  export interface AutomationRulesActionTypeObjectV2 {
238
243
  Type?: AutomationRulesActionTypeV2 | undefined;
@@ -2065,10 +2070,3 @@ export interface AwsEcsTaskDefinitionProxyConfigurationProxyConfigurationPropert
2065
2070
  Name?: string | undefined;
2066
2071
  Value?: string | undefined;
2067
2072
  }
2068
- export interface AwsEcsTaskDefinitionProxyConfigurationDetails {
2069
- ContainerName?: string | undefined;
2070
- ProxyConfigurationProperties?:
2071
- | AwsEcsTaskDefinitionProxyConfigurationProxyConfigurationPropertiesDetails[]
2072
- | undefined;
2073
- Type?: string | undefined;
2074
- }
@@ -16,9 +16,16 @@ import {
16
16
  AwsEcsTaskDefinitionContainerDefinitionsDetails,
17
17
  AwsEcsTaskDefinitionInferenceAcceleratorsDetails,
18
18
  AwsEcsTaskDefinitionPlacementConstraintsDetails,
19
- AwsEcsTaskDefinitionProxyConfigurationDetails,
19
+ AwsEcsTaskDefinitionProxyConfigurationProxyConfigurationPropertiesDetails,
20
20
  RelatedFinding,
21
21
  } from "./models_0";
22
+ export interface AwsEcsTaskDefinitionProxyConfigurationDetails {
23
+ ContainerName?: string | undefined;
24
+ ProxyConfigurationProperties?:
25
+ | AwsEcsTaskDefinitionProxyConfigurationProxyConfigurationPropertiesDetails[]
26
+ | undefined;
27
+ Type?: string | undefined;
28
+ }
22
29
  export interface AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails {
23
30
  Autoprovision?: boolean | undefined;
24
31
  Driver?: string | undefined;
@@ -1905,9 +1912,3 @@ export interface AwsWafRulePredicateListDetails {
1905
1912
  Negated?: boolean | undefined;
1906
1913
  Type?: string | undefined;
1907
1914
  }
1908
- export interface AwsWafRuleDetails {
1909
- MetricName?: string | undefined;
1910
- Name?: string | undefined;
1911
- PredicateList?: AwsWafRulePredicateListDetails[] | undefined;
1912
- RuleId?: string | undefined;
1913
- }
@@ -11,6 +11,7 @@ import {
11
11
  ConnectorStatus,
12
12
  ControlFindingGenerator,
13
13
  ControlStatus,
14
+ CriticalitySourceType,
14
15
  CspmConnectorProviderName,
15
16
  CspmConnectorStatus,
16
17
  CspmEnablementStatus,
@@ -39,10 +40,11 @@ import {
39
40
  OrganizationConfigurationStatus,
40
41
  ParameterValueType,
41
42
  Partition,
42
- RecommendationStatus,
43
- RecommendationType,
44
43
  RecordState,
45
- RemediationStringField,
44
+ ResourcesDateField,
45
+ ResourcesMapField,
46
+ ResourcesNumberField,
47
+ ResourcesStringField,
46
48
  RuleStatus,
47
49
  ScopeType,
48
50
  SecurityControlsProvider,
@@ -176,7 +178,7 @@ import {
176
178
  AwsWafRegionalRuleDetails,
177
179
  AwsWafRegionalRuleGroupDetails,
178
180
  AwsWafRegionalWebAclDetails,
179
- AwsWafRuleDetails,
181
+ AwsWafRulePredicateListDetails,
180
182
  Compliance,
181
183
  DataClassificationDetails,
182
184
  Detection,
@@ -190,6 +192,12 @@ import {
190
192
  ProcessDetails,
191
193
  Remediation,
192
194
  } from "./models_1";
195
+ export interface AwsWafRuleDetails {
196
+ MetricName?: string | undefined;
197
+ Name?: string | undefined;
198
+ PredicateList?: AwsWafRulePredicateListDetails[] | undefined;
199
+ RuleId?: string | undefined;
200
+ }
193
201
  export interface AwsWafRuleGroupRulesActionDetails {
194
202
  Type?: string | undefined;
195
203
  }
@@ -1399,6 +1407,22 @@ export interface CreateAutomationRuleRequest {
1399
1407
  export interface CreateAutomationRuleResponse {
1400
1408
  RuleArn?: string | undefined;
1401
1409
  }
1410
+ export interface ResourcesDateFilter {
1411
+ FieldName?: ResourcesDateField | undefined;
1412
+ Filter?: DateFilter | undefined;
1413
+ }
1414
+ export interface ResourcesMapFilter {
1415
+ FieldName?: ResourcesMapField | undefined;
1416
+ Filter?: MapFilter | undefined;
1417
+ }
1418
+ export interface ResourcesNumberFilter {
1419
+ FieldName?: ResourcesNumberField | undefined;
1420
+ Filter?: NumberFilter | undefined;
1421
+ }
1422
+ export interface ResourcesStringFilter {
1423
+ FieldName?: ResourcesStringField | undefined;
1424
+ Filter?: StringFilter | undefined;
1425
+ }
1402
1426
  export interface CreateAutomationRuleV2Response {
1403
1427
  RuleArn?: string | undefined;
1404
1428
  RuleId?: string | undefined;
@@ -1574,6 +1598,10 @@ export interface CreateTicketV2Response {
1574
1598
  TicketId: string | undefined;
1575
1599
  TicketSrcUrl?: string | undefined;
1576
1600
  }
1601
+ export interface CriticalitySource {
1602
+ Source: CriticalitySourceType | undefined;
1603
+ Reason: string | undefined;
1604
+ }
1577
1605
  export type CspmProviderDetail = CspmProviderDetail.AzureMember | CspmProviderDetail.$UnknownMember;
1578
1606
  export declare namespace CspmProviderDetail {
1579
1607
  interface AzureMember {
@@ -2188,45 +2216,3 @@ export interface RecommendationError {
2188
2216
  Code?: string | undefined;
2189
2217
  Message?: string | undefined;
2190
2218
  }
2191
- export interface UnusedPermissionsRecommendationStep {
2192
- RecommendedAction?: string | undefined;
2193
- ExistingPolicy?: string | undefined;
2194
- ExistingPolicyId?: string | undefined;
2195
- PolicyUpdatedAt?: Date | undefined;
2196
- RecommendedPolicy?: string | undefined;
2197
- }
2198
- export type RecommendationStep =
2199
- | RecommendationStep.UnusedPermissionsMember
2200
- | RecommendationStep.$UnknownMember;
2201
- export declare namespace RecommendationStep {
2202
- interface UnusedPermissionsMember {
2203
- UnusedPermissions: UnusedPermissionsRecommendationStep;
2204
- $unknown?: never;
2205
- }
2206
- interface $UnknownMember {
2207
- UnusedPermissions?: never;
2208
- $unknown: [string, any];
2209
- }
2210
- interface Visitor<T> {
2211
- UnusedPermissions: (value: UnusedPermissionsRecommendationStep) => T;
2212
- _: (name: string, value: any) => T;
2213
- }
2214
- }
2215
- export interface GetRecommendedPolicyV2Response {
2216
- NextToken?: string | undefined;
2217
- RecommendationType?: RecommendationType | undefined;
2218
- RecommendationSteps?: RecommendationStep[] | undefined;
2219
- Error?: RecommendationError | undefined;
2220
- Status?: RecommendationStatus | undefined;
2221
- ResourceArn?: string | undefined;
2222
- }
2223
- export interface RemediationStringFilterCondition {
2224
- Value: string | undefined;
2225
- }
2226
- export interface RemediationStringFilter {
2227
- FieldName: RemediationStringField | undefined;
2228
- Filter: RemediationStringFilterCondition | undefined;
2229
- }
2230
- export interface RemediationCompositeFilter {
2231
- StringFilters?: RemediationStringFilter[] | undefined;
2232
- }
@@ -24,16 +24,16 @@ import {
24
24
  GranularityField,
25
25
  GroupByField,
26
26
  GuidanceFormat,
27
+ RecommendationStatus,
28
+ RecommendationType,
27
29
  RecordState,
28
30
  RegionAvailabilityStatus,
29
31
  RemediationPriority,
30
32
  RemediationStatus,
33
+ RemediationStringField,
31
34
  ResourceCategory,
35
+ ResourceCriticality,
32
36
  ResourceGroupByField,
33
- ResourcesDateField,
34
- ResourcesMapField,
35
- ResourcesNumberField,
36
- ResourcesStringField,
37
37
  ResourcesTrendsStringField,
38
38
  ResourceSubCategory,
39
39
  RuleStatusV2,
@@ -53,10 +53,7 @@ import {
53
53
  AutomationRulesActionV2,
54
54
  AutomationRulesMetadata,
55
55
  AutomationRulesMetadataV2,
56
- DateFilter,
57
- MapFilter,
58
56
  NoteUpdate,
59
- NumberFilter,
60
57
  StringFilter,
61
58
  } from "./models_0";
62
59
  import { AwsOrganizationScope } from "./models_1";
@@ -67,6 +64,7 @@ import {
67
64
  ConfigurationPolicyAssociationSummary,
68
65
  ConfigurationPolicySummary,
69
66
  ConnectorSummary,
67
+ CriticalitySource,
70
68
  CspmConnectorSummary,
71
69
  CspmProviderUpdateConfiguration,
72
70
  ExportDestination,
@@ -88,11 +86,57 @@ import {
88
86
  OrganizationConfiguration,
89
87
  ParameterConfiguration,
90
88
  Policy,
91
- RemediationCompositeFilter,
89
+ RecommendationError,
90
+ ResourcesDateFilter,
91
+ ResourcesMapFilter,
92
+ ResourcesNumberFilter,
93
+ ResourcesStringFilter,
92
94
  Result,
93
95
  SortCriterion,
94
96
  Target,
95
97
  } from "./models_2";
98
+ export interface UnusedPermissionsRecommendationStep {
99
+ RecommendedAction?: string | undefined;
100
+ ExistingPolicy?: string | undefined;
101
+ ExistingPolicyId?: string | undefined;
102
+ PolicyUpdatedAt?: Date | undefined;
103
+ RecommendedPolicy?: string | undefined;
104
+ }
105
+ export type RecommendationStep =
106
+ | RecommendationStep.UnusedPermissionsMember
107
+ | RecommendationStep.$UnknownMember;
108
+ export declare namespace RecommendationStep {
109
+ interface UnusedPermissionsMember {
110
+ UnusedPermissions: UnusedPermissionsRecommendationStep;
111
+ $unknown?: never;
112
+ }
113
+ interface $UnknownMember {
114
+ UnusedPermissions?: never;
115
+ $unknown: [string, any];
116
+ }
117
+ interface Visitor<T> {
118
+ UnusedPermissions: (value: UnusedPermissionsRecommendationStep) => T;
119
+ _: (name: string, value: any) => T;
120
+ }
121
+ }
122
+ export interface GetRecommendedPolicyV2Response {
123
+ NextToken?: string | undefined;
124
+ RecommendationType?: RecommendationType | undefined;
125
+ RecommendationSteps?: RecommendationStep[] | undefined;
126
+ Error?: RecommendationError | undefined;
127
+ Status?: RecommendationStatus | undefined;
128
+ ResourceArn?: string | undefined;
129
+ }
130
+ export interface RemediationStringFilterCondition {
131
+ Value: string | undefined;
132
+ }
133
+ export interface RemediationStringFilter {
134
+ FieldName: RemediationStringField | undefined;
135
+ Filter: RemediationStringFilterCondition | undefined;
136
+ }
137
+ export interface RemediationCompositeFilter {
138
+ StringFilters?: RemediationStringFilter[] | undefined;
139
+ }
96
140
  export interface RemediationFilters {
97
141
  CompositeFilters?: RemediationCompositeFilter[] | undefined;
98
142
  }
@@ -210,22 +254,6 @@ export interface GetRemediationsV2Response {
210
254
  Items: RemediationV2Item[] | undefined;
211
255
  NextToken?: string | undefined;
212
256
  }
213
- export interface ResourcesDateFilter {
214
- FieldName?: ResourcesDateField | undefined;
215
- Filter?: DateFilter | undefined;
216
- }
217
- export interface ResourcesMapFilter {
218
- FieldName?: ResourcesMapField | undefined;
219
- Filter?: MapFilter | undefined;
220
- }
221
- export interface ResourcesNumberFilter {
222
- FieldName?: ResourcesNumberField | undefined;
223
- Filter?: NumberFilter | undefined;
224
- }
225
- export interface ResourcesStringFilter {
226
- FieldName?: ResourcesStringField | undefined;
227
- Filter?: StringFilter | undefined;
228
- }
229
257
  export interface ResourceScopes {
230
258
  AwsOrganizations?: AwsOrganizationScope[] | undefined;
231
259
  }
@@ -296,6 +324,8 @@ export interface ResourceResult {
296
324
  ResourceSubCategory?: ResourceSubCategory | undefined;
297
325
  DiscoveryType?: DiscoveryType | undefined;
298
326
  ResourceInfo?: ResourceInfo | undefined;
327
+ ResourceCriticality?: ResourceCriticality | undefined;
328
+ CriticalitySources?: CriticalitySource[] | undefined;
299
329
  }
300
330
  export interface GetResourcesV2Response {
301
331
  Resources: ResourceResult[] | undefined;
@@ -728,21 +758,6 @@ export interface ResourcesTrendsFilters {
728
758
  CompositeFilters?: ResourcesTrendsCompositeFilter[] | undefined;
729
759
  CompositeOperator?: AllowedOperators | undefined;
730
760
  }
731
- export type Criteria = Criteria.OcsfFindingCriteriaMember | Criteria.$UnknownMember;
732
- export declare namespace Criteria {
733
- interface OcsfFindingCriteriaMember {
734
- OcsfFindingCriteria: OcsfFindingFilters;
735
- $unknown?: never;
736
- }
737
- interface $UnknownMember {
738
- OcsfFindingCriteria?: never;
739
- $unknown: [string, any];
740
- }
741
- interface Visitor<T> {
742
- OcsfFindingCriteria: (value: OcsfFindingFilters) => T;
743
- _: (name: string, value: any) => T;
744
- }
745
- }
746
761
  export interface FindingsOutput {
747
762
  Format: FindingsExportFormat | undefined;
748
763
  Filters?: OcsfFindingFilters | undefined;
@@ -784,16 +799,6 @@ export interface ResourceGroupByRule {
784
799
  GroupByField: ResourceGroupByField | undefined;
785
800
  Filters?: ResourcesFilters | undefined;
786
801
  }
787
- export interface CreateAutomationRuleV2Request {
788
- RuleName: string | undefined;
789
- RuleStatus?: RuleStatusV2 | undefined;
790
- Description: string | undefined;
791
- RuleOrder: number | undefined;
792
- Criteria: Criteria | undefined;
793
- Actions: AutomationRulesActionV2[] | undefined;
794
- Tags?: Record<string, string> | undefined;
795
- ClientToken?: string | undefined;
796
- }
797
802
  export type ExportOutput = ExportOutput.FindingsMember | ExportOutput.$UnknownMember;
798
803
  export declare namespace ExportOutput {
799
804
  interface FindingsMember {
@@ -809,27 +814,6 @@ export declare namespace ExportOutput {
809
814
  _: (name: string, value: any) => T;
810
815
  }
811
816
  }
812
- export interface GetAutomationRuleV2Response {
813
- RuleArn?: string | undefined;
814
- RuleId?: string | undefined;
815
- RuleOrder?: number | undefined;
816
- RuleName?: string | undefined;
817
- RuleStatus?: RuleStatusV2 | undefined;
818
- Description?: string | undefined;
819
- Criteria?: Criteria | undefined;
820
- Actions?: AutomationRulesActionV2[] | undefined;
821
- CreatedAt?: Date | undefined;
822
- UpdatedAt?: Date | undefined;
823
- }
824
- export interface UpdateAutomationRuleV2Request {
825
- Identifier: string | undefined;
826
- RuleStatus?: RuleStatusV2 | undefined;
827
- RuleOrder?: number | undefined;
828
- Description?: string | undefined;
829
- RuleName?: string | undefined;
830
- Criteria?: Criteria | undefined;
831
- Actions?: AutomationRulesActionV2[] | undefined;
832
- }
833
817
  export interface GetExportJobV2Response {
834
818
  ExportJobId: string | undefined;
835
819
  Name?: string | undefined;
@@ -862,3 +846,60 @@ export interface StartExportJobV2Request {
862
846
  Scopes?: ExportScopes | undefined;
863
847
  ClientToken?: string | undefined;
864
848
  }
849
+ export type Criteria =
850
+ | Criteria.OcsfFindingCriteriaMember
851
+ | Criteria.ResourceCriteriaMember
852
+ | Criteria.$UnknownMember;
853
+ export declare namespace Criteria {
854
+ interface OcsfFindingCriteriaMember {
855
+ OcsfFindingCriteria: OcsfFindingFilters;
856
+ ResourceCriteria?: never;
857
+ $unknown?: never;
858
+ }
859
+ interface ResourceCriteriaMember {
860
+ OcsfFindingCriteria?: never;
861
+ ResourceCriteria: ResourcesFilters;
862
+ $unknown?: never;
863
+ }
864
+ interface $UnknownMember {
865
+ OcsfFindingCriteria?: never;
866
+ ResourceCriteria?: never;
867
+ $unknown: [string, any];
868
+ }
869
+ interface Visitor<T> {
870
+ OcsfFindingCriteria: (value: OcsfFindingFilters) => T;
871
+ ResourceCriteria: (value: ResourcesFilters) => T;
872
+ _: (name: string, value: any) => T;
873
+ }
874
+ }
875
+ export interface CreateAutomationRuleV2Request {
876
+ RuleName: string | undefined;
877
+ RuleStatus?: RuleStatusV2 | undefined;
878
+ Description: string | undefined;
879
+ RuleOrder: number | undefined;
880
+ Criteria: Criteria | undefined;
881
+ Actions: AutomationRulesActionV2[] | undefined;
882
+ Tags?: Record<string, string> | undefined;
883
+ ClientToken?: string | undefined;
884
+ }
885
+ export interface GetAutomationRuleV2Response {
886
+ RuleArn?: string | undefined;
887
+ RuleId?: string | undefined;
888
+ RuleOrder?: number | undefined;
889
+ RuleName?: string | undefined;
890
+ RuleStatus?: RuleStatusV2 | undefined;
891
+ Description?: string | undefined;
892
+ Criteria?: Criteria | undefined;
893
+ Actions?: AutomationRulesActionV2[] | undefined;
894
+ CreatedAt?: Date | undefined;
895
+ UpdatedAt?: Date | undefined;
896
+ }
897
+ export interface UpdateAutomationRuleV2Request {
898
+ Identifier: string | undefined;
899
+ RuleStatus?: RuleStatusV2 | undefined;
900
+ RuleOrder?: number | undefined;
901
+ Description?: string | undefined;
902
+ RuleName?: string | undefined;
903
+ Criteria?: Criteria | undefined;
904
+ Actions?: AutomationRulesActionV2[] | undefined;
905
+ }
@@ -54,6 +54,7 @@ export declare var AutomationRulesFindingFieldsUpdateV2$: StaticStructureSchema;
54
54
  export declare var AutomationRulesFindingFilters$: StaticStructureSchema;
55
55
  export declare var AutomationRulesMetadata$: StaticStructureSchema;
56
56
  export declare var AutomationRulesMetadataV2$: StaticStructureSchema;
57
+ export declare var AutomationRulesResourceFieldsUpdateV2$: StaticStructureSchema;
57
58
  export declare var AvailabilityZone$: StaticStructureSchema;
58
59
  export declare var AwsAmazonMqBrokerDetails$: StaticStructureSchema;
59
60
  export declare var AwsAmazonMqBrokerEncryptionOptionsDetails$: StaticStructureSchema;
@@ -625,6 +626,7 @@ export declare var CreateMembersRequest$: StaticStructureSchema;
625
626
  export declare var CreateMembersResponse$: StaticStructureSchema;
626
627
  export declare var CreateTicketV2Request$: StaticStructureSchema;
627
628
  export declare var CreateTicketV2Response$: StaticStructureSchema;
629
+ export declare var CriticalitySource$: StaticStructureSchema;
628
630
  export declare var CspmConnectorSummary$: StaticStructureSchema;
629
631
  export declare var CspmHealthCheck$: StaticStructureSchema;
630
632
  export declare var CspmProviderSummary$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityhub",
3
- "version": "3.1150.0",
3
+ "version": "3.1152.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",