@aws-sdk/client-securityhub 3.1086.0 → 3.1087.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.
@@ -1,6 +1,134 @@
1
- import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, EnablementStatus, GroupByField, RecordState, RegionAvailabilityStatus, ResourceGroupByField, RuleStatusV2, SecurityControlProperty, SecurityControlsProvider, SecurityHubFeature, SeverityRating, SortOrder, TargetType } from "./enums";
1
+ import type { DocumentType as __DocumentType } from "@smithy/types";
2
+ import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, DiscoveryType, EnablementStatus, GroupByField, RecordState, RegionAvailabilityStatus, ResourceCategory, ResourceGroupByField, ResourceSubCategory, RuleStatusV2, SecurityControlProperty, SecurityControlsProvider, SecurityHubFeature, SeverityRating, SortOrder, TargetType } from "./enums";
2
3
  import type { AdminAccount, AggregatorV2, AssociationFilters, AutomationRulesActionV2, AutomationRulesMetadata, AutomationRulesMetadataV2, NoteUpdate } from "./models_0";
3
- import type { AwsSecurityFindingFilters, AzureUpdateConfiguration, ConfigurationOptions, ConfigurationPolicyAssociationSummary, ConfigurationPolicySummary, ConnectorSummary, CspmConnectorSummary, CspmProviderUpdateConfiguration, FindingAggregator, FindingScopes, FindingsTrendsStringFilter, Invitation, Member, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, ResourceScopes, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, ResourcesTrendsStringFilter, Result, SortCriterion, Target } from "./models_2";
4
+ import type { AwsSecurityFindingFilters, AzureUpdateConfiguration, ConfigurationOptions, ConfigurationPolicyAssociationSummary, ConfigurationPolicySummary, ConnectorSummary, CspmConnectorSummary, CspmProviderUpdateConfiguration, FindingAggregator, FindingScopes, FindingsTrendsStringFilter, Invitation, Member, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, ResourceFindingsSummary, ResourceInfo, ResourceScopes, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, ResourcesTrendsStringFilter, ResourceTag, Result, SortCriterion, Target } from "./models_2";
5
+ /**
6
+ * <p>Provides comprehensive details about an Amazon Web Services resource and its associated security findings.</p>
7
+ * @public
8
+ */
9
+ export interface ResourceResult {
10
+ /**
11
+ * <p>The global identifier used to identify a resource.</p>
12
+ * @public
13
+ */
14
+ ResourceGuid?: string | undefined;
15
+ /**
16
+ * <p>The unique identifier for a resource.</p>
17
+ * @public
18
+ */
19
+ ResourceId: string | undefined;
20
+ /**
21
+ * <p>The Amazon Web Services account that recorded the resource data in Security Hub.</p>
22
+ * @public
23
+ */
24
+ AccountId: string | undefined;
25
+ /**
26
+ * <p>The name of the Amazon Web Services account that's associated with the resource.</p>
27
+ * @public
28
+ */
29
+ AccountName?: string | undefined;
30
+ /**
31
+ * <p>The Amazon Web Services Region that recorded the resource data in Security Hub.</p>
32
+ * @public
33
+ */
34
+ Region: string | undefined;
35
+ /**
36
+ * <p>The cloud provider where the resource exists. Valid values are <code>AWS</code> and <code>Azure</code>. This field is always included.</p>
37
+ * @public
38
+ */
39
+ ResourceProvider?: string | undefined;
40
+ /**
41
+ * <p>The identifier of the cloud account that owns the resource. For Amazon Web Services resources, this is the Amazon Web Services account ID. For Azure resources, this is the Azure subscription ID.</p>
42
+ * @public
43
+ */
44
+ ResourceOwnerAccountId?: string | undefined;
45
+ /**
46
+ * <p>The identifier of the cloud organization that owns the resource. For Amazon Web Services resources, this is the Organizations ID. For Azure resources, this is the Azure tenant ID.</p>
47
+ * @public
48
+ */
49
+ ResourceOwnerOrgId?: string | undefined;
50
+ /**
51
+ * <p>The cloud partition where the resource exists. For Amazon Web Services, valid values include <code>aws</code>, <code>aws-cn</code>, and <code>aws-us-gov</code>. This field isn't returned for cloud providers that don't use partitions.</p>
52
+ * @public
53
+ */
54
+ ResourceCloudPartition?: string | undefined;
55
+ /**
56
+ * <p>The native cloud region where the resource is located. For Amazon Web Services, this is an Amazon Web Services Region (for example, <code>us-east-1</code>). For Azure resources, this is the Azure region (for example, <code>westus2</code>). This field is always included.</p>
57
+ * @public
58
+ */
59
+ ResourceRegion?: string | undefined;
60
+ /**
61
+ * <p>The grouping where the resource belongs.</p>
62
+ * @public
63
+ */
64
+ ResourceCategory?: ResourceCategory | undefined;
65
+ /**
66
+ * <p>The type of resource.</p>
67
+ * @public
68
+ */
69
+ ResourceType: string | undefined;
70
+ /**
71
+ * <p>The name of the resource.</p>
72
+ * @public
73
+ */
74
+ ResourceName?: string | undefined;
75
+ /**
76
+ * <p>The time when the resource was created.</p>
77
+ * @public
78
+ */
79
+ ResourceCreationTimeDt?: string | undefined;
80
+ /**
81
+ * <p>The timestamp when information about the resource was captured.</p>
82
+ * @public
83
+ */
84
+ ResourceDetailCaptureTimeDt: string | undefined;
85
+ /**
86
+ * <p>An aggregated view of security findings associated with a resource.</p>
87
+ * @public
88
+ */
89
+ FindingsSummary?: ResourceFindingsSummary[] | undefined;
90
+ /**
91
+ * <p>The key-value pairs associated with a resource.</p>
92
+ * @public
93
+ */
94
+ ResourceTags?: ResourceTag[] | undefined;
95
+ /**
96
+ * <p>The configuration details of a resource.</p>
97
+ * @public
98
+ */
99
+ ResourceConfig: __DocumentType | undefined;
100
+ /**
101
+ * <p>The AI/ML sub-grouping of the resource. Present only when <code>ResourceCategory</code> is <code>AI/ML</code>.</p>
102
+ * @public
103
+ */
104
+ ResourceSubCategory?: ResourceSubCategory | undefined;
105
+ /**
106
+ * <p>Specifies how the resource was discovered. If the value is <code>Managed</code>, the resource is natively provided by a cloud service provider. If the value is <code>SelfHosted</code>, the resource is hosted on customer-managed infrastructure, such as a compute instance or container image.</p>
107
+ * @public
108
+ */
109
+ DiscoveryType?: DiscoveryType | undefined;
110
+ /**
111
+ * <p>Additional resource-type-specific details. For self-hosted AI resources and their host resources, contains an <code>AIDetails</code> structure.</p>
112
+ * @public
113
+ */
114
+ ResourceInfo?: ResourceInfo | undefined;
115
+ }
116
+ /**
117
+ * @public
118
+ */
119
+ export interface GetResourcesV2Response {
120
+ /**
121
+ * <p>An array of resources returned by the operation.</p>
122
+ * @public
123
+ */
124
+ Resources: ResourceResult[] | undefined;
125
+ /**
126
+ * <p>The pagination token to use to request the next page of results.
127
+ * Otherwise, this parameter is null.</p>
128
+ * @public
129
+ */
130
+ NextToken?: string | undefined;
131
+ }
4
132
  /**
5
133
  * @public
6
134
  */
