@aws-sdk/client-securityhub 3.1160.0 → 3.1162.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 (40) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +191 -6
  3. package/dist-es/SecurityHub.js +10 -0
  4. package/dist-es/commands/GetSoftwareResourcesV2Command.js +4 -0
  5. package/dist-es/commands/GetSoftwareStatisticsV2Command.js +4 -0
  6. package/dist-es/commands/GetSoftwareV2Command.js +4 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/enums.js +28 -0
  9. package/dist-es/pagination/GetSoftwareResourcesV2Paginator.js +4 -0
  10. package/dist-es/pagination/GetSoftwareV2Paginator.js +4 -0
  11. package/dist-es/pagination/index.js +2 -0
  12. package/dist-es/runtimeConfig.js +2 -1
  13. package/dist-es/schemas/schemas_0.js +119 -4
  14. package/dist-types/SecurityHub.d.ts +36 -0
  15. package/dist-types/SecurityHubClient.d.ts +5 -2
  16. package/dist-types/commands/GetSoftwareResourcesV2Command.d.ts +164 -0
  17. package/dist-types/commands/GetSoftwareStatisticsV2Command.d.ts +158 -0
  18. package/dist-types/commands/GetSoftwareV2Command.d.ts +157 -0
  19. package/dist-types/commands/index.d.ts +3 -0
  20. package/dist-types/models/enums.d.ts +44 -0
  21. package/dist-types/models/models_3.d.ts +318 -1
  22. package/dist-types/pagination/GetSoftwareResourcesV2Paginator.d.ts +7 -0
  23. package/dist-types/pagination/GetSoftwareV2Paginator.d.ts +7 -0
  24. package/dist-types/pagination/index.d.ts +2 -0
  25. package/dist-types/runtimeConfig.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +16 -0
  27. package/dist-types/ts3.4/SecurityHub.d.ts +66 -0
  28. package/dist-types/ts3.4/SecurityHubClient.d.ts +18 -0
  29. package/dist-types/ts3.4/commands/GetSoftwareResourcesV2Command.d.ts +39 -0
  30. package/dist-types/ts3.4/commands/GetSoftwareStatisticsV2Command.d.ts +42 -0
  31. package/dist-types/ts3.4/commands/GetSoftwareV2Command.d.ts +38 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  33. package/dist-types/ts3.4/models/enums.d.ts +30 -0
  34. package/dist-types/ts3.4/models/models_3.d.ts +73 -0
  35. package/dist-types/ts3.4/pagination/GetSoftwareResourcesV2Paginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/GetSoftwareV2Paginator.d.ts +11 -0
  37. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  40. package/package.json +5 -5
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, CloudProviderName, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, DiscoveryType, EnablementStatus, ExportDataType, ExportFailureCode, ExportStatus, FindingsExportFormat, FindingsSelectableField, FreeTrialStatusValue, GranularityField, GroupByField, GuidanceFormat, RecommendationStatus, RecommendationType, RecordState, RegionAvailabilityStatus, RemediationPriority, RemediationStatus, RemediationStringField, ResourceCategory, ResourceCriticality, ResourceGroupByField, ResourcesTrendsStringField, ResourceSubCategory, RuleStatusV2, SecurityControlProperty, SecurityControlsProvider, SecurityHubFeature, SeverityRating, SortOrder, TargetType } from "./enums";
2
+ import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, CloudProviderName, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, DiscoveryType, EnablementStatus, ExportDataType, ExportFailureCode, ExportStatus, FindingsExportFormat, FindingsSelectableField, FreeTrialStatusValue, GranularityField, GroupByField, GuidanceFormat, RecommendationStatus, RecommendationType, RecordState, RegionAvailabilityStatus, RemediationPriority, RemediationStatus, RemediationStringField, ResourceCategory, ResourceCriticality, ResourceGroupByField, ResourcesTrendsStringField, ResourceSubCategory, RuleStatusV2, SecurityControlProperty, SecurityControlsProvider, SecurityHubFeature, SeverityRating, SoftwareGroupByField, SoftwareStringField, SortOrder, TargetType } from "./enums";
3
3
  import type { AccountFreeTrialStatus, AdminAccount, AggregatorV2, AIDetails, AssociationFilters, AutomationRulesActionV2, AutomationRulesMetadata, AutomationRulesMetadataV2, NoteUpdate, StringFilter } from "./models_0";
4
4
  import type { AwsOrganizationScope } from "./models_1";
