@aws-sdk/client-securityhub 3.934.0 → 3.936.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 +474 -476
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +458 -0
- package/dist-es/models/errors.js +193 -0
- package/dist-es/models/models_0.js +1 -178
- package/dist-es/models/models_1.js +1 -48
- package/dist-es/models/models_2.js +1 -359
- package/dist-es/models/models_3.js +1 -68
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +2 -1
- package/dist-types/commands/GetFindingsV2Command.d.ts +2 -1
- package/dist-types/commands/GetInsightResultsCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightsCommand.d.ts +1 -1
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +2 -1
- package/dist-types/commands/GetResourcesV2Command.d.ts +2 -1
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatorsV2Command.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsV2Command.d.ts +1 -1
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingAggregatorsCommand.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/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/index.d.ts +6 -1
- package/dist-types/models/enums.d.ts +994 -0
- package/dist-types/models/errors.d.ts +179 -0
- package/dist-types/models/models_0.d.ts +903 -305
- package/dist-types/models/models_1.d.ts +5669 -5639
- package/dist-types/models/models_2.d.ts +5423 -5594
- package/dist-types/models/models_3.d.ts +3 -1634
- package/dist-types/ts3.4/commands/GetFindingStatisticsV2Command.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetFindingsV2Command.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResourcesStatisticsV2Command.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetResourcesV2Command.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +6 -1
- package/dist-types/ts3.4/models/enums.d.ts +574 -0
- package/dist-types/ts3.4/models/errors.d.ts +106 -0
- package/dist-types/ts3.4/models/models_0.d.ts +209 -164
- package/dist-types/ts3.4/models/models_1.d.ts +205 -260
- package/dist-types/ts3.4/models/models_2.d.ts +398 -582
- package/dist-types/ts3.4/models/models_3.d.ts +13 -439
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -4
- package/dist-types/models/index.d.ts +0 -4
- package/dist-types/ts3.4/models/index.d.ts +0 -4
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./SecurityHubClient";
|
|
|
2
2
|
export * from "./SecurityHub";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { SecurityHubServiceException } from "./models/SecurityHubServiceException";
|
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
export const SeverityLabel = {
|
|
2
|
+
CRITICAL: "CRITICAL",
|
|
3
|
+
HIGH: "HIGH",
|
|
4
|
+
INFORMATIONAL: "INFORMATIONAL",
|
|
5
|
+
LOW: "LOW",
|
|
6
|
+
MEDIUM: "MEDIUM",
|
|
7
|
+
};
|
|
8
|
+
export const VerificationState = {
|
|
9
|
+
BENIGN_POSITIVE: "BENIGN_POSITIVE",
|
|
10
|
+
FALSE_POSITIVE: "FALSE_POSITIVE",
|
|
11
|
+
TRUE_POSITIVE: "TRUE_POSITIVE",
|
|
12
|
+
UNKNOWN: "UNKNOWN",
|
|
13
|
+
};
|
|
14
|
+
export const WorkflowStatus = {
|
|
15
|
+
NEW: "NEW",
|
|
16
|
+
NOTIFIED: "NOTIFIED",
|
|
17
|
+
RESOLVED: "RESOLVED",
|
|
18
|
+
SUPPRESSED: "SUPPRESSED",
|
|
19
|
+
};
|
|
20
|
+
export const AutomationRulesActionType = {
|
|
21
|
+
FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE",
|
|
22
|
+
};
|
|
23
|
+
export const ActorSessionMfaStatus = {
|
|
24
|
+
DISABLED: "DISABLED",
|
|
25
|
+
ENABLED: "ENABLED",
|
|
26
|
+
};
|
|
27
|
+
export const AdminStatus = {
|
|
28
|
+
DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
|
|
29
|
+
ENABLED: "ENABLED",
|
|
30
|
+
};
|
|
31
|
+
export const AllowedOperators = {
|
|
32
|
+
AND: "AND",
|
|
33
|
+
OR: "OR",
|
|
34
|
+
};
|
|
35
|
+
export const ConfigurationPolicyAssociationStatus = {
|
|
36
|
+
FAILED: "FAILED",
|
|
37
|
+
PENDING: "PENDING",
|
|
38
|
+
SUCCESS: "SUCCESS",
|
|
39
|
+
};
|
|
40
|
+
export const AssociationType = {
|
|
41
|
+
APPLIED: "APPLIED",
|
|
42
|
+
INHERITED: "INHERITED",
|
|
43
|
+
};
|
|
44
|
+
export const AssociationStatus = {
|
|
45
|
+
DISABLED: "DISABLED",
|
|
46
|
+
ENABLED: "ENABLED",
|
|
47
|
+
};
|
|
48
|
+
export const AutoEnableStandards = {
|
|
49
|
+
DEFAULT: "DEFAULT",
|
|
50
|
+
NONE: "NONE",
|
|
51
|
+
};
|
|
52
|
+
export const AutomationRulesActionTypeV2 = {
|
|
53
|
+
EXTERNAL_INTEGRATION: "EXTERNAL_INTEGRATION",
|
|
54
|
+
FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE",
|
|
55
|
+
};
|
|
56
|
+
export const StringFilterComparison = {
|
|
57
|
+
CONTAINS: "CONTAINS",
|
|
58
|
+
CONTAINS_WORD: "CONTAINS_WORD",
|
|
59
|
+
EQUALS: "EQUALS",
|
|
60
|
+
NOT_CONTAINS: "NOT_CONTAINS",
|
|
61
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
62
|
+
PREFIX: "PREFIX",
|
|
63
|
+
PREFIX_NOT_EQUALS: "PREFIX_NOT_EQUALS",
|
|
64
|
+
};
|
|
65
|
+
export const DateRangeUnit = {
|
|
66
|
+
DAYS: "DAYS",
|
|
67
|
+
};
|
|
68
|
+
export const MapFilterComparison = {
|
|
69
|
+
CONTAINS: "CONTAINS",
|
|
70
|
+
EQUALS: "EQUALS",
|
|
71
|
+
NOT_CONTAINS: "NOT_CONTAINS",
|
|
72
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
73
|
+
};
|
|
74
|
+
export const RuleStatus = {
|
|
75
|
+
DISABLED: "DISABLED",
|
|
76
|
+
ENABLED: "ENABLED",
|
|
77
|
+
};
|
|
78
|
+
export const RuleStatusV2 = {
|
|
79
|
+
DISABLED: "DISABLED",
|
|
80
|
+
ENABLED: "ENABLED",
|
|
81
|
+
};
|
|
82
|
+
export const AwsIamAccessKeyStatus = {
|
|
83
|
+
ACTIVE: "Active",
|
|
84
|
+
INACTIVE: "Inactive",
|
|
85
|
+
};
|
|
86
|
+
export const AwsS3BucketNotificationConfigurationS3KeyFilterRuleName = {
|
|
87
|
+
PREFIX: "Prefix",
|
|
88
|
+
SUFFIX: "Suffix",
|
|
89
|
+
};
|
|
90
|
+
export const ComplianceStatus = {
|
|
91
|
+
FAILED: "FAILED",
|
|
92
|
+
NOT_AVAILABLE: "NOT_AVAILABLE",
|
|
93
|
+
PASSED: "PASSED",
|
|
94
|
+
WARNING: "WARNING",
|
|
95
|
+
};
|
|
96
|
+
export const ConnectionDirection = {
|
|
97
|
+
INBOUND: "INBOUND",
|
|
98
|
+
OUTBOUND: "OUTBOUND",
|
|
99
|
+
};
|
|
100
|
+
export const MalwareState = {
|
|
101
|
+
OBSERVED: "OBSERVED",
|
|
102
|
+
REMOVAL_FAILED: "REMOVAL_FAILED",
|
|
103
|
+
REMOVED: "REMOVED",
|
|
104
|
+
};
|
|
105
|
+
export const MalwareType = {
|
|
106
|
+
ADWARE: "ADWARE",
|
|
107
|
+
BLENDED_THREAT: "BLENDED_THREAT",
|
|
108
|
+
BOTNET_AGENT: "BOTNET_AGENT",
|
|
109
|
+
COIN_MINER: "COIN_MINER",
|
|
110
|
+
EXPLOIT_KIT: "EXPLOIT_KIT",
|
|
111
|
+
KEYLOGGER: "KEYLOGGER",
|
|
112
|
+
MACRO: "MACRO",
|
|
113
|
+
POTENTIALLY_UNWANTED: "POTENTIALLY_UNWANTED",
|
|
114
|
+
RANSOMWARE: "RANSOMWARE",
|
|
115
|
+
REMOTE_ACCESS: "REMOTE_ACCESS",
|
|
116
|
+
ROOTKIT: "ROOTKIT",
|
|
117
|
+
SPYWARE: "SPYWARE",
|
|
118
|
+
TROJAN: "TROJAN",
|
|
119
|
+
VIRUS: "VIRUS",
|
|
120
|
+
WORM: "WORM",
|
|
121
|
+
};
|
|
122
|
+
export const NetworkDirection = {
|
|
123
|
+
IN: "IN",
|
|
124
|
+
OUT: "OUT",
|
|
125
|
+
};
|
|
126
|
+
export const RecordState = {
|
|
127
|
+
ACTIVE: "ACTIVE",
|
|
128
|
+
ARCHIVED: "ARCHIVED",
|
|
129
|
+
};
|
|
130
|
+
export const Partition = {
|
|
131
|
+
AWS: "aws",
|
|
132
|
+
AWS_CN: "aws-cn",
|
|
133
|
+
AWS_US_GOV: "aws-us-gov",
|
|
134
|
+
};
|
|
135
|
+
export const ThreatIntelIndicatorCategory = {
|
|
136
|
+
BACKDOOR: "BACKDOOR",
|
|
137
|
+
CARD_STEALER: "CARD_STEALER",
|
|
138
|
+
COMMAND_AND_CONTROL: "COMMAND_AND_CONTROL",
|
|
139
|
+
DROP_SITE: "DROP_SITE",
|
|
140
|
+
EXPLOIT_SITE: "EXPLOIT_SITE",
|
|
141
|
+
KEYLOGGER: "KEYLOGGER",
|
|
142
|
+
};
|
|
143
|
+
export const ThreatIntelIndicatorType = {
|
|
144
|
+
DOMAIN: "DOMAIN",
|
|
145
|
+
EMAIL_ADDRESS: "EMAIL_ADDRESS",
|
|
146
|
+
HASH_MD5: "HASH_MD5",
|
|
147
|
+
HASH_SHA1: "HASH_SHA1",
|
|
148
|
+
HASH_SHA256: "HASH_SHA256",
|
|
149
|
+
HASH_SHA512: "HASH_SHA512",
|
|
150
|
+
IPV4_ADDRESS: "IPV4_ADDRESS",
|
|
151
|
+
IPV6_ADDRESS: "IPV6_ADDRESS",
|
|
152
|
+
MUTEX: "MUTEX",
|
|
153
|
+
PROCESS: "PROCESS",
|
|
154
|
+
URL: "URL",
|
|
155
|
+
};
|
|
156
|
+
export const VulnerabilityExploitAvailable = {
|
|
157
|
+
NO: "NO",
|
|
158
|
+
YES: "YES",
|
|
159
|
+
};
|
|
160
|
+
export const VulnerabilityFixAvailable = {
|
|
161
|
+
NO: "NO",
|
|
162
|
+
PARTIAL: "PARTIAL",
|
|
163
|
+
YES: "YES",
|
|
164
|
+
};
|
|
165
|
+
export const WorkflowState = {
|
|
166
|
+
ASSIGNED: "ASSIGNED",
|
|
167
|
+
DEFERRED: "DEFERRED",
|
|
168
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
169
|
+
NEW: "NEW",
|
|
170
|
+
RESOLVED: "RESOLVED",
|
|
171
|
+
};
|
|
172
|
+
export const StandardsControlsUpdatable = {
|
|
173
|
+
NOT_READY_FOR_UPDATES: "NOT_READY_FOR_UPDATES",
|
|
174
|
+
READY_FOR_UPDATES: "READY_FOR_UPDATES",
|
|
175
|
+
};
|
|
176
|
+
export const StandardsStatus = {
|
|
177
|
+
DELETING: "DELETING",
|
|
178
|
+
FAILED: "FAILED",
|
|
179
|
+
INCOMPLETE: "INCOMPLETE",
|
|
180
|
+
PENDING: "PENDING",
|
|
181
|
+
READY: "READY",
|
|
182
|
+
};
|
|
183
|
+
export const StatusReasonCode = {
|
|
184
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
185
|
+
MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED: "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED",
|
|
186
|
+
NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER",
|
|
187
|
+
};
|
|
188
|
+
export const TargetType = {
|
|
189
|
+
ACCOUNT: "ACCOUNT",
|
|
190
|
+
ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT",
|
|
191
|
+
ROOT: "ROOT",
|
|
192
|
+
};
|
|
193
|
+
export const ParameterValueType = {
|
|
194
|
+
CUSTOM: "CUSTOM",
|
|
195
|
+
DEFAULT: "DEFAULT",
|
|
196
|
+
};
|
|
197
|
+
export const ControlStatus = {
|
|
198
|
+
DISABLED: "DISABLED",
|
|
199
|
+
ENABLED: "ENABLED",
|
|
200
|
+
};
|
|
201
|
+
export const SeverityRating = {
|
|
202
|
+
CRITICAL: "CRITICAL",
|
|
203
|
+
HIGH: "HIGH",
|
|
204
|
+
LOW: "LOW",
|
|
205
|
+
MEDIUM: "MEDIUM",
|
|
206
|
+
};
|
|
207
|
+
export const UpdateStatus = {
|
|
208
|
+
READY: "READY",
|
|
209
|
+
UPDATING: "UPDATING",
|
|
210
|
+
};
|
|
211
|
+
export const UnprocessedErrorCode = {
|
|
212
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
213
|
+
INVALID_INPUT: "INVALID_INPUT",
|
|
214
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
|
|
215
|
+
NOT_FOUND: "NOT_FOUND",
|
|
216
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
217
|
+
};
|
|
218
|
+
export const BatchUpdateFindingsV2UnprocessedFindingErrorCode = {
|
|
219
|
+
ConflictException: "ConflictException",
|
|
220
|
+
InternalServerException: "InternalServerException",
|
|
221
|
+
ResourceNotFoundException: "ResourceNotFoundException",
|
|
222
|
+
ValidationException: "ValidationException",
|
|
223
|
+
};
|
|
224
|
+
export const OcsfBooleanField = {
|
|
225
|
+
COMPLIANCE_ASSESSMENTS_MEETS_CRITERIA: "compliance.assessments.meets_criteria",
|
|
226
|
+
VULNERABILITIES_IS_EXPLOIT_AVAILABLE: "vulnerabilities.is_exploit_available",
|
|
227
|
+
VULNERABILITIES_IS_FIX_AVAILABLE: "vulnerabilities.is_fix_available",
|
|
228
|
+
};
|
|
229
|
+
export const OcsfDateField = {
|
|
230
|
+
FINDING_INFO_CREATED_TIME_DT: "finding_info.created_time_dt",
|
|
231
|
+
FINDING_INFO_FIRST_SEEN_TIME_DT: "finding_info.first_seen_time_dt",
|
|
232
|
+
FINDING_INFO_LAST_SEEN_TIME_DT: "finding_info.last_seen_time_dt",
|
|
233
|
+
FINDING_INFO_MODIFIED_TIME_DT: "finding_info.modified_time_dt",
|
|
234
|
+
RESOURCES_IMAGE_CREATED_TIME_DT: "resources.image.created_time_dt",
|
|
235
|
+
RESOURCES_IMAGE_LAST_USED_TIME_DT: "resources.image.last_used_time_dt",
|
|
236
|
+
RESOURCES_MODIFIED_TIME_DT: "resources.modified_time_dt",
|
|
237
|
+
};
|
|
238
|
+
export const OcsfIpField = {
|
|
239
|
+
EVIDENCES_DST_ENDPOINT_IP: "evidences.dst_endpoint.ip",
|
|
240
|
+
EVIDENCES_SRC_ENDPOINT_IP: "evidences.src_endpoint.ip",
|
|
241
|
+
};
|
|
242
|
+
export const OcsfMapField = {
|
|
243
|
+
COMPLIANCE_CONTROL_PARAMETERS: "compliance.control_parameters",
|
|
244
|
+
DATABUCKET_TAGS: "databucket.tags",
|
|
245
|
+
FINDING_INFO_TAGS: "finding_info.tags",
|
|
246
|
+
RESOURCES_TAGS: "resources.tags",
|
|
247
|
+
};
|
|
248
|
+
export const OcsfNumberField = {
|
|
249
|
+
ACTIVITY_ID: "activity_id",
|
|
250
|
+
COMPLIANCE_STATUS_ID: "compliance.status_id",
|
|
251
|
+
CONFIDENCE_SCORE: "confidence_score",
|
|
252
|
+
EVIDENCES_API_RESPONSE_CODE: "evidences.api.response.code",
|
|
253
|
+
EVIDENCES_DST_ENDPOINT_AUTONOMOUS_SYSTEM_NUMBER: "evidences.dst_endpoint.autonomous_system.number",
|
|
254
|
+
EVIDENCES_DST_ENDPOINT_PORT: "evidences.dst_endpoint.port",
|
|
255
|
+
EVIDENCES_SRC_ENDPOINT_AUTONOMOUS_SYSTEM_NUMBER: "evidences.src_endpoint.autonomous_system.number",
|
|
256
|
+
EVIDENCES_SRC_ENDPOINT_PORT: "evidences.src_endpoint.port",
|
|
257
|
+
FINDING_INFO_RELATED_EVENTS_COUNT: "finding_info.related_events_count",
|
|
258
|
+
RESOURCES_IMAGE_IN_USE_COUNT: "resources.image.in_use_count",
|
|
259
|
+
SEVERITY_ID: "severity_id",
|
|
260
|
+
STATUS_ID: "status_id",
|
|
261
|
+
};
|
|
262
|
+
export const OcsfStringField = {
|
|
263
|
+
ACTIVITY_NAME: "activity_name",
|
|
264
|
+
CLASS_NAME: "class_name",
|
|
265
|
+
CLOUD_ACCOUNT_NAME: "cloud.account.name",
|
|
266
|
+
CLOUD_ACCOUNT_UID: "cloud.account.uid",
|
|
267
|
+
CLOUD_PROVIDER: "cloud.provider",
|
|
268
|
+
CLOUD_REGION: "cloud.region",
|
|
269
|
+
COMMENT: "comment",
|
|
270
|
+
COMPLIANCE_ASSESSMENTS_CATEGORY: "compliance.assessments.category",
|
|
271
|
+
COMPLIANCE_ASSESSMENTS_NAME: "compliance.assessments.name",
|
|
272
|
+
COMPLIANCE_CONTROL: "compliance.control",
|
|
273
|
+
COMPLIANCE_STANDARDS: "compliance.standards",
|
|
274
|
+
COMPLIANCE_STATUS: "compliance.status",
|
|
275
|
+
DATABUCKET_ENCRYPTION_DETAILS_ALGORITHM: "databucket.encryption_details.algorithm",
|
|
276
|
+
DATABUCKET_ENCRYPTION_DETAILS_KEY_UID: "databucket.encryption_details.key_uid",
|
|
277
|
+
DATABUCKET_FILE_DATA_CLASSIFICATIONS_CLASSIFIER_DETAILS_TYPE: "databucket.file.data_classifications.classifier_details.type",
|
|
278
|
+
EVIDENCES_ACTOR_USER_ACCOUNT_UID: "evidences.actor.user.account.uid",
|
|
279
|
+
EVIDENCES_API_OPERATION: "evidences.api.operation",
|
|
280
|
+
EVIDENCES_API_RESPONSE_ERROR_MESSAGE: "evidences.api.response.error_message",
|
|
281
|
+
EVIDENCES_API_SERVICE_NAME: "evidences.api.service.name",
|
|
282
|
+
EVIDENCES_CONNECTION_INFO_DIRECTION: "evidences.connection_info.direction",
|
|
283
|
+
EVIDENCES_CONNECTION_INFO_PROTOCOL_NAME: "evidences.connection_info.protocol_name",
|
|
284
|
+
EVIDENCES_DST_ENDPOINT_AUTONOMOUS_SYSTEM_NAME: "evidences.dst_endpoint.autonomous_system.name",
|
|
285
|
+
EVIDENCES_DST_ENDPOINT_LOCATION_CITY: "evidences.dst_endpoint.location.city",
|
|
286
|
+
EVIDENCES_DST_ENDPOINT_LOCATION_COUNTRY: "evidences.dst_endpoint.location.country",
|
|
287
|
+
EVIDENCES_SRC_ENDPOINT_AUTONOMOUS_SYSTEM_NAME: "evidences.src_endpoint.autonomous_system.name",
|
|
288
|
+
EVIDENCES_SRC_ENDPOINT_HOSTNAME: "evidences.src_endpoint.hostname",
|
|
289
|
+
EVIDENCES_SRC_ENDPOINT_LOCATION_CITY: "evidences.src_endpoint.location.city",
|
|
290
|
+
EVIDENCES_SRC_ENDPOINT_LOCATION_COUNTRY: "evidences.src_endpoint.location.country",
|
|
291
|
+
FINDING_INFO_ANALYTIC_NAME: "finding_info.analytic.name",
|
|
292
|
+
FINDING_INFO_DESC: "finding_info.desc",
|
|
293
|
+
FINDING_INFO_RELATED_EVENTS_PRODUCT_UID: "finding_info.related_events.product.uid",
|
|
294
|
+
FINDING_INFO_RELATED_EVENTS_TITLE: "finding_info.related_events.title",
|
|
295
|
+
FINDING_INFO_RELATED_EVENTS_UID: "finding_info.related_events.uid",
|
|
296
|
+
FINDING_INFO_SRC_URL: "finding_info.src_url",
|
|
297
|
+
FINDING_INFO_TITLE: "finding_info.title",
|
|
298
|
+
FINDING_INFO_TYPES: "finding_info.types",
|
|
299
|
+
FINDING_INFO_UID: "finding_info.uid",
|
|
300
|
+
MALWARE_NAME: "malware.name",
|
|
301
|
+
MALWARE_SCAN_INFO_UID: "malware_scan_info.uid",
|
|
302
|
+
MALWARE_SEVERITY: "malware.severity",
|
|
303
|
+
METADATA_PRODUCT_NAME: "metadata.product.name",
|
|
304
|
+
METADATA_PRODUCT_UID: "metadata.product.uid",
|
|
305
|
+
METADATA_PRODUCT_VENDOR_NAME: "metadata.product.vendor_name",
|
|
306
|
+
METADATA_UID: "metadata.uid",
|
|
307
|
+
REMEDIATION_DESC: "remediation.desc",
|
|
308
|
+
REMEDIATION_REFERENCES: "remediation.references",
|
|
309
|
+
RESOURCES_CLOUD_FUNCTION_LAYERS_UID_ALT: "resources.cloud_function.layers.uid_alt",
|
|
310
|
+
RESOURCES_CLOUD_FUNCTION_RUNTIME: "resources.cloud_function.runtime",
|
|
311
|
+
RESOURCES_CLOUD_FUNCTION_USER_UID: "resources.cloud_function.user.uid",
|
|
312
|
+
RESOURCES_CLOUD_PARTITION: "resources.cloud_partition",
|
|
313
|
+
RESOURCES_DEVICE_ENCRYPTION_DETAILS_KEY_UID: "resources.device.encryption_details.key_uid",
|
|
314
|
+
RESOURCES_DEVICE_IMAGE_UID: "resources.device.image.uid",
|
|
315
|
+
RESOURCES_IMAGE_ARCHITECTURE: "resources.image.architecture",
|
|
316
|
+
RESOURCES_IMAGE_REGISTRY_UID: "resources.image.registry_uid",
|
|
317
|
+
RESOURCES_IMAGE_REPOSITORY_NAME: "resources.image.repository_name",
|
|
318
|
+
RESOURCES_IMAGE_UID: "resources.image.uid",
|
|
319
|
+
RESOURCES_REGION: "resources.region",
|
|
320
|
+
RESOURCES_SUBNET_INFO_UID: "resources.subnet_info.uid",
|
|
321
|
+
RESOURCES_TYPE: "resources.type",
|
|
322
|
+
RESOURCES_UID: "resources.uid",
|
|
323
|
+
RESOURCES_VPC_UID: "resources.vpc_uid",
|
|
324
|
+
SEVERITY: "severity",
|
|
325
|
+
STATUS: "status",
|
|
326
|
+
VULNERABILITIES_AFFECTED_CODE_FILE_PATH: "vulnerabilities.affected_code.file.path",
|
|
327
|
+
VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name",
|
|
328
|
+
VULNERABILITIES_CVE_EPSS_SCORE: "vulnerabilities.cve.epss.score",
|
|
329
|
+
VULNERABILITIES_CVE_UID: "vulnerabilities.cve.uid",
|
|
330
|
+
VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage",
|
|
331
|
+
VULNERABILITIES_RELATED_VULNERABILITIES: "vulnerabilities.related_vulnerabilities",
|
|
332
|
+
};
|
|
333
|
+
export const ConnectorAuthStatus = {
|
|
334
|
+
ACTIVE: "ACTIVE",
|
|
335
|
+
FAILED: "FAILED",
|
|
336
|
+
};
|
|
337
|
+
export const ConnectorProviderName = {
|
|
338
|
+
JIRA_CLOUD: "JIRA_CLOUD",
|
|
339
|
+
SERVICENOW: "SERVICENOW",
|
|
340
|
+
};
|
|
341
|
+
export const ConnectorStatus = {
|
|
342
|
+
CONNECTED: "CONNECTED",
|
|
343
|
+
FAILED_TO_CONNECT: "FAILED_TO_CONNECT",
|
|
344
|
+
PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
|
|
345
|
+
PENDING_CONFIGURATION: "PENDING_CONFIGURATION",
|
|
346
|
+
};
|
|
347
|
+
export const ControlFindingGenerator = {
|
|
348
|
+
SECURITY_CONTROL: "SECURITY_CONTROL",
|
|
349
|
+
STANDARD_CONTROL: "STANDARD_CONTROL",
|
|
350
|
+
};
|
|
351
|
+
export const SecurityControlProperty = {
|
|
352
|
+
Parameters: "Parameters",
|
|
353
|
+
};
|
|
354
|
+
export const OrganizationConfigurationConfigurationType = {
|
|
355
|
+
CENTRAL: "CENTRAL",
|
|
356
|
+
LOCAL: "LOCAL",
|
|
357
|
+
};
|
|
358
|
+
export const OrganizationConfigurationStatus = {
|
|
359
|
+
ENABLED: "ENABLED",
|
|
360
|
+
FAILED: "FAILED",
|
|
361
|
+
PENDING: "PENDING",
|
|
362
|
+
};
|
|
363
|
+
export const IntegrationType = {
|
|
364
|
+
RECEIVE_FINDINGS_FROM_SECURITY_HUB: "RECEIVE_FINDINGS_FROM_SECURITY_HUB",
|
|
365
|
+
SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
|
|
366
|
+
UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB",
|
|
367
|
+
};
|
|
368
|
+
export const IntegrationV2Type = {
|
|
369
|
+
RECEIVE_FINDINGS_FROM_SECURITY_HUB: "RECEIVE_FINDINGS_FROM_SECURITY_HUB",
|
|
370
|
+
SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
|
|
371
|
+
UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB",
|
|
372
|
+
};
|
|
373
|
+
export const SecurityHubFeature = {
|
|
374
|
+
SECURITY_HUB: "SecurityHub",
|
|
375
|
+
SECURITY_HUB_V2: "SecurityHubV2",
|
|
376
|
+
};
|
|
377
|
+
export const FindingHistoryUpdateSourceType = {
|
|
378
|
+
BATCH_IMPORT_FINDINGS: "BATCH_IMPORT_FINDINGS",
|
|
379
|
+
BATCH_UPDATE_FINDINGS: "BATCH_UPDATE_FINDINGS",
|
|
380
|
+
};
|
|
381
|
+
export const SortOrder = {
|
|
382
|
+
ASCENDING: "asc",
|
|
383
|
+
DESCENDING: "desc",
|
|
384
|
+
};
|
|
385
|
+
export const GroupByField = {
|
|
386
|
+
ACTIVITY_NAME: "activity_name",
|
|
387
|
+
CLASS_NAME: "class_name",
|
|
388
|
+
CLOUD_ACCOUNT_NAME: "cloud.account.name",
|
|
389
|
+
CLOUD_ACCOUNT_UID: "cloud.account.uid",
|
|
390
|
+
CLOUD_PROVIDER: "cloud.provider",
|
|
391
|
+
CLOUD_REGION: "cloud.region",
|
|
392
|
+
COMPLIANCE_ASSESSMENTS_NAME: "compliance.assessments.name",
|
|
393
|
+
COMPLIANCE_CONTROL: "compliance.control",
|
|
394
|
+
COMPLIANCE_STANDARDS: "compliance.standards",
|
|
395
|
+
COMPLIANCE_STATUS: "compliance.status",
|
|
396
|
+
FINDING_INFO_ANALYTIC_NAME: "finding_info.analytic.name",
|
|
397
|
+
FINDING_INFO_TITLE: "finding_info.title",
|
|
398
|
+
FINDING_INFO_TYPES: "finding_info.types",
|
|
399
|
+
METADATA_PRODUCT_NAME: "metadata.product.name",
|
|
400
|
+
METADATA_PRODUCT_UID: "metadata.product.uid",
|
|
401
|
+
RESOURCES_TYPE: "resources.type",
|
|
402
|
+
RESOURCES_UID: "resources.uid",
|
|
403
|
+
SEVERITY: "severity",
|
|
404
|
+
STATUS: "status",
|
|
405
|
+
VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name",
|
|
406
|
+
VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage",
|
|
407
|
+
};
|
|
408
|
+
export const ResourcesDateField = {
|
|
409
|
+
RESOURCE_CREATION_TIME_DT: "ResourceCreationTime",
|
|
410
|
+
RESOURCE_DETAIL_CAPTURE_TIME_DT: "ResourceDetailCaptureTime",
|
|
411
|
+
};
|
|
412
|
+
export const ResourcesMapField = {
|
|
413
|
+
TAG: "ResourceTags",
|
|
414
|
+
};
|
|
415
|
+
export const ResourcesNumberField = {
|
|
416
|
+
SEVERITY_CRITICAL: "FindingsSummary.Severities.Critical",
|
|
417
|
+
SEVERITY_FATAL: "FindingsSummary.Severities.Fatal",
|
|
418
|
+
SEVERITY_HIGH: "FindingsSummary.Severities.High",
|
|
419
|
+
SEVERITY_INFORMATIONAL: "FindingsSummary.Severities.Informational",
|
|
420
|
+
SEVERITY_LOW: "FindingsSummary.Severities.Low",
|
|
421
|
+
SEVERITY_MEDIUM: "FindingsSummary.Severities.Medium",
|
|
422
|
+
SEVERITY_OTHER: "FindingsSummary.Severities.Other",
|
|
423
|
+
SEVERITY_UNKNOWN: "FindingsSummary.Severities.Unknown",
|
|
424
|
+
TOTAL_FINDINGS: "FindingsSummary.TotalFindings",
|
|
425
|
+
};
|
|
426
|
+
export const ResourcesStringField = {
|
|
427
|
+
ACCOUNT_ID: "AccountId",
|
|
428
|
+
FINDING_TYPE: "FindingsSummary.FindingType",
|
|
429
|
+
PRODUCT_NAME: "FindingsSummary.ProductName",
|
|
430
|
+
REGION: "Region",
|
|
431
|
+
RESOURCE_CATEGORY: "ResourceCategory",
|
|
432
|
+
RESOURCE_GUID: "ResourceGuid",
|
|
433
|
+
RESOURCE_ID: "ResourceId",
|
|
434
|
+
RESOURCE_NAME: "ResourceName",
|
|
435
|
+
RESOURCE_TYPE: "ResourceType",
|
|
436
|
+
};
|
|
437
|
+
export const ResourceGroupByField = {
|
|
438
|
+
ACCOUNT_ID: "AccountId",
|
|
439
|
+
FINDING_TYPE: "FindingsSummary.FindingType",
|
|
440
|
+
REGION: "Region",
|
|
441
|
+
RESOURCE_CATEGORY: "ResourceCategory",
|
|
442
|
+
RESOURCE_NAME: "ResourceName",
|
|
443
|
+
RESOURCE_TYPE: "ResourceType",
|
|
444
|
+
};
|
|
445
|
+
export const ResourceCategory = {
|
|
446
|
+
AI_ML: "AI/ML",
|
|
447
|
+
CODE: "Code",
|
|
448
|
+
COMPUTE: "Compute",
|
|
449
|
+
DATABASE: "Database",
|
|
450
|
+
IDENTITY: "Identity",
|
|
451
|
+
NETWORK: "Network",
|
|
452
|
+
OTHER: "Other",
|
|
453
|
+
STORAGE: "Storage",
|
|
454
|
+
};
|
|
455
|
+
export const RegionAvailabilityStatus = {
|
|
456
|
+
AVAILABLE: "AVAILABLE",
|
|
457
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
458
|
+
};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
2
|
+
export class InternalException extends __BaseException {
|
|
3
|
+
name = "InternalException";
|
|
4
|
+
$fault = "server";
|
|
5
|
+
Message;
|
|
6
|
+
Code;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "InternalException",
|
|
10
|
+
$fault: "server",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, InternalException.prototype);
|
|
14
|
+
this.Message = opts.Message;
|
|
15
|
+
this.Code = opts.Code;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class InvalidAccessException extends __BaseException {
|
|
19
|
+
name = "InvalidAccessException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Message;
|
|
22
|
+
Code;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "InvalidAccessException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, InvalidAccessException.prototype);
|
|
30
|
+
this.Message = opts.Message;
|
|
31
|
+
this.Code = opts.Code;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class InvalidInputException extends __BaseException {
|
|
35
|
+
name = "InvalidInputException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
Message;
|
|
38
|
+
Code;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "InvalidInputException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
this.Code = opts.Code;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class LimitExceededException extends __BaseException {
|
|
51
|
+
name = "LimitExceededException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
Code;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "LimitExceededException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
62
|
+
this.Message = opts.Message;
|
|
63
|
+
this.Code = opts.Code;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
67
|
+
name = "ResourceNotFoundException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
Message;
|
|
70
|
+
Code;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ResourceNotFoundException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
78
|
+
this.Message = opts.Message;
|
|
79
|
+
this.Code = opts.Code;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class AccessDeniedException extends __BaseException {
|
|
83
|
+
name = "AccessDeniedException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
Message;
|
|
86
|
+
Code;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "AccessDeniedException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
94
|
+
this.Message = opts.Message;
|
|
95
|
+
this.Code = opts.Code;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class ConflictException extends __BaseException {
|
|
99
|
+
name = "ConflictException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
Message;
|
|
102
|
+
Code;
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ConflictException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
110
|
+
this.Message = opts.Message;
|
|
111
|
+
this.Code = opts.Code;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class InternalServerException extends __BaseException {
|
|
115
|
+
name = "InternalServerException";
|
|
116
|
+
$fault = "server";
|
|
117
|
+
Message;
|
|
118
|
+
Code;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "InternalServerException",
|
|
122
|
+
$fault: "server",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
126
|
+
this.Message = opts.Message;
|
|
127
|
+
this.Code = opts.Code;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class ThrottlingException extends __BaseException {
|
|
131
|
+
name = "ThrottlingException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
Message;
|
|
134
|
+
Code;
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "ThrottlingException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
142
|
+
this.Message = opts.Message;
|
|
143
|
+
this.Code = opts.Code;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class ValidationException extends __BaseException {
|
|
147
|
+
name = "ValidationException";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
Message;
|
|
150
|
+
Code;
|
|
151
|
+
constructor(opts) {
|
|
152
|
+
super({
|
|
153
|
+
name: "ValidationException",
|
|
154
|
+
$fault: "client",
|
|
155
|
+
...opts,
|
|
156
|
+
});
|
|
157
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
158
|
+
this.Message = opts.Message;
|
|
159
|
+
this.Code = opts.Code;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
export class ResourceConflictException extends __BaseException {
|
|
163
|
+
name = "ResourceConflictException";
|
|
164
|
+
$fault = "client";
|
|
165
|
+
Message;
|
|
166
|
+
Code;
|
|
167
|
+
constructor(opts) {
|
|
168
|
+
super({
|
|
169
|
+
name: "ResourceConflictException",
|
|
170
|
+
$fault: "client",
|
|
171
|
+
...opts,
|
|
172
|
+
});
|
|
173
|
+
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
174
|
+
this.Message = opts.Message;
|
|
175
|
+
this.Code = opts.Code;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
export class ResourceInUseException extends __BaseException {
|
|
179
|
+
name = "ResourceInUseException";
|
|
180
|
+
$fault = "client";
|
|
181
|
+
Message;
|
|
182
|
+
Code;
|
|
183
|
+
constructor(opts) {
|
|
184
|
+
super({
|
|
185
|
+
name: "ResourceInUseException",
|
|
186
|
+
$fault: "client",
|
|
187
|
+
...opts,
|
|
188
|
+
});
|
|
189
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
190
|
+
this.Message = opts.Message;
|
|
191
|
+
this.Code = opts.Code;
|
|
192
|
+
}
|
|
193
|
+
}
|