@aws-sdk/client-securityhub 3.751.0 → 3.765.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 CHANGED
@@ -132,6 +132,7 @@ __export(src_exports, {
132
132
  SeverityLabel: () => SeverityLabel,
133
133
  SeverityRating: () => SeverityRating,
134
134
  SortOrder: () => SortOrder,
135
+ StandardsControlsUpdatable: () => StandardsControlsUpdatable,
135
136
  StandardsStatus: () => StandardsStatus,
136
137
  StartConfigurationPolicyAssociationCommand: () => StartConfigurationPolicyAssociationCommand,
137
138
  StartConfigurationPolicyDisassociationCommand: () => StartConfigurationPolicyDisassociationCommand,
@@ -595,6 +596,10 @@ var WorkflowState = {
595
596
  NEW: "NEW",
596
597
  RESOLVED: "RESOLVED"
597
598
  };
599
+ var StandardsControlsUpdatable = {
600
+ NOT_READY_FOR_UPDATES: "NOT_READY_FOR_UPDATES",
601
+ READY_FOR_UPDATES: "READY_FOR_UPDATES"
602
+ };
598
603
  var StandardsStatus = {
599
604
  DELETING: "DELETING",
600
605
  FAILED: "FAILED",
@@ -604,6 +609,7 @@ var StandardsStatus = {
604
609
  };
605
610
  var StatusReasonCode = {
606
611
  INTERNAL_ERROR: "INTERNAL_ERROR",
612
+ MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED: "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED",
607
613
  NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER"
608
614
  };
609
615
  var Target;
@@ -6742,6 +6748,7 @@ var RecordState = {
6742
6748
  VulnerabilityExploitAvailable,
6743
6749
  VulnerabilityFixAvailable,
6744
6750
  WorkflowState,
6751
+ StandardsControlsUpdatable,
6745
6752
  StandardsStatus,
6746
6753
  StatusReasonCode,
6747
6754
  Target,
@@ -41,6 +41,10 @@ export const WorkflowState = {
41
41
  NEW: "NEW",
42
42
  RESOLVED: "RESOLVED",
43
43
  };
44
+ export const StandardsControlsUpdatable = {
45
+ NOT_READY_FOR_UPDATES: "NOT_READY_FOR_UPDATES",
46
+ READY_FOR_UPDATES: "READY_FOR_UPDATES",
47
+ };
44
48
  export const StandardsStatus = {
45
49
  DELETING: "DELETING",
46
50
  FAILED: "FAILED",
@@ -50,6 +54,7 @@ export const StandardsStatus = {
50
54
  };
51
55
  export const StatusReasonCode = {
52
56
  INTERNAL_ERROR: "INTERNAL_ERROR",
57
+ MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED: "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED",
53
58
  NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER",
54
59
  };
55
60
  export var Target;
@@ -53,8 +53,9 @@ declare const BatchDisableStandardsCommand_base: {
53
53
  * // "<keys>": "STRING_VALUE",
54
54
  * // },
55
55
  * // StandardsStatus: "PENDING" || "READY" || "FAILED" || "DELETING" || "INCOMPLETE", // required
56
+ * // StandardsControlsUpdatable: "READY_FOR_UPDATES" || "NOT_READY_FOR_UPDATES",
56
57
  * // StandardsStatusReason: { // StandardsStatusReason
57
- * // StatusReasonCode: "NO_AVAILABLE_CONFIGURATION_RECORDER" || "INTERNAL_ERROR", // required
58
+ * // StatusReasonCode: "NO_AVAILABLE_CONFIGURATION_RECORDER" || "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED" || "INTERNAL_ERROR", // required
58
59
  * // },
59
60
  * // },
60
61
  * // ],
@@ -59,8 +59,9 @@ declare const BatchEnableStandardsCommand_base: {
59
59
  * // "<keys>": "STRING_VALUE",
60
60
  * // },
61
61
  * // StandardsStatus: "PENDING" || "READY" || "FAILED" || "DELETING" || "INCOMPLETE", // required
62
+ * // StandardsControlsUpdatable: "READY_FOR_UPDATES" || "NOT_READY_FOR_UPDATES",
62
63
  * // StandardsStatusReason: { // StandardsStatusReason
63
- * // StatusReasonCode: "NO_AVAILABLE_CONFIGURATION_RECORDER" || "INTERNAL_ERROR", // required
64
+ * // StatusReasonCode: "NO_AVAILABLE_CONFIGURATION_RECORDER" || "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED" || "INTERNAL_ERROR", // required
64
65
  * // },
65
66
  * // },
66
67
  * // ],
@@ -30,6 +30,9 @@ declare const BatchGetStandardsControlAssociationsCommand_base: {
30
30
  * <p>
31
31
  * For a batch of security controls and standards, identifies whether each control is currently enabled or disabled in a standard.
32
32
  * </p>
33
+ * <p>
34
+ * Calls to this operation return a <code>RESOURCE_NOT_FOUND_EXCEPTION</code> error when the standard subscription for the association has a <code>NOT_READY_FOR_UPDATES</code> value for <code>StandardsControlsUpdatable</code>.
35
+ * </p>
33
36
  * @example
34
37
  * Use a bare-bones client and the command you need to make an API call.
35
38
  * ```javascript
@@ -30,6 +30,7 @@ declare const DescribeStandardsControlsCommand_base: {
30
30
  * <p>Returns a list of security standards controls.</p>
31
31
  * <p>For each control, the results include information about whether it is currently enabled,
32
32
  * the severity, and a link to remediation information.</p>
33
+ * <p>This operation returns an empty list for standard subscriptions where <code>StandardsControlsUpdatable</code> has value <code>NOT_READY_FOR_UPDATES</code>.</p>
33
34
  * @example
34
35
  * Use a bare-bones client and the command you need to make an API call.
35
36
  * ```javascript
@@ -52,8 +52,9 @@ declare const GetEnabledStandardsCommand_base: {
52
52
  * // "<keys>": "STRING_VALUE",
53
53
  * // },
54
54
  * // StandardsStatus: "PENDING" || "READY" || "FAILED" || "DELETING" || "INCOMPLETE", // required
55
+ * // StandardsControlsUpdatable: "READY_FOR_UPDATES" || "NOT_READY_FOR_UPDATES",
55
56
  * // StandardsStatusReason: { // StandardsStatusReason
56
- * // StatusReasonCode: "NO_AVAILABLE_CONFIGURATION_RECORDER" || "INTERNAL_ERROR", // required
57
+ * // StatusReasonCode: "NO_AVAILABLE_CONFIGURATION_RECORDER" || "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED" || "INTERNAL_ERROR", // required
57
58
  * // },
58
59
  * // },
59
60
  * // ],
@@ -30,6 +30,7 @@ declare const ListStandardsControlAssociationsCommand_base: {
30
30
  * <p>
31
31
  * Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account.
32
32
  * </p>
33
+ * <p>This operation omits standards control associations for standard subscriptions where <code>StandardsControlsUpdatable</code> has value <code>NOT_READY_FOR_UPDATES</code>.</p>
33
34
  * @example
34
35
  * Use a bare-bones client and the command you need to make an API call.
35
36
  * ```javascript
@@ -29,6 +29,7 @@ declare const UpdateStandardsControlCommand_base: {
29
29
  /**
30
30
  * <p>Used to control whether an individual security standard control is enabled or
31
31
  * disabled.</p>
32
+ * <p>Calls to this operation return a <code>RESOURCE_NOT_FOUND_EXCEPTION</code> error when the standard subscription for the control has <code>StandardsControlsUpdatable</code> value <code>NOT_READY_FOR_UPDATES</code>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -3731,6 +3731,18 @@ export interface BatchDisableStandardsRequest {
3731
3731
  */
3732
3732
  StandardsSubscriptionArns: string[] | undefined;
3733
3733
  }
3734
+ /**
3735
+ * @public
3736
+ * @enum
3737
+ */
3738
+ export declare const StandardsControlsUpdatable: {
3739
+ readonly NOT_READY_FOR_UPDATES: "NOT_READY_FOR_UPDATES";
3740
+ readonly READY_FOR_UPDATES: "READY_FOR_UPDATES";
3741
+ };
3742
+ /**
3743
+ * @public
3744
+ */
3745
+ export type StandardsControlsUpdatable = (typeof StandardsControlsUpdatable)[keyof typeof StandardsControlsUpdatable];
3734
3746
  /**
3735
3747
  * @public
3736
3748
  * @enum
@@ -3752,6 +3764,7 @@ export type StandardsStatus = (typeof StandardsStatus)[keyof typeof StandardsSta
3752
3764
  */
3753
3765
  export declare const StatusReasonCode: {
3754
3766
  readonly INTERNAL_ERROR: "INTERNAL_ERROR";
3767
+ readonly MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED: "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED";
3755
3768
  readonly NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER";
3756
3769
  };
3757
3770
  /**
@@ -3817,6 +3830,22 @@ export interface StandardsSubscription {
3817
3830
  * @public
3818
3831
  */
3819
3832
  StandardsStatus: StandardsStatus | undefined;
3833
+ /**
3834
+ * <p>Indicates whether the controls associated with this standards subscription can be viewed and updated.</p>
3835
+ * <p>The values are as follows:</p>
3836
+ * <ul>
3837
+ * <li>
3838
+ * <p>
3839
+ * <code>READY_FOR_UPDATES</code> - Controls associated with this standards subscription can be viewed and updated.</p>
3840
+ * </li>
3841
+ * <li>
3842
+ * <p>
3843
+ * <code>NOT_READY_FOR_UPDATES</code> - Controls associated with this standards subscription cannot be retrieved or updated yet. Security Hub is still processing a request to create the controls.</p>
3844
+ * </li>
3845
+ * </ul>
3846
+ * @public
3847
+ */
3848
+ StandardsControlsUpdatable?: StandardsControlsUpdatable | undefined;
3820
3849
  /**
3821
3850
  * <p>The reason for the current status.</p>
3822
3851
  * @public
@@ -5099,6 +5128,9 @@ export interface BatchUpdateStandardsControlAssociationsRequest {
5099
5128
  * <p>
5100
5129
  * Updates the enablement status of a security control in a specified standard.
5101
5130
  * </p>
5131
+ * <p>
5132
+ * Calls to this operation return a <code>RESOURCE_NOT_FOUND_EXCEPTION</code> error when the standard subscription for the control has <code>StandardsControlsUpdatable</code> value <code>NOT_READY_FOR_UPDATES</code>.
5133
+ * </p>
5102
5134
  * @public
5103
5135
  */
5104
5136
  StandardsControlAssociationUpdates: StandardsControlAssociationUpdate[] | undefined;
@@ -810,6 +810,12 @@ export interface BatchDeleteAutomationRulesResponse {
810
810
  export interface BatchDisableStandardsRequest {
811
811
  StandardsSubscriptionArns: string[] | undefined;
812
812
  }
813
+ export declare const StandardsControlsUpdatable: {
814
+ readonly NOT_READY_FOR_UPDATES: "NOT_READY_FOR_UPDATES";
815
+ readonly READY_FOR_UPDATES: "READY_FOR_UPDATES";
816
+ };
817
+ export type StandardsControlsUpdatable =
818
+ (typeof StandardsControlsUpdatable)[keyof typeof StandardsControlsUpdatable];
813
819
  export declare const StandardsStatus: {
814
820
  readonly DELETING: "DELETING";
815
821
  readonly FAILED: "FAILED";
@@ -821,6 +827,7 @@ export type StandardsStatus =
821
827
  (typeof StandardsStatus)[keyof typeof StandardsStatus];
822
828
  export declare const StatusReasonCode: {
823
829
  readonly INTERNAL_ERROR: "INTERNAL_ERROR";
830
+ readonly MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED: "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED";
824
831
  readonly NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER";
825
832
  };
826
833
  export type StatusReasonCode =
@@ -833,6 +840,7 @@ export interface StandardsSubscription {
833
840
  StandardsArn: string | undefined;
834
841
  StandardsInput: Record<string, string> | undefined;
835
842
  StandardsStatus: StandardsStatus | undefined;
843
+ StandardsControlsUpdatable?: StandardsControlsUpdatable | undefined;
836
844
  StandardsStatusReason?: StandardsStatusReason | undefined;
837
845
  }
838
846
  export interface BatchDisableStandardsResponse {
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.751.0",
4
+ "version": "3.765.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-securityhub",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.750.0",
24
- "@aws-sdk/credential-provider-node": "3.750.0",
23
+ "@aws-sdk/core": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.758.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.750.0",
28
+ "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.750.0",
33
+ "@aws-sdk/util-user-agent-node": "3.758.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.4",
35
+ "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",
37
37
  "@smithy/hash-node": "^4.0.1",
38
38
  "@smithy/invalid-dependency": "^4.0.1",
39
39
  "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.5",
41
- "@smithy/middleware-retry": "^4.0.6",
40
+ "@smithy/middleware-endpoint": "^4.0.6",
41
+ "@smithy/middleware-retry": "^4.0.7",
42
42
  "@smithy/middleware-serde": "^4.0.2",
43
43
  "@smithy/middleware-stack": "^4.0.1",
44
44
  "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.3",
46
46
  "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.5",
47
+ "@smithy/smithy-client": "^4.1.6",
48
48
  "@smithy/types": "^4.1.0",
49
49
  "@smithy/url-parser": "^4.0.1",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.6",
54
- "@smithy/util-defaults-mode-node": "^4.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.7",
54
+ "@smithy/util-defaults-mode-node": "^4.0.7",
55
55
  "@smithy/util-endpoints": "^3.0.1",
56
56
  "@smithy/util-middleware": "^4.0.1",
57
57
  "@smithy/util-retry": "^4.0.1",