@aws-sdk/client-securityhub 3.1168.0 → 3.1169.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +3 -1
- package/dist-es/models/enums.js +2 -0
- package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetSoftwareResourcesV2Command.d.ts +2 -1
- package/dist-types/commands/GetSoftwareStatisticsV2Command.d.ts +1 -1
- package/dist-types/commands/GetSoftwareV2Command.d.ts +2 -1
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +4 -1
- package/dist-types/models/models_2.d.ts +44 -2
- package/dist-types/models/models_3.d.ts +20 -1
- package/dist-types/ts3.4/models/enums.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1168.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -11522,6 +11522,7 @@ const AllowedOperators = {
|
|
|
11522
11522
|
OR: "OR",
|
|
11523
11523
|
};
|
|
11524
11524
|
const ConfigurationPolicyAssociationStatus = {
|
|
11525
|
+
DISABLED: "DISABLED",
|
|
11525
11526
|
FAILED: "FAILED",
|
|
11526
11527
|
PENDING: "PENDING",
|
|
11527
11528
|
SUCCESS: "SUCCESS",
|
|
@@ -11988,6 +11989,7 @@ const OrganizationConfigurationConfigurationType = {
|
|
|
11988
11989
|
LOCAL: "LOCAL",
|
|
11989
11990
|
};
|
|
11990
11991
|
const OrganizationConfigurationStatus = {
|
|
11992
|
+
DISABLED: "DISABLED",
|
|
11991
11993
|
ENABLED: "ENABLED",
|
|
11992
11994
|
FAILED: "FAILED",
|
|
11993
11995
|
PENDING: "PENDING",
|
package/dist-es/models/enums.js
CHANGED
|
@@ -41,6 +41,7 @@ export const AllowedOperators = {
|
|
|
41
41
|
OR: "OR",
|
|
42
42
|
};
|
|
43
43
|
export const ConfigurationPolicyAssociationStatus = {
|
|
44
|
+
DISABLED: "DISABLED",
|
|
44
45
|
FAILED: "FAILED",
|
|
45
46
|
PENDING: "PENDING",
|
|
46
47
|
SUCCESS: "SUCCESS",
|
|
@@ -507,6 +508,7 @@ export const OrganizationConfigurationConfigurationType = {
|
|
|
507
508
|
LOCAL: "LOCAL",
|
|
508
509
|
};
|
|
509
510
|
export const OrganizationConfigurationStatus = {
|
|
511
|
+
DISABLED: "DISABLED",
|
|
510
512
|
ENABLED: "ENABLED",
|
|
511
513
|
FAILED: "FAILED",
|
|
512
514
|
PENDING: "PENDING",
|
|
@@ -58,7 +58,7 @@ declare const BatchGetConfigurationPolicyAssociationsCommand_base: {
|
|
|
58
58
|
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
|
|
59
59
|
* // AssociationType: "INHERITED" || "APPLIED",
|
|
60
60
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
61
|
-
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
|
|
61
|
+
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED" || "DISABLED",
|
|
62
62
|
* // AssociationStatusMessage: "STRING_VALUE",
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
@@ -43,7 +43,7 @@ declare const DescribeOrganizationConfigurationCommand_base: {
|
|
|
43
43
|
* // AutoEnableStandards: "NONE" || "DEFAULT",
|
|
44
44
|
* // OrganizationConfiguration: { // OrganizationConfiguration
|
|
45
45
|
* // ConfigurationType: "CENTRAL" || "LOCAL",
|
|
46
|
-
* // Status: "PENDING" || "ENABLED" || "FAILED",
|
|
46
|
+
* // Status: "PENDING" || "ENABLED" || "FAILED" || "DISABLED",
|
|
47
47
|
* // StatusMessage: "STRING_VALUE",
|
|
48
48
|
* // },
|
|
49
49
|
* // };
|
|
@@ -52,7 +52,7 @@ declare const GetConfigurationPolicyAssociationCommand_base: {
|
|
|
52
52
|
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
|
|
53
53
|
* // AssociationType: "INHERITED" || "APPLIED",
|
|
54
54
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
55
|
-
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
|
|
55
|
+
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED" || "DISABLED",
|
|
56
56
|
* // AssociationStatusMessage: "STRING_VALUE",
|
|
57
57
|
* // };
|
|
58
58
|
*
|
|
@@ -25,8 +25,9 @@ declare const GetSoftwareResourcesV2Command_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Returns a list of resources that contain a specific software package. You identify the package with <code>PackageName</code> and <code>PackageType</code>. To narrow the results to one version of the package, include <code>PackageVersion</code>.</p>
|
|
28
|
-
* <p>You can use the <code>Scopes</code> parameter to define the data boundary for the query. Currently, <code>Scopes</code> supports <code>AwsOrganizations</code
|
|
28
|
+
* <p>You can use the <code>Scopes</code> parameter to define the data boundary for the query. Currently, <code>Scopes</code> supports <code>AwsOrganizations</code>. With <code>AwsOrganizations</code>, you can retrieve resources from your entire organization or from specific organizational units. Only the delegated administrator account can use <code>Scopes</code>.</p>
|
|
29
29
|
* <p>You can use the <code>Filters</code> parameter to further refine results based on resource attributes, such as <code>ResourceType</code> or <code>Region</code>.</p>
|
|
30
|
+
* <p>This operation returns paginated results. To retrieve additional results, use the <code>NextToken</code> value from the previous response.</p>
|
|
30
31
|
* @example
|
|
31
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
33
|
* ```javascript
|
|
@@ -26,7 +26,7 @@ declare const GetSoftwareStatisticsV2Command_base: {
|
|
|
26
26
|
/**
|
|
27
27
|
* <p>Retrieves aggregated counts of software packages installed on your resources, grouped by a field that you specify. For example, you can return the most common package types or the accounts with the most installed packages.</p>
|
|
28
28
|
* <p>Each count is the number of package-to-resource pairs that match the grouping value. A package installed on three resources contributes three to the count.</p>
|
|
29
|
-
* <p>You can use the <code>Scopes</code> parameter to define the data boundary for the query. Currently, <code>Scopes</code> supports <code>AwsOrganizations</code
|
|
29
|
+
* <p>You can use the <code>Scopes</code> parameter to define the data boundary for the query. Currently, <code>Scopes</code> supports <code>AwsOrganizations</code>. With <code>AwsOrganizations</code>, you can aggregate software from your entire organization or from specific organizational units. Only the delegated administrator account can use <code>Scopes</code>.</p>
|
|
30
30
|
* <p>This operation doesn't paginate. Use <code>MaxStatisticResults</code> to control how many grouping values are returned.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,9 +25,10 @@ declare const GetSoftwareV2Command_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Returns a list of software packages installed on your resources. Each result identifies a package by name, version, and type, and includes the number of resources that contain that package.</p>
|
|
28
|
-
* <p>You can use the <code>Scopes</code> parameter to define the data boundary for the query. Currently, <code>Scopes</code> supports <code>AwsOrganizations</code
|
|
28
|
+
* <p>You can use the <code>Scopes</code> parameter to define the data boundary for the query. Currently, <code>Scopes</code> supports <code>AwsOrganizations</code>. With <code>AwsOrganizations</code>, you can retrieve software from your entire organization or from specific organizational units. Only the delegated administrator account can use <code>Scopes</code>.</p>
|
|
29
29
|
* <p>You can use the <code>Filters</code> parameter to refine results based on package and resource attributes. You can use <code>Scopes</code> and <code>Filters</code> independently or together. When both are provided, <code>Scopes</code> narrows the data set first, and then <code>Filters</code> refines results within that scoped data set.</p>
|
|
30
30
|
* <p>To list the resources that contain a specific package, use <code>GetSoftwareResourcesV2</code>. To get counts of software grouped by a field, use <code>GetSoftwareStatisticsV2</code>.</p>
|
|
31
|
+
* <p>This operation returns paginated results. To retrieve additional results, use the <code>NextToken</code> value from the previous response.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -42,7 +42,7 @@ declare const ListConfigurationPolicyAssociationsCommand_base: {
|
|
|
42
42
|
* Filters: { // AssociationFilters
|
|
43
43
|
* ConfigurationPolicyId: "STRING_VALUE",
|
|
44
44
|
* AssociationType: "INHERITED" || "APPLIED",
|
|
45
|
-
* AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
|
|
45
|
+
* AssociationStatus: "PENDING" || "SUCCESS" || "FAILED" || "DISABLED",
|
|
46
46
|
* },
|
|
47
47
|
* };
|
|
48
48
|
* const command = new ListConfigurationPolicyAssociationsCommand(input);
|
|
@@ -55,7 +55,7 @@ declare const ListConfigurationPolicyAssociationsCommand_base: {
|
|
|
55
55
|
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
|
|
56
56
|
* // AssociationType: "INHERITED" || "APPLIED",
|
|
57
57
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
58
|
-
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
|
|
58
|
+
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED" || "DISABLED",
|
|
59
59
|
* // AssociationStatusMessage: "STRING_VALUE",
|
|
60
60
|
* // },
|
|
61
61
|
* // ],
|
|
@@ -53,7 +53,7 @@ declare const StartConfigurationPolicyAssociationCommand_base: {
|
|
|
53
53
|
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT" || "ROOT",
|
|
54
54
|
* // AssociationType: "INHERITED" || "APPLIED",
|
|
55
55
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
56
|
-
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
|
|
56
|
+
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED" || "DISABLED",
|
|
57
57
|
* // AssociationStatusMessage: "STRING_VALUE",
|
|
58
58
|
* // };
|
|
59
59
|
*
|
|
@@ -39,7 +39,7 @@ declare const UpdateOrganizationConfigurationCommand_base: {
|
|
|
39
39
|
* AutoEnableStandards: "NONE" || "DEFAULT",
|
|
40
40
|
* OrganizationConfiguration: { // OrganizationConfiguration
|
|
41
41
|
* ConfigurationType: "CENTRAL" || "LOCAL",
|
|
42
|
-
* Status: "PENDING" || "ENABLED" || "FAILED",
|
|
42
|
+
* Status: "PENDING" || "ENABLED" || "FAILED" || "DISABLED",
|
|
43
43
|
* StatusMessage: "STRING_VALUE",
|
|
44
44
|
* },
|
|
45
45
|
* };
|
|
@@ -117,6 +117,7 @@ export type AllowedOperators = (typeof AllowedOperators)[keyof typeof AllowedOpe
|
|
|
117
117
|
* @enum
|
|
118
118
|
*/
|
|
119
119
|
export declare const ConfigurationPolicyAssociationStatus: {
|
|
120
|
+
readonly DISABLED: "DISABLED";
|
|
120
121
|
readonly FAILED: "FAILED";
|
|
121
122
|
readonly PENDING: "PENDING";
|
|
122
123
|
readonly SUCCESS: "SUCCESS";
|
|
@@ -1095,6 +1096,7 @@ export type OrganizationConfigurationConfigurationType = (typeof OrganizationCon
|
|
|
1095
1096
|
* @enum
|
|
1096
1097
|
*/
|
|
1097
1098
|
export declare const OrganizationConfigurationStatus: {
|
|
1099
|
+
readonly DISABLED: "DISABLED";
|
|
1098
1100
|
readonly ENABLED: "ENABLED";
|
|
1099
1101
|
readonly FAILED: "FAILED";
|
|
1100
1102
|
readonly PENDING: "PENDING";
|
|
@@ -1064,7 +1064,10 @@ export interface AssociationFilters {
|
|
|
1064
1064
|
AssociationType?: AssociationType | undefined;
|
|
1065
1065
|
/**
|
|
1066
1066
|
* <p>
|
|
1067
|
-
* The current status of the association between a target and a configuration policy.
|
|
1067
|
+
* The current status of the association between a target and a configuration policy. Possible values are
|
|
1068
|
+
* <code>PENDING</code>, <code>SUCCESS</code>, <code>FAILED</code>, and <code>DISABLED</code>. The value is
|
|
1069
|
+
* <code>DISABLED</code> when central configuration is disabled because the organization is managed by
|
|
1070
|
+
* Security Hub CSPM policies in Organizations.
|
|
1068
1071
|
* </p>
|
|
1069
1072
|
* @public
|
|
1070
1073
|
*/
|
|
@@ -3561,8 +3561,27 @@ export interface ConfigurationPolicyAssociationSummary {
|
|
|
3561
3561
|
UpdatedAt?: Date | undefined;
|
|
3562
3562
|
/**
|
|
3563
3563
|
* <p>
|
|
3564
|
-
* The current status of the association between the specified target and the configuration.
|
|
3564
|
+
* The current status of the association between the specified target and the configuration. Possible values are:
|
|
3565
3565
|
* </p>
|
|
3566
|
+
* <ul>
|
|
3567
|
+
* <li>
|
|
3568
|
+
* <p>
|
|
3569
|
+
* <code>PENDING</code> - The association is in progress.</p>
|
|
3570
|
+
* </li>
|
|
3571
|
+
* <li>
|
|
3572
|
+
* <p>
|
|
3573
|
+
* <code>SUCCESS</code> - The association succeeded.</p>
|
|
3574
|
+
* </li>
|
|
3575
|
+
* <li>
|
|
3576
|
+
* <p>
|
|
3577
|
+
* <code>FAILED</code> - The association failed. For details, see <code>AssociationStatusMessage</code>.</p>
|
|
3578
|
+
* </li>
|
|
3579
|
+
* <li>
|
|
3580
|
+
* <p>
|
|
3581
|
+
* <code>DISABLED</code> - Central configuration is disabled because the organization is managed by
|
|
3582
|
+
* Security Hub CSPM policies in Organizations.</p>
|
|
3583
|
+
* </li>
|
|
3584
|
+
* </ul>
|
|
3566
3585
|
* @public
|
|
3567
3586
|
*/
|
|
3568
3587
|
AssociationStatus?: ConfigurationPolicyAssociationStatus | undefined;
|
|
@@ -6887,6 +6906,10 @@ export interface OrganizationConfiguration {
|
|
|
6887
6906
|
* organization. If your <code>ConfigurationType</code> is local configuration, then the value of <code>Status</code>
|
|
6888
6907
|
* is always <code>ENABLED</code>.
|
|
6889
6908
|
* </p>
|
|
6909
|
+
* <p>
|
|
6910
|
+
* If the value of <code>Status</code> is <code>DISABLED</code>, central configuration is disabled because the
|
|
6911
|
+
* organization is managed by Security Hub CSPM policies in Organizations.
|
|
6912
|
+
* </p>
|
|
6890
6913
|
* @public
|
|
6891
6914
|
*/
|
|
6892
6915
|
Status?: OrganizationConfigurationStatus | undefined;
|
|
@@ -8280,8 +8303,27 @@ export interface GetConfigurationPolicyAssociationResponse {
|
|
|
8280
8303
|
UpdatedAt?: Date | undefined;
|
|
8281
8304
|
/**
|
|
8282
8305
|
* <p>
|
|
8283
|
-
* The current status of the association between the specified target and the configuration.
|
|
8306
|
+
* The current status of the association between the specified target and the configuration. Possible values are:
|
|
8284
8307
|
* </p>
|
|
8308
|
+
* <ul>
|
|
8309
|
+
* <li>
|
|
8310
|
+
* <p>
|
|
8311
|
+
* <code>PENDING</code> - The association is in progress.</p>
|
|
8312
|
+
* </li>
|
|
8313
|
+
* <li>
|
|
8314
|
+
* <p>
|
|
8315
|
+
* <code>SUCCESS</code> - The association succeeded.</p>
|
|
8316
|
+
* </li>
|
|
8317
|
+
* <li>
|
|
8318
|
+
* <p>
|
|
8319
|
+
* <code>FAILED</code> - The association failed. For details, see <code>AssociationStatusMessage</code>.</p>
|
|
8320
|
+
* </li>
|
|
8321
|
+
* <li>
|
|
8322
|
+
* <p>
|
|
8323
|
+
* <code>DISABLED</code> - Central configuration is disabled because the organization is managed by
|
|
8324
|
+
* Security Hub CSPM policies in Organizations.</p>
|
|
8325
|
+
* </li>
|
|
8326
|
+
* </ul>
|
|
8285
8327
|
* @public
|
|
8286
8328
|
*/
|
|
8287
8329
|
AssociationStatus?: ConfigurationPolicyAssociationStatus | undefined;
|
|
@@ -2364,8 +2364,27 @@ export interface StartConfigurationPolicyAssociationResponse {
|
|
|
2364
2364
|
UpdatedAt?: Date | undefined;
|
|
2365
2365
|
/**
|
|
2366
2366
|
* <p>
|
|
2367
|
-
* The current status of the association between the specified target and the configuration.
|
|
2367
|
+
* The current status of the association between the specified target and the configuration. Possible values are:
|
|
2368
2368
|
* </p>
|
|
2369
|
+
* <ul>
|
|
2370
|
+
* <li>
|
|
2371
|
+
* <p>
|
|
2372
|
+
* <code>PENDING</code> - The association is in progress.</p>
|
|
2373
|
+
* </li>
|
|
2374
|
+
* <li>
|
|
2375
|
+
* <p>
|
|
2376
|
+
* <code>SUCCESS</code> - The association succeeded.</p>
|
|
2377
|
+
* </li>
|
|
2378
|
+
* <li>
|
|
2379
|
+
* <p>
|
|
2380
|
+
* <code>FAILED</code> - The association failed. For details, see <code>AssociationStatusMessage</code>.</p>
|
|
2381
|
+
* </li>
|
|
2382
|
+
* <li>
|
|
2383
|
+
* <p>
|
|
2384
|
+
* <code>DISABLED</code> - Central configuration is disabled because the organization is managed by
|
|
2385
|
+
* Security Hub CSPM policies in Organizations.</p>
|
|
2386
|
+
* </li>
|
|
2387
|
+
* </ul>
|
|
2369
2388
|
* @public
|
|
2370
2389
|
*/
|
|
2371
2390
|
AssociationStatus?: ConfigurationPolicyAssociationStatus | undefined;
|
|
@@ -52,6 +52,7 @@ export declare const AllowedOperators: {
|
|
|
52
52
|
};
|
|
53
53
|
export type AllowedOperators = (typeof AllowedOperators)[keyof typeof AllowedOperators];
|
|
54
54
|
export declare const ConfigurationPolicyAssociationStatus: {
|
|
55
|
+
readonly DISABLED: "DISABLED";
|
|
55
56
|
readonly FAILED: "FAILED";
|
|
56
57
|
readonly PENDING: "PENDING";
|
|
57
58
|
readonly SUCCESS: "SUCCESS";
|
|
@@ -600,6 +601,7 @@ export declare const OrganizationConfigurationConfigurationType: {
|
|
|
600
601
|
export type OrganizationConfigurationConfigurationType =
|
|
601
602
|
(typeof OrganizationConfigurationConfigurationType)[keyof typeof OrganizationConfigurationConfigurationType];
|
|
602
603
|
export declare const OrganizationConfigurationStatus: {
|
|
604
|
+
readonly DISABLED: "DISABLED";
|
|
603
605
|
readonly ENABLED: "ENABLED";
|
|
604
606
|
readonly FAILED: "FAILED";
|
|
605
607
|
readonly PENDING: "PENDING";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityhub",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1169.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",
|