5
5
  import type { AwsSecurityFindingFilters, AzureUpdateConfiguration, ConfigurationOptions, ConfigurationPolicyAssociationSummary, ConfigurationPolicySummary, ConnectorSummary, CriticalitySource, CspmConnectorSummary, CspmProviderUpdateConfiguration, ExportDestination, ExportScopes, ExportSummary, ExposureFinding, FindingAggregator, FindingScopes, FindingsTrendsStringFilter, GroupByResult, Invitation, Member, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, RecommendationError, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, Result, SortCriterion, Target } from "./models_2";
@@ -1195,6 +1195,152 @@ export interface GetSecurityControlDefinitionResponse {
1195
1195
  */
1196
1196
  SecurityControlDefinition: SecurityControlDefinition | undefined;
1197
1197
  }
1198
+ /**
1199
+ * <p>Enables filtering of software packages based on string field values.</p>
1200
+ * @public
1201
+ */
1202
+ export interface SoftwareStringFilter {
1203
+ /**
1204
+ * <p>The name of the field.</p>
1205
+ * @public
1206
+ */
1207
+ FieldName?: SoftwareStringField | undefined;
1208
+ /**
1209
+ * <p>The string value and comparison operator to filter on. Supported comparisons are <code>EQUALS</code>, <code>NOT_EQUALS</code>, <code>PREFIX</code>, and <code>PREFIX_NOT_EQUALS</code>.</p>
1210
+ * @public
1211
+ */
1212
+ Filter?: StringFilter | undefined;
1213
+ }
1214
+ /**
1215
+ * <p>Defines the data boundary for a software query. Scopes determine which organizational units or organizations to retrieve data from.</p>
1216
+ * @public
1217
+ */
1218
+ export interface SoftwareScopes {
1219
+ /**
1220
+ * <p>A list of Organizations scopes to include in the query results. Each entry in the list specifies an organization or organizational unit to include for the delegated administrator's account. If the list specifies multiple entries, the entries are combined using OR logic.</p>
1221
+ * @public
1222
+ */
1223
+ AwsOrganizations?: AwsOrganizationScope[] | undefined;
1224
+ }
1225
+ /**
1226
+ * <p>Provides information about a resource that contains a software package.</p>
1227
+ * @public
1228
+ */
1229
+ export interface SoftwareResourceResult {
1230
+ /**
1231
+ * <p>The Amazon Web Services account that recorded the resource data in Security Hub.</p>
1232
+ * @public
1233
+ */
1234
+ AccountId: string | undefined;
1235
+ /**
1236
+ * <p>The type of resource, for example <code>AWS::EC2::Instance</code> or <code>AWS::Lambda::Function</code>.</p>
1237
+ * @public
1238
+ */
1239
+ ResourceType: string | undefined;
1240
+ /**
1241
+ * <p>The Amazon Web Services Region that recorded the resource data in Security Hub.</p>
1242
+ * @public
1243
+ */
1244
+ Region: string | undefined;
1245
+ /**
1246
+ * <p>The unique identifier for a resource.</p>
1247
+ * @public
1248
+ */
1249
+ ResourceId: string | undefined;
1250
+ /**
1251
+ * <p>The cloud provider where the resource exists. Valid values are <code>AWS</code> and <code>Azure</code>.</p>
1252
+ * @public
1253
+ */
1254
+ ResourceProvider?: string | undefined;
1255
+ /**
1256
+ * <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>
1257
+ * @public
1258
+ */
1259
+ ResourceOwnerOrgId?: string | undefined;
1260
+ /**
1261
+ * <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>
1262
+ * @public
1263
+ */
1264
+ ResourceOwnerAccountId?: string | undefined;
1265
+ /**
1266
+ * <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>
1267
+ * @public
1268
+ */
1269
+ ResourceCloudPartition?: string | undefined;
1270
+ /**
1271
+ * <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>).</p>
1272
+ * @public
1273
+ */
1274
+ ResourceRegion?: string | undefined;
1275
+ }
1276
+ /**
1277
+ * @public
1278
+ */
1279
+ export interface GetSoftwareResourcesV2Response {
1280
+ /**
1281
+ * <p>An array of resources that contain the specified software package.</p>
1282
+ * @public
1283
+ */
1284
+ SoftwareResources: SoftwareResourceResult[] | undefined;
1285
+ /**
1286
+ * <p>The pagination token to use to request the next page of results.
1287
+ * Otherwise, this parameter is null.</p>
1288
+ * @public
1289
+ */
1290
+ NextToken?: string | undefined;
1291
+ }
1292
+ /**
1293
+ * @public
1294
+ */
1295
+ export interface GetSoftwareStatisticsV2Response {
1296
+ /**
1297
+ * <p>The aggregated statistics about software based on the specified grouping rule.</p>
1298
+ * @public
1299
+ */
1300
+ GroupByResults: GroupByResult[] | undefined;
1301
+ }
1302
+ /**
1303
+ * <p>Provides information about a software package installed on one or more of your resources.</p>
1304
+ * @public
1305
+ */
1306
+ export interface SoftwareResult {
1307
+ /**
1308
+ * <p>The name of the software package.</p>
1309
+ * @public
1310
+ */
1311
+ PackageName: string | undefined;
1312
+ /**
1313
+ * <p>The version of the software package.</p>
1314
+ * @public
1315
+ */
1316
+ PackageVersion?: string | undefined;
1317
+ /**
1318
+ * <p>The type of the software package, for example <code>operating-system</code>, <code>application</code>, or <code>library</code>.</p>
1319
+ * @public
1320
+ */
1321
+ PackageType: string | undefined;
1322
+ /**
1323
+ * <p>The number of resources that contain this software package. To list these resources, call <code>GetSoftwareResourcesV2</code>.</p>
1324
+ * @public
1325
+ */
1326
+ ResourceCount: number | undefined;
1327
+ }
1328
+ /**
1329
+ * @public
1330
+ */
1331
+ export interface GetSoftwareV2Response {
1332
+ /**
1333
+ * <p>An array of software packages returned by the operation.</p>
1334
+ * @public
1335
+ */
1336
+ Software: SoftwareResult[] | undefined;
1337
+ /**
1338
+ * <p>The pagination token to use to request the next page of results.
1339
+ * Otherwise, this parameter is null.</p>
1340
+ * @public
1341
+ */
1342
+ NextToken?: string | undefined;
1343
+ }
1198
1344
  /**
1199
1345
  * @public
1200
1346
  */
