@aws-sdk/client-securityhub 3.495.0 → 3.498.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 +63 -60
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -8989,17 +8989,15 @@ var RecordState = {
|
|
|
8989
8989
|
// src/index.ts
|
|
8990
8990
|
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
8991
8991
|
// Annotate the CommonJS export names for ESM import in node:
|
|
8992
|
+
|
|
8992
8993
|
0 && (module.exports = {
|
|
8994
|
+
SecurityHubServiceException,
|
|
8995
|
+
__Client,
|
|
8996
|
+
SecurityHubClient,
|
|
8997
|
+
SecurityHub,
|
|
8998
|
+
$Command,
|
|
8993
8999
|
AcceptAdministratorInvitationCommand,
|
|
8994
9000
|
AcceptInvitationCommand,
|
|
8995
|
-
AccessDeniedException,
|
|
8996
|
-
AdminStatus,
|
|
8997
|
-
AssociationStatus,
|
|
8998
|
-
AssociationType,
|
|
8999
|
-
AutoEnableStandards,
|
|
9000
|
-
AutomationRulesActionType,
|
|
9001
|
-
AwsIamAccessKeyStatus,
|
|
9002
|
-
AwsS3BucketNotificationConfigurationS3KeyFilterRuleName,
|
|
9003
9001
|
BatchDeleteAutomationRulesCommand,
|
|
9004
9002
|
BatchDisableStandardsCommand,
|
|
9005
9003
|
BatchEnableStandardsCommand,
|
|
@@ -9011,18 +9009,12 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
9011
9009
|
BatchUpdateAutomationRulesCommand,
|
|
9012
9010
|
BatchUpdateFindingsCommand,
|
|
9013
9011
|
BatchUpdateStandardsControlAssociationsCommand,
|
|
9014
|
-
ComplianceStatus,
|
|
9015
|
-
ConfigurationOptions,
|
|
9016
|
-
ConfigurationPolicyAssociationStatus,
|
|
9017
|
-
ControlFindingGenerator,
|
|
9018
|
-
ControlStatus,
|
|
9019
9012
|
CreateActionTargetCommand,
|
|
9020
9013
|
CreateAutomationRuleCommand,
|
|
9021
9014
|
CreateConfigurationPolicyCommand,
|
|
9022
9015
|
CreateFindingAggregatorCommand,
|
|
9023
9016
|
CreateInsightCommand,
|
|
9024
9017
|
CreateMembersCommand,
|
|
9025
|
-
DateRangeUnit,
|
|
9026
9018
|
DeclineInvitationsCommand,
|
|
9027
9019
|
DeleteActionTargetCommand,
|
|
9028
9020
|
DeleteConfigurationPolicyCommand,
|
|
@@ -9045,7 +9037,6 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
9045
9037
|
EnableImportFindingsForProductCommand,
|
|
9046
9038
|
EnableOrganizationAdminAccountCommand,
|
|
9047
9039
|
EnableSecurityHubCommand,
|
|
9048
|
-
FindingHistoryUpdateSourceType,
|
|
9049
9040
|
GetAdministratorAccountCommand,
|
|
9050
9041
|
GetConfigurationPolicyAssociationCommand,
|
|
9051
9042
|
GetConfigurationPolicyCommand,
|
|
@@ -9059,12 +9050,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
9059
9050
|
GetMasterAccountCommand,
|
|
9060
9051
|
GetMembersCommand,
|
|
9061
9052
|
GetSecurityControlDefinitionCommand,
|
|
9062
|
-
IntegrationType,
|
|
9063
|
-
InternalException,
|
|
9064
|
-
InvalidAccessException,
|
|
9065
|
-
InvalidInputException,
|
|
9066
9053
|
InviteMembersCommand,
|
|
9067
|
-
LimitExceededException,
|
|
9068
9054
|
ListAutomationRulesCommand,
|
|
9069
9055
|
ListConfigurationPoliciesCommand,
|
|
9070
9056
|
ListConfigurationPolicyAssociationsCommand,
|
|
@@ -9076,40 +9062,9 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
9076
9062
|
ListSecurityControlDefinitionsCommand,
|
|
9077
9063
|
ListStandardsControlAssociationsCommand,
|
|
9078
9064
|
ListTagsForResourceCommand,
|
|
9079
|
-
MalwareState,
|
|
9080
|
-
MalwareType,
|
|
9081
|
-
MapFilterComparison,
|
|
9082
|
-
NetworkDirection,
|
|
9083
|
-
OrganizationConfigurationConfigurationType,
|
|
9084
|
-
OrganizationConfigurationStatus,
|
|
9085
|
-
ParameterValue,
|
|
9086
|
-
ParameterValueType,
|
|
9087
|
-
Partition,
|
|
9088
|
-
Policy,
|
|
9089
|
-
RecordState,
|
|
9090
|
-
RegionAvailabilityStatus,
|
|
9091
|
-
ResourceConflictException,
|
|
9092
|
-
ResourceInUseException,
|
|
9093
|
-
ResourceNotFoundException,
|
|
9094
|
-
RuleStatus,
|
|
9095
|
-
SecurityControlProperty,
|
|
9096
|
-
SecurityHub,
|
|
9097
|
-
SecurityHubClient,
|
|
9098
|
-
SecurityHubServiceException,
|
|
9099
|
-
SeverityLabel,
|
|
9100
|
-
SeverityRating,
|
|
9101
|
-
SortOrder,
|
|
9102
|
-
StandardsStatus,
|
|
9103
9065
|
StartConfigurationPolicyAssociationCommand,
|
|
9104
9066
|
StartConfigurationPolicyDisassociationCommand,
|
|
9105
|
-
StatusReasonCode,
|
|
9106
|
-
StringFilterComparison,
|
|
9107
9067
|
TagResourceCommand,
|
|
9108
|
-
Target,
|
|
9109
|
-
TargetType,
|
|
9110
|
-
ThreatIntelIndicatorCategory,
|
|
9111
|
-
ThreatIntelIndicatorType,
|
|
9112
|
-
UnprocessedErrorCode,
|
|
9113
9068
|
UntagResourceCommand,
|
|
9114
9069
|
UpdateActionTargetCommand,
|
|
9115
9070
|
UpdateConfigurationPolicyCommand,
|
|
@@ -9120,17 +9075,10 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
9120
9075
|
UpdateSecurityControlCommand,
|
|
9121
9076
|
UpdateSecurityHubConfigurationCommand,
|
|
9122
9077
|
UpdateStandardsControlCommand,
|
|
9123
|
-
UpdateStatus,
|
|
9124
|
-
VerificationState,
|
|
9125
|
-
VulnerabilityExploitAvailable,
|
|
9126
|
-
VulnerabilityFixAvailable,
|
|
9127
|
-
WorkflowState,
|
|
9128
|
-
WorkflowStatus,
|
|
9129
|
-
__Client,
|
|
9130
9078
|
paginateDescribeActionTargets,
|
|
9131
9079
|
paginateDescribeProducts,
|
|
9132
|
-
paginateDescribeStandards,
|
|
9133
9080
|
paginateDescribeStandardsControls,
|
|
9081
|
+
paginateDescribeStandards,
|
|
9134
9082
|
paginateGetEnabledStandards,
|
|
9135
9083
|
paginateGetFindingHistory,
|
|
9136
9084
|
paginateGetFindings,
|
|
@@ -9143,5 +9091,60 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
9143
9091
|
paginateListMembers,
|
|
9144
9092
|
paginateListOrganizationAdminAccounts,
|
|
9145
9093
|
paginateListSecurityControlDefinitions,
|
|
9146
|
-
paginateListStandardsControlAssociations
|
|
9094
|
+
paginateListStandardsControlAssociations,
|
|
9095
|
+
InternalException,
|
|
9096
|
+
InvalidAccessException,
|
|
9097
|
+
InvalidInputException,
|
|
9098
|
+
LimitExceededException,
|
|
9099
|
+
ResourceNotFoundException,
|
|
9100
|
+
AccessDeniedException,
|
|
9101
|
+
SeverityLabel,
|
|
9102
|
+
VerificationState,
|
|
9103
|
+
WorkflowStatus,
|
|
9104
|
+
AutomationRulesActionType,
|
|
9105
|
+
AdminStatus,
|
|
9106
|
+
ConfigurationPolicyAssociationStatus,
|
|
9107
|
+
AssociationType,
|
|
9108
|
+
AssociationStatus,
|
|
9109
|
+
AutoEnableStandards,
|
|
9110
|
+
StringFilterComparison,
|
|
9111
|
+
DateRangeUnit,
|
|
9112
|
+
MapFilterComparison,
|
|
9113
|
+
RuleStatus,
|
|
9114
|
+
AwsIamAccessKeyStatus,
|
|
9115
|
+
AwsS3BucketNotificationConfigurationS3KeyFilterRuleName,
|
|
9116
|
+
ComplianceStatus,
|
|
9117
|
+
MalwareState,
|
|
9118
|
+
MalwareType,
|
|
9119
|
+
NetworkDirection,
|
|
9120
|
+
RecordState,
|
|
9121
|
+
Partition,
|
|
9122
|
+
ThreatIntelIndicatorCategory,
|
|
9123
|
+
ThreatIntelIndicatorType,
|
|
9124
|
+
VulnerabilityExploitAvailable,
|
|
9125
|
+
VulnerabilityFixAvailable,
|
|
9126
|
+
WorkflowState,
|
|
9127
|
+
StandardsStatus,
|
|
9128
|
+
StatusReasonCode,
|
|
9129
|
+
Target,
|
|
9130
|
+
TargetType,
|
|
9131
|
+
ParameterValue,
|
|
9132
|
+
ParameterValueType,
|
|
9133
|
+
ControlStatus,
|
|
9134
|
+
SeverityRating,
|
|
9135
|
+
UpdateStatus,
|
|
9136
|
+
UnprocessedErrorCode,
|
|
9137
|
+
ConfigurationOptions,
|
|
9138
|
+
ControlFindingGenerator,
|
|
9139
|
+
ResourceConflictException,
|
|
9140
|
+
Policy,
|
|
9141
|
+
SecurityControlProperty,
|
|
9142
|
+
OrganizationConfigurationConfigurationType,
|
|
9143
|
+
OrganizationConfigurationStatus,
|
|
9144
|
+
IntegrationType,
|
|
9145
|
+
FindingHistoryUpdateSourceType,
|
|
9146
|
+
SortOrder,
|
|
9147
|
+
RegionAvailabilityStatus,
|
|
9148
|
+
ResourceInUseException
|
|
9147
9149
|
});
|
|
9150
|
+
|
|
@@ -75,7 +75,7 @@ declare const DisableSecurityHubCommand_base: {
|
|
|
75
75
|
* @example To deactivate Security Hub
|
|
76
76
|
* ```javascript
|
|
77
77
|
* // The following example deactivates Security Hub for the current account and Region.
|
|
78
|
-
* const input =
|
|
78
|
+
* const input = {};
|
|
79
79
|
* const command = new DisableSecurityHubCommand(input);
|
|
80
80
|
* await client.send(command);
|
|
81
81
|
* // example id: to-deactivate-security-hub-1676583894245
|
|
@@ -73,7 +73,7 @@ declare const DisassociateFromAdministratorAccountCommand_base: {
|
|
|
73
73
|
* @example To disassociate requesting account from administrator account
|
|
74
74
|
* ```javascript
|
|
75
75
|
* // The following example dissociates the requesting account from its associated administrator account.
|
|
76
|
-
* const input =
|
|
76
|
+
* const input = {};
|
|
77
77
|
* const command = new DisassociateFromAdministratorAccountCommand(input);
|
|
78
78
|
* await client.send(command);
|
|
79
79
|
* // example id: to-disassociate-requesting-account-from-administrator-account-1676584168509
|
|
@@ -78,7 +78,7 @@ declare const GetAdministratorAccountCommand_base: {
|
|
|
78
78
|
* @example To get details about the Security Hub administrator account
|
|
79
79
|
* ```javascript
|
|
80
80
|
* // The following example provides details about the Security Hub administrator account for the requesting member account.
|
|
81
|
-
* const input =
|
|
81
|
+
* const input = {};
|
|
82
82
|
* const command = new GetAdministratorAccountCommand(input);
|
|
83
83
|
* const response = await client.send(command);
|
|
84
84
|
* /* response ==
|
|
@@ -71,7 +71,7 @@ declare const GetInvitationsCountCommand_base: {
|
|
|
71
71
|
* // The following example returns a count of invitations that the Security Hub administrator sent to the current member account, not including the currently accepted invitation.
|
|
72
72
|
* //
|
|
73
73
|
* //
|
|
74
|
-
* const input =
|
|
74
|
+
* const input = {};
|
|
75
75
|
* const command = new GetInvitationsCountCommand(input);
|
|
76
76
|
* const response = await client.send(command);
|
|
77
77
|
* /* response ==
|
|
@@ -71,7 +71,7 @@ declare const ListEnabledProductsForImportCommand_base: {
|
|
|
71
71
|
* @example To list ARNs for enabled integrations
|
|
72
72
|
* ```javascript
|
|
73
73
|
* // The following example returns a list of subscription Amazon Resource Names (ARNs) for the product integrations that you have currently enabled in Security Hub.
|
|
74
|
-
* const input =
|
|
74
|
+
* const input = {};
|
|
75
75
|
* const command = new ListEnabledProductsForImportCommand(input);
|
|
76
76
|
* const response = await client.send(command);
|
|
77
77
|
* /* response ==
|
|
@@ -81,7 +81,7 @@ declare const ListInvitationsCommand_base: {
|
|
|
81
81
|
* @example To list membership invitations to calling account
|
|
82
82
|
* ```javascript
|
|
83
83
|
* // The following example returns a list of Security Hub member invitations sent to the calling AWS account. Only accounts that are invited manually use this operation. It's not for use by accounts that are managed through AWS Organizations.
|
|
84
|
-
* const input =
|
|
84
|
+
* const input = {};
|
|
85
85
|
* const command = new ListInvitationsCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
87
|
* /* response ==
|
|
@@ -86,7 +86,7 @@ declare const ListMembersCommand_base: {
|
|
|
86
86
|
* @example To list member account details
|
|
87
87
|
* ```javascript
|
|
88
88
|
* // The following example returns details about member accounts for the calling Security Hub administrator account. The response includes member accounts that are managed through AWS Organizations and those that were invited manually.
|
|
89
|
-
* const input =
|
|
89
|
+
* const input = {};
|
|
90
90
|
* const command = new ListMembersCommand(input);
|
|
91
91
|
* const response = await client.send(command);
|
|
92
92
|
* /* response ==
|
|
@@ -78,7 +78,7 @@ declare const ListOrganizationAdminAccountsCommand_base: {
|
|
|
78
78
|
* @example To list administrator acccounts for an organization
|
|
79
79
|
* ```javascript
|
|
80
80
|
* // The following example lists the Security Hub administrator accounts for an organization. Only the organization management account can call this operation.
|
|
81
|
-
* const input =
|
|
81
|
+
* const input = {};
|
|
82
82
|
* const command = new ListOrganizationAdminAccountsCommand(input);
|
|
83
83
|
* const response = await client.send(command);
|
|
84
84
|
* /* response ==
|
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.
|
|
4
|
+
"version": "3.498.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,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.1.
|
|
37
|
-
"@smithy/core": "^1.3.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
39
|
-
"@smithy/hash-node": "^2.1.
|
|
40
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
41
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
43
|
-
"@smithy/middleware-retry": "^2.1.
|
|
44
|
-
"@smithy/middleware-serde": "^2.1.
|
|
45
|
-
"@smithy/middleware-stack": "^2.1.
|
|
46
|
-
"@smithy/node-config-provider": "^2.2.
|
|
47
|
-
"@smithy/node-http-handler": "^2.3.
|
|
48
|
-
"@smithy/protocol-http": "^3.1.
|
|
49
|
-
"@smithy/smithy-client": "^2.3.
|
|
50
|
-
"@smithy/types": "^2.9.
|
|
51
|
-
"@smithy/url-parser": "^2.1.
|
|
52
|
-
"@smithy/util-base64": "^2.1.
|
|
53
|
-
"@smithy/util-body-length-browser": "^2.1.
|
|
54
|
-
"@smithy/util-body-length-node": "^2.2.
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.1.
|
|
57
|
-
"@smithy/util-endpoints": "^1.1.
|
|
58
|
-
"@smithy/util-retry": "^2.1.
|
|
59
|
-
"@smithy/util-utf8": "^2.1.
|
|
23
|
+
"@aws-sdk/client-sts": "3.496.0",
|
|
24
|
+
"@aws-sdk/core": "3.496.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.496.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.496.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.496.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.496.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.496.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.496.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.496.0",
|
|
32
|
+
"@aws-sdk/types": "3.496.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.496.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.496.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.496.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.1.1",
|
|
37
|
+
"@smithy/core": "^1.3.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.4.1",
|
|
39
|
+
"@smithy/hash-node": "^2.1.1",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.1.1",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.1.1",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.4.1",
|
|
43
|
+
"@smithy/middleware-retry": "^2.1.1",
|
|
44
|
+
"@smithy/middleware-serde": "^2.1.1",
|
|
45
|
+
"@smithy/middleware-stack": "^2.1.1",
|
|
46
|
+
"@smithy/node-config-provider": "^2.2.1",
|
|
47
|
+
"@smithy/node-http-handler": "^2.3.1",
|
|
48
|
+
"@smithy/protocol-http": "^3.1.1",
|
|
49
|
+
"@smithy/smithy-client": "^2.3.1",
|
|
50
|
+
"@smithy/types": "^2.9.1",
|
|
51
|
+
"@smithy/url-parser": "^2.1.1",
|
|
52
|
+
"@smithy/util-base64": "^2.1.1",
|
|
53
|
+
"@smithy/util-body-length-browser": "^2.1.1",
|
|
54
|
+
"@smithy/util-body-length-node": "^2.2.1",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.1.1",
|
|
57
|
+
"@smithy/util-endpoints": "^1.1.1",
|
|
58
|
+
"@smithy/util-retry": "^2.1.1",
|
|
59
|
+
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"tslib": "^2.5.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@smithy/service-client-documentation-generator": "^2.1.
|
|
63
|
+
"@smithy/service-client-documentation-generator": "^2.1.1",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"concurrently": "7.0.0",
|