@aws-sdk/client-guardduty 3.696.0 → 3.703.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 +372 -71
- package/dist-es/commands/GetMembersCommand.js +1 -1
- package/dist-es/models/models_0.js +65 -25
- package/dist-es/models/models_1.js +26 -1
- package/dist-es/protocols/Aws_restJson1.js +219 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +172 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetMemberDetectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1829 -1590
- package/dist-types/models/models_1.d.ts +569 -1
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +225 -164
- package/dist-types/ts3.4/models/models_1.d.ts +147 -3
- package/package.json +4 -4
|
@@ -43,12 +43,21 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
43
43
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
44
44
|
);
|
|
45
45
|
}
|
|
46
|
+
export interface AccessKey {
|
|
47
|
+
PrincipalId?: string | undefined;
|
|
48
|
+
UserName?: string | undefined;
|
|
49
|
+
UserType?: string | undefined;
|
|
50
|
+
}
|
|
46
51
|
export interface AccessKeyDetails {
|
|
47
52
|
AccessKeyId?: string | undefined;
|
|
48
53
|
PrincipalId?: string | undefined;
|
|
49
54
|
UserName?: string | undefined;
|
|
50
55
|
UserType?: string | undefined;
|
|
51
56
|
}
|
|
57
|
+
export interface Account {
|
|
58
|
+
Uid: string | undefined;
|
|
59
|
+
Name?: string | undefined;
|
|
60
|
+
}
|
|
52
61
|
export interface AccountDetail {
|
|
53
62
|
AccountId: string | undefined;
|
|
54
63
|
Email: string | undefined;
|
|
@@ -243,6 +252,29 @@ export interface Action {
|
|
|
243
252
|
KubernetesRoleBindingDetails?: KubernetesRoleBindingDetails | undefined;
|
|
244
253
|
KubernetesRoleDetails?: KubernetesRoleDetails | undefined;
|
|
245
254
|
}
|
|
255
|
+
export declare const MfaStatus: {
|
|
256
|
+
readonly DISABLED: "DISABLED";
|
|
257
|
+
readonly ENABLED: "ENABLED";
|
|
258
|
+
};
|
|
259
|
+
export type MfaStatus = (typeof MfaStatus)[keyof typeof MfaStatus];
|
|
260
|
+
export interface Session {
|
|
261
|
+
Uid?: string | undefined;
|
|
262
|
+
MfaStatus?: MfaStatus | undefined;
|
|
263
|
+
CreatedTime?: Date | undefined;
|
|
264
|
+
Issuer?: string | undefined;
|
|
265
|
+
}
|
|
266
|
+
export interface User {
|
|
267
|
+
Name: string | undefined;
|
|
268
|
+
Uid: string | undefined;
|
|
269
|
+
Type: string | undefined;
|
|
270
|
+
CredentialUid?: string | undefined;
|
|
271
|
+
Account?: Account | undefined;
|
|
272
|
+
}
|
|
273
|
+
export interface Actor {
|
|
274
|
+
Id: string | undefined;
|
|
275
|
+
User?: User | undefined;
|
|
276
|
+
Session?: Session | undefined;
|
|
277
|
+
}
|
|
246
278
|
export interface AddonDetails {
|
|
247
279
|
AddonVersion?: string | undefined;
|
|
248
280
|
AddonStatus?: string | undefined;
|
|
@@ -304,6 +336,10 @@ export declare const AutoEnableMembers: {
|
|
|
304
336
|
};
|
|
305
337
|
export type AutoEnableMembers =
|
|
306
338
|
(typeof AutoEnableMembers)[keyof typeof AutoEnableMembers];
|
|
339
|
+
export interface AutonomousSystem {
|
|
340
|
+
Name: string | undefined;
|
|
341
|
+
Number: number | undefined;
|
|
342
|
+
}
|
|
307
343
|
export interface BucketPolicy {
|
|
308
344
|
AllowsPublicReadAccess?: boolean | undefined;
|
|
309
345
|
AllowsPublicWriteAccess?: boolean | undefined;
|
|
@@ -977,8 +1013,189 @@ export interface Destination {
|
|
|
977
1013
|
DestinationType: DestinationType | undefined;
|
|
978
1014
|
Status: PublishingStatus | undefined;
|
|
979
1015
|
}
|
|
1016
|
+
export declare const NetworkDirection: {
|
|
1017
|
+
readonly INBOUND: "INBOUND";
|
|
1018
|
+
readonly OUTBOUND: "OUTBOUND";
|
|
1019
|
+
};
|
|
1020
|
+
export type NetworkDirection =
|
|
1021
|
+
(typeof NetworkDirection)[keyof typeof NetworkDirection];
|
|
1022
|
+
export interface NetworkConnection {
|
|
1023
|
+
Direction: NetworkDirection | undefined;
|
|
1024
|
+
}
|
|
1025
|
+
export interface NetworkGeoLocation {
|
|
1026
|
+
City: string | undefined;
|
|
1027
|
+
Country: string | undefined;
|
|
1028
|
+
Latitude: number | undefined;
|
|
1029
|
+
Longitude: number | undefined;
|
|
1030
|
+
}
|
|
1031
|
+
export interface NetworkEndpoint {
|
|
1032
|
+
Id: string | undefined;
|
|
1033
|
+
Ip?: string | undefined;
|
|
1034
|
+
Domain?: string | undefined;
|
|
1035
|
+
Port?: number | undefined;
|
|
1036
|
+
Location?: NetworkGeoLocation | undefined;
|
|
1037
|
+
AutonomousSystem?: AutonomousSystem | undefined;
|
|
1038
|
+
Connection?: NetworkConnection | undefined;
|
|
1039
|
+
}
|
|
1040
|
+
export interface IamInstanceProfile {
|
|
1041
|
+
Arn?: string | undefined;
|
|
1042
|
+
Id?: string | undefined;
|
|
1043
|
+
}
|
|
1044
|
+
export interface ProductCode {
|
|
1045
|
+
Code?: string | undefined;
|
|
1046
|
+
ProductType?: string | undefined;
|
|
1047
|
+
}
|
|
1048
|
+
export interface Ec2Instance {
|
|
1049
|
+
AvailabilityZone?: string | undefined;
|
|
1050
|
+
ImageDescription?: string | undefined;
|
|
1051
|
+
InstanceState?: string | undefined;
|
|
1052
|
+
IamInstanceProfile?: IamInstanceProfile | undefined;
|
|
1053
|
+
InstanceType?: string | undefined;
|
|
1054
|
+
OutpostArn?: string | undefined;
|
|
1055
|
+
Platform?: string | undefined;
|
|
1056
|
+
ProductCodes?: ProductCode[] | undefined;
|
|
1057
|
+
Ec2NetworkInterfaceUids?: string[] | undefined;
|
|
1058
|
+
}
|
|
1059
|
+
export interface PrivateIpAddressDetails {
|
|
1060
|
+
PrivateDnsName?: string | undefined;
|
|
1061
|
+
PrivateIpAddress?: string | undefined;
|
|
1062
|
+
}
|
|
1063
|
+
export interface SecurityGroup {
|
|
1064
|
+
GroupId?: string | undefined;
|
|
1065
|
+
GroupName?: string | undefined;
|
|
1066
|
+
}
|
|
1067
|
+
export interface Ec2NetworkInterface {
|
|
1068
|
+
Ipv6Addresses?: string[] | undefined;
|
|
1069
|
+
PrivateIpAddresses?: PrivateIpAddressDetails[] | undefined;
|
|
1070
|
+
PublicIp?: string | undefined;
|
|
1071
|
+
SecurityGroups?: SecurityGroup[] | undefined;
|
|
1072
|
+
SubNetId?: string | undefined;
|
|
1073
|
+
VpcId?: string | undefined;
|
|
1074
|
+
}
|
|
1075
|
+
export declare const PublicAccessStatus: {
|
|
1076
|
+
readonly ALLOWED: "ALLOWED";
|
|
1077
|
+
readonly BLOCKED: "BLOCKED";
|
|
1078
|
+
};
|
|
1079
|
+
export type PublicAccessStatus =
|
|
1080
|
+
(typeof PublicAccessStatus)[keyof typeof PublicAccessStatus];
|
|
1081
|
+
export declare const PublicAclIgnoreBehavior: {
|
|
1082
|
+
readonly IGNORED: "IGNORED";
|
|
1083
|
+
readonly NOT_IGNORED: "NOT_IGNORED";
|
|
1084
|
+
};
|
|
1085
|
+
export type PublicAclIgnoreBehavior =
|
|
1086
|
+
(typeof PublicAclIgnoreBehavior)[keyof typeof PublicAclIgnoreBehavior];
|
|
1087
|
+
export declare const PublicBucketRestrictBehavior: {
|
|
1088
|
+
readonly NOT_RESTRICTED: "NOT_RESTRICTED";
|
|
1089
|
+
readonly RESTRICTED: "RESTRICTED";
|
|
1090
|
+
};
|
|
1091
|
+
export type PublicBucketRestrictBehavior =
|
|
1092
|
+
(typeof PublicBucketRestrictBehavior)[keyof typeof PublicBucketRestrictBehavior];
|
|
1093
|
+
export interface PublicAccessConfiguration {
|
|
1094
|
+
PublicAclAccess?: PublicAccessStatus | undefined;
|
|
1095
|
+
PublicPolicyAccess?: PublicAccessStatus | undefined;
|
|
1096
|
+
PublicAclIgnoreBehavior?: PublicAclIgnoreBehavior | undefined;
|
|
1097
|
+
PublicBucketRestrictBehavior?: PublicBucketRestrictBehavior | undefined;
|
|
1098
|
+
}
|
|
1099
|
+
export interface S3Bucket {
|
|
1100
|
+
OwnerId?: string | undefined;
|
|
1101
|
+
CreatedAt?: Date | undefined;
|
|
1102
|
+
EncryptionType?: string | undefined;
|
|
1103
|
+
EncryptionKeyArn?: string | undefined;
|
|
1104
|
+
EffectivePermission?: string | undefined;
|
|
1105
|
+
PublicReadAccess?: PublicAccessStatus | undefined;
|
|
1106
|
+
PublicWriteAccess?: PublicAccessStatus | undefined;
|
|
1107
|
+
AccountPublicAccess?: PublicAccessConfiguration | undefined;
|
|
1108
|
+
BucketPublicAccess?: PublicAccessConfiguration | undefined;
|
|
1109
|
+
S3ObjectUids?: string[] | undefined;
|
|
1110
|
+
}
|
|
1111
|
+
export interface S3Object {
|
|
1112
|
+
ETag?: string | undefined;
|
|
1113
|
+
Key?: string | undefined;
|
|
1114
|
+
VersionId?: string | undefined;
|
|
1115
|
+
}
|
|
1116
|
+
export interface ResourceData {
|
|
1117
|
+
S3Bucket?: S3Bucket | undefined;
|
|
1118
|
+
Ec2Instance?: Ec2Instance | undefined;
|
|
1119
|
+
AccessKey?: AccessKey | undefined;
|
|
1120
|
+
Ec2NetworkInterface?: Ec2NetworkInterface | undefined;
|
|
1121
|
+
S3Object?: S3Object | undefined;
|
|
1122
|
+
}
|
|
1123
|
+
export declare const FindingResourceType: {
|
|
1124
|
+
readonly ACCESS_KEY: "ACCESS_KEY";
|
|
1125
|
+
readonly EC2_INSTANCE: "EC2_INSTANCE";
|
|
1126
|
+
readonly EC2_NETWORK_INTERFACE: "EC2_NETWORK_INTERFACE";
|
|
1127
|
+
readonly S3_BUCKET: "S3_BUCKET";
|
|
1128
|
+
readonly S3_OBJECT: "S3_OBJECT";
|
|
1129
|
+
};
|
|
1130
|
+
export type FindingResourceType =
|
|
1131
|
+
(typeof FindingResourceType)[keyof typeof FindingResourceType];
|
|
1132
|
+
export interface Tag {
|
|
1133
|
+
Key?: string | undefined;
|
|
1134
|
+
Value?: string | undefined;
|
|
1135
|
+
}
|
|
1136
|
+
export interface ResourceV2 {
|
|
1137
|
+
Uid: string | undefined;
|
|
1138
|
+
Name?: string | undefined;
|
|
1139
|
+
AccountId?: string | undefined;
|
|
1140
|
+
ResourceType: FindingResourceType | undefined;
|
|
1141
|
+
Region?: string | undefined;
|
|
1142
|
+
Service?: string | undefined;
|
|
1143
|
+
CloudPartition?: string | undefined;
|
|
1144
|
+
Tags?: Tag[] | undefined;
|
|
1145
|
+
Data?: ResourceData | undefined;
|
|
1146
|
+
}
|
|
1147
|
+
export declare const IndicatorType: {
|
|
1148
|
+
readonly ATTACK_TACTIC: "ATTACK_TACTIC";
|
|
1149
|
+
readonly ATTACK_TECHNIQUE: "ATTACK_TECHNIQUE";
|
|
1150
|
+
readonly HIGH_RISK_API: "HIGH_RISK_API";
|
|
1151
|
+
readonly MALICIOUS_IP: "MALICIOUS_IP";
|
|
1152
|
+
readonly SUSPICIOUS_NETWORK: "SUSPICIOUS_NETWORK";
|
|
1153
|
+
readonly SUSPICIOUS_USER_AGENT: "SUSPICIOUS_USER_AGENT";
|
|
1154
|
+
readonly TOR_IP: "TOR_IP";
|
|
1155
|
+
readonly UNUSUAL_API_FOR_ACCOUNT: "UNUSUAL_API_FOR_ACCOUNT";
|
|
1156
|
+
readonly UNUSUAL_ASN_FOR_ACCOUNT: "UNUSUAL_ASN_FOR_ACCOUNT";
|
|
1157
|
+
readonly UNUSUAL_ASN_FOR_USER: "UNUSUAL_ASN_FOR_USER";
|
|
1158
|
+
};
|
|
1159
|
+
export type IndicatorType = (typeof IndicatorType)[keyof typeof IndicatorType];
|
|
1160
|
+
export interface Indicator {
|
|
1161
|
+
Key: IndicatorType | undefined;
|
|
1162
|
+
Values?: string[] | undefined;
|
|
1163
|
+
Title?: string | undefined;
|
|
1164
|
+
}
|
|
1165
|
+
export declare const SignalType: {
|
|
1166
|
+
readonly CLOUD_TRAIL: "CLOUD_TRAIL";
|
|
1167
|
+
readonly FINDING: "FINDING";
|
|
1168
|
+
readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
|
|
1169
|
+
};
|
|
1170
|
+
export type SignalType = (typeof SignalType)[keyof typeof SignalType];
|
|
1171
|
+
export interface Signal {
|
|
1172
|
+
Uid: string | undefined;
|
|
1173
|
+
Type: SignalType | undefined;
|
|
1174
|
+
Description?: string | undefined;
|
|
1175
|
+
Name: string | undefined;
|
|
1176
|
+
CreatedAt: Date | undefined;
|
|
1177
|
+
UpdatedAt: Date | undefined;
|
|
1178
|
+
FirstSeenAt: Date | undefined;
|
|
1179
|
+
LastSeenAt: Date | undefined;
|
|
1180
|
+
Severity?: number | undefined;
|
|
1181
|
+
Count: number | undefined;
|
|
1182
|
+
ResourceUids?: string[] | undefined;
|
|
1183
|
+
ActorIds?: string[] | undefined;
|
|
1184
|
+
EndpointIds?: string[] | undefined;
|
|
1185
|
+
SignalIndicators?: Indicator[] | undefined;
|
|
1186
|
+
}
|
|
1187
|
+
export interface Sequence {
|
|
1188
|
+
Uid: string | undefined;
|
|
1189
|
+
Description: string | undefined;
|
|
1190
|
+
Actors?: Actor[] | undefined;
|
|
1191
|
+
Resources?: ResourceV2[] | undefined;
|
|
1192
|
+
Endpoints?: NetworkEndpoint[] | undefined;
|
|
1193
|
+
Signals: Signal[] | undefined;
|
|
1194
|
+
SequenceIndicators?: Indicator[] | undefined;
|
|
1195
|
+
}
|
|
980
1196
|
export interface Detection {
|
|
981
1197
|
Anomaly?: Anomaly | undefined;
|
|
1198
|
+
Sequence?: Sequence | undefined;
|
|
982
1199
|
}
|
|
983
1200
|
export interface DetectorAdditionalConfigurationResult {
|
|
984
1201
|
Name?: FeatureAdditionalConfiguration | undefined;
|
|
@@ -1086,10 +1303,6 @@ export interface EbsVolumeScanDetails {
|
|
|
1086
1303
|
ScanDetections?: ScanDetections | undefined;
|
|
1087
1304
|
ScanType?: ScanType | undefined;
|
|
1088
1305
|
}
|
|
1089
|
-
export interface Tag {
|
|
1090
|
-
Key?: string | undefined;
|
|
1091
|
-
Value?: string | undefined;
|
|
1092
|
-
}
|
|
1093
1306
|
export interface HostPath {
|
|
1094
1307
|
Path?: string | undefined;
|
|
1095
1308
|
}
|
|
@@ -1145,18 +1358,6 @@ export declare const Feedback: {
|
|
|
1145
1358
|
readonly USEFUL: "USEFUL";
|
|
1146
1359
|
};
|
|
1147
1360
|
export type Feedback = (typeof Feedback)[keyof typeof Feedback];
|
|
1148
|
-
export interface IamInstanceProfile {
|
|
1149
|
-
Arn?: string | undefined;
|
|
1150
|
-
Id?: string | undefined;
|
|
1151
|
-
}
|
|
1152
|
-
export interface PrivateIpAddressDetails {
|
|
1153
|
-
PrivateDnsName?: string | undefined;
|
|
1154
|
-
PrivateIpAddress?: string | undefined;
|
|
1155
|
-
}
|
|
1156
|
-
export interface SecurityGroup {
|
|
1157
|
-
GroupId?: string | undefined;
|
|
1158
|
-
GroupName?: string | undefined;
|
|
1159
|
-
}
|
|
1160
1361
|
export interface NetworkInterface {
|
|
1161
1362
|
Ipv6Addresses?: string[] | undefined;
|
|
1162
1363
|
NetworkInterfaceId?: string | undefined;
|
|
@@ -1169,10 +1370,6 @@ export interface NetworkInterface {
|
|
|
1169
1370
|
SubnetId?: string | undefined;
|
|
1170
1371
|
VpcId?: string | undefined;
|
|
1171
1372
|
}
|
|
1172
|
-
export interface ProductCode {
|
|
1173
|
-
Code?: string | undefined;
|
|
1174
|
-
ProductType?: string | undefined;
|
|
1175
|
-
}
|
|
1176
1373
|
export interface InstanceDetails {
|
|
1177
1374
|
AvailabilityZone?: string | undefined;
|
|
1178
1375
|
IamInstanceProfile?: IamInstanceProfile | undefined;
|
|
@@ -1406,6 +1603,7 @@ export interface Finding {
|
|
|
1406
1603
|
Title?: string | undefined;
|
|
1407
1604
|
Type: string | undefined;
|
|
1408
1605
|
UpdatedAt: string | undefined;
|
|
1606
|
+
AssociatedAttackSequenceArn?: string | undefined;
|
|
1409
1607
|
}
|
|
1410
1608
|
export interface FindingTypeStatistics {
|
|
1411
1609
|
FindingType?: string | undefined;
|
|
@@ -1508,146 +1706,6 @@ export interface GetInvitationsCountRequest {}
|
|
|
1508
1706
|
export interface GetInvitationsCountResponse {
|
|
1509
1707
|
InvitationsCount?: number | undefined;
|
|
1510
1708
|
}
|
|
1511
|
-
export interface GetIPSetRequest {
|
|
1512
|
-
DetectorId: string | undefined;
|
|
1513
|
-
IpSetId: string | undefined;
|
|
1514
|
-
}
|
|
1515
|
-
export declare const IpSetStatus: {
|
|
1516
|
-
readonly ACTIVATING: "ACTIVATING";
|
|
1517
|
-
readonly ACTIVE: "ACTIVE";
|
|
1518
|
-
readonly DEACTIVATING: "DEACTIVATING";
|
|
1519
|
-
readonly DELETED: "DELETED";
|
|
1520
|
-
readonly DELETE_PENDING: "DELETE_PENDING";
|
|
1521
|
-
readonly ERROR: "ERROR";
|
|
1522
|
-
readonly INACTIVE: "INACTIVE";
|
|
1523
|
-
};
|
|
1524
|
-
export type IpSetStatus = (typeof IpSetStatus)[keyof typeof IpSetStatus];
|
|
1525
|
-
export interface GetIPSetResponse {
|
|
1526
|
-
Name: string | undefined;
|
|
1527
|
-
Format: IpSetFormat | undefined;
|
|
1528
|
-
Location: string | undefined;
|
|
1529
|
-
Status: IpSetStatus | undefined;
|
|
1530
|
-
Tags?: Record<string, string> | undefined;
|
|
1531
|
-
}
|
|
1532
|
-
export interface GetMalwareProtectionPlanRequest {
|
|
1533
|
-
MalwareProtectionPlanId: string | undefined;
|
|
1534
|
-
}
|
|
1535
|
-
export declare const MalwareProtectionPlanStatus: {
|
|
1536
|
-
readonly ACTIVE: "ACTIVE";
|
|
1537
|
-
readonly ERROR: "ERROR";
|
|
1538
|
-
readonly WARNING: "WARNING";
|
|
1539
|
-
};
|
|
1540
|
-
export type MalwareProtectionPlanStatus =
|
|
1541
|
-
(typeof MalwareProtectionPlanStatus)[keyof typeof MalwareProtectionPlanStatus];
|
|
1542
|
-
export interface MalwareProtectionPlanStatusReason {
|
|
1543
|
-
Code?: string | undefined;
|
|
1544
|
-
Message?: string | undefined;
|
|
1545
|
-
}
|
|
1546
|
-
export interface GetMalwareProtectionPlanResponse {
|
|
1547
|
-
Arn?: string | undefined;
|
|
1548
|
-
Role?: string | undefined;
|
|
1549
|
-
ProtectedResource?: CreateProtectedResource | undefined;
|
|
1550
|
-
Actions?: MalwareProtectionPlanActions | undefined;
|
|
1551
|
-
CreatedAt?: Date | undefined;
|
|
1552
|
-
Status?: MalwareProtectionPlanStatus | undefined;
|
|
1553
|
-
StatusReasons?: MalwareProtectionPlanStatusReason[] | undefined;
|
|
1554
|
-
Tags?: Record<string, string> | undefined;
|
|
1555
|
-
}
|
|
1556
|
-
export interface GetMalwareScanSettingsRequest {
|
|
1557
|
-
DetectorId: string | undefined;
|
|
1558
|
-
}
|
|
1559
|
-
export declare const ScanCriterionKey: {
|
|
1560
|
-
readonly EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG";
|
|
1561
|
-
};
|
|
1562
|
-
export type ScanCriterionKey =
|
|
1563
|
-
(typeof ScanCriterionKey)[keyof typeof ScanCriterionKey];
|
|
1564
|
-
export interface ScanConditionPair {
|
|
1565
|
-
Key: string | undefined;
|
|
1566
|
-
Value?: string | undefined;
|
|
1567
|
-
}
|
|
1568
|
-
export interface ScanCondition {
|
|
1569
|
-
MapEquals: ScanConditionPair[] | undefined;
|
|
1570
|
-
}
|
|
1571
|
-
export interface ScanResourceCriteria {
|
|
1572
|
-
Include?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
|
|
1573
|
-
Exclude?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
|
|
1574
|
-
}
|
|
1575
|
-
export interface GetMalwareScanSettingsResponse {
|
|
1576
|
-
ScanResourceCriteria?: ScanResourceCriteria | undefined;
|
|
1577
|
-
EbsSnapshotPreservation?: EbsSnapshotPreservation | undefined;
|
|
1578
|
-
}
|
|
1579
|
-
export interface GetMasterAccountRequest {
|
|
1580
|
-
DetectorId: string | undefined;
|
|
1581
|
-
}
|
|
1582
|
-
export interface Master {
|
|
1583
|
-
AccountId?: string | undefined;
|
|
1584
|
-
InvitationId?: string | undefined;
|
|
1585
|
-
RelationshipStatus?: string | undefined;
|
|
1586
|
-
InvitedAt?: string | undefined;
|
|
1587
|
-
}
|
|
1588
|
-
export interface GetMasterAccountResponse {
|
|
1589
|
-
Master: Master | undefined;
|
|
1590
|
-
}
|
|
1591
|
-
export interface GetMemberDetectorsRequest {
|
|
1592
|
-
DetectorId: string | undefined;
|
|
1593
|
-
AccountIds: string[] | undefined;
|
|
1594
|
-
}
|
|
1595
|
-
export interface MemberAdditionalConfigurationResult {
|
|
1596
|
-
Name?: OrgFeatureAdditionalConfiguration | undefined;
|
|
1597
|
-
Status?: FeatureStatus | undefined;
|
|
1598
|
-
UpdatedAt?: Date | undefined;
|
|
1599
|
-
}
|
|
1600
|
-
export interface MemberFeaturesConfigurationResult {
|
|
1601
|
-
Name?: OrgFeature | undefined;
|
|
1602
|
-
Status?: FeatureStatus | undefined;
|
|
1603
|
-
UpdatedAt?: Date | undefined;
|
|
1604
|
-
AdditionalConfiguration?: MemberAdditionalConfigurationResult[] | undefined;
|
|
1605
|
-
}
|
|
1606
|
-
export interface MemberDataSourceConfiguration {
|
|
1607
|
-
AccountId: string | undefined;
|
|
1608
|
-
DataSources?: DataSourceConfigurationsResult | undefined;
|
|
1609
|
-
Features?: MemberFeaturesConfigurationResult[] | undefined;
|
|
1610
|
-
}
|
|
1611
|
-
export interface GetMemberDetectorsResponse {
|
|
1612
|
-
MemberDataSourceConfigurations: MemberDataSourceConfiguration[] | undefined;
|
|
1613
|
-
UnprocessedAccounts: UnprocessedAccount[] | undefined;
|
|
1614
|
-
}
|
|
1615
|
-
export interface GetMembersRequest {
|
|
1616
|
-
DetectorId: string | undefined;
|
|
1617
|
-
AccountIds: string[] | undefined;
|
|
1618
|
-
}
|
|
1619
|
-
export interface Member {
|
|
1620
|
-
AccountId: string | undefined;
|
|
1621
|
-
DetectorId?: string | undefined;
|
|
1622
|
-
MasterId: string | undefined;
|
|
1623
|
-
Email: string | undefined;
|
|
1624
|
-
RelationshipStatus: string | undefined;
|
|
1625
|
-
InvitedAt?: string | undefined;
|
|
1626
|
-
UpdatedAt: string | undefined;
|
|
1627
|
-
AdministratorId?: string | undefined;
|
|
1628
|
-
}
|
|
1629
|
-
export interface GetMembersResponse {
|
|
1630
|
-
Members: Member[] | undefined;
|
|
1631
|
-
UnprocessedAccounts: UnprocessedAccount[] | undefined;
|
|
1632
|
-
}
|
|
1633
|
-
export interface OrganizationFeatureStatisticsAdditionalConfiguration {
|
|
1634
|
-
Name?: OrgFeatureAdditionalConfiguration | undefined;
|
|
1635
|
-
EnabledAccountsCount?: number | undefined;
|
|
1636
|
-
}
|
|
1637
|
-
export interface OrganizationFeatureStatistics {
|
|
1638
|
-
Name?: OrgFeature | undefined;
|
|
1639
|
-
EnabledAccountsCount?: number | undefined;
|
|
1640
|
-
AdditionalConfiguration?:
|
|
1641
|
-
| OrganizationFeatureStatisticsAdditionalConfiguration[]
|
|
1642
|
-
| undefined;
|
|
1643
|
-
}
|
|
1644
|
-
export interface OrganizationStatistics {
|
|
1645
|
-
TotalAccountsCount?: number | undefined;
|
|
1646
|
-
MemberAccountsCount?: number | undefined;
|
|
1647
|
-
ActiveAccountsCount?: number | undefined;
|
|
1648
|
-
EnabledAccountsCount?: number | undefined;
|
|
1649
|
-
CountByFeature?: OrganizationFeatureStatistics[] | undefined;
|
|
1650
|
-
}
|
|
1651
1709
|
export declare const AccountDetailFilterSensitiveLog: (
|
|
1652
1710
|
obj: AccountDetail
|
|
1653
1711
|
) => any;
|
|
@@ -1682,6 +1740,13 @@ export declare const CreateMembersRequestFilterSensitiveLog: (
|
|
|
1682
1740
|
export declare const PrivateIpAddressDetailsFilterSensitiveLog: (
|
|
1683
1741
|
obj: PrivateIpAddressDetails
|
|
1684
1742
|
) => any;
|
|
1743
|
+
export declare const Ec2NetworkInterfaceFilterSensitiveLog: (
|
|
1744
|
+
obj: Ec2NetworkInterface
|
|
1745
|
+
) => any;
|
|
1746
|
+
export declare const ResourceDataFilterSensitiveLog: (obj: ResourceData) => any;
|
|
1747
|
+
export declare const ResourceV2FilterSensitiveLog: (obj: ResourceV2) => any;
|
|
1748
|
+
export declare const SequenceFilterSensitiveLog: (obj: Sequence) => any;
|
|
1749
|
+
export declare const DetectionFilterSensitiveLog: (obj: Detection) => any;
|
|
1685
1750
|
export declare const NetworkInterfaceFilterSensitiveLog: (
|
|
1686
1751
|
obj: NetworkInterface
|
|
1687
1752
|
) => any;
|
|
@@ -1694,7 +1759,3 @@ export declare const FindingFilterSensitiveLog: (obj: Finding) => any;
|
|
|
1694
1759
|
export declare const GetFindingsResponseFilterSensitiveLog: (
|
|
1695
1760
|
obj: GetFindingsResponse
|
|
1696
1761
|
) => any;
|
|
1697
|
-
export declare const MemberFilterSensitiveLog: (obj: Member) => any;
|
|
1698
|
-
export declare const GetMembersResponseFilterSensitiveLog: (
|
|
1699
|
-
obj: GetMembersResponse
|
|
1700
|
-
) => any;
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
CoverageFilterCriteria,
|
|
6
6
|
CoverageResource,
|
|
7
7
|
CoverageSortCriteria,
|
|
8
|
+
CreateProtectedResource,
|
|
8
9
|
DataSource,
|
|
9
10
|
DataSourceConfigurations,
|
|
11
|
+
DataSourceConfigurationsResult,
|
|
10
12
|
Destination,
|
|
11
13
|
DestinationProperties,
|
|
12
14
|
DetectorFeatureConfiguration,
|
|
@@ -16,17 +18,155 @@ import {
|
|
|
16
18
|
FilterAction,
|
|
17
19
|
FindingCriteria,
|
|
18
20
|
FindingPublishingFrequency,
|
|
21
|
+
IpSetFormat,
|
|
19
22
|
MalwareProtectionPlanActions,
|
|
20
|
-
Member,
|
|
21
|
-
OrganizationStatistics,
|
|
22
23
|
OrgFeature,
|
|
23
24
|
OrgFeatureAdditionalConfiguration,
|
|
24
25
|
OrgFeatureStatus,
|
|
25
|
-
ScanResourceCriteria,
|
|
26
26
|
SortCriteria,
|
|
27
27
|
ThreatIntelSetFormat,
|
|
28
28
|
UnprocessedAccount,
|
|
29
29
|
} from "./models_0";
|
|
30
|
+
export interface GetIPSetRequest {
|
|
31
|
+
DetectorId: string | undefined;
|
|
32
|
+
IpSetId: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
export declare const IpSetStatus: {
|
|
35
|
+
readonly ACTIVATING: "ACTIVATING";
|
|
36
|
+
readonly ACTIVE: "ACTIVE";
|
|
37
|
+
readonly DEACTIVATING: "DEACTIVATING";
|
|
38
|
+
readonly DELETED: "DELETED";
|
|
39
|
+
readonly DELETE_PENDING: "DELETE_PENDING";
|
|
40
|
+
readonly ERROR: "ERROR";
|
|
41
|
+
readonly INACTIVE: "INACTIVE";
|
|
42
|
+
};
|
|
43
|
+
export type IpSetStatus = (typeof IpSetStatus)[keyof typeof IpSetStatus];
|
|
44
|
+
export interface GetIPSetResponse {
|
|
45
|
+
Name: string | undefined;
|
|
46
|
+
Format: IpSetFormat | undefined;
|
|
47
|
+
Location: string | undefined;
|
|
48
|
+
Status: IpSetStatus | undefined;
|
|
49
|
+
Tags?: Record<string, string> | undefined;
|
|
50
|
+
}
|
|
51
|
+
export interface GetMalwareProtectionPlanRequest {
|
|
52
|
+
MalwareProtectionPlanId: string | undefined;
|
|
53
|
+
}
|
|
54
|
+
export declare const MalwareProtectionPlanStatus: {
|
|
55
|
+
readonly ACTIVE: "ACTIVE";
|
|
56
|
+
readonly ERROR: "ERROR";
|
|
57
|
+
readonly WARNING: "WARNING";
|
|
58
|
+
};
|
|
59
|
+
export type MalwareProtectionPlanStatus =
|
|
60
|
+
(typeof MalwareProtectionPlanStatus)[keyof typeof MalwareProtectionPlanStatus];
|
|
61
|
+
export interface MalwareProtectionPlanStatusReason {
|
|
62
|
+
Code?: string | undefined;
|
|
63
|
+
Message?: string | undefined;
|
|
64
|
+
}
|
|
65
|
+
export interface GetMalwareProtectionPlanResponse {
|
|
66
|
+
Arn?: string | undefined;
|
|
67
|
+
Role?: string | undefined;
|
|
68
|
+
ProtectedResource?: CreateProtectedResource | undefined;
|
|
69
|
+
Actions?: MalwareProtectionPlanActions | undefined;
|
|
70
|
+
CreatedAt?: Date | undefined;
|
|
71
|
+
Status?: MalwareProtectionPlanStatus | undefined;
|
|
72
|
+
StatusReasons?: MalwareProtectionPlanStatusReason[] | undefined;
|
|
73
|
+
Tags?: Record<string, string> | undefined;
|
|
74
|
+
}
|
|
75
|
+
export interface GetMalwareScanSettingsRequest {
|
|
76
|
+
DetectorId: string | undefined;
|
|
77
|
+
}
|
|
78
|
+
export declare const ScanCriterionKey: {
|
|
79
|
+
readonly EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG";
|
|
80
|
+
};
|
|
81
|
+
export type ScanCriterionKey =
|
|
82
|
+
(typeof ScanCriterionKey)[keyof typeof ScanCriterionKey];
|
|
83
|
+
export interface ScanConditionPair {
|
|
84
|
+
Key: string | undefined;
|
|
85
|
+
Value?: string | undefined;
|
|
86
|
+
}
|
|
87
|
+
export interface ScanCondition {
|
|
88
|
+
MapEquals: ScanConditionPair[] | undefined;
|
|
89
|
+
}
|
|
90
|
+
export interface ScanResourceCriteria {
|
|
91
|
+
Include?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
|
|
92
|
+
Exclude?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
|
|
93
|
+
}
|
|
94
|
+
export interface GetMalwareScanSettingsResponse {
|
|
95
|
+
ScanResourceCriteria?: ScanResourceCriteria | undefined;
|
|
96
|
+
EbsSnapshotPreservation?: EbsSnapshotPreservation | undefined;
|
|
97
|
+
}
|
|
98
|
+
export interface GetMasterAccountRequest {
|
|
99
|
+
DetectorId: string | undefined;
|
|
100
|
+
}
|
|
101
|
+
export interface Master {
|
|
102
|
+
AccountId?: string | undefined;
|
|
103
|
+
InvitationId?: string | undefined;
|
|
104
|
+
RelationshipStatus?: string | undefined;
|
|
105
|
+
InvitedAt?: string | undefined;
|
|
106
|
+
}
|
|
107
|
+
export interface GetMasterAccountResponse {
|
|
108
|
+
Master: Master | undefined;
|
|
109
|
+
}
|
|
110
|
+
export interface GetMemberDetectorsRequest {
|
|
111
|
+
DetectorId: string | undefined;
|
|
112
|
+
AccountIds: string[] | undefined;
|
|
113
|
+
}
|
|
114
|
+
export interface MemberAdditionalConfigurationResult {
|
|
115
|
+
Name?: OrgFeatureAdditionalConfiguration | undefined;
|
|
116
|
+
Status?: FeatureStatus | undefined;
|
|
117
|
+
UpdatedAt?: Date | undefined;
|
|
118
|
+
}
|
|
119
|
+
export interface MemberFeaturesConfigurationResult {
|
|
120
|
+
Name?: OrgFeature | undefined;
|
|
121
|
+
Status?: FeatureStatus | undefined;
|
|
122
|
+
UpdatedAt?: Date | undefined;
|
|
123
|
+
AdditionalConfiguration?: MemberAdditionalConfigurationResult[] | undefined;
|
|
124
|
+
}
|
|
125
|
+
export interface MemberDataSourceConfiguration {
|
|
126
|
+
AccountId: string | undefined;
|
|
127
|
+
DataSources?: DataSourceConfigurationsResult | undefined;
|
|
128
|
+
Features?: MemberFeaturesConfigurationResult[] | undefined;
|
|
129
|
+
}
|
|
130
|
+
export interface GetMemberDetectorsResponse {
|
|
131
|
+
MemberDataSourceConfigurations: MemberDataSourceConfiguration[] | undefined;
|
|
132
|
+
UnprocessedAccounts: UnprocessedAccount[] | undefined;
|
|
133
|
+
}
|
|
134
|
+
export interface GetMembersRequest {
|
|
135
|
+
DetectorId: string | undefined;
|
|
136
|
+
AccountIds: string[] | undefined;
|
|
137
|
+
}
|
|
138
|
+
export interface Member {
|
|
139
|
+
AccountId: string | undefined;
|
|
140
|
+
DetectorId?: string | undefined;
|
|
141
|
+
MasterId: string | undefined;
|
|
142
|
+
Email: string | undefined;
|
|
143
|
+
RelationshipStatus: string | undefined;
|
|
144
|
+
InvitedAt?: string | undefined;
|
|
145
|
+
UpdatedAt: string | undefined;
|
|
146
|
+
AdministratorId?: string | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface GetMembersResponse {
|
|
149
|
+
Members: Member[] | undefined;
|
|
150
|
+
UnprocessedAccounts: UnprocessedAccount[] | undefined;
|
|
151
|
+
}
|
|
152
|
+
export interface OrganizationFeatureStatisticsAdditionalConfiguration {
|
|
153
|
+
Name?: OrgFeatureAdditionalConfiguration | undefined;
|
|
154
|
+
EnabledAccountsCount?: number | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface OrganizationFeatureStatistics {
|
|
157
|
+
Name?: OrgFeature | undefined;
|
|
158
|
+
EnabledAccountsCount?: number | undefined;
|
|
159
|
+
AdditionalConfiguration?:
|
|
160
|
+
| OrganizationFeatureStatisticsAdditionalConfiguration[]
|
|
161
|
+
| undefined;
|
|
162
|
+
}
|
|
163
|
+
export interface OrganizationStatistics {
|
|
164
|
+
TotalAccountsCount?: number | undefined;
|
|
165
|
+
MemberAccountsCount?: number | undefined;
|
|
166
|
+
ActiveAccountsCount?: number | undefined;
|
|
167
|
+
EnabledAccountsCount?: number | undefined;
|
|
168
|
+
CountByFeature?: OrganizationFeatureStatistics[] | undefined;
|
|
169
|
+
}
|
|
30
170
|
export interface OrganizationDetails {
|
|
31
171
|
UpdatedAt?: Date | undefined;
|
|
32
172
|
OrganizationStatistics?: OrganizationStatistics | undefined;
|
|
@@ -428,6 +568,10 @@ export interface UpdateThreatIntelSetRequest {
|
|
|
428
568
|
Activate?: boolean | undefined;
|
|
429
569
|
}
|
|
430
570
|
export interface UpdateThreatIntelSetResponse {}
|
|
571
|
+
export declare const MemberFilterSensitiveLog: (obj: Member) => any;
|
|
572
|
+
export declare const GetMembersResponseFilterSensitiveLog: (
|
|
573
|
+
obj: GetMembersResponse
|
|
574
|
+
) => any;
|
|
431
575
|
export declare const ListMembersResponseFilterSensitiveLog: (
|
|
432
576
|
obj: ListMembersResponse
|
|
433
577
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-guardduty",
|
|
3
3
|
"description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.703.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-guardduty",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.699.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.699.0",
|
|
25
25
|
"@aws-sdk/core": "3.696.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.699.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.696.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.696.0",
|