@@ -2951,6 +3097,30 @@ export interface ResourcesTrendsCompositeFilter {
2951
3097
  */
2952
3098
  Operator?: AllowedOperators | undefined;
2953
3099
  }
3100
+ /**
3101
+ * <p>Enables the creation of criteria for software packages in Security Hub.</p>
3102
+ * @public
3103
+ */
3104
+ export interface SoftwareCompositeFilter {
3105
+ /**
3106
+ * <p>Enables filtering based on string field values.</p>
3107
+ * @public
3108
+ */
3109
+ StringFilters?: SoftwareStringFilter[] | undefined;
3110
+ /**
3111
+ * <p>Provides an additional level of filtering, creating a three-layer nested structure.
3112
+ * The first layer is a <code>CompositeFilters</code> array with a <code>CompositeOperator</code> (<code>AND</code>/<code>OR</code>).
3113
+ * The second layer is a <code>CompositeFilter</code> object that contains direct filters and <code>NestedCompositeFilters</code>.
3114
+ * The third layer is <code>NestedCompositeFilters</code>, which contains additional filter conditions.</p>
3115
+ * @public
3116
+ */
3117
+ NestedCompositeFilters?: SoftwareCompositeFilter[] | undefined;
3118
+ /**
3119
+ * <p>The logical operator used to combine multiple filter conditions.</p>
3120
+ * @public
3121
+ */
3122
+ Operator?: AllowedOperators | undefined;
3123
+ }
2954
3124
  /**
2955
3125
  * <p>The structure that defines filters to apply to findings trend data queries.</p>
2956
3126
  * @public
@@ -3015,6 +3185,22 @@ export interface ResourcesTrendsFilters {
3015
3185
  */
3016
3186
  CompositeOperator?: AllowedOperators | undefined;
3017
3187
  }
3188
+ /**
3189
+ * <p>Enables filtering of software packages and the resources that contain them.</p>
3190
+ * @public
3191
+ */
3192
+ export interface SoftwareFilters {
3193
+ /**
3194
+ * <p>A collection of complex filtering conditions that can be applied to software packages.</p>
3195
+ * @public
3196
+ */
3197
+ CompositeFilters?: SoftwareCompositeFilter[] | undefined;
3198
+ /**
3199
+ * <p>The logical operator used to combine multiple filter conditions in the structure.</p>
3200
+ * @public
3201
+ */
3202
+ CompositeOperator?: AllowedOperators | undefined;
3203
+ }
3018
3204
  /**
3019
3205
  * <p>The configuration for a findings export: the output format, an optional set of filters, and the fields to include.</p>
3020
3206
  * @public
@@ -3180,6 +3366,93 @@ export interface GetResourcesV2Request {
3180
3366
  */
