@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.
- package/dist-cjs/models/models_0.js +12 -15
- package/dist-cjs/models/models_1.js +145 -169
- package/dist-cjs/models/models_2.js +13 -16
- package/dist-es/models/models_0.js +12 -15
- package/dist-es/models/models_1.js +145 -169
- package/dist-es/models/models_2.js +13 -16
- package/dist-types/models/models_0.d.ts +27 -12
- package/dist-types/models/models_1.d.ts +265 -145
- package/dist-types/models/models_2.d.ts +28 -13
- package/dist-types/ts3.4/models/models_0.d.ts +17 -12
- package/dist-types/ts3.4/models/models_1.d.ts +185 -145
- package/dist-types/ts3.4/models/models_2.d.ts +18 -13
- package/package.json +34 -34
|
@@ -152,10 +152,11 @@ export interface Adjustment {
|
|
|
152
152
|
Metric?: string;
|
|
153
153
|
Reason?: string;
|
|
154
154
|
}
|
|
155
|
-
export declare
|
|
156
|
-
DISABLE_IN_PROGRESS
|
|
157
|
-
ENABLED
|
|
158
|
-
}
|
|
155
|
+
export declare const AdminStatus: {
|
|
156
|
+
readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
|
|
157
|
+
readonly ENABLED: "ENABLED";
|
|
158
|
+
};
|
|
159
|
+
export type AdminStatus = (typeof AdminStatus)[keyof typeof AdminStatus];
|
|
159
160
|
export interface AdminAccount {
|
|
160
161
|
AccountId?: string;
|
|
161
162
|
Status?: AdminStatus | string;
|
|
@@ -175,14 +176,18 @@ export interface AssociationSetDetails {
|
|
|
175
176
|
RouteTableId?: string;
|
|
176
177
|
SubnetId?: string;
|
|
177
178
|
}
|
|
178
|
-
export declare
|
|
179
|
-
DISABLED
|
|
180
|
-
ENABLED
|
|
181
|
-
}
|
|
182
|
-
export
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
179
|
+
export declare const AssociationStatus: {
|
|
180
|
+
readonly DISABLED: "DISABLED";
|
|
181
|
+
readonly ENABLED: "ENABLED";
|
|
182
|
+
};
|
|
183
|
+
export type AssociationStatus =
|
|
184
|
+
(typeof AssociationStatus)[keyof typeof AssociationStatus];
|
|
185
|
+
export declare const AutoEnableStandards: {
|
|
186
|
+
readonly DEFAULT: "DEFAULT";
|
|
187
|
+
readonly NONE: "NONE";
|
|
188
|
+
};
|
|
189
|
+
export type AutoEnableStandards =
|
|
190
|
+
(typeof AutoEnableStandards)[keyof typeof AutoEnableStandards];
|
|
186
191
|
export interface AvailabilityZone {
|
|
187
192
|
ZoneName?: string;
|
|
188
193
|
SubnetId?: string;
|
|
@@ -64,10 +64,12 @@ export interface AwsIamAccessKeySessionContext {
|
|
|
64
64
|
Attributes?: AwsIamAccessKeySessionContextAttributes;
|
|
65
65
|
SessionIssuer?: AwsIamAccessKeySessionContextSessionIssuer;
|
|
66
66
|
}
|
|
67
|
-
export declare
|
|
68
|
-
ACTIVE
|
|
69
|
-
INACTIVE
|
|
70
|
-
}
|
|
67
|
+
export declare const AwsIamAccessKeyStatus: {
|
|
68
|
+
readonly ACTIVE: "Active";
|
|
69
|
+
readonly INACTIVE: "Inactive";
|
|
70
|
+
};
|
|
71
|
+
export type AwsIamAccessKeyStatus =
|
|
72
|
+
(typeof AwsIamAccessKeyStatus)[keyof typeof AwsIamAccessKeyStatus];
|
|
71
73
|
export interface AwsIamAccessKeyDetails {
|
|
72
74
|
UserName?: string;
|
|
73
75
|
Status?: AwsIamAccessKeyStatus | string;
|
|
@@ -919,10 +921,12 @@ export interface AwsS3BucketLoggingConfiguration {
|
|
|
919
921
|
DestinationBucketName?: string;
|
|
920
922
|
LogFilePrefix?: string;
|
|
921
923
|
}
|
|
922
|
-
export declare
|
|
923
|
-
PREFIX
|
|
924
|
-
SUFFIX
|
|
925
|
-
}
|
|
924
|
+
export declare const AwsS3BucketNotificationConfigurationS3KeyFilterRuleName: {
|
|
925
|
+
readonly PREFIX: "Prefix";
|
|
926
|
+
readonly SUFFIX: "Suffix";
|
|
927
|
+
};
|
|
928
|
+
export type AwsS3BucketNotificationConfigurationS3KeyFilterRuleName =
|
|
929
|
+
(typeof AwsS3BucketNotificationConfigurationS3KeyFilterRuleName)[keyof typeof AwsS3BucketNotificationConfigurationS3KeyFilterRuleName];
|
|
926
930
|
export interface AwsS3BucketNotificationConfigurationS3KeyFilterRule {
|
|
927
931
|
Name?: AwsS3BucketNotificationConfigurationS3KeyFilterRuleName | string;
|
|
928
932
|
Value?: string;
|
|
@@ -1050,12 +1054,14 @@ export interface AwsSecretsManagerSecretDetails {
|
|
|
1050
1054
|
Name?: string;
|
|
1051
1055
|
Description?: string;
|
|
1052
1056
|
}
|
|
1053
|
-
export declare
|
|
1054
|
-
FAILED
|
|
1055
|
-
NOT_AVAILABLE
|
|
1056
|
-
PASSED
|
|
1057
|
-
WARNING
|
|
1058
|
-
}
|
|
1057
|
+
export declare const ComplianceStatus: {
|
|
1058
|
+
readonly FAILED: "FAILED";
|
|
1059
|
+
readonly NOT_AVAILABLE: "NOT_AVAILABLE";
|
|
1060
|
+
readonly PASSED: "PASSED";
|
|
1061
|
+
readonly WARNING: "WARNING";
|
|
1062
|
+
};
|
|
1063
|
+
export type ComplianceStatus =
|
|
1064
|
+
(typeof ComplianceStatus)[keyof typeof ComplianceStatus];
|
|
1059
1065
|
export interface StatusReason {
|
|
1060
1066
|
ReasonCode: string | undefined;
|
|
1061
1067
|
Description?: string;
|
|
@@ -1071,13 +1077,14 @@ export interface RelatedFinding {
|
|
|
1071
1077
|
ProductArn: string | undefined;
|
|
1072
1078
|
Id: string | undefined;
|
|
1073
1079
|
}
|
|
1074
|
-
export declare
|
|
1075
|
-
CRITICAL
|
|
1076
|
-
HIGH
|
|
1077
|
-
INFORMATIONAL
|
|
1078
|
-
LOW
|
|
1079
|
-
MEDIUM
|
|
1080
|
-
}
|
|
1080
|
+
export declare const SeverityLabel: {
|
|
1081
|
+
readonly CRITICAL: "CRITICAL";
|
|
1082
|
+
readonly HIGH: "HIGH";
|
|
1083
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
1084
|
+
readonly LOW: "LOW";
|
|
1085
|
+
readonly MEDIUM: "MEDIUM";
|
|
1086
|
+
};
|
|
1087
|
+
export type SeverityLabel = (typeof SeverityLabel)[keyof typeof SeverityLabel];
|
|
1081
1088
|
export interface FindingProviderSeverity {
|
|
1082
1089
|
Label?: SeverityLabel | string;
|
|
1083
1090
|
Original?: string;
|
|
@@ -1089,38 +1096,42 @@ export interface FindingProviderFields {
|
|
|
1089
1096
|
Severity?: FindingProviderSeverity;
|
|
1090
1097
|
Types?: string[];
|
|
1091
1098
|
}
|
|
1092
|
-
export declare
|
|
1093
|
-
OBSERVED
|
|
1094
|
-
REMOVAL_FAILED
|
|
1095
|
-
REMOVED
|
|
1096
|
-
}
|
|
1097
|
-
export
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1099
|
+
export declare const MalwareState: {
|
|
1100
|
+
readonly OBSERVED: "OBSERVED";
|
|
1101
|
+
readonly REMOVAL_FAILED: "REMOVAL_FAILED";
|
|
1102
|
+
readonly REMOVED: "REMOVED";
|
|
1103
|
+
};
|
|
1104
|
+
export type MalwareState = (typeof MalwareState)[keyof typeof MalwareState];
|
|
1105
|
+
export declare const MalwareType: {
|
|
1106
|
+
readonly ADWARE: "ADWARE";
|
|
1107
|
+
readonly BLENDED_THREAT: "BLENDED_THREAT";
|
|
1108
|
+
readonly BOTNET_AGENT: "BOTNET_AGENT";
|
|
1109
|
+
readonly COIN_MINER: "COIN_MINER";
|
|
1110
|
+
readonly EXPLOIT_KIT: "EXPLOIT_KIT";
|
|
1111
|
+
readonly KEYLOGGER: "KEYLOGGER";
|
|
1112
|
+
readonly MACRO: "MACRO";
|
|
1113
|
+
readonly POTENTIALLY_UNWANTED: "POTENTIALLY_UNWANTED";
|
|
1114
|
+
readonly RANSOMWARE: "RANSOMWARE";
|
|
1115
|
+
readonly REMOTE_ACCESS: "REMOTE_ACCESS";
|
|
1116
|
+
readonly ROOTKIT: "ROOTKIT";
|
|
1117
|
+
readonly SPYWARE: "SPYWARE";
|
|
1118
|
+
readonly TROJAN: "TROJAN";
|
|
1119
|
+
readonly VIRUS: "VIRUS";
|
|
1120
|
+
readonly WORM: "WORM";
|
|
1121
|
+
};
|
|
1122
|
+
export type MalwareType = (typeof MalwareType)[keyof typeof MalwareType];
|
|
1114
1123
|
export interface Malware {
|
|
1115
1124
|
Name: string | undefined;
|
|
1116
1125
|
Type?: MalwareType | string;
|
|
1117
1126
|
Path?: string;
|
|
1118
1127
|
State?: MalwareState | string;
|
|
1119
1128
|
}
|
|
1120
|
-
export declare
|
|
1121
|
-
IN
|
|
1122
|
-
OUT
|
|
1123
|
-
}
|
|
1129
|
+
export declare const NetworkDirection: {
|
|
1130
|
+
readonly IN: "IN";
|
|
1131
|
+
readonly OUT: "OUT";
|
|
1132
|
+
};
|
|
1133
|
+
export type NetworkDirection =
|
|
1134
|
+
(typeof NetworkDirection)[keyof typeof NetworkDirection];
|
|
1124
1135
|
export interface PortRange {
|
|
1125
1136
|
Begin?: number;
|
|
1126
1137
|
End?: number;
|
|
@@ -1180,10 +1191,11 @@ export interface ProcessDetails {
|
|
|
1180
1191
|
LaunchedAt?: string;
|
|
1181
1192
|
TerminatedAt?: string;
|
|
1182
1193
|
}
|
|
1183
|
-
export declare
|
|
1184
|
-
ACTIVE
|
|
1185
|
-
ARCHIVED
|
|
1186
|
-
}
|
|
1194
|
+
export declare const RecordState: {
|
|
1195
|
+
readonly ACTIVE: "ACTIVE";
|
|
1196
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
1197
|
+
};
|
|
1198
|
+
export type RecordState = (typeof RecordState)[keyof typeof RecordState];
|
|
1187
1199
|
export interface Recommendation {
|
|
1188
1200
|
Text?: string;
|
|
1189
1201
|
Url?: string;
|
|
@@ -1602,11 +1614,12 @@ export interface ResourceDetails {
|
|
|
1602
1614
|
AwsWafv2RuleGroup?: AwsWafv2RuleGroupDetails;
|
|
1603
1615
|
AwsEc2RouteTable?: AwsEc2RouteTableDetails;
|
|
1604
1616
|
}
|
|
1605
|
-
export declare
|
|
1606
|
-
AWS
|
|
1607
|
-
AWS_CN
|
|
1608
|
-
AWS_US_GOV
|
|
1609
|
-
}
|
|
1617
|
+
export declare const Partition: {
|
|
1618
|
+
readonly AWS: "aws";
|
|
1619
|
+
readonly AWS_CN: "aws-cn";
|
|
1620
|
+
readonly AWS_US_GOV: "aws-us-gov";
|
|
1621
|
+
};
|
|
1622
|
+
export type Partition = (typeof Partition)[keyof typeof Partition];
|
|
1610
1623
|
export interface Resource {
|
|
1611
1624
|
Type: string | undefined;
|
|
1612
1625
|
Id: string | undefined;
|
|
@@ -1623,27 +1636,31 @@ export interface Severity {
|
|
|
1623
1636
|
Normalized?: number;
|
|
1624
1637
|
Original?: string;
|
|
1625
1638
|
}
|
|
1626
|
-
export declare
|
|
1627
|
-
BACKDOOR
|
|
1628
|
-
CARD_STEALER
|
|
1629
|
-
COMMAND_AND_CONTROL
|
|
1630
|
-
DROP_SITE
|
|
1631
|
-
EXPLOIT_SITE
|
|
1632
|
-
KEYLOGGER
|
|
1633
|
-
}
|
|
1634
|
-
export
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1639
|
+
export declare const ThreatIntelIndicatorCategory: {
|
|
1640
|
+
readonly BACKDOOR: "BACKDOOR";
|
|
1641
|
+
readonly CARD_STEALER: "CARD_STEALER";
|
|
1642
|
+
readonly COMMAND_AND_CONTROL: "COMMAND_AND_CONTROL";
|
|
1643
|
+
readonly DROP_SITE: "DROP_SITE";
|
|
1644
|
+
readonly EXPLOIT_SITE: "EXPLOIT_SITE";
|
|
1645
|
+
readonly KEYLOGGER: "KEYLOGGER";
|
|
1646
|
+
};
|
|
1647
|
+
export type ThreatIntelIndicatorCategory =
|
|
1648
|
+
(typeof ThreatIntelIndicatorCategory)[keyof typeof ThreatIntelIndicatorCategory];
|
|
1649
|
+
export declare const ThreatIntelIndicatorType: {
|
|
1650
|
+
readonly DOMAIN: "DOMAIN";
|
|
1651
|
+
readonly EMAIL_ADDRESS: "EMAIL_ADDRESS";
|
|
1652
|
+
readonly HASH_MD5: "HASH_MD5";
|
|
1653
|
+
readonly HASH_SHA1: "HASH_SHA1";
|
|
1654
|
+
readonly HASH_SHA256: "HASH_SHA256";
|
|
1655
|
+
readonly HASH_SHA512: "HASH_SHA512";
|
|
1656
|
+
readonly IPV4_ADDRESS: "IPV4_ADDRESS";
|
|
1657
|
+
readonly IPV6_ADDRESS: "IPV6_ADDRESS";
|
|
1658
|
+
readonly MUTEX: "MUTEX";
|
|
1659
|
+
readonly PROCESS: "PROCESS";
|
|
1660
|
+
readonly URL: "URL";
|
|
1661
|
+
};
|
|
1662
|
+
export type ThreatIntelIndicatorType =
|
|
1663
|
+
(typeof ThreatIntelIndicatorType)[keyof typeof ThreatIntelIndicatorType];
|
|
1647
1664
|
export interface ThreatIntelIndicator {
|
|
1648
1665
|
Type?: ThreatIntelIndicatorType | string;
|
|
1649
1666
|
Value?: string;
|
|
@@ -1664,12 +1681,14 @@ export interface Threat {
|
|
|
1664
1681
|
ItemCount?: number;
|
|
1665
1682
|
FilePaths?: FilePaths[];
|
|
1666
1683
|
}
|
|
1667
|
-
export declare
|
|
1668
|
-
BENIGN_POSITIVE
|
|
1669
|
-
FALSE_POSITIVE
|
|
1670
|
-
TRUE_POSITIVE
|
|
1671
|
-
UNKNOWN
|
|
1672
|
-
}
|
|
1684
|
+
export declare const VerificationState: {
|
|
1685
|
+
readonly BENIGN_POSITIVE: "BENIGN_POSITIVE";
|
|
1686
|
+
readonly FALSE_POSITIVE: "FALSE_POSITIVE";
|
|
1687
|
+
readonly TRUE_POSITIVE: "TRUE_POSITIVE";
|
|
1688
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
1689
|
+
};
|
|
1690
|
+
export type VerificationState =
|
|
1691
|
+
(typeof VerificationState)[keyof typeof VerificationState];
|
|
1673
1692
|
export interface Cvss {
|
|
1674
1693
|
Version?: string;
|
|
1675
1694
|
BaseScore?: number;
|
|
@@ -1677,11 +1696,13 @@ export interface Cvss {
|
|
|
1677
1696
|
Source?: string;
|
|
1678
1697
|
Adjustments?: Adjustment[];
|
|
1679
1698
|
}
|
|
1680
|
-
export declare
|
|
1681
|
-
NO
|
|
1682
|
-
PARTIAL
|
|
1683
|
-
YES
|
|
1684
|
-
}
|
|
1699
|
+
export declare const VulnerabilityFixAvailable: {
|
|
1700
|
+
readonly NO: "NO";
|
|
1701
|
+
readonly PARTIAL: "PARTIAL";
|
|
1702
|
+
readonly YES: "YES";
|
|
1703
|
+
};
|
|
1704
|
+
export type VulnerabilityFixAvailable =
|
|
1705
|
+
(typeof VulnerabilityFixAvailable)[keyof typeof VulnerabilityFixAvailable];
|
|
1685
1706
|
export interface VulnerabilityVendor {
|
|
1686
1707
|
Name: string | undefined;
|
|
1687
1708
|
Url?: string;
|
|
@@ -1711,22 +1732,25 @@ export interface Vulnerability {
|
|
|
1711
1732
|
ReferenceUrls?: string[];
|
|
1712
1733
|
FixAvailable?: VulnerabilityFixAvailable | string;
|
|
1713
1734
|
}
|
|
1714
|
-
export declare
|
|
1715
|
-
NEW
|
|
1716
|
-
NOTIFIED
|
|
1717
|
-
RESOLVED
|
|
1718
|
-
SUPPRESSED
|
|
1719
|
-
}
|
|
1735
|
+
export declare const WorkflowStatus: {
|
|
1736
|
+
readonly NEW: "NEW";
|
|
1737
|
+
readonly NOTIFIED: "NOTIFIED";
|
|
1738
|
+
readonly RESOLVED: "RESOLVED";
|
|
1739
|
+
readonly SUPPRESSED: "SUPPRESSED";
|
|
1740
|
+
};
|
|
1741
|
+
export type WorkflowStatus =
|
|
1742
|
+
(typeof WorkflowStatus)[keyof typeof WorkflowStatus];
|
|
1720
1743
|
export interface Workflow {
|
|
1721
1744
|
Status?: WorkflowStatus | string;
|
|
1722
1745
|
}
|
|
1723
|
-
export declare
|
|
1724
|
-
ASSIGNED
|
|
1725
|
-
DEFERRED
|
|
1726
|
-
IN_PROGRESS
|
|
1727
|
-
NEW
|
|
1728
|
-
RESOLVED
|
|
1729
|
-
}
|
|
1746
|
+
export declare const WorkflowState: {
|
|
1747
|
+
readonly ASSIGNED: "ASSIGNED";
|
|
1748
|
+
readonly DEFERRED: "DEFERRED";
|
|
1749
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1750
|
+
readonly NEW: "NEW";
|
|
1751
|
+
readonly RESOLVED: "RESOLVED";
|
|
1752
|
+
};
|
|
1753
|
+
export type WorkflowState = (typeof WorkflowState)[keyof typeof WorkflowState];
|
|
1730
1754
|
export interface AwsSecurityFinding {
|
|
1731
1755
|
SchemaVersion: string | undefined;
|
|
1732
1756
|
Id: string | undefined;
|
|
@@ -1770,12 +1794,14 @@ export interface AwsSecurityFinding {
|
|
|
1770
1794
|
FindingProviderFields?: FindingProviderFields;
|
|
1771
1795
|
Sample?: boolean;
|
|
1772
1796
|
}
|
|
1773
|
-
export declare
|
|
1774
|
-
EQUALS
|
|
1775
|
-
NOT_EQUALS
|
|
1776
|
-
PREFIX
|
|
1777
|
-
PREFIX_NOT_EQUALS
|
|
1778
|
-
}
|
|
1797
|
+
export declare const StringFilterComparison: {
|
|
1798
|
+
readonly EQUALS: "EQUALS";
|
|
1799
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
1800
|
+
readonly PREFIX: "PREFIX";
|
|
1801
|
+
readonly PREFIX_NOT_EQUALS: "PREFIX_NOT_EQUALS";
|
|
1802
|
+
};
|
|
1803
|
+
export type StringFilterComparison =
|
|
1804
|
+
(typeof StringFilterComparison)[keyof typeof StringFilterComparison];
|
|
1779
1805
|
export interface StringFilter {
|
|
1780
1806
|
Value?: string;
|
|
1781
1807
|
Comparison?: StringFilterComparison | string;
|
|
@@ -1785,9 +1811,10 @@ export interface NumberFilter {
|
|
|
1785
1811
|
Lte?: number;
|
|
1786
1812
|
Eq?: number;
|
|
1787
1813
|
}
|
|
1788
|
-
export declare
|
|
1789
|
-
DAYS
|
|
1790
|
-
}
|
|
1814
|
+
export declare const DateRangeUnit: {
|
|
1815
|
+
readonly DAYS: "DAYS";
|
|
1816
|
+
};
|
|
1817
|
+
export type DateRangeUnit = (typeof DateRangeUnit)[keyof typeof DateRangeUnit];
|
|
1791
1818
|
export interface DateRange {
|
|
1792
1819
|
Value?: number;
|
|
1793
1820
|
Unit?: DateRangeUnit | string;
|
|
@@ -1803,10 +1830,12 @@ export interface KeywordFilter {
|
|
|
1803
1830
|
export interface IpFilter {
|
|
1804
1831
|
Cidr?: string;
|
|
1805
1832
|
}
|
|
1806
|
-
export declare
|
|
1807
|
-
EQUALS
|
|
1808
|
-
NOT_EQUALS
|
|
1809
|
-
}
|
|
1833
|
+
export declare const MapFilterComparison: {
|
|
1834
|
+
readonly EQUALS: "EQUALS";
|
|
1835
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
1836
|
+
};
|
|
1837
|
+
export type MapFilterComparison =
|
|
1838
|
+
(typeof MapFilterComparison)[keyof typeof MapFilterComparison];
|
|
1810
1839
|
export interface MapFilter {
|
|
1811
1840
|
Key?: string;
|
|
1812
1841
|
Value?: string;
|
|
@@ -1921,17 +1950,21 @@ export interface AwsSecurityFindingIdentifier {
|
|
|
1921
1950
|
export interface BatchDisableStandardsRequest {
|
|
1922
1951
|
StandardsSubscriptionArns: string[] | undefined;
|
|
1923
1952
|
}
|
|
1924
|
-
export declare
|
|
1925
|
-
DELETING
|
|
1926
|
-
FAILED
|
|
1927
|
-
INCOMPLETE
|
|
1928
|
-
PENDING
|
|
1929
|
-
READY
|
|
1930
|
-
}
|
|
1931
|
-
export
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1953
|
+
export declare const StandardsStatus: {
|
|
1954
|
+
readonly DELETING: "DELETING";
|
|
1955
|
+
readonly FAILED: "FAILED";
|
|
1956
|
+
readonly INCOMPLETE: "INCOMPLETE";
|
|
1957
|
+
readonly PENDING: "PENDING";
|
|
1958
|
+
readonly READY: "READY";
|
|
1959
|
+
};
|
|
1960
|
+
export type StandardsStatus =
|
|
1961
|
+
(typeof StandardsStatus)[keyof typeof StandardsStatus];
|
|
1962
|
+
export declare const StatusReasonCode: {
|
|
1963
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1964
|
+
readonly NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER";
|
|
1965
|
+
};
|
|
1966
|
+
export type StatusReasonCode =
|
|
1967
|
+
(typeof StatusReasonCode)[keyof typeof StatusReasonCode];
|
|
1935
1968
|
export interface StandardsStatusReason {
|
|
1936
1969
|
StatusReasonCode: StatusReasonCode | string | undefined;
|
|
1937
1970
|
}
|
|
@@ -1958,16 +1991,19 @@ export interface BatchEnableStandardsResponse {
|
|
|
1958
1991
|
export interface BatchGetSecurityControlsRequest {
|
|
1959
1992
|
SecurityControlIds: string[] | undefined;
|
|
1960
1993
|
}
|
|
1961
|
-
export declare
|
|
1962
|
-
DISABLED
|
|
1963
|
-
ENABLED
|
|
1964
|
-
}
|
|
1965
|
-
export
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1994
|
+
export declare const ControlStatus: {
|
|
1995
|
+
readonly DISABLED: "DISABLED";
|
|
1996
|
+
readonly ENABLED: "ENABLED";
|
|
1997
|
+
};
|
|
1998
|
+
export type ControlStatus = (typeof ControlStatus)[keyof typeof ControlStatus];
|
|
1999
|
+
export declare const SeverityRating: {
|
|
2000
|
+
readonly CRITICAL: "CRITICAL";
|
|
2001
|
+
readonly HIGH: "HIGH";
|
|
2002
|
+
readonly LOW: "LOW";
|
|
2003
|
+
readonly MEDIUM: "MEDIUM";
|
|
2004
|
+
};
|
|
2005
|
+
export type SeverityRating =
|
|
2006
|
+
(typeof SeverityRating)[keyof typeof SeverityRating];
|
|
1971
2007
|
export interface SecurityControl {
|
|
1972
2008
|
SecurityControlId: string | undefined;
|
|
1973
2009
|
SecurityControlArn: string | undefined;
|
|
@@ -1977,12 +2013,14 @@ export interface SecurityControl {
|
|
|
1977
2013
|
SeverityRating: SeverityRating | string | undefined;
|
|
1978
2014
|
SecurityControlStatus: ControlStatus | string | undefined;
|
|
1979
2015
|
}
|
|
1980
|
-
export declare
|
|
1981
|
-
ACCESS_DENIED
|
|
1982
|
-
INVALID_INPUT
|
|
1983
|
-
LIMIT_EXCEEDED
|
|
1984
|
-
NOT_FOUND
|
|
1985
|
-
}
|
|
2016
|
+
export declare const UnprocessedErrorCode: {
|
|
2017
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
2018
|
+
readonly INVALID_INPUT: "INVALID_INPUT";
|
|
2019
|
+
readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
2020
|
+
readonly NOT_FOUND: "NOT_FOUND";
|
|
2021
|
+
};
|
|
2022
|
+
export type UnprocessedErrorCode =
|
|
2023
|
+
(typeof UnprocessedErrorCode)[keyof typeof UnprocessedErrorCode];
|
|
1986
2024
|
export interface UnprocessedSecurityControl {
|
|
1987
2025
|
SecurityControlId: string | undefined;
|
|
1988
2026
|
ErrorCode: UnprocessedErrorCode | string | undefined;
|
|
@@ -2089,10 +2127,12 @@ export interface UnprocessedStandardsControlAssociationUpdate {
|
|
|
2089
2127
|
export interface BatchUpdateStandardsControlAssociationsResponse {
|
|
2090
2128
|
UnprocessedAssociationUpdates?: UnprocessedStandardsControlAssociationUpdate[];
|
|
2091
2129
|
}
|
|
2092
|
-
export declare
|
|
2093
|
-
SECURITY_CONTROL
|
|
2094
|
-
STANDARD_CONTROL
|
|
2095
|
-
}
|
|
2130
|
+
export declare const ControlFindingGenerator: {
|
|
2131
|
+
readonly SECURITY_CONTROL: "SECURITY_CONTROL";
|
|
2132
|
+
readonly STANDARD_CONTROL: "STANDARD_CONTROL";
|
|
2133
|
+
};
|
|
2134
|
+
export type ControlFindingGenerator =
|
|
2135
|
+
(typeof ControlFindingGenerator)[keyof typeof ControlFindingGenerator];
|
|
2096
2136
|
export interface CreateActionTargetRequest {
|
|
2097
2137
|
Name: string | undefined;
|
|
2098
2138
|
Description: string | undefined;
|
|
@@ -96,11 +96,13 @@ export interface DescribeProductsRequest {
|
|
|
96
96
|
MaxResults?: number;
|
|
97
97
|
ProductArn?: string;
|
|
98
98
|
}
|
|
99
|
-
export declare
|
|
100
|
-
RECEIVE_FINDINGS_FROM_SECURITY_HUB
|
|
101
|
-
SEND_FINDINGS_TO_SECURITY_HUB
|
|
102
|
-
UPDATE_FINDINGS_IN_SECURITY_HUB
|
|
103
|
-
}
|
|
99
|
+
export declare const IntegrationType: {
|
|
100
|
+
readonly RECEIVE_FINDINGS_FROM_SECURITY_HUB: "RECEIVE_FINDINGS_FROM_SECURITY_HUB";
|
|
101
|
+
readonly SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB";
|
|
102
|
+
readonly UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB";
|
|
103
|
+
};
|
|
104
|
+
export type IntegrationType =
|
|
105
|
+
(typeof IntegrationType)[keyof typeof IntegrationType];
|
|
104
106
|
export interface Product {
|
|
105
107
|
ProductArn: string | undefined;
|
|
106
108
|
ProductName?: string;
|
|
@@ -221,10 +223,11 @@ export interface GetFindingAggregatorResponse {
|
|
|
221
223
|
RegionLinkingMode?: string;
|
|
222
224
|
Regions?: string[];
|
|
223
225
|
}
|
|
224
|
-
export declare
|
|
225
|
-
ASCENDING
|
|
226
|
-
DESCENDING
|
|
227
|
-
}
|
|
226
|
+
export declare const SortOrder: {
|
|
227
|
+
readonly ASCENDING: "asc";
|
|
228
|
+
readonly DESCENDING: "desc";
|
|
229
|
+
};
|
|
230
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
228
231
|
export interface SortCriterion {
|
|
229
232
|
Field?: string;
|
|
230
233
|
SortOrder?: SortOrder | string;
|
|
@@ -345,10 +348,12 @@ export interface ListSecurityControlDefinitionsRequest {
|
|
|
345
348
|
NextToken?: string;
|
|
346
349
|
MaxResults?: number;
|
|
347
350
|
}
|
|
348
|
-
export declare
|
|
349
|
-
AVAILABLE
|
|
350
|
-
UNAVAILABLE
|
|
351
|
-
}
|
|
351
|
+
export declare const RegionAvailabilityStatus: {
|
|
352
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
353
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
354
|
+
};
|
|
355
|
+
export type RegionAvailabilityStatus =
|
|
356
|
+
(typeof RegionAvailabilityStatus)[keyof typeof RegionAvailabilityStatus];
|
|
352
357
|
export interface SecurityControlDefinition {
|
|
353
358
|
SecurityControlId: string | undefined;
|
|
354
359
|
Title: string | undefined;
|
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.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|