@aws-sdk/client-securityhub 3.493.0 → 3.495.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 (112) hide show
  1. package/dist-cjs/SecurityHub.js +1 -169
  2. package/dist-cjs/SecurityHubClient.js +1 -43
  3. package/dist-cjs/commands/AcceptAdministratorInvitationCommand.js +1 -28
  4. package/dist-cjs/commands/AcceptInvitationCommand.js +1 -28
  5. package/dist-cjs/commands/BatchDeleteAutomationRulesCommand.js +1 -28
  6. package/dist-cjs/commands/BatchDisableStandardsCommand.js +1 -28
  7. package/dist-cjs/commands/BatchEnableStandardsCommand.js +1 -28
  8. package/dist-cjs/commands/BatchGetAutomationRulesCommand.js +1 -28
  9. package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +1 -28
  10. package/dist-cjs/commands/BatchGetSecurityControlsCommand.js +1 -28
  11. package/dist-cjs/commands/BatchGetStandardsControlAssociationsCommand.js +1 -28
  12. package/dist-cjs/commands/BatchImportFindingsCommand.js +1 -28
  13. package/dist-cjs/commands/BatchUpdateAutomationRulesCommand.js +1 -28
  14. package/dist-cjs/commands/BatchUpdateFindingsCommand.js +1 -28
  15. package/dist-cjs/commands/BatchUpdateStandardsControlAssociationsCommand.js +1 -28
  16. package/dist-cjs/commands/CreateActionTargetCommand.js +1 -28
  17. package/dist-cjs/commands/CreateAutomationRuleCommand.js +1 -28
  18. package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +1 -28
  19. package/dist-cjs/commands/CreateFindingAggregatorCommand.js +1 -28
  20. package/dist-cjs/commands/CreateInsightCommand.js +1 -28
  21. package/dist-cjs/commands/CreateMembersCommand.js +1 -28
  22. package/dist-cjs/commands/DeclineInvitationsCommand.js +1 -28
  23. package/dist-cjs/commands/DeleteActionTargetCommand.js +1 -28
  24. package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +1 -28
  25. package/dist-cjs/commands/DeleteFindingAggregatorCommand.js +1 -28
  26. package/dist-cjs/commands/DeleteInsightCommand.js +1 -28
  27. package/dist-cjs/commands/DeleteInvitationsCommand.js +1 -28
  28. package/dist-cjs/commands/DeleteMembersCommand.js +1 -28
  29. package/dist-cjs/commands/DescribeActionTargetsCommand.js +1 -28
  30. package/dist-cjs/commands/DescribeHubCommand.js +1 -28
  31. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +1 -28
  32. package/dist-cjs/commands/DescribeProductsCommand.js +1 -28
  33. package/dist-cjs/commands/DescribeStandardsCommand.js +1 -28
  34. package/dist-cjs/commands/DescribeStandardsControlsCommand.js +1 -28
  35. package/dist-cjs/commands/DisableImportFindingsForProductCommand.js +1 -28
  36. package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +1 -28
  37. package/dist-cjs/commands/DisableSecurityHubCommand.js +1 -28
  38. package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +1 -28
  39. package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +1 -28
  40. package/dist-cjs/commands/DisassociateMembersCommand.js +1 -28
  41. package/dist-cjs/commands/EnableImportFindingsForProductCommand.js +1 -28
  42. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +1 -28
  43. package/dist-cjs/commands/EnableSecurityHubCommand.js +1 -28
  44. package/dist-cjs/commands/GetAdministratorAccountCommand.js +1 -28
  45. package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +1 -28
  46. package/dist-cjs/commands/GetConfigurationPolicyCommand.js +1 -28
  47. package/dist-cjs/commands/GetEnabledStandardsCommand.js +1 -28
  48. package/dist-cjs/commands/GetFindingAggregatorCommand.js +1 -28
  49. package/dist-cjs/commands/GetFindingHistoryCommand.js +1 -28
  50. package/dist-cjs/commands/GetFindingsCommand.js +1 -28
  51. package/dist-cjs/commands/GetInsightResultsCommand.js +1 -28
  52. package/dist-cjs/commands/GetInsightsCommand.js +1 -28
  53. package/dist-cjs/commands/GetInvitationsCountCommand.js +1 -28
  54. package/dist-cjs/commands/GetMasterAccountCommand.js +1 -28
  55. package/dist-cjs/commands/GetMembersCommand.js +1 -28
  56. package/dist-cjs/commands/GetSecurityControlDefinitionCommand.js +1 -28
  57. package/dist-cjs/commands/InviteMembersCommand.js +1 -28
  58. package/dist-cjs/commands/ListAutomationRulesCommand.js +1 -28
  59. package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +1 -28
  60. package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +1 -28
  61. package/dist-cjs/commands/ListEnabledProductsForImportCommand.js +1 -28
  62. package/dist-cjs/commands/ListFindingAggregatorsCommand.js +1 -28
  63. package/dist-cjs/commands/ListInvitationsCommand.js +1 -28
  64. package/dist-cjs/commands/ListMembersCommand.js +1 -28
  65. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +1 -28
  66. package/dist-cjs/commands/ListSecurityControlDefinitionsCommand.js +1 -28
  67. package/dist-cjs/commands/ListStandardsControlAssociationsCommand.js +1 -28
  68. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  69. package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +1 -28
  70. package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +1 -28
  71. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  72. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  73. package/dist-cjs/commands/UpdateActionTargetCommand.js +1 -28
  74. package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +1 -28
  75. package/dist-cjs/commands/UpdateFindingAggregatorCommand.js +1 -28
  76. package/dist-cjs/commands/UpdateFindingsCommand.js +1 -28
  77. package/dist-cjs/commands/UpdateInsightCommand.js +1 -28
  78. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +1 -28
  79. package/dist-cjs/commands/UpdateSecurityControlCommand.js +1 -28
  80. package/dist-cjs/commands/UpdateSecurityHubConfigurationCommand.js +1 -28
  81. package/dist-cjs/commands/UpdateStandardsControlCommand.js +1 -28
  82. package/dist-cjs/commands/index.js +1 -82
  83. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  84. package/dist-cjs/extensionConfiguration.js +1 -2
  85. package/dist-cjs/index.js +9146 -11
  86. package/dist-cjs/models/SecurityHubServiceException.js +1 -12
  87. package/dist-cjs/models/index.js +1 -6
  88. package/dist-cjs/models/models_0.js +1 -158
  89. package/dist-cjs/models/models_1.js +1 -47
  90. package/dist-cjs/models/models_2.js +1 -212
  91. package/dist-cjs/pagination/DescribeActionTargetsPaginator.js +1 -7
  92. package/dist-cjs/pagination/DescribeProductsPaginator.js +1 -7
  93. package/dist-cjs/pagination/DescribeStandardsControlsPaginator.js +1 -7
  94. package/dist-cjs/pagination/DescribeStandardsPaginator.js +1 -7
  95. package/dist-cjs/pagination/GetEnabledStandardsPaginator.js +1 -7
  96. package/dist-cjs/pagination/GetFindingHistoryPaginator.js +1 -7
  97. package/dist-cjs/pagination/GetFindingsPaginator.js +1 -7
  98. package/dist-cjs/pagination/GetInsightsPaginator.js +1 -7
  99. package/dist-cjs/pagination/Interfaces.js +1 -2
  100. package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +1 -7
  101. package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +1 -7
  102. package/dist-cjs/pagination/ListEnabledProductsForImportPaginator.js +1 -7
  103. package/dist-cjs/pagination/ListFindingAggregatorsPaginator.js +1 -7
  104. package/dist-cjs/pagination/ListInvitationsPaginator.js +1 -7
  105. package/dist-cjs/pagination/ListMembersPaginator.js +1 -7
  106. package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js +1 -7
  107. package/dist-cjs/pagination/ListSecurityControlDefinitionsPaginator.js +1 -7
  108. package/dist-cjs/pagination/ListStandardsControlAssociationsPaginator.js +1 -7
  109. package/dist-cjs/pagination/index.js +1 -21
  110. package/dist-cjs/protocols/Aws_restJson1.js +1 -6899
  111. package/dist-cjs/runtimeExtensions.js +1 -22
  112. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SecurityHubServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class SecurityHubServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, SecurityHubServiceException.prototype);