3181
3367
  MaxResults?: number | undefined;
3182
3368
  }
3369
+ /**
3370
+ * @public
3371
+ */
3372
+ export interface GetSoftwareResourcesV2Request {
3373
+ /**
3374
+ * <p>The name of the software package, for example <code>openssl</code>. This value must match the <code>PackageName</code> returned by <code>GetSoftwareV2</code>.</p>
3375
+ * @public
3376
+ */
3377
+ PackageName: string | undefined;
3378
+ /**
3379
+ * <p>The type of the software package, for example <code>operating-system</code>, <code>application</code>, or <code>library</code>. This value must match the <code>PackageType</code> returned by <code>GetSoftwareV2</code>.</p>
3380
+ * @public
3381
+ */
3382
+ PackageType: string | undefined;
3383
+ /**
3384
+ * <p>The version of the software package, for example <code>3.0.8</code>. If you omit this value, the response includes resources that contain any version of the package.</p>
3385
+ * @public
3386
+ */
3387
+ PackageVersion?: string | undefined;
3388
+ /**
3389
+ * <p>Filters the returned resources based on a set of criteria. You can nest composite filters up to three levels deep.</p>
3390
+ * @public
3391
+ */
3392
+ Filters?: SoftwareFilters | undefined;
3393
+ /**
3394
+ * <p>Limits the results to resources from specific organizational units or from the delegated administrator's organization.
3395
+ * Only the delegated administrator account can use this parameter. Other accounts receive an <code>AccessDeniedException</code>.</p>
3396
+ * <p>This parameter is optional. If you omit it, the delegated administrator sees resources from all accounts across the entire organization. Other accounts see only their own resources.</p>
3397
+ * <p>You can specify up to 10 entries in <code>Scopes.AwsOrganizations</code>. If multiple entries are specified, the entries are combined using OR logic.</p>
3398
+ * @public
3399
+ */
3400
+ Scopes?: SoftwareScopes | undefined;
3401
+ /**
3402
+ * <p>The resource attribute used to sort the list of returned resources, for example <code>Region</code> or <code>ResourceType</code>. You can specify one sort criterion.</p>
3403
+ * @public
3404
+ */
3405
+ SortCriteria?: SortCriterion[] | undefined;
3406
+ /**
3407
+ * <p>The token required for pagination.
3408
+ * On your first call, set the value of this parameter to <code>NULL</code>.
3409
+ * For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response.</p>
3410
+ * <p>A token expires one hour after it's issued. If you change the request parameters between calls, the token is no longer valid and the request fails with a <code>ValidationException</code>.</p>
3411
+ * @public
3412
+ */
3413
+ NextToken?: string | undefined;
3414
+ /**
3415
+ * <p>The maximum number of results to return. Valid values are 1–100. The default is 100.</p>
3416
+ * @public
3417
+ */
3418
+ MaxResults?: number | undefined;
3419
+ }
3420
+ /**
3421
+ * @public
3422
+ */
3423
+ export interface GetSoftwareV2Request {
3424
+ /**
3425
+ * <p>Filters software packages based on a set of criteria. You can nest composite filters up to three levels deep.</p>
3426
+ * @public
3427
+ */
3428
+ Filters?: SoftwareFilters | undefined;
3429
+ /**
3430
+ * <p>Limits the results to software on resources from specific organizational units or from the delegated administrator's organization.
3431
+ * Only the delegated administrator account can use this parameter. Other accounts receive an <code>AccessDeniedException</code>.</p>
3432
+ * <p>This parameter is optional. If you omit it, the delegated administrator sees software from all accounts across the entire organization. Other accounts see only software on their own resources.</p>
3433
+ * <p>You can specify up to 10 entries in <code>Scopes.AwsOrganizations</code>. If multiple entries are specified, the entries are combined using OR logic.</p>
3434
+ * @public
3435
+ */
3436
+ Scopes?: SoftwareScopes | undefined;
3437
+ /**
3438
+ * <p>The software attributes used to sort the list of returned software packages. You can't sort by <code>ResourceCount</code>.</p>
3439
+ * @public
3440
+ */
3441
+ SortCriteria?: SortCriterion[] | undefined;
3442
+ /**
3443
+ * <p>The token required for pagination.
3444
+ * On your first call, set the value of this parameter to <code>NULL</code>.
3445
+ * For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response.</p>
3446
+ * <p>A token expires one hour after it's issued. If you change <code>Filters</code> or <code>SortCriteria</code> between calls, the token is no longer valid and the request fails with a <code>ValidationException</code>.</p>
3447
+ * @public
3448
+ */
3449
+ NextToken?: string | undefined;
3450
+ /**
3451
+ * <p>The maximum number of results to return. Valid values are 1–100. The default is 100.</p>
3452
+ * @public
3453
+ */
3454
+ MaxResults?: number | undefined;
3455
+ }
3183
3456
  /**
3184
3457
  * <p>Defines the how the finding attribute should be grouped.</p>
3185
3458
  * @public
@@ -3212,6 +3485,22 @@ export interface ResourceGroupByRule {
3212
3485
  */