@@ -39,6 +39,7 @@ export declare var ActorUser$: StaticStructureSchema;
39
39
  export declare var Adjustment$: StaticStructureSchema;
40
40
  export declare var AdminAccount$: StaticStructureSchema;
41
41
  export declare var AggregatorV2$: StaticStructureSchema;
42
+ export declare var AIDetails$: StaticStructureSchema;
42
43
  export declare var AssociatedStandard$: StaticStructureSchema;
43
44
  export declare var AssociationFilters$: StaticStructureSchema;
44
45
  export declare var AssociationSetDetails$: StaticStructureSchema;
@@ -872,6 +873,7 @@ export declare var Resource$: StaticStructureSchema;
872
873
  export declare var ResourceDetails$: StaticStructureSchema;
873
874
  export declare var ResourceFindingsSummary$: StaticStructureSchema;
874
875
  export declare var ResourceGroupByRule$: StaticStructureSchema;
876
+ export declare var ResourceInfo$: StaticStructureSchema;
875
877
  export declare var ResourceOwner$: StaticStructureSchema;
876
878
  export declare var ResourceOwnerAccount$: StaticStructureSchema;
877
879
  export declare var ResourceOwnerOrg$: StaticStructureSchema;
@@ -1,6 +1,8 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetResourcesV2Response } from "../models/models_2";
3
- import { GetResourcesV2Request } from "../models/models_3";
2
+ import {
3
+ GetResourcesV2Request,
4
+ GetResourcesV2Response,
5
+ } from "../models/models_3";
4
6
  export { __MetadataBearer };