10
- }
11
- }
12
- exports.SecurityHubServiceException = SecurityHubServiceException;
1
+ module.exports = require("../index.js");
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
5
- tslib_1.__exportStar(require("./models_1"), exports);
6
- tslib_1.__exportStar(require("./models_2"), exports);
1
+ module.exports = require("../index.js");
@@ -1,158 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RuleStatus = exports.MapFilterComparison = exports.DateRangeUnit = exports.StringFilterComparison = exports.AutoEnableStandards = exports.AssociationStatus = exports.AssociationType = exports.ConfigurationPolicyAssociationStatus = exports.AdminStatus = exports.AutomationRulesActionType = exports.WorkflowStatus = exports.VerificationState = exports.SeverityLabel = exports.AccessDeniedException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InvalidInputException = exports.InvalidAccessException = exports.InternalException = void 0;
4
- const SecurityHubServiceException_1 = require("./SecurityHubServiceException");
5
- class InternalException extends SecurityHubServiceException_1.SecurityHubServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "InternalException",
9
- $fault: "server",
10
- ...opts,
11
- });
12
- this.name = "InternalException";
13
- this.$fault = "server";
14
- Object.setPrototypeOf(this, InternalException.prototype);
15
- this.Message = opts.Message;
16
- this.Code = opts.Code;
17
- }
18
- }
19
- exports.InternalException = InternalException;
20
- class InvalidAccessException extends SecurityHubServiceException_1.SecurityHubServiceException {
21
- constructor(opts) {
22
- super({
23
- name: "InvalidAccessException",
24
- $fault: "client",
25
- ...opts,
26
- });
27
- this.name = "InvalidAccessException";
28
- this.$fault = "client";
29
- Object.setPrototypeOf(this, InvalidAccessException.prototype);
30
- this.Message = opts.Message;
31
- this.Code = opts.Code;
32
- }
33
- }
34
- exports.InvalidAccessException = InvalidAccessException;
35
- class InvalidInputException extends SecurityHubServiceException_1.SecurityHubServiceException {
36
- constructor(opts) {
37
- super({
38
- name: "InvalidInputException",
39
- $fault: "client",
40
- ...opts,
41
- });
42
- this.name = "InvalidInputException";
43
- this.$fault = "client";
44
- Object.setPrototypeOf(this, InvalidInputException.prototype);
45
- this.Message = opts.Message;
46
- this.Code = opts.Code;
47
- }
48
- }
49
- exports.InvalidInputException = InvalidInputException;
50
- class LimitExceededException extends SecurityHubServiceException_1.SecurityHubServiceException {
51
- constructor(opts) {
52
- super({
53
- name: "LimitExceededException",
54
- $fault: "client",
55
- ...opts,
56
- });
57
- this.name = "LimitExceededException";
58
- this.$fault = "client";
59
- Object.setPrototypeOf(this, LimitExceededException.prototype);
60
- this.Message = opts.Message;
61
- this.Code = opts.Code;
62
- }
63
- }
64
- exports.LimitExceededException = LimitExceededException;
65
- class ResourceNotFoundException extends SecurityHubServiceException_1.SecurityHubServiceException {
66
- constructor(opts) {
67
- super({
68
- name: "ResourceNotFoundException",
69
- $fault: "client",
70
- ...opts,
71
- });
72
- this.name = "ResourceNotFoundException";
73
- this.$fault = "client";
74
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
75
- this.Message = opts.Message;
76
- this.Code = opts.Code;
77
- }
78
- }
79
- exports.ResourceNotFoundException = ResourceNotFoundException;
80
- class AccessDeniedException extends SecurityHubServiceException_1.SecurityHubServiceException {
81
- constructor(opts) {
82
- super({
83
- name: "AccessDeniedException",
84
- $fault: "client",
85
- ...opts,
86
- });
87
- this.name = "AccessDeniedException";
88
- this.$fault = "client";
89
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
90
- this.Message = opts.Message;
91
- this.Code = opts.Code;
92
- }
93
- }
94
- exports.AccessDeniedException = AccessDeniedException;
95
- exports.SeverityLabel = {
96
- CRITICAL: "CRITICAL",
97
- HIGH: "HIGH",
98
- INFORMATIONAL: "INFORMATIONAL",
99
- LOW: "LOW",
100
- MEDIUM: "MEDIUM",
101
- };
102
- exports.VerificationState = {
103
- BENIGN_POSITIVE: "BENIGN_POSITIVE",
104
- FALSE_POSITIVE: "FALSE_POSITIVE",
105
- TRUE_POSITIVE: "TRUE_POSITIVE",
106
- UNKNOWN: "UNKNOWN",
107
- };
108
- exports.WorkflowStatus = {
109
- NEW: "NEW",
110
- NOTIFIED: "NOTIFIED",
111
- RESOLVED: "RESOLVED",
112
- SUPPRESSED: "SUPPRESSED",
113
- };
114
- exports.AutomationRulesActionType = {
115
- FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE",
116
- };
117
- exports.AdminStatus = {
118
- DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
119
- ENABLED: "ENABLED",
120
- };
121
- exports.ConfigurationPolicyAssociationStatus = {
122
- FAILED: "FAILED",
123
- PENDING: "PENDING",
124
- SUCCESS: "SUCCESS",
125
- };
126
- exports.AssociationType = {
127
- APPLIED: "APPLIED",
128
- INHERITED: "INHERITED",
129
- };
130
- exports.AssociationStatus = {
131
- DISABLED: "DISABLED",
132
- ENABLED: "ENABLED",
133
- };
134
- exports.AutoEnableStandards = {
135
- DEFAULT: "DEFAULT",
136
- NONE: "NONE",
137
- };
138
- exports.StringFilterComparison = {
139
- CONTAINS: "CONTAINS",
140
- EQUALS: "EQUALS",
141
- NOT_CONTAINS: "NOT_CONTAINS",
142
- NOT_EQUALS: "NOT_EQUALS",
143
- PREFIX: "PREFIX",
144
- PREFIX_NOT_EQUALS: "PREFIX_NOT_EQUALS",
145
- };
146
- exports.DateRangeUnit = {
147
- DAYS: "DAYS",
148
- };
149
- exports.MapFilterComparison = {
150
- CONTAINS: "CONTAINS",
151
- EQUALS: "EQUALS",
152
- NOT_CONTAINS: "NOT_CONTAINS",
153
- NOT_EQUALS: "NOT_EQUALS",
154
- };
155
- exports.RuleStatus = {
156
- DISABLED: "DISABLED",
157
- ENABLED: "ENABLED",
158
- };
1
+ module.exports = require("../index.js");
@@ -1,47 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RecordState = exports.NetworkDirection = exports.MalwareType = exports.MalwareState = exports.ComplianceStatus = exports.AwsS3BucketNotificationConfigurationS3KeyFilterRuleName = exports.AwsIamAccessKeyStatus = void 0;
4
- exports.AwsIamAccessKeyStatus = {
5
- ACTIVE: "Active",
6
- INACTIVE: "Inactive",
7
- };
8
- exports.AwsS3BucketNotificationConfigurationS3KeyFilterRuleName = {
9
- PREFIX: "Prefix",
10
- SUFFIX: "Suffix",
11
- };
12
- exports.ComplianceStatus = {
13
- FAILED: "FAILED",
14
- NOT_AVAILABLE: "NOT_AVAILABLE",
15
- PASSED: "PASSED",
16
- WARNING: "WARNING",
17
- };
18
- exports.MalwareState = {
19
- OBSERVED: "OBSERVED",
20
- REMOVAL_FAILED: "REMOVAL_FAILED",
21
- REMOVED: "REMOVED",
22
- };
23
- exports.MalwareType = {
24
- ADWARE: "ADWARE",
25
- BLENDED_THREAT: "BLENDED_THREAT",
26
- BOTNET_AGENT: "BOTNET_AGENT",
27
- COIN_MINER: "COIN_MINER",
28
- EXPLOIT_KIT: "EXPLOIT_KIT",
29
- KEYLOGGER: "KEYLOGGER",
30
- MACRO: "MACRO",
31
- POTENTIALLY_UNWANTED: "POTENTIALLY_UNWANTED",
32
- RANSOMWARE: "RANSOMWARE",
33
- REMOTE_ACCESS: "REMOTE_ACCESS",
34
- ROOTKIT: "ROOTKIT",
35
- SPYWARE: "SPYWARE",
36
- TROJAN: "TROJAN",
37
- VIRUS: "VIRUS",
38
- WORM: "WORM",
39
- };
40
- exports.NetworkDirection = {
41
- IN: "IN",
42
- OUT: "OUT",
43
- };
44
- exports.RecordState = {
45
- ACTIVE: "ACTIVE",
46
- ARCHIVED: "ARCHIVED",
47
- };
1
+ module.exports = require("../index.js");
@@ -1,212 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceInUseException = exports.RegionAvailabilityStatus = exports.SortOrder = exports.FindingHistoryUpdateSourceType = exports.IntegrationType = exports.OrganizationConfigurationStatus = exports.OrganizationConfigurationConfigurationType = exports.SecurityControlProperty = exports.Policy = exports.ResourceConflictException = exports.ControlFindingGenerator = exports.ConfigurationOptions = exports.UnprocessedErrorCode = exports.UpdateStatus = exports.SeverityRating = exports.ControlStatus = exports.ParameterValueType = exports.ParameterValue = exports.TargetType = exports.Target = exports.StatusReasonCode = exports.StandardsStatus = exports.WorkflowState = exports.VulnerabilityFixAvailable = exports.VulnerabilityExploitAvailable = exports.ThreatIntelIndicatorType = exports.ThreatIntelIndicatorCategory = exports.Partition = void 0;
4
- const SecurityHubServiceException_1 = require("./SecurityHubServiceException");
5
- exports.Partition = {
6
- AWS: "aws",
7
- AWS_CN: "aws-cn",
8
- AWS_US_GOV: "aws-us-gov",
9
- };
10
- exports.ThreatIntelIndicatorCategory = {
11
- BACKDOOR: "BACKDOOR",
12
- CARD_STEALER: "CARD_STEALER",
13
- COMMAND_AND_CONTROL: "COMMAND_AND_CONTROL",
14
- DROP_SITE: "DROP_SITE",
15
- EXPLOIT_SITE: "EXPLOIT_SITE",
16
- KEYLOGGER: "KEYLOGGER",
17
- };
18
- exports.ThreatIntelIndicatorType = {
19
- DOMAIN: "DOMAIN",
20
- EMAIL_ADDRESS: "EMAIL_ADDRESS",
21
- HASH_MD5: "HASH_MD5",
22
- HASH_SHA1: "HASH_SHA1",
23
- HASH_SHA256: "HASH_SHA256",
24
- HASH_SHA512: "HASH_SHA512",
25
- IPV4_ADDRESS: "IPV4_ADDRESS",
26
- IPV6_ADDRESS: "IPV6_ADDRESS",
27
- MUTEX: "MUTEX",
28
- PROCESS: "PROCESS",
29
- URL: "URL",
30
- };
31
- exports.VulnerabilityExploitAvailable = {
32
- NO: "NO",
33
- YES: "YES",
34
- };
35
- exports.VulnerabilityFixAvailable = {
36
- NO: "NO",
37
- PARTIAL: "PARTIAL",
38
- YES: "YES",
39
- };
40
- exports.WorkflowState = {
41
- ASSIGNED: "ASSIGNED",
42
- DEFERRED: "DEFERRED",
43
- IN_PROGRESS: "IN_PROGRESS",
44
- NEW: "NEW",
45
- RESOLVED: "RESOLVED",
46
- };
47
- exports.StandardsStatus = {
48
- DELETING: "DELETING",
49
- FAILED: "FAILED",
50
- INCOMPLETE: "INCOMPLETE",
51
- PENDING: "PENDING",
52
- READY: "READY",
53
- };
54
- exports.StatusReasonCode = {
55
- INTERNAL_ERROR: "INTERNAL_ERROR",
56
- NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER",
57
- };
58
- var Target;
59
- (function (Target) {
60
- Target.visit = (value, visitor) => {
61
- if (value.AccountId !== undefined)
62
- return visitor.AccountId(value.AccountId);
63
- if (value.OrganizationalUnitId !== undefined)
64
- return visitor.OrganizationalUnitId(value.OrganizationalUnitId);
65
- if (value.RootId !== undefined)
66
- return visitor.RootId(value.RootId);
67
- return visitor._(value.$unknown[0], value.$unknown[1]);
68
- };
69
- })(Target = exports.Target || (exports.Target = {}));
70
- exports.TargetType = {
71
- ACCOUNT: "ACCOUNT",
72
- ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT",
73
- };
74
- var ParameterValue;
75
- (function (ParameterValue) {
76
- ParameterValue.visit = (value, visitor) => {
77
- if (value.Integer !== undefined)
78
- return visitor.Integer(value.Integer);
79
- if (value.IntegerList !== undefined)
80
- return visitor.IntegerList(value.IntegerList);
81
- if (value.Double !== undefined)
82
- return visitor.Double(value.Double);
83
- if (value.String !== undefined)
84
- return visitor.String(value.String);
85
- if (value.StringList !== undefined)
86
- return visitor.StringList(value.StringList);
87
- if (value.Boolean !== undefined)
88
- return visitor.Boolean(value.Boolean);
89
- if (value.Enum !== undefined)
90
- return visitor.Enum(value.Enum);
91
- if (value.EnumList !== undefined)
92
- return visitor.EnumList(value.EnumList);
93
- return visitor._(value.$unknown[0], value.$unknown[1]);
94
- };
95
- })(ParameterValue = exports.ParameterValue || (exports.ParameterValue = {}));
96
- exports.ParameterValueType = {
97
- CUSTOM: "CUSTOM",
98
- DEFAULT: "DEFAULT",
99
- };
100
- exports.ControlStatus = {
101
- DISABLED: "DISABLED",
102
- ENABLED: "ENABLED",
103
- };
104
- exports.SeverityRating = {
105
- CRITICAL: "CRITICAL",
106
- HIGH: "HIGH",
107
- LOW: "LOW",
108
- MEDIUM: "MEDIUM",
109
- };
110
- exports.UpdateStatus = {
111
- READY: "READY",
112
- UPDATING: "UPDATING",
113
- };
114
- exports.UnprocessedErrorCode = {
115
- ACCESS_DENIED: "ACCESS_DENIED",
116
- INVALID_INPUT: "INVALID_INPUT",
117
- LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
118
- NOT_FOUND: "NOT_FOUND",
119
- };
120
- var ConfigurationOptions;
121
- (function (ConfigurationOptions) {
122
- ConfigurationOptions.visit = (value, visitor) => {
123
- if (value.Integer !== undefined)
124
- return visitor.Integer(value.Integer);
125
- if (value.IntegerList !== undefined)
126
- return visitor.IntegerList(value.IntegerList);
127
- if (value.Double !== undefined)
128
- return visitor.Double(value.Double);
129
- if (value.String !== undefined)
130
- return visitor.String(value.String);
131
- if (value.StringList !== undefined)
132
- return visitor.StringList(value.StringList);
133
- if (value.Boolean !== undefined)
134
- return visitor.Boolean(value.Boolean);
135
- if (value.Enum !== undefined)
136
- return visitor.Enum(value.Enum);
137
- if (value.EnumList !== undefined)
138
- return visitor.EnumList(value.EnumList);
139
- return visitor._(value.$unknown[0], value.$unknown[1]);
140
- };
141
- })(ConfigurationOptions = exports.ConfigurationOptions || (exports.ConfigurationOptions = {}));
142
- exports.ControlFindingGenerator = {
143
- SECURITY_CONTROL: "SECURITY_CONTROL",
144
- STANDARD_CONTROL: "STANDARD_CONTROL",
145
- };
146
- class ResourceConflictException extends SecurityHubServiceException_1.SecurityHubServiceException {
147
- constructor(opts) {
148
- super({
149
- name: "ResourceConflictException",
150
- $fault: "client",
151
- ...opts,
152
- });
153
- this.name = "ResourceConflictException";
154
- this.$fault = "client";
155
- Object.setPrototypeOf(this, ResourceConflictException.prototype);
156
- this.Message = opts.Message;
157
- this.Code = opts.Code;
158
- }
159
- }
160
- exports.ResourceConflictException = ResourceConflictException;
161
- var Policy;
162
- (function (Policy) {
163
- Policy.visit = (value, visitor) => {
164
- if (value.SecurityHub !== undefined)
165
- return visitor.SecurityHub(value.SecurityHub);
166
- return visitor._(value.$unknown[0], value.$unknown[1]);
167
- };
168
- })(Policy = exports.Policy || (exports.Policy = {}));
169
- exports.SecurityControlProperty = {
170
- Parameters: "Parameters",
171
- };
172
- exports.OrganizationConfigurationConfigurationType = {
173
- CENTRAL: "CENTRAL",
174
- LOCAL: "LOCAL",
175
- };
176
- exports.OrganizationConfigurationStatus = {
177
- ENABLED: "ENABLED",
178
- FAILED: "FAILED",
179
- PENDING: "PENDING",
180
- };
181
- exports.IntegrationType = {
182
- RECEIVE_FINDINGS_FROM_SECURITY_HUB: "RECEIVE_FINDINGS_FROM_SECURITY_HUB",
183
- SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
184
- UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB",
185
- };
186
- exports.FindingHistoryUpdateSourceType = {
187
- BATCH_IMPORT_FINDINGS: "BATCH_IMPORT_FINDINGS",
188
- BATCH_UPDATE_FINDINGS: "BATCH_UPDATE_FINDINGS",
189
- };
190
- exports.SortOrder = {
191
- ASCENDING: "asc",
192
- DESCENDING: "desc",
193
- };
194
- exports.RegionAvailabilityStatus = {
195
- AVAILABLE: "AVAILABLE",
196
- UNAVAILABLE: "UNAVAILABLE",
197
- };
198
- class ResourceInUseException extends SecurityHubServiceException_1.SecurityHubServiceException {
199
- constructor(opts) {
200
- super({
201
- name: "ResourceInUseException",
202
- $fault: "client",
203
- ...opts,
204
- });
205
- this.name = "ResourceInUseException";
206
- this.$fault = "client";
207
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
208
- this.Message = opts.Message;
209
- this.Code = opts.Code;
210
- }
211
- }
212
- exports.ResourceInUseException = ResourceInUseException;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeActionTargets = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeActionTargetsCommand_1 = require("../commands/DescribeActionTargetsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateDescribeActionTargets = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, DescribeActionTargetsCommand_1.DescribeActionTargetsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeProducts = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeProductsCommand_1 = require("../commands/DescribeProductsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateDescribeProducts = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, DescribeProductsCommand_1.DescribeProductsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeStandardsControls = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeStandardsControlsCommand_1 = require("../commands/DescribeStandardsControlsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateDescribeStandardsControls = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, DescribeStandardsControlsCommand_1.DescribeStandardsControlsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeStandards = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeStandardsCommand_1 = require("../commands/DescribeStandardsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateDescribeStandards = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, DescribeStandardsCommand_1.DescribeStandardsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetEnabledStandards = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetEnabledStandardsCommand_1 = require("../commands/GetEnabledStandardsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateGetEnabledStandards = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, GetEnabledStandardsCommand_1.GetEnabledStandardsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetFindingHistory = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetFindingHistoryCommand_1 = require("../commands/GetFindingHistoryCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateGetFindingHistory = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, GetFindingHistoryCommand_1.GetFindingHistoryCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetFindings = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetFindingsCommand_1 = require("../commands/GetFindingsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateGetFindings = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, GetFindingsCommand_1.GetFindingsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetInsights = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetInsightsCommand_1 = require("../commands/GetInsightsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateGetInsights = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, GetInsightsCommand_1.GetInsightsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListConfigurationPolicies = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListConfigurationPoliciesCommand_1 = require("../commands/ListConfigurationPoliciesCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateListConfigurationPolicies = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListConfigurationPoliciesCommand_1.ListConfigurationPoliciesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListConfigurationPolicyAssociations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListConfigurationPolicyAssociationsCommand_1 = require("../commands/ListConfigurationPolicyAssociationsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateListConfigurationPolicyAssociations = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListConfigurationPolicyAssociationsCommand_1.ListConfigurationPolicyAssociationsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListEnabledProductsForImport = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListEnabledProductsForImportCommand_1 = require("../commands/ListEnabledProductsForImportCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateListEnabledProductsForImport = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListEnabledProductsForImportCommand_1.ListEnabledProductsForImportCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListFindingAggregators = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListFindingAggregatorsCommand_1 = require("../commands/ListFindingAggregatorsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateListFindingAggregators = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListFindingAggregatorsCommand_1.ListFindingAggregatorsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListInvitations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListInvitationsCommand_1 = require("../commands/ListInvitationsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateListInvitations = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListInvitationsCommand_1.ListInvitationsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListMembers = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListMembersCommand_1 = require("../commands/ListMembersCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateListMembers = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListMembersCommand_1.ListMembersCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListOrganizationAdminAccounts = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListOrganizationAdminAccountsCommand_1 = require("../commands/ListOrganizationAdminAccountsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateListOrganizationAdminAccounts = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListOrganizationAdminAccountsCommand_1.ListOrganizationAdminAccountsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListSecurityControlDefinitions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListSecurityControlDefinitionsCommand_1 = require("../commands/ListSecurityControlDefinitionsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateListSecurityControlDefinitions = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListSecurityControlDefinitionsCommand_1.ListSecurityControlDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListStandardsControlAssociations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListStandardsControlAssociationsCommand_1 = require("../commands/ListStandardsControlAssociationsCommand");
6
- const SecurityHubClient_1 = require("../SecurityHubClient");
7
- exports.paginateListStandardsControlAssociations = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, ListStandardsControlAssociationsCommand_1.ListStandardsControlAssociationsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,21 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DescribeActionTargetsPaginator"), exports);
5
- tslib_1.__exportStar(require("./DescribeProductsPaginator"), exports);
6
- tslib_1.__exportStar(require("./DescribeStandardsControlsPaginator"), exports);
7
- tslib_1.__exportStar(require("./DescribeStandardsPaginator"), exports);
8
- tslib_1.__exportStar(require("./GetEnabledStandardsPaginator"), exports);
9
- tslib_1.__exportStar(require("./GetFindingHistoryPaginator"), exports);
10
- tslib_1.__exportStar(require("./GetFindingsPaginator"), exports);
11
- tslib_1.__exportStar(require("./GetInsightsPaginator"), exports);
12
- tslib_1.__exportStar(require("./Interfaces"), exports);
13
- tslib_1.__exportStar(require("./ListConfigurationPoliciesPaginator"), exports);
14
- tslib_1.__exportStar(require("./ListConfigurationPolicyAssociationsPaginator"), exports);
15
- tslib_1.__exportStar(require("./ListEnabledProductsForImportPaginator"), exports);
16
- tslib_1.__exportStar(require("./ListFindingAggregatorsPaginator"), exports);
17
- tslib_1.__exportStar(require("./ListInvitationsPaginator"), exports);
18
- tslib_1.__exportStar(require("./ListMembersPaginator"), exports);
19
- tslib_1.__exportStar(require("./ListOrganizationAdminAccountsPaginator"), exports);
20
- tslib_1.__exportStar(require("./ListSecurityControlDefinitionsPaginator"), exports);
21
- tslib_1.__exportStar(require("./ListStandardsControlAssociationsPaginator"), exports);
1
+ module.exports = require("../index.js");