3213
3486
  Filters?: ResourcesFilters | undefined;
3214
3487
  }
3488
+ /**
3489
+ * <p>Defines the configuration for organizing and categorizing software packages installed on your resources.</p>
3490
+ * @public
3491
+ */
3492
+ export interface SoftwareGroupByRule {
3493
+ /**
3494
+ * <p>Specifies the attribute that software statistics should be grouped by.</p>
3495
+ * @public
3496
+ */
3497
+ GroupByField: SoftwareGroupByField | undefined;
3498
+ /**
3499
+ * <p>The criteria used to select the software packages included in the statistics. You can nest composite filters up to three levels deep.</p>
3500
+ * @public
3501
+ */
3502
+ Filters?: SoftwareFilters | undefined;
3503
+ }
3215
3504
  /**
3216
3505
  * <p>Specifies what data to export and how to format it. This is a union: you must specify exactly one member. Currently, the only supported member is <code>Findings</code>.</p>
3217
3506
  * @public
@@ -3365,6 +3654,34 @@ export interface GetResourcesStatisticsV2Request {
3365
3654
  */
3366
3655
  MaxStatisticResults?: number | undefined;
3367
3656
  }
3657
+ /**
3658
+ * @public
3659
+ */
3660
+ export interface GetSoftwareStatisticsV2Request {
3661
+ /**
3662
+ * <p>How software statistics should be aggregated and organized in the response.</p>
3663
+ * @public
3664
+ */
3665
+ GroupByRules: SoftwareGroupByRule[] | undefined;
3666
+ /**
3667
+ * <p>Limits the results to software on resources from specific organizational units or from the delegated administrator's organization.
3668
+ * Only the delegated administrator account can use this parameter. Other accounts receive an <code>AccessDeniedException</code>.</p>
3669
+ * <p>This parameter is optional. If you omit it, the delegated administrator sees statistics from all accounts across the entire organization. Other accounts see only statistics for software on their own resources.</p>
3670
+ * <p>You can specify up to 10 entries in <code>Scopes.AwsOrganizations</code>. If multiple entries are specified, the entries are combined using OR logic.</p>
3671
+ * @public
3672
+ */
3673
+ Scopes?: SoftwareScopes | undefined;
3674
+ /**
3675
+ * <p>Sorts aggregated statistics by count. The default is descending, which returns the values with the highest counts first.</p>
3676
+ * @public
3677
+ */
3678
+ SortOrder?: SortOrder | undefined;
3679
+ /**
3680
+ * <p>The maximum number of grouping values to return. Valid values are 1–400. The default is 400.</p>
3681
+ * @public
3682
+ */
3683
+ MaxStatisticResults?: number | undefined;
3684
+ }
3368
3685
  /**
3369
3686
  * @public
3370
3687
  */
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { GetSoftwareResourcesV2CommandInput, GetSoftwareResourcesV2CommandOutput } from "../commands/GetSoftwareResourcesV2Command";
3
+ import type { SecurityHubPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateGetSoftwareResourcesV2: (config: SecurityHubPaginationConfiguration, input: GetSoftwareResourcesV2CommandInput, ...rest: any[]) => Paginator<GetSoftwareResourcesV2CommandOutput>;
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { GetSoftwareV2CommandInput, GetSoftwareV2CommandOutput } from "../commands/GetSoftwareV2Command";
3
+ import type { SecurityHubPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateGetSoftwareV2: (config: SecurityHubPaginationConfiguration, input: GetSoftwareV2CommandInput, ...rest: any[]) => Paginator<GetSoftwareV2CommandOutput>;
@@ -14,6 +14,8 @@ export * from "./GetRecommendedPolicyV2Paginator";
14
14
  export * from "./GetRemediationsV2Paginator";
15
15
  export * from "./GetResourcesTrendsV2Paginator";
16
16
  export * from "./GetResourcesV2Paginator";
17
+ export * from "./GetSoftwareResourcesV2Paginator";
18
+ export * from "./GetSoftwareV2Paginator";
17
19
  export * from "./ListAggregatorsV2Paginator";
18
20
  export * from "./ListConfigurationPoliciesPaginator";
19
21
  export * from "./ListConfigurationPolicyAssociationsPaginator";
@@ -44,6 +44,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
44
44
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
45
45
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
46
46
  credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
47
+ defaultSocketTimeout: number | undefined;
47
48
  defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
48
49
  maxAttempts: number | import("@smithy/types").Provider<number>;
49
50
  region: string | import("@smithy/types").Provider<string>;
@@ -784,6 +784,12 @@ export declare var GetResourcesV2Request$: StaticStructureSchema;
784
784
  export declare var GetResourcesV2Response$: StaticStructureSchema;
785
785
  export declare var GetSecurityControlDefinitionRequest$: StaticStructureSchema;
786
786
  export declare var GetSecurityControlDefinitionResponse$: StaticStructureSchema;
787
+ export declare var GetSoftwareResourcesV2Request$: StaticStructureSchema;
788
+ export declare var GetSoftwareResourcesV2Response$: StaticStructureSchema;
789
+ export declare var GetSoftwareStatisticsV2Request$: StaticStructureSchema;
790
+ export declare var GetSoftwareStatisticsV2Response$: StaticStructureSchema;
791
+ export declare var GetSoftwareV2Request$: StaticStructureSchema;
792
+ export declare var GetSoftwareV2Response$: StaticStructureSchema;
787
793
  export declare var GroupByResult$: StaticStructureSchema;
788
794
  export declare var GroupByRule$: StaticStructureSchema;
789
795
  export declare var GroupByValue$: StaticStructureSchema;
@@ -969,7 +975,14 @@ export declare var Severity$: StaticStructureSchema;
969
975
  export declare var SeverityTrendsCount$: StaticStructureSchema;
970
976
  export declare var SeverityUpdate$: StaticStructureSchema;
971
977
  export declare var Signal$: StaticStructureSchema;
978
+ export declare var SoftwareCompositeFilter$: StaticStructureSchema;
979
+ export declare var SoftwareFilters$: StaticStructureSchema;
980
+ export declare var SoftwareGroupByRule$: StaticStructureSchema;
972
981
  export declare var SoftwarePackage$: StaticStructureSchema;
982
+ export declare var SoftwareResourceResult$: StaticStructureSchema;
983
+ export declare var SoftwareResult$: StaticStructureSchema;
984
+ export declare var SoftwareScopes$: StaticStructureSchema;
985
+ export declare var SoftwareStringFilter$: StaticStructureSchema;
973
986
  export declare var SortCriterion$: StaticStructureSchema;
974
987
  export declare var Standard$: StaticStructureSchema;
975
988
  export declare var StandardsControl$: StaticStructureSchema;
@@ -1148,6 +1161,9 @@ export declare var GetResourcesStatisticsV2$: StaticOperationSchema;
1148
1161
  export declare var GetResourcesTrendsV2$: StaticOperationSchema;
1149
1162
  export declare var GetResourcesV2$: StaticOperationSchema;
1150
1163
  export declare var GetSecurityControlDefinition$: StaticOperationSchema;
1164
+ export declare var GetSoftwareResourcesV2$: StaticOperationSchema;
1165
+ export declare var GetSoftwareStatisticsV2$: StaticOperationSchema;
1166
+ export declare var GetSoftwareV2$: StaticOperationSchema;
1151
1167
  export declare var InviteMembers$: StaticOperationSchema;
1152
1168
  export declare var ListAggregatorsV2$: StaticOperationSchema;
1153
1169
  export declare var ListAutomationRules$: StaticOperationSchema;
@@ -332,6 +332,18 @@ import {
332
332
  GetSecurityControlDefinitionCommandInput,
333
333
  GetSecurityControlDefinitionCommandOutput,
334
334
  } from "./commands/GetSecurityControlDefinitionCommand";
335
+ import {
336
+ GetSoftwareResourcesV2CommandInput,
337
+ GetSoftwareResourcesV2CommandOutput,
338
+ } from "./commands/GetSoftwareResourcesV2Command";
339
+ import {
340
+ GetSoftwareStatisticsV2CommandInput,
341
+ GetSoftwareStatisticsV2CommandOutput,
342
+ } from "./commands/GetSoftwareStatisticsV2Command";
343
+ import {
344
+ GetSoftwareV2CommandInput,
345
+ GetSoftwareV2CommandOutput,
346
+ } from "./commands/GetSoftwareV2Command";
335
347
  import {
336
348
  InviteMembersCommandInput,
337
349
  InviteMembersCommandOutput,
@@ -1611,6 +1623,46 @@ export interface SecurityHub {
1611
1623
  options: SecurityHubRequestOptions,
1612
1624
  cb: (err: any, data?: GetSecurityControlDefinitionCommandOutput) => void,
1613
1625
  ): void;
1626
+ getSoftwareResourcesV2(
1627
+ args: GetSoftwareResourcesV2CommandInput,
1628
+ options?: SecurityHubRequestOptions,
1629
+ ): Promise<GetSoftwareResourcesV2CommandOutput>;
1630
+ getSoftwareResourcesV2(
1631
+ args: GetSoftwareResourcesV2CommandInput,
1632
+ cb: (err: any, data?: GetSoftwareResourcesV2CommandOutput) => void,
1633
+ ): void;
1634
+ getSoftwareResourcesV2(
1635
+ args: GetSoftwareResourcesV2CommandInput,
1636
+ options: SecurityHubRequestOptions,
1637
+ cb: (err: any, data?: GetSoftwareResourcesV2CommandOutput) => void,
1638
+ ): void;
1639
+ getSoftwareStatisticsV2(
1640
+ args: GetSoftwareStatisticsV2CommandInput,
1641
+ options?: SecurityHubRequestOptions,
1642
+ ): Promise<GetSoftwareStatisticsV2CommandOutput>;
1643
+ getSoftwareStatisticsV2(
1644
+ args: GetSoftwareStatisticsV2CommandInput,
1645
+ cb: (err: any, data?: GetSoftwareStatisticsV2CommandOutput) => void,
1646
+ ): void;
1647
+ getSoftwareStatisticsV2(
1648
+ args: GetSoftwareStatisticsV2CommandInput,
1649
+ options: SecurityHubRequestOptions,
1650
+ cb: (err: any, data?: GetSoftwareStatisticsV2CommandOutput) => void,
1651
+ ): void;
1652
+ getSoftwareV2(): Promise<GetSoftwareV2CommandOutput>;
1653
+ getSoftwareV2(
1654
+ args: GetSoftwareV2CommandInput,
1655
+ options?: SecurityHubRequestOptions,
1656
+ ): Promise<GetSoftwareV2CommandOutput>;
1657
+ getSoftwareV2(
1658
+ args: GetSoftwareV2CommandInput,
1659
+ cb: (err: any, data?: GetSoftwareV2CommandOutput) => void,
1660
+ ): void;
1661
+ getSoftwareV2(
1662
+ args: GetSoftwareV2CommandInput,
1663
+ options: SecurityHubRequestOptions,
1664
+ cb: (err: any, data?: GetSoftwareV2CommandOutput) => void,
1665
+ ): void;
1614
1666
  inviteMembers(
1615
1667
  args: InviteMembersCommandInput,
1616
1668
  options?: SecurityHubRequestOptions,
@@ -2226,6 +2278,20 @@ export interface SecurityHub {
2226
2278
  Exclude<keyof PaginationConfiguration, "client">
2227
2279
  >,
2228
2280
  ): Paginator<GetResourcesV2CommandOutput>;
2281
+ paginateGetSoftwareResourcesV2(
2282
+ args: GetSoftwareResourcesV2CommandInput,
2283
+ paginationConfig?: Pick<
2284
+ PaginationConfiguration,
2285
+ Exclude<keyof PaginationConfiguration, "client">
2286
+ >,
2287
+ ): Paginator<GetSoftwareResourcesV2CommandOutput>;
2288
+ paginateGetSoftwareV2(
2289
+ args?: GetSoftwareV2CommandInput,
2290
+ paginationConfig?: Pick<
2291
+ PaginationConfiguration,
2292
+ Exclude<keyof PaginationConfiguration, "client">
2293
+ >,
2294
+ ): Paginator<GetSoftwareV2CommandOutput>;
2229
2295
  paginateListAggregatorsV2(
2230
2296
  args?: ListAggregatorsV2CommandInput,
2231
2297
  paginationConfig?: Pick<
@@ -361,6 +361,18 @@ import {
361
361
  GetSecurityControlDefinitionCommandInput,
362
362
  GetSecurityControlDefinitionCommandOutput,
363
363
  } from "./commands/GetSecurityControlDefinitionCommand";
364
+ import {
365
+ GetSoftwareResourcesV2CommandInput,
366
+ GetSoftwareResourcesV2CommandOutput,
367
+ } from "./commands/GetSoftwareResourcesV2Command";
368
+ import {
369
+ GetSoftwareStatisticsV2CommandInput,
370
+ GetSoftwareStatisticsV2CommandOutput,
371
+ } from "./commands/GetSoftwareStatisticsV2Command";
372
+ import {
373
+ GetSoftwareV2CommandInput,
374
+ GetSoftwareV2CommandOutput,
375
+ } from "./commands/GetSoftwareV2Command";
364
376
  import {
365
377
  InviteMembersCommandInput,
366
378
  InviteMembersCommandOutput,
@@ -600,6 +612,9 @@ export type ServiceInputTypes =
600
612
  | GetResourcesTrendsV2CommandInput
601
613
  | GetResourcesV2CommandInput
602
614
  | GetSecurityControlDefinitionCommandInput
615
+ | GetSoftwareResourcesV2CommandInput
616
+ | GetSoftwareStatisticsV2CommandInput
617
+ | GetSoftwareV2CommandInput
603
618
  | InviteMembersCommandInput
604
619
  | ListAggregatorsV2CommandInput
605
620
  | ListAutomationRulesCommandInput
@@ -724,6 +739,9 @@ export type ServiceOutputTypes =
724
739
  | GetResourcesTrendsV2CommandOutput
725
740
  | GetResourcesV2CommandOutput
726
741
  | GetSecurityControlDefinitionCommandOutput
742
+ | GetSoftwareResourcesV2CommandOutput
743
+ | GetSoftwareStatisticsV2CommandOutput
744
+ | GetSoftwareV2CommandOutput
727
745
  | InviteMembersCommandOutput
728
746
  | ListAggregatorsV2CommandOutput
729
747
  | ListAutomationRulesCommandOutput
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetSoftwareResourcesV2Request, GetSoftwareResourcesV2Response } from "../models/models_3";
3
+ export { __MetadataBearer };
4
+ export interface GetSoftwareResourcesV2CommandInput extends GetSoftwareResourcesV2Request {}
5
+ export interface GetSoftwareResourcesV2CommandOutput
6
+ extends GetSoftwareResourcesV2Response, __MetadataBearer {}
7
+ declare const GetSoftwareResourcesV2Command_base: {
8
+ new (
9
+ input: GetSoftwareResourcesV2CommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ GetSoftwareResourcesV2CommandInput,
12
+ GetSoftwareResourcesV2CommandOutput,
13
+ import("..").SecurityHubClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: GetSoftwareResourcesV2CommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ GetSoftwareResourcesV2CommandInput,
21
+ GetSoftwareResourcesV2CommandOutput,
22
+ import("..").SecurityHubClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class GetSoftwareResourcesV2Command extends GetSoftwareResourcesV2Command_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: GetSoftwareResourcesV2Request;
32
+ output: GetSoftwareResourcesV2Response;
33
+ };
34
+ sdk: {
35
+ input: GetSoftwareResourcesV2CommandInput;
36
+ output: GetSoftwareResourcesV2CommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ GetSoftwareStatisticsV2Request,
4
+ GetSoftwareStatisticsV2Response,
5
+ } from "../models/models_3";
6
+ export { __MetadataBearer };
7
+ export interface GetSoftwareStatisticsV2CommandInput extends GetSoftwareStatisticsV2Request {}
8
+ export interface GetSoftwareStatisticsV2CommandOutput
9
+ extends GetSoftwareStatisticsV2Response, __MetadataBearer {}
10
+ declare const GetSoftwareStatisticsV2Command_base: {
11
+ new (
12
+ input: GetSoftwareStatisticsV2CommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ GetSoftwareStatisticsV2CommandInput,
15
+ GetSoftwareStatisticsV2CommandOutput,
16
+ import("..").SecurityHubClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: GetSoftwareStatisticsV2CommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ GetSoftwareStatisticsV2CommandInput,
24
+ GetSoftwareStatisticsV2CommandOutput,
25
+ import("..").SecurityHubClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class GetSoftwareStatisticsV2Command extends GetSoftwareStatisticsV2Command_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: GetSoftwareStatisticsV2Request;
35
+ output: GetSoftwareStatisticsV2Response;
36
+ };
37
+ sdk: {
38
+ input: GetSoftwareStatisticsV2CommandInput;
39
+ output: GetSoftwareStatisticsV2CommandOutput;
40
+ };
41
+ };
42
+ }