5
7
  export interface GetResourcesV2CommandInput extends GetResourcesV2Request {}
6
8
  export interface GetResourcesV2CommandOutput
@@ -575,6 +575,11 @@ export declare const FeatureName: {
575
575
  readonly NETWORK_SCANNING: "NETWORK_SCANNING";
576
576
  };
577
577
  export type FeatureName = (typeof FeatureName)[keyof typeof FeatureName];
578
+ export declare const DiscoveryType: {
579
+ readonly MANAGED: "Managed";
580
+ readonly SELF_HOSTED: "SelfHosted";
581
+ };
582
+ export type DiscoveryType = (typeof DiscoveryType)[keyof typeof DiscoveryType];
578
583
  export declare const FindingHistoryUpdateSourceType: {
579
584
  readonly BATCH_IMPORT_FINDINGS: "BATCH_IMPORT_FINDINGS";
580
585
  readonly BATCH_UPDATE_FINDINGS: "BATCH_UPDATE_FINDINGS";
@@ -669,6 +674,14 @@ export declare const ResourcesMapField: {
669
674
  export type ResourcesMapField =
670
675
  (typeof ResourcesMapField)[keyof typeof ResourcesMapField];
671
676
  export declare const ResourcesNumberField: {
677
+ readonly SELF_HOSTED_AI_AGENT_FRAMEWORK_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIAgentFrameworkResourceCount";
678
+ readonly SELF_HOSTED_AI_AGENT_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIAgentResourceCount";
679
+ readonly SELF_HOSTED_AI_AGENT_TOOLS_AND_IDENTITY_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIAgentToolsAndIdentityResourceCount";
680
+ readonly SELF_HOSTED_AI_DEVELOPMENT_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIDevelopmentResourceCount";
681
+ readonly SELF_HOSTED_AI_EXTERNAL_ENDPOINT_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIExternalEndpointResourceCount";
682
+ readonly SELF_HOSTED_AI_MODEL_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIModelResourceCount";
683
+ readonly SELF_HOSTED_AI_MODEL_SERVING_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedAIModelServingResourceCount";
684
+ readonly SELF_HOSTED_TOTAL_AI_RESOURCE_COUNT: "ResourceInfo.AIDetails.SelfHostedTotalAIResourceCount";
672
685
  readonly SEVERITY_CRITICAL: "FindingsSummary.Severities.Critical";
673
686
  readonly SEVERITY_FATAL: "FindingsSummary.Severities.Fatal";
674
687
  readonly SEVERITY_HIGH: "FindingsSummary.Severities.High";
@@ -684,7 +697,11 @@ export type ResourcesNumberField =
684
697
  export declare const ResourcesStringField: {
685
698
  readonly ACCOUNT_ID: "AccountId";
686
699
  readonly ACCOUNT_NAME: "AccountName";
700
+ readonly CANONICAL_ID: "ResourceInfo.AIDetails.CanonicalId";
701
+ readonly DISCOVERY_TYPE: "DiscoveryType";
687
702
  readonly FINDING_TYPE: "FindingsSummary.FindingType";
703
+ readonly HOST_RESOURCE_GUID: "ResourceInfo.AIDetails.HostResourceGuid";
704
+ readonly HOST_RESOURCE_TYPE: "ResourceInfo.AIDetails.HostResourceType";
688
705
  readonly PRODUCT_NAME: "FindingsSummary.ProductName";
689
706
  readonly REGION: "Region";
690
707
  readonly RESOURCE_CATEGORY: "ResourceCategory";
@@ -696,6 +713,7 @@ export declare const ResourcesStringField: {
696
713
  readonly RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId";
697
714
  readonly RESOURCE_PROVIDER: "ResourceProvider";
698
715
  readonly RESOURCE_REGION: "ResourceRegion";
716
+ readonly RESOURCE_SUB_CATEGORY: "ResourceSubCategory";
699
717
  readonly RESOURCE_TYPE: "ResourceType";
700
718
  };
701
719
  export type ResourcesStringField =
@@ -703,7 +721,10 @@ export type ResourcesStringField =
703
721
  export declare const ResourceGroupByField: {
704
722
  readonly ACCOUNT_ID: "AccountId";
705
723
  readonly ACCOUNT_NAME: "AccountName";
724
+ readonly CANONICAL_ID: "ResourceInfo.AIDetails.CanonicalId";
725
+ readonly DISCOVERY_TYPE: "DiscoveryType";
706
726
  readonly FINDING_TYPE: "FindingsSummary.FindingType";
727
+ readonly HOST_RESOURCE_TYPE: "ResourceInfo.AIDetails.HostResourceType";
707
728
  readonly REGION: "Region";
708
729
  readonly RESOURCE_CATEGORY: "ResourceCategory";
709
730
  readonly RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition";
@@ -712,6 +733,7 @@ export declare const ResourceGroupByField: {
712
733
  readonly RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId";
713
734
  readonly RESOURCE_PROVIDER: "ResourceProvider";
714
735
  readonly RESOURCE_REGION: "ResourceRegion";
736
+ readonly RESOURCE_SUB_CATEGORY: "ResourceSubCategory";
715
737
  readonly RESOURCE_TYPE: "ResourceType";
716
738
  };
717
739
  export type ResourceGroupByField =
@@ -741,6 +763,21 @@ export declare const ResourceCategory: {
741
763
  };
742
764
  export type ResourceCategory =
743
765
  (typeof ResourceCategory)[keyof typeof ResourceCategory];
766
+ export declare const ResourceSubCategory: {
767
+ readonly AGENT: "Agent";
768
+ readonly AGENT_FRAMEWORK: "AgentFramework";
769
+ readonly AGENT_TOOLS_AND_IDENTITY: "AgentToolsAndIdentity";
770
+ readonly DEVELOPMENT: "Development";
771
+ readonly EXTERNAL_ENDPOINT: "ExternalEndpoint";
772
+ readonly KNOWLEDGE_AND_DATA: "KnowledgeAndData";
773
+ readonly MODEL: "Model";
774
+ readonly MODEL_SERVING: "ModelServing";
775
+ readonly ORCHESTRATION_AND_PIPELINE: "OrchestrationAndPipeline";
776
+ readonly OTHER: "Other";
777
+ readonly SAFETY_AND_GUARDRAIL: "SafetyAndGuardrail";
778
+ };
779
+ export type ResourceSubCategory =
780
+ (typeof ResourceSubCategory)[keyof typeof ResourceSubCategory];
744
781
  export declare const RegionAvailabilityStatus: {
745
782
  readonly AVAILABLE: "AVAILABLE";
746
783
  readonly UNAVAILABLE: "UNAVAILABLE";
@@ -175,6 +175,19 @@ export interface AdminAccount {
175
175
  export interface AggregatorV2 {
176
176
  AggregatorV2Arn?: string | undefined;
177
177
  }
178
+ export interface AIDetails {
179
+ HostResourceGuid?: string | undefined;
180
+ HostResourceType?: string | undefined;
181
+ CanonicalId?: string | undefined;
182
+ SelfHostedAIModelResourceCount?: number | undefined;
183
+ SelfHostedAIAgentResourceCount?: number | undefined;
184
+ SelfHostedAIModelServingResourceCount?: number | undefined;
185
+ SelfHostedAIExternalEndpointResourceCount?: number | undefined;
186
+ SelfHostedAIDevelopmentResourceCount?: number | undefined;
187
+ SelfHostedAIAgentFrameworkResourceCount?: number | undefined;
188
+ SelfHostedAIAgentToolsAndIdentityResourceCount?: number | undefined;
189
+ SelfHostedTotalAIResourceCount?: number | undefined;
190
+ }
178
191
  export interface AssociatedStandard {
179
192
  StandardsId?: string | undefined;
180
193
  }
@@ -2195,12 +2208,3 @@ export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationC
2195
2208
  AccessPointId?: string | undefined;
2196
2209
  Iam?: string | undefined;
2197
2210
  }
2198
- export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails {
2199
- AuthorizationConfig?:
2200
- | AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails
2201
- | undefined;
2202
- FilesystemId?: string | undefined;
2203
- RootDirectory?: string | undefined;
2204
- TransitEncryption?: string | undefined;
2205
- TransitEncryptionPort?: number | undefined;
2206
- }
@@ -18,9 +18,18 @@ import {
18
18
  AwsEcsTaskDefinitionPlacementConstraintsDetails,
19
19
  AwsEcsTaskDefinitionProxyConfigurationDetails,
20
20
  AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails,
21
- AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails,
21
+ AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails,
22
22
  RelatedFinding,
23
23
  } from "./models_0";
24
+ export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails {
25
+ AuthorizationConfig?:
26
+ | AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails
27
+ | undefined;
28
+ FilesystemId?: string | undefined;
29
+ RootDirectory?: string | undefined;
30
+ TransitEncryption?: string | undefined;
31
+ TransitEncryptionPort?: number | undefined;
32
+ }
24
33
  export interface AwsEcsTaskDefinitionVolumesHostDetails {
25
34
  SourcePath?: string | undefined;
26
35
  }
@@ -2028,9 +2037,3 @@ export interface AwsWafRuleGroupRulesDetails {
2028
2037
  RuleId?: string | undefined;
2029
2038
  Type?: string | undefined;
2030
2039
  }
2031
- export interface AwsWafRuleGroupDetails {
2032
- MetricName?: string | undefined;
2033
- Name?: string | undefined;
2034
- RuleGroupId?: string | undefined;
2035
- Rules?: AwsWafRuleGroupRulesDetails[] | undefined;
2036
- }
@@ -36,7 +36,6 @@ import {
36
36
  RecommendationStatus,
37
37
  RecommendationType,
38
38
  RecordState,
39
- ResourceCategory,
40
39
  ResourcesDateField,
41
40
  ResourcesMapField,
42
41
  ResourcesNumberField,
@@ -70,6 +69,7 @@ import {
70
69
  Action,
71
70
  ActionTarget,
72
71
  Adjustment,
72
+ AIDetails,
73
73
  AutomationRulesAction,
74
74
  AutomationRulesConfig,
75
75
  AutomationRulesFindingFilters,
@@ -176,7 +176,7 @@ import {
176
176
  AwsWafRegionalRuleGroupDetails,
177
177
  AwsWafRegionalWebAclDetails,
178
178
  AwsWafRuleDetails,
179
- AwsWafRuleGroupDetails,
179
+ AwsWafRuleGroupRulesDetails,
180
180
  Compliance,
181
181
  DataClassificationDetails,
182
182
  Detection,
@@ -190,6 +190,12 @@ import {
190
190
  ProcessDetails,
191
191
  Remediation,
192
192
  } from "./models_1";
193
+ export interface AwsWafRuleGroupDetails {
194
+ MetricName?: string | undefined;
195
+ Name?: string | undefined;
196
+ RuleGroupId?: string | undefined;
197
+ Rules?: AwsWafRuleGroupRulesDetails[] | undefined;
198
+ }
193
199
  export interface AwsWafv2CustomHttpHeader {
194
200
  Name?: string | undefined;
195
201
  Value?: string | undefined;
@@ -2227,31 +2233,10 @@ export interface ResourceFindingsSummary {
2227
2233
  TotalFindings: number | undefined;
2228
2234
  Severities?: ResourceSeverityBreakdown | undefined;
2229
2235
  }
2236
+ export interface ResourceInfo {
2237
+ AIDetails?: AIDetails | undefined;
2238
+ }
2230
2239
  export interface ResourceTag {
2231
2240
  Key: string | undefined;
2232
2241
  Value: string | undefined;
2233
2242
  }
2234
- export interface ResourceResult {
2235
- ResourceGuid?: string | undefined;
2236
- ResourceId: string | undefined;
2237
- AccountId: string | undefined;
2238
- AccountName?: string | undefined;
2239
- Region: string | undefined;
2240
- ResourceProvider?: string | undefined;
2241
- ResourceOwnerAccountId?: string | undefined;
2242
- ResourceOwnerOrgId?: string | undefined;
2243
- ResourceCloudPartition?: string | undefined;
2244
- ResourceRegion?: string | undefined;
2245
- ResourceCategory?: ResourceCategory | undefined;
2246
- ResourceType: string | undefined;
2247
- ResourceName?: string | undefined;
2248
- ResourceCreationTimeDt?: string | undefined;
2249
- ResourceDetailCaptureTimeDt: string | undefined;
2250
- FindingsSummary?: ResourceFindingsSummary[] | undefined;
2251
- ResourceTags?: ResourceTag[] | undefined;
2252
- ResourceConfig: __DocumentType | undefined;
2253
- }
2254
- export interface GetResourcesV2Response {
2255
- Resources: ResourceResult[] | undefined;
2256
- NextToken?: string | undefined;
2257
- }
@@ -1,3 +1,4 @@
1
+ import { DocumentType as __DocumentType } from "@smithy/types";
1
2
  import {
2
3
  AllowedOperators,
3
4
  AssociationStatus,
@@ -11,11 +12,14 @@ import {
11
12
  CspmConnectorProviderName,
12
13
  CspmConnectorStatus,
13
14
  CspmEnablementStatus,
15
+ DiscoveryType,
14
16
  EnablementStatus,
15
17
  GroupByField,
16
18
  RecordState,
17
19
  RegionAvailabilityStatus,
20
+ ResourceCategory,
18
21
  ResourceGroupByField,
22
+ ResourceSubCategory,
19
23
  RuleStatusV2,
20
24
  SecurityControlProperty,
21
25
  SecurityControlsProvider,
@@ -56,16 +60,46 @@ import {
56
60
  OrganizationConfiguration,
57
61
  ParameterConfiguration,
58
62
  Policy,
63
+ ResourceFindingsSummary,
64
+ ResourceInfo,
59
65
  ResourceScopes,
60
66
  ResourcesDateFilter,
61
67
  ResourcesMapFilter,
62
68
  ResourcesNumberFilter,
63
69
  ResourcesStringFilter,
64
70
  ResourcesTrendsStringFilter,
71
+ ResourceTag,
65
72
  Result,
66
73
  SortCriterion,
67
74
  Target,
68
75
  } from "./models_2";
76
+ export interface ResourceResult {
77
+ ResourceGuid?: string | undefined;
78
+ ResourceId: string | undefined;
79
+ AccountId: string | undefined;
80
+ AccountName?: string | undefined;
81
+ Region: string | undefined;
82
+ ResourceProvider?: string | undefined;
83
+ ResourceOwnerAccountId?: string | undefined;
84
+ ResourceOwnerOrgId?: string | undefined;
85
+ ResourceCloudPartition?: string | undefined;
86
+ ResourceRegion?: string | undefined;
87
+ ResourceCategory?: ResourceCategory | undefined;
88
+ ResourceType: string | undefined;
89
+ ResourceName?: string | undefined;
90
+ ResourceCreationTimeDt?: string | undefined;
91
+ ResourceDetailCaptureTimeDt: string | undefined;
92
+ FindingsSummary?: ResourceFindingsSummary[] | undefined;
93
+ ResourceTags?: ResourceTag[] | undefined;
94
+ ResourceConfig: __DocumentType | undefined;
95
+ ResourceSubCategory?: ResourceSubCategory | undefined;
96
+ DiscoveryType?: DiscoveryType | undefined;
97
+ ResourceInfo?: ResourceInfo | undefined;
98
+ }
99
+ export interface GetResourcesV2Response {
100
+ Resources: ResourceResult[] | undefined;
101
+ NextToken?: string | undefined;
102
+ }
69
103
  export interface GetSecurityControlDefinitionRequest {
70
104
  SecurityControlId: string | undefined;
71
105
  }
@@ -39,6 +39,7 @@ export declare var ActorUser$: StaticStructureSchema;
39
39
  export declare var Adjustment$: StaticStructureSchema;
40
40
  export declare var AdminAccount$: StaticStructureSchema;
41
41
  export declare var AggregatorV2$: StaticStructureSchema;
42
+ export declare var AIDetails$: StaticStructureSchema;
42
43
  export declare var AssociatedStandard$: StaticStructureSchema;
43
44
  export declare var AssociationFilters$: StaticStructureSchema;
44
45
  export declare var AssociationSetDetails$: StaticStructureSchema;
@@ -872,6 +873,7 @@ export declare var Resource$: StaticStructureSchema;
872
873
  export declare var ResourceDetails$: StaticStructureSchema;
873
874
  export declare var ResourceFindingsSummary$: StaticStructureSchema;
874
875
  export declare var ResourceGroupByRule$: StaticStructureSchema;
876
+ export declare var ResourceInfo$: StaticStructureSchema;
875
877
  export declare var ResourceOwner$: StaticStructureSchema;
876
878
  export declare var ResourceOwnerAccount$: StaticStructureSchema;
877
879
  export declare var ResourceOwnerOrg$: StaticStructureSchema;
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.1086.0",
4
+ "version": "3.1087.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
22
+ "@aws-sdk/core": "^3.975.2",
23
+ "@aws-sdk/credential-provider-node": "^3.972.68",
24
+ "@aws-sdk/types": "^3.974.1",
25
+ "@smithy/core": "^3.29.3",
26
+ "@smithy/fetch-http-handler": "^5.6.5",
27
+ "@smithy/node-http-handler": "^4.9.5",
28
+ "@smithy/types": "^4.16.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {