@aws-sdk/client-securityhub 3.301.0 → 3.306.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.
@@ -1,173 +1,149 @@
1
1
  import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
2
- export var AwsIamAccessKeyStatus;
3
- (function (AwsIamAccessKeyStatus) {
4
- AwsIamAccessKeyStatus["ACTIVE"] = "Active";
5
- AwsIamAccessKeyStatus["INACTIVE"] = "Inactive";
6
- })(AwsIamAccessKeyStatus || (AwsIamAccessKeyStatus = {}));
7
- export var AwsS3BucketNotificationConfigurationS3KeyFilterRuleName;
8
- (function (AwsS3BucketNotificationConfigurationS3KeyFilterRuleName) {
9
- AwsS3BucketNotificationConfigurationS3KeyFilterRuleName["PREFIX"] = "Prefix";
10
- AwsS3BucketNotificationConfigurationS3KeyFilterRuleName["SUFFIX"] = "Suffix";
11
- })(AwsS3BucketNotificationConfigurationS3KeyFilterRuleName || (AwsS3BucketNotificationConfigurationS3KeyFilterRuleName = {}));
12
- export var ComplianceStatus;
13
- (function (ComplianceStatus) {
14
- ComplianceStatus["FAILED"] = "FAILED";
15
- ComplianceStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
16
- ComplianceStatus["PASSED"] = "PASSED";
17
- ComplianceStatus["WARNING"] = "WARNING";
18
- })(ComplianceStatus || (ComplianceStatus = {}));
19
- export var SeverityLabel;
20
- (function (SeverityLabel) {
21
- SeverityLabel["CRITICAL"] = "CRITICAL";
22
- SeverityLabel["HIGH"] = "HIGH";
23
- SeverityLabel["INFORMATIONAL"] = "INFORMATIONAL";
24
- SeverityLabel["LOW"] = "LOW";
25
- SeverityLabel["MEDIUM"] = "MEDIUM";
26
- })(SeverityLabel || (SeverityLabel = {}));
27
- export var MalwareState;
28
- (function (MalwareState) {
29
- MalwareState["OBSERVED"] = "OBSERVED";
30
- MalwareState["REMOVAL_FAILED"] = "REMOVAL_FAILED";
31
- MalwareState["REMOVED"] = "REMOVED";
32
- })(MalwareState || (MalwareState = {}));
33
- export var MalwareType;
34
- (function (MalwareType) {
35
- MalwareType["ADWARE"] = "ADWARE";
36
- MalwareType["BLENDED_THREAT"] = "BLENDED_THREAT";
37
- MalwareType["BOTNET_AGENT"] = "BOTNET_AGENT";
38
- MalwareType["COIN_MINER"] = "COIN_MINER";
39
- MalwareType["EXPLOIT_KIT"] = "EXPLOIT_KIT";
40
- MalwareType["KEYLOGGER"] = "KEYLOGGER";
41
- MalwareType["MACRO"] = "MACRO";
42
- MalwareType["POTENTIALLY_UNWANTED"] = "POTENTIALLY_UNWANTED";
43
- MalwareType["RANSOMWARE"] = "RANSOMWARE";
44
- MalwareType["REMOTE_ACCESS"] = "REMOTE_ACCESS";
45
- MalwareType["ROOTKIT"] = "ROOTKIT";
46
- MalwareType["SPYWARE"] = "SPYWARE";
47
- MalwareType["TROJAN"] = "TROJAN";
48
- MalwareType["VIRUS"] = "VIRUS";
49
- MalwareType["WORM"] = "WORM";
50
- })(MalwareType || (MalwareType = {}));
51
- export var NetworkDirection;
52
- (function (NetworkDirection) {
53
- NetworkDirection["IN"] = "IN";
54
- NetworkDirection["OUT"] = "OUT";
55
- })(NetworkDirection || (NetworkDirection = {}));
56
- export var RecordState;
57
- (function (RecordState) {
58
- RecordState["ACTIVE"] = "ACTIVE";
59
- RecordState["ARCHIVED"] = "ARCHIVED";
60
- })(RecordState || (RecordState = {}));
61
- export var Partition;
62
- (function (Partition) {
63
- Partition["AWS"] = "aws";
64
- Partition["AWS_CN"] = "aws-cn";
65
- Partition["AWS_US_GOV"] = "aws-us-gov";
66
- })(Partition || (Partition = {}));
67
- export var ThreatIntelIndicatorCategory;
68
- (function (ThreatIntelIndicatorCategory) {
69
- ThreatIntelIndicatorCategory["BACKDOOR"] = "BACKDOOR";
70
- ThreatIntelIndicatorCategory["CARD_STEALER"] = "CARD_STEALER";
71
- ThreatIntelIndicatorCategory["COMMAND_AND_CONTROL"] = "COMMAND_AND_CONTROL";
72
- ThreatIntelIndicatorCategory["DROP_SITE"] = "DROP_SITE";
73
- ThreatIntelIndicatorCategory["EXPLOIT_SITE"] = "EXPLOIT_SITE";
74
- ThreatIntelIndicatorCategory["KEYLOGGER"] = "KEYLOGGER";
75
- })(ThreatIntelIndicatorCategory || (ThreatIntelIndicatorCategory = {}));
76
- export var ThreatIntelIndicatorType;
77
- (function (ThreatIntelIndicatorType) {
78
- ThreatIntelIndicatorType["DOMAIN"] = "DOMAIN";
79
- ThreatIntelIndicatorType["EMAIL_ADDRESS"] = "EMAIL_ADDRESS";
80
- ThreatIntelIndicatorType["HASH_MD5"] = "HASH_MD5";
81
- ThreatIntelIndicatorType["HASH_SHA1"] = "HASH_SHA1";
82
- ThreatIntelIndicatorType["HASH_SHA256"] = "HASH_SHA256";
83
- ThreatIntelIndicatorType["HASH_SHA512"] = "HASH_SHA512";
84
- ThreatIntelIndicatorType["IPV4_ADDRESS"] = "IPV4_ADDRESS";
85
- ThreatIntelIndicatorType["IPV6_ADDRESS"] = "IPV6_ADDRESS";
86
- ThreatIntelIndicatorType["MUTEX"] = "MUTEX";
87
- ThreatIntelIndicatorType["PROCESS"] = "PROCESS";
88
- ThreatIntelIndicatorType["URL"] = "URL";
89
- })(ThreatIntelIndicatorType || (ThreatIntelIndicatorType = {}));
90
- export var VerificationState;
91
- (function (VerificationState) {
92
- VerificationState["BENIGN_POSITIVE"] = "BENIGN_POSITIVE";
93
- VerificationState["FALSE_POSITIVE"] = "FALSE_POSITIVE";
94
- VerificationState["TRUE_POSITIVE"] = "TRUE_POSITIVE";
95
- VerificationState["UNKNOWN"] = "UNKNOWN";
96
- })(VerificationState || (VerificationState = {}));
97
- export var VulnerabilityFixAvailable;
98
- (function (VulnerabilityFixAvailable) {
99
- VulnerabilityFixAvailable["NO"] = "NO";
100
- VulnerabilityFixAvailable["PARTIAL"] = "PARTIAL";
101
- VulnerabilityFixAvailable["YES"] = "YES";
102
- })(VulnerabilityFixAvailable || (VulnerabilityFixAvailable = {}));
103
- export var WorkflowStatus;
104
- (function (WorkflowStatus) {
105
- WorkflowStatus["NEW"] = "NEW";
106
- WorkflowStatus["NOTIFIED"] = "NOTIFIED";
107
- WorkflowStatus["RESOLVED"] = "RESOLVED";
108
- WorkflowStatus["SUPPRESSED"] = "SUPPRESSED";
109
- })(WorkflowStatus || (WorkflowStatus = {}));
110
- export var WorkflowState;
111
- (function (WorkflowState) {
112
- WorkflowState["ASSIGNED"] = "ASSIGNED";
113
- WorkflowState["DEFERRED"] = "DEFERRED";
114
- WorkflowState["IN_PROGRESS"] = "IN_PROGRESS";
115
- WorkflowState["NEW"] = "NEW";
116
- WorkflowState["RESOLVED"] = "RESOLVED";
117
- })(WorkflowState || (WorkflowState = {}));
118
- export var StringFilterComparison;
119
- (function (StringFilterComparison) {
120
- StringFilterComparison["EQUALS"] = "EQUALS";
121
- StringFilterComparison["NOT_EQUALS"] = "NOT_EQUALS";
122
- StringFilterComparison["PREFIX"] = "PREFIX";
123
- StringFilterComparison["PREFIX_NOT_EQUALS"] = "PREFIX_NOT_EQUALS";
124
- })(StringFilterComparison || (StringFilterComparison = {}));
125
- export var DateRangeUnit;
126
- (function (DateRangeUnit) {
127
- DateRangeUnit["DAYS"] = "DAYS";
128
- })(DateRangeUnit || (DateRangeUnit = {}));
129
- export var MapFilterComparison;
130
- (function (MapFilterComparison) {
131
- MapFilterComparison["EQUALS"] = "EQUALS";
132
- MapFilterComparison["NOT_EQUALS"] = "NOT_EQUALS";
133
- })(MapFilterComparison || (MapFilterComparison = {}));
134
- export var StandardsStatus;
135
- (function (StandardsStatus) {
136
- StandardsStatus["DELETING"] = "DELETING";
137
- StandardsStatus["FAILED"] = "FAILED";
138
- StandardsStatus["INCOMPLETE"] = "INCOMPLETE";
139
- StandardsStatus["PENDING"] = "PENDING";
140
- StandardsStatus["READY"] = "READY";
141
- })(StandardsStatus || (StandardsStatus = {}));
142
- export var StatusReasonCode;
143
- (function (StatusReasonCode) {
144
- StatusReasonCode["INTERNAL_ERROR"] = "INTERNAL_ERROR";
145
- StatusReasonCode["NO_AVAILABLE_CONFIGURATION_RECORDER"] = "NO_AVAILABLE_CONFIGURATION_RECORDER";
146
- })(StatusReasonCode || (StatusReasonCode = {}));
147
- export var ControlStatus;
148
- (function (ControlStatus) {
149
- ControlStatus["DISABLED"] = "DISABLED";
150
- ControlStatus["ENABLED"] = "ENABLED";
151
- })(ControlStatus || (ControlStatus = {}));
152
- export var SeverityRating;
153
- (function (SeverityRating) {
154
- SeverityRating["CRITICAL"] = "CRITICAL";
155
- SeverityRating["HIGH"] = "HIGH";
156
- SeverityRating["LOW"] = "LOW";
157
- SeverityRating["MEDIUM"] = "MEDIUM";
158
- })(SeverityRating || (SeverityRating = {}));
159
- export var UnprocessedErrorCode;
160
- (function (UnprocessedErrorCode) {
161
- UnprocessedErrorCode["ACCESS_DENIED"] = "ACCESS_DENIED";
162
- UnprocessedErrorCode["INVALID_INPUT"] = "INVALID_INPUT";
163
- UnprocessedErrorCode["LIMIT_EXCEEDED"] = "LIMIT_EXCEEDED";
164
- UnprocessedErrorCode["NOT_FOUND"] = "NOT_FOUND";
165
- })(UnprocessedErrorCode || (UnprocessedErrorCode = {}));
166
- export var ControlFindingGenerator;
167
- (function (ControlFindingGenerator) {
168
- ControlFindingGenerator["SECURITY_CONTROL"] = "SECURITY_CONTROL";
169
- ControlFindingGenerator["STANDARD_CONTROL"] = "STANDARD_CONTROL";
170
- })(ControlFindingGenerator || (ControlFindingGenerator = {}));
2
+ export const AwsIamAccessKeyStatus = {
3
+ ACTIVE: "Active",
4
+ INACTIVE: "Inactive",
5
+ };
6
+ export const AwsS3BucketNotificationConfigurationS3KeyFilterRuleName = {
7
+ PREFIX: "Prefix",
8
+ SUFFIX: "Suffix",
9
+ };
10
+ export const ComplianceStatus = {
11
+ FAILED: "FAILED",
12
+ NOT_AVAILABLE: "NOT_AVAILABLE",
13
+ PASSED: "PASSED",
14
+ WARNING: "WARNING",
15
+ };
16
+ export const SeverityLabel = {
17
+ CRITICAL: "CRITICAL",
18
+ HIGH: "HIGH",
19
+ INFORMATIONAL: "INFORMATIONAL",
20
+ LOW: "LOW",
21
+ MEDIUM: "MEDIUM",
22
+ };
23
+ export const MalwareState = {
24
+ OBSERVED: "OBSERVED",
25
+ REMOVAL_FAILED: "REMOVAL_FAILED",
26
+ REMOVED: "REMOVED",
27
+ };
28
+ export const MalwareType = {
29
+ ADWARE: "ADWARE",
30
+ BLENDED_THREAT: "BLENDED_THREAT",
31
+ BOTNET_AGENT: "BOTNET_AGENT",
32
+ COIN_MINER: "COIN_MINER",
33
+ EXPLOIT_KIT: "EXPLOIT_KIT",
34
+ KEYLOGGER: "KEYLOGGER",
35
+ MACRO: "MACRO",
36
+ POTENTIALLY_UNWANTED: "POTENTIALLY_UNWANTED",
37
+ RANSOMWARE: "RANSOMWARE",
38
+ REMOTE_ACCESS: "REMOTE_ACCESS",
39
+ ROOTKIT: "ROOTKIT",
40
+ SPYWARE: "SPYWARE",
41
+ TROJAN: "TROJAN",
42
+ VIRUS: "VIRUS",
43
+ WORM: "WORM",
44
+ };
45
+ export const NetworkDirection = {
46
+ IN: "IN",
47
+ OUT: "OUT",
48
+ };
49
+ export const RecordState = {
50
+ ACTIVE: "ACTIVE",
51
+ ARCHIVED: "ARCHIVED",
52
+ };
53
+ export const Partition = {
54
+ AWS: "aws",
55
+ AWS_CN: "aws-cn",
56
+ AWS_US_GOV: "aws-us-gov",
57
+ };
58
+ export const ThreatIntelIndicatorCategory = {
59
+ BACKDOOR: "BACKDOOR",
60
+ CARD_STEALER: "CARD_STEALER",
61
+ COMMAND_AND_CONTROL: "COMMAND_AND_CONTROL",
62
+ DROP_SITE: "DROP_SITE",
63
+ EXPLOIT_SITE: "EXPLOIT_SITE",
64
+ KEYLOGGER: "KEYLOGGER",
65
+ };
66
+ export const ThreatIntelIndicatorType = {
67
+ DOMAIN: "DOMAIN",
68
+ EMAIL_ADDRESS: "EMAIL_ADDRESS",
69
+ HASH_MD5: "HASH_MD5",
70
+ HASH_SHA1: "HASH_SHA1",
71
+ HASH_SHA256: "HASH_SHA256",
72
+ HASH_SHA512: "HASH_SHA512",
73
+ IPV4_ADDRESS: "IPV4_ADDRESS",
74
+ IPV6_ADDRESS: "IPV6_ADDRESS",
75
+ MUTEX: "MUTEX",
76
+ PROCESS: "PROCESS",
77
+ URL: "URL",
78
+ };
79
+ export const VerificationState = {
80
+ BENIGN_POSITIVE: "BENIGN_POSITIVE",
81
+ FALSE_POSITIVE: "FALSE_POSITIVE",
82
+ TRUE_POSITIVE: "TRUE_POSITIVE",
83
+ UNKNOWN: "UNKNOWN",
84
+ };
85
+ export const VulnerabilityFixAvailable = {
86
+ NO: "NO",
87
+ PARTIAL: "PARTIAL",
88
+ YES: "YES",
89
+ };
90
+ export const WorkflowStatus = {
91
+ NEW: "NEW",
92
+ NOTIFIED: "NOTIFIED",
93
+ RESOLVED: "RESOLVED",
94
+ SUPPRESSED: "SUPPRESSED",
95
+ };
96
+ export const WorkflowState = {
97
+ ASSIGNED: "ASSIGNED",
98
+ DEFERRED: "DEFERRED",
99
+ IN_PROGRESS: "IN_PROGRESS",
100
+ NEW: "NEW",
101
+ RESOLVED: "RESOLVED",
102
+ };
103
+ export const StringFilterComparison = {
104
+ EQUALS: "EQUALS",
105
+ NOT_EQUALS: "NOT_EQUALS",
106
+ PREFIX: "PREFIX",
107
+ PREFIX_NOT_EQUALS: "PREFIX_NOT_EQUALS",
108
+ };
109
+ export const DateRangeUnit = {
110
+ DAYS: "DAYS",
111
+ };
112
+ export const MapFilterComparison = {
113
+ EQUALS: "EQUALS",
114
+ NOT_EQUALS: "NOT_EQUALS",
115
+ };
116
+ export const StandardsStatus = {
117
+ DELETING: "DELETING",
118
+ FAILED: "FAILED",
119
+ INCOMPLETE: "INCOMPLETE",
120
+ PENDING: "PENDING",
121
+ READY: "READY",
122
+ };
123
+ export const StatusReasonCode = {
124
+ INTERNAL_ERROR: "INTERNAL_ERROR",
125
+ NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER",
126
+ };
127
+ export const ControlStatus = {
128
+ DISABLED: "DISABLED",
129
+ ENABLED: "ENABLED",
130
+ };
131
+ export const SeverityRating = {
132
+ CRITICAL: "CRITICAL",
133
+ HIGH: "HIGH",
134
+ LOW: "LOW",
135
+ MEDIUM: "MEDIUM",
136
+ };
137
+ export const UnprocessedErrorCode = {
138
+ ACCESS_DENIED: "ACCESS_DENIED",
139
+ INVALID_INPUT: "INVALID_INPUT",
140
+ LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
141
+ NOT_FOUND: "NOT_FOUND",
142
+ };
143
+ export const ControlFindingGenerator = {
144
+ SECURITY_CONTROL: "SECURITY_CONTROL",
145
+ STANDARD_CONTROL: "STANDARD_CONTROL",
146
+ };
171
147
  export class ResourceConflictException extends __BaseException {
172
148
  constructor(opts) {
173
149
  super({
@@ -1,16 +1,13 @@
1
- export var IntegrationType;
2
- (function (IntegrationType) {
3
- IntegrationType["RECEIVE_FINDINGS_FROM_SECURITY_HUB"] = "RECEIVE_FINDINGS_FROM_SECURITY_HUB";
4
- IntegrationType["SEND_FINDINGS_TO_SECURITY_HUB"] = "SEND_FINDINGS_TO_SECURITY_HUB";
5
- IntegrationType["UPDATE_FINDINGS_IN_SECURITY_HUB"] = "UPDATE_FINDINGS_IN_SECURITY_HUB";
6
- })(IntegrationType || (IntegrationType = {}));
7
- export var SortOrder;
8
- (function (SortOrder) {
9
- SortOrder["ASCENDING"] = "asc";
10
- SortOrder["DESCENDING"] = "desc";
11
- })(SortOrder || (SortOrder = {}));
12
- export var RegionAvailabilityStatus;
13
- (function (RegionAvailabilityStatus) {
14
- RegionAvailabilityStatus["AVAILABLE"] = "AVAILABLE";
15
- RegionAvailabilityStatus["UNAVAILABLE"] = "UNAVAILABLE";
16
- })(RegionAvailabilityStatus || (RegionAvailabilityStatus = {}));
1
+ export const IntegrationType = {
2
+ RECEIVE_FINDINGS_FROM_SECURITY_HUB: "RECEIVE_FINDINGS_FROM_SECURITY_HUB",
3
+ SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
4
+ UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB",
5
+ };
6
+ export const SortOrder = {
7
+ ASCENDING: "asc",
8
+ DESCENDING: "desc",
9
+ };
10
+ export const RegionAvailabilityStatus = {
11
+ AVAILABLE: "AVAILABLE",
12
+ UNAVAILABLE: "UNAVAILABLE",
13
+ };
@@ -510,11 +510,16 @@ export interface Adjustment {
510
510
  }
511
511
  /**
512
512
  * @public
513
+ * @enum
513
514
  */
514
- export declare enum AdminStatus {
515
- DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
516
- ENABLED = "ENABLED"
517
- }
515
+ export declare const AdminStatus: {
516
+ readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
517
+ readonly ENABLED: "ENABLED";
518
+ };
519
+ /**
520
+ * @public
521
+ */
522
+ export type AdminStatus = (typeof AdminStatus)[keyof typeof AdminStatus];
518
523
  /**
519
524
  * @public
520
525
  * <p>Represents a Security Hub administrator account designated by an organization management
@@ -611,18 +616,28 @@ export interface AssociationSetDetails {
611
616
  }
612
617
  /**
613
618
  * @public
619
+ * @enum
614
620
  */
615
- export declare enum AssociationStatus {
616
- DISABLED = "DISABLED",
617
- ENABLED = "ENABLED"
618
- }
621
+ export declare const AssociationStatus: {
622
+ readonly DISABLED: "DISABLED";
623
+ readonly ENABLED: "ENABLED";
624
+ };
619
625
  /**
620
626
  * @public
621
627
  */
622
- export declare enum AutoEnableStandards {
623
- DEFAULT = "DEFAULT",
624
- NONE = "NONE"
625
- }
628
+ export type AssociationStatus = (typeof AssociationStatus)[keyof typeof AssociationStatus];
629
+ /**
630
+ * @public
631
+ * @enum
632
+ */
633
+ export declare const AutoEnableStandards: {
634
+ readonly DEFAULT: "DEFAULT";
635
+ readonly NONE: "NONE";
636
+ };
637
+ /**
638
+ * @public
639
+ */
640
+ export type AutoEnableStandards = (typeof AutoEnableStandards)[keyof typeof AutoEnableStandards];
626
641
  /**
627
642
  * @public
628
643
  * <p>Information about an Availability Zone.</p>