@aws-sdk/client-guardduty
Advanced tools
Comparing version 3.699.0 to 3.703.0
@@ -5,3 +5,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { GetMembersResponseFilterSensitiveLog } from "../models/models_0"; | ||
import { GetMembersResponseFilterSensitiveLog } from "../models/models_1"; | ||
import { de_GetMembersCommand, se_GetMembersCommand } from "../protocols/Aws_restJson1"; | ||
@@ -8,0 +8,0 @@ export { $Command }; |
@@ -58,2 +58,6 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client"; | ||
}; | ||
export const MfaStatus = { | ||
DISABLED: "DISABLED", | ||
ENABLED: "ENABLED", | ||
}; | ||
export const AdminStatus = { | ||
@@ -261,2 +265,42 @@ DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS", | ||
}; | ||
export const NetworkDirection = { | ||
INBOUND: "INBOUND", | ||
OUTBOUND: "OUTBOUND", | ||
}; | ||
export const PublicAccessStatus = { | ||
ALLOWED: "ALLOWED", | ||
BLOCKED: "BLOCKED", | ||
}; | ||
export const PublicAclIgnoreBehavior = { | ||
IGNORED: "IGNORED", | ||
NOT_IGNORED: "NOT_IGNORED", | ||
}; | ||
export const PublicBucketRestrictBehavior = { | ||
NOT_RESTRICTED: "NOT_RESTRICTED", | ||
RESTRICTED: "RESTRICTED", | ||
}; | ||
export const FindingResourceType = { | ||
ACCESS_KEY: "ACCESS_KEY", | ||
EC2_INSTANCE: "EC2_INSTANCE", | ||
EC2_NETWORK_INTERFACE: "EC2_NETWORK_INTERFACE", | ||
S3_BUCKET: "S3_BUCKET", | ||
S3_OBJECT: "S3_OBJECT", | ||
}; | ||
export const IndicatorType = { | ||
ATTACK_TACTIC: "ATTACK_TACTIC", | ||
ATTACK_TECHNIQUE: "ATTACK_TECHNIQUE", | ||
HIGH_RISK_API: "HIGH_RISK_API", | ||
MALICIOUS_IP: "MALICIOUS_IP", | ||
SUSPICIOUS_NETWORK: "SUSPICIOUS_NETWORK", | ||
SUSPICIOUS_USER_AGENT: "SUSPICIOUS_USER_AGENT", | ||
TOR_IP: "TOR_IP", | ||
UNUSUAL_API_FOR_ACCOUNT: "UNUSUAL_API_FOR_ACCOUNT", | ||
UNUSUAL_ASN_FOR_ACCOUNT: "UNUSUAL_ASN_FOR_ACCOUNT", | ||
UNUSUAL_ASN_FOR_USER: "UNUSUAL_ASN_FOR_USER", | ||
}; | ||
export const SignalType = { | ||
CLOUD_TRAIL: "CLOUD_TRAIL", | ||
FINDING: "FINDING", | ||
S3_DATA_EVENTS: "S3_DATA_EVENTS", | ||
}; | ||
export const DetectorFeatureResult = { | ||
@@ -296,19 +340,2 @@ CLOUD_TRAIL: "CLOUD_TRAIL", | ||
}; | ||
export const IpSetStatus = { | ||
ACTIVATING: "ACTIVATING", | ||
ACTIVE: "ACTIVE", | ||
DEACTIVATING: "DEACTIVATING", | ||
DELETED: "DELETED", | ||
DELETE_PENDING: "DELETE_PENDING", | ||
ERROR: "ERROR", | ||
INACTIVE: "INACTIVE", | ||
}; | ||
export const MalwareProtectionPlanStatus = { | ||
ACTIVE: "ACTIVE", | ||
ERROR: "ERROR", | ||
WARNING: "WARNING", | ||
}; | ||
export const ScanCriterionKey = { | ||
EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG", | ||
}; | ||
export const AccountDetailFilterSensitiveLog = (obj) => ({ | ||
@@ -380,2 +407,23 @@ ...obj, | ||
}); | ||
export const Ec2NetworkInterfaceFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
...(obj.PrivateIpAddresses && { | ||
PrivateIpAddresses: obj.PrivateIpAddresses.map((item) => PrivateIpAddressDetailsFilterSensitiveLog(item)), | ||
}), | ||
}); | ||
export const ResourceDataFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
...(obj.Ec2NetworkInterface && { | ||
Ec2NetworkInterface: Ec2NetworkInterfaceFilterSensitiveLog(obj.Ec2NetworkInterface), | ||
}), | ||
}); | ||
export const ResourceV2FilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
}); | ||
export const SequenceFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
}); | ||
export const DetectionFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
}); | ||
export const NetworkInterfaceFilterSensitiveLog = (obj) => ({ | ||
@@ -410,9 +458,1 @@ ...obj, | ||
}); | ||
export const MemberFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
...(obj.Email && { Email: SENSITIVE_STRING }), | ||
}); | ||
export const GetMembersResponseFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
...(obj.Members && { Members: obj.Members.map((item) => MemberFilterSensitiveLog(item)) }), | ||
}); |
@@ -1,2 +0,19 @@ | ||
import { MemberFilterSensitiveLog, } from "./models_0"; | ||
import { SENSITIVE_STRING } from "@smithy/smithy-client"; | ||
export const IpSetStatus = { | ||
ACTIVATING: "ACTIVATING", | ||
ACTIVE: "ACTIVE", | ||
DEACTIVATING: "DEACTIVATING", | ||
DELETED: "DELETED", | ||
DELETE_PENDING: "DELETE_PENDING", | ||
ERROR: "ERROR", | ||
INACTIVE: "INACTIVE", | ||
}; | ||
export const MalwareProtectionPlanStatus = { | ||
ACTIVE: "ACTIVE", | ||
ERROR: "ERROR", | ||
WARNING: "WARNING", | ||
}; | ||
export const ScanCriterionKey = { | ||
EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG", | ||
}; | ||
export const ThreatIntelSetStatus = { | ||
@@ -34,2 +51,10 @@ ACTIVATING: "ACTIVATING", | ||
}; | ||
export const MemberFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
...(obj.Email && { Email: SENSITIVE_STRING }), | ||
}); | ||
export const GetMembersResponseFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
...(obj.Members && { Members: obj.Members.map((item) => MemberFilterSensitiveLog(item)) }), | ||
}); | ||
export const ListMembersResponseFilterSensitiveLog = (obj) => ({ | ||
@@ -36,0 +61,0 @@ ...obj, |
@@ -815,2 +815,173 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* // }, | ||
* // Sequence: { // Sequence | ||
* // Uid: "STRING_VALUE", // required | ||
* // Description: "STRING_VALUE", // required | ||
* // Actors: [ // Actors | ||
* // { // Actor | ||
* // Id: "STRING_VALUE", // required | ||
* // User: { // User | ||
* // Name: "STRING_VALUE", // required | ||
* // Uid: "STRING_VALUE", // required | ||
* // Type: "STRING_VALUE", // required | ||
* // CredentialUid: "STRING_VALUE", | ||
* // Account: { // Account | ||
* // Uid: "STRING_VALUE", // required | ||
* // Name: "STRING_VALUE", | ||
* // }, | ||
* // }, | ||
* // Session: { // Session | ||
* // Uid: "STRING_VALUE", | ||
* // MfaStatus: "ENABLED" || "DISABLED", | ||
* // CreatedTime: new Date("TIMESTAMP"), | ||
* // Issuer: "STRING_VALUE", | ||
* // }, | ||
* // }, | ||
* // ], | ||
* // Resources: [ // Resources | ||
* // { // ResourceV2 | ||
* // Uid: "STRING_VALUE", // required | ||
* // Name: "STRING_VALUE", | ||
* // AccountId: "STRING_VALUE", | ||
* // ResourceType: "EC2_INSTANCE" || "EC2_NETWORK_INTERFACE" || "S3_BUCKET" || "S3_OBJECT" || "ACCESS_KEY", // required | ||
* // Region: "STRING_VALUE", | ||
* // Service: "STRING_VALUE", | ||
* // CloudPartition: "STRING_VALUE", | ||
* // Tags: "<Tags>", | ||
* // Data: { // ResourceData | ||
* // S3Bucket: { // S3Bucket | ||
* // OwnerId: "STRING_VALUE", | ||
* // CreatedAt: new Date("TIMESTAMP"), | ||
* // EncryptionType: "STRING_VALUE", | ||
* // EncryptionKeyArn: "STRING_VALUE", | ||
* // EffectivePermission: "STRING_VALUE", | ||
* // PublicReadAccess: "BLOCKED" || "ALLOWED", | ||
* // PublicWriteAccess: "BLOCKED" || "ALLOWED", | ||
* // AccountPublicAccess: { // PublicAccessConfiguration | ||
* // PublicAclAccess: "BLOCKED" || "ALLOWED", | ||
* // PublicPolicyAccess: "BLOCKED" || "ALLOWED", | ||
* // PublicAclIgnoreBehavior: "IGNORED" || "NOT_IGNORED", | ||
* // PublicBucketRestrictBehavior: "RESTRICTED" || "NOT_RESTRICTED", | ||
* // }, | ||
* // BucketPublicAccess: { | ||
* // PublicAclAccess: "BLOCKED" || "ALLOWED", | ||
* // PublicPolicyAccess: "BLOCKED" || "ALLOWED", | ||
* // PublicAclIgnoreBehavior: "IGNORED" || "NOT_IGNORED", | ||
* // PublicBucketRestrictBehavior: "RESTRICTED" || "NOT_RESTRICTED", | ||
* // }, | ||
* // S3ObjectUids: [ // S3ObjectUids | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // }, | ||
* // Ec2Instance: { // Ec2Instance | ||
* // AvailabilityZone: "STRING_VALUE", | ||
* // ImageDescription: "STRING_VALUE", | ||
* // InstanceState: "STRING_VALUE", | ||
* // IamInstanceProfile: { | ||
* // Arn: "STRING_VALUE", | ||
* // Id: "STRING_VALUE", | ||
* // }, | ||
* // InstanceType: "STRING_VALUE", | ||
* // OutpostArn: "STRING_VALUE", | ||
* // Platform: "STRING_VALUE", | ||
* // ProductCodes: [ | ||
* // { | ||
* // Code: "STRING_VALUE", | ||
* // ProductType: "STRING_VALUE", | ||
* // }, | ||
* // ], | ||
* // Ec2NetworkInterfaceUids: [ // Ec2NetworkInterfaceUids | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // }, | ||
* // AccessKey: { // AccessKey | ||
* // PrincipalId: "STRING_VALUE", | ||
* // UserName: "STRING_VALUE", | ||
* // UserType: "STRING_VALUE", | ||
* // }, | ||
* // Ec2NetworkInterface: { // Ec2NetworkInterface | ||
* // Ipv6Addresses: [ | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // PrivateIpAddresses: [ | ||
* // { | ||
* // PrivateDnsName: "STRING_VALUE", | ||
* // PrivateIpAddress: "STRING_VALUE", | ||
* // }, | ||
* // ], | ||
* // PublicIp: "STRING_VALUE", | ||
* // SecurityGroups: "<SecurityGroups>", | ||
* // SubNetId: "STRING_VALUE", | ||
* // VpcId: "STRING_VALUE", | ||
* // }, | ||
* // S3Object: { // S3Object | ||
* // ETag: "STRING_VALUE", | ||
* // Key: "STRING_VALUE", | ||
* // VersionId: "STRING_VALUE", | ||
* // }, | ||
* // }, | ||
* // }, | ||
* // ], | ||
* // Endpoints: [ // NetworkEndpoints | ||
* // { // NetworkEndpoint | ||
* // Id: "STRING_VALUE", // required | ||
* // Ip: "STRING_VALUE", | ||
* // Domain: "STRING_VALUE", | ||
* // Port: Number("int"), | ||
* // Location: { // NetworkGeoLocation | ||
* // City: "STRING_VALUE", // required | ||
* // Country: "STRING_VALUE", // required | ||
* // Latitude: Number("double"), // required | ||
* // Longitude: Number("double"), // required | ||
* // }, | ||
* // AutonomousSystem: { // AutonomousSystem | ||
* // Name: "STRING_VALUE", // required | ||
* // Number: Number("int"), // required | ||
* // }, | ||
* // Connection: { // NetworkConnection | ||
* // Direction: "INBOUND" || "OUTBOUND", // required | ||
* // }, | ||
* // }, | ||
* // ], | ||
* // Signals: [ // Signals // required | ||
* // { // Signal | ||
* // Uid: "STRING_VALUE", // required | ||
* // Type: "FINDING" || "CLOUD_TRAIL" || "S3_DATA_EVENTS", // required | ||
* // Description: "STRING_VALUE", | ||
* // Name: "STRING_VALUE", // required | ||
* // CreatedAt: new Date("TIMESTAMP"), // required | ||
* // UpdatedAt: new Date("TIMESTAMP"), // required | ||
* // FirstSeenAt: new Date("TIMESTAMP"), // required | ||
* // LastSeenAt: new Date("TIMESTAMP"), // required | ||
* // Severity: Number("double"), | ||
* // Count: Number("int"), // required | ||
* // ResourceUids: [ // ResourceUids | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // ActorIds: [ // ActorIds | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // EndpointIds: [ // EndpointIds | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // SignalIndicators: [ // Indicators | ||
* // { // Indicator | ||
* // Key: "SUSPICIOUS_USER_AGENT" || "SUSPICIOUS_NETWORK" || "MALICIOUS_IP" || "TOR_IP" || "ATTACK_TACTIC" || "HIGH_RISK_API" || "ATTACK_TECHNIQUE" || "UNUSUAL_API_FOR_ACCOUNT" || "UNUSUAL_ASN_FOR_ACCOUNT" || "UNUSUAL_ASN_FOR_USER", // required | ||
* // Values: [ // IndicatorValues | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // Title: "STRING_VALUE", | ||
* // }, | ||
* // ], | ||
* // }, | ||
* // ], | ||
* // SequenceIndicators: [ | ||
* // { | ||
* // Key: "SUSPICIOUS_USER_AGENT" || "SUSPICIOUS_NETWORK" || "MALICIOUS_IP" || "TOR_IP" || "ATTACK_TACTIC" || "HIGH_RISK_API" || "ATTACK_TECHNIQUE" || "UNUSUAL_API_FOR_ACCOUNT" || "UNUSUAL_ASN_FOR_ACCOUNT" || "UNUSUAL_ASN_FOR_USER", // required | ||
* // Values: [ | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // Title: "STRING_VALUE", | ||
* // }, | ||
* // ], | ||
* // }, | ||
* // }, | ||
@@ -836,2 +1007,3 @@ * // MalwareScanDetails: { // MalwareScanDetails | ||
* // UpdatedAt: "STRING_VALUE", // required | ||
* // AssociatedAttackSequenceArn: "STRING_VALUE", | ||
* // }, | ||
@@ -838,0 +1010,0 @@ * // ], |
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient"; | ||
import { GetIPSetRequest, GetIPSetResponse } from "../models/models_0"; | ||
import { GetIPSetRequest, GetIPSetResponse } from "../models/models_1"; | ||
/** | ||
@@ -6,0 +6,0 @@ * @public |
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient"; | ||
import { GetMalwareProtectionPlanRequest, GetMalwareProtectionPlanResponse } from "../models/models_0"; | ||
import { GetMalwareProtectionPlanRequest, GetMalwareProtectionPlanResponse } from "../models/models_1"; | ||
/** | ||
@@ -6,0 +6,0 @@ * @public |
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient"; | ||
import { GetMalwareScanSettingsRequest, GetMalwareScanSettingsResponse } from "../models/models_0"; | ||
import { GetMalwareScanSettingsRequest, GetMalwareScanSettingsResponse } from "../models/models_1"; | ||
/** | ||
@@ -6,0 +6,0 @@ * @public |
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient"; | ||
import { GetMasterAccountRequest, GetMasterAccountResponse } from "../models/models_0"; | ||
import { GetMasterAccountRequest, GetMasterAccountResponse } from "../models/models_1"; | ||
/** | ||
@@ -6,0 +6,0 @@ * @public |
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient"; | ||
import { GetMemberDetectorsRequest, GetMemberDetectorsResponse } from "../models/models_0"; | ||
import { GetMemberDetectorsRequest, GetMemberDetectorsResponse } from "../models/models_1"; | ||
/** | ||
@@ -6,0 +6,0 @@ * @public |
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient"; | ||
import { GetMembersRequest, GetMembersResponse } from "../models/models_0"; | ||
import { GetMembersRequest, GetMembersResponse } from "../models/models_1"; | ||
/** | ||
@@ -6,0 +6,0 @@ * @public |
@@ -8,3 +8,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
} from "../GuardDutyClient"; | ||
import { GetIPSetRequest, GetIPSetResponse } from "../models/models_0"; | ||
import { GetIPSetRequest, GetIPSetResponse } from "../models/models_1"; | ||
export { __MetadataBearer }; | ||
@@ -11,0 +11,0 @@ export { $Command }; |
@@ -11,3 +11,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
GetMalwareProtectionPlanResponse, | ||
} from "../models/models_0"; | ||
} from "../models/models_1"; | ||
export { __MetadataBearer }; | ||
@@ -14,0 +14,0 @@ export { $Command }; |
@@ -11,3 +11,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
GetMalwareScanSettingsResponse, | ||
} from "../models/models_0"; | ||
} from "../models/models_1"; | ||
export { __MetadataBearer }; | ||
@@ -14,0 +14,0 @@ export { $Command }; |
@@ -11,3 +11,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
GetMasterAccountResponse, | ||
} from "../models/models_0"; | ||
} from "../models/models_1"; | ||
export { __MetadataBearer }; | ||
@@ -14,0 +14,0 @@ export { $Command }; |
@@ -11,3 +11,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
GetMemberDetectorsResponse, | ||
} from "../models/models_0"; | ||
} from "../models/models_1"; | ||
export { __MetadataBearer }; | ||
@@ -14,0 +14,0 @@ export { $Command }; |
@@ -8,3 +8,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
} from "../GuardDutyClient"; | ||
import { GetMembersRequest, GetMembersResponse } from "../models/models_0"; | ||
import { GetMembersRequest, GetMembersResponse } from "../models/models_1"; | ||
export { __MetadataBearer }; | ||
@@ -11,0 +11,0 @@ export { $Command }; |
@@ -46,2 +46,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; | ||
} | ||
export interface AccessKey { | ||
PrincipalId?: string | undefined; | ||
UserName?: string | undefined; | ||
UserType?: string | undefined; | ||
} | ||
export interface AccessKeyDetails { | ||
@@ -53,2 +58,6 @@ AccessKeyId?: string | undefined; | ||
} | ||
export interface Account { | ||
Uid: string | undefined; | ||
Name?: string | undefined; | ||
} | ||
export interface AccountDetail { | ||
@@ -248,2 +257,25 @@ AccountId: string | undefined; | ||
} | ||
export declare const MfaStatus: { | ||
readonly DISABLED: "DISABLED"; | ||
readonly ENABLED: "ENABLED"; | ||
}; | ||
export type MfaStatus = (typeof MfaStatus)[keyof typeof MfaStatus]; | ||
export interface Session { | ||
Uid?: string | undefined; | ||
MfaStatus?: MfaStatus | undefined; | ||
CreatedTime?: Date | undefined; | ||
Issuer?: string | undefined; | ||
} | ||
export interface User { | ||
Name: string | undefined; | ||
Uid: string | undefined; | ||
Type: string | undefined; | ||
CredentialUid?: string | undefined; | ||
Account?: Account | undefined; | ||
} | ||
export interface Actor { | ||
Id: string | undefined; | ||
User?: User | undefined; | ||
Session?: Session | undefined; | ||
} | ||
export interface AddonDetails { | ||
@@ -310,2 +342,6 @@ AddonVersion?: string | undefined; | ||
(typeof AutoEnableMembers)[keyof typeof AutoEnableMembers]; | ||
export interface AutonomousSystem { | ||
Name: string | undefined; | ||
Number: number | undefined; | ||
} | ||
export interface BucketPolicy { | ||
@@ -984,4 +1020,185 @@ AllowsPublicReadAccess?: boolean | undefined; | ||
} | ||
export declare const NetworkDirection: { | ||
readonly INBOUND: "INBOUND"; | ||
readonly OUTBOUND: "OUTBOUND"; | ||
}; | ||
export type NetworkDirection = | ||
(typeof NetworkDirection)[keyof typeof NetworkDirection]; | ||
export interface NetworkConnection { | ||
Direction: NetworkDirection | undefined; | ||
} | ||
export interface NetworkGeoLocation { | ||
City: string | undefined; | ||
Country: string | undefined; | ||
Latitude: number | undefined; | ||
Longitude: number | undefined; | ||
} | ||
export interface NetworkEndpoint { | ||
Id: string | undefined; | ||
Ip?: string | undefined; | ||
Domain?: string | undefined; | ||
Port?: number | undefined; | ||
Location?: NetworkGeoLocation | undefined; | ||
AutonomousSystem?: AutonomousSystem | undefined; | ||
Connection?: NetworkConnection | undefined; | ||
} | ||
export interface IamInstanceProfile { | ||
Arn?: string | undefined; | ||
Id?: string | undefined; | ||
} | ||
export interface ProductCode { | ||
Code?: string | undefined; | ||
ProductType?: string | undefined; | ||
} | ||
export interface Ec2Instance { | ||
AvailabilityZone?: string | undefined; | ||
ImageDescription?: string | undefined; | ||
InstanceState?: string | undefined; | ||
IamInstanceProfile?: IamInstanceProfile | undefined; | ||
InstanceType?: string | undefined; | ||
OutpostArn?: string | undefined; | ||
Platform?: string | undefined; | ||
ProductCodes?: ProductCode[] | undefined; | ||
Ec2NetworkInterfaceUids?: string[] | undefined; | ||
} | ||
export interface PrivateIpAddressDetails { | ||
PrivateDnsName?: string | undefined; | ||
PrivateIpAddress?: string | undefined; | ||
} | ||
export interface SecurityGroup { | ||
GroupId?: string | undefined; | ||
GroupName?: string | undefined; | ||
} | ||
export interface Ec2NetworkInterface { | ||
Ipv6Addresses?: string[] | undefined; | ||
PrivateIpAddresses?: PrivateIpAddressDetails[] | undefined; | ||
PublicIp?: string | undefined; | ||
SecurityGroups?: SecurityGroup[] | undefined; | ||
SubNetId?: string | undefined; | ||
VpcId?: string | undefined; | ||
} | ||
export declare const PublicAccessStatus: { | ||
readonly ALLOWED: "ALLOWED"; | ||
readonly BLOCKED: "BLOCKED"; | ||
}; | ||
export type PublicAccessStatus = | ||
(typeof PublicAccessStatus)[keyof typeof PublicAccessStatus]; | ||
export declare const PublicAclIgnoreBehavior: { | ||
readonly IGNORED: "IGNORED"; | ||
readonly NOT_IGNORED: "NOT_IGNORED"; | ||
}; | ||
export type PublicAclIgnoreBehavior = | ||
(typeof PublicAclIgnoreBehavior)[keyof typeof PublicAclIgnoreBehavior]; | ||
export declare const PublicBucketRestrictBehavior: { | ||
readonly NOT_RESTRICTED: "NOT_RESTRICTED"; | ||
readonly RESTRICTED: "RESTRICTED"; | ||
}; | ||
export type PublicBucketRestrictBehavior = | ||
(typeof PublicBucketRestrictBehavior)[keyof typeof PublicBucketRestrictBehavior]; | ||
export interface PublicAccessConfiguration { | ||
PublicAclAccess?: PublicAccessStatus | undefined; | ||
PublicPolicyAccess?: PublicAccessStatus | undefined; | ||
PublicAclIgnoreBehavior?: PublicAclIgnoreBehavior | undefined; | ||
PublicBucketRestrictBehavior?: PublicBucketRestrictBehavior | undefined; | ||
} | ||
export interface S3Bucket { | ||
OwnerId?: string | undefined; | ||
CreatedAt?: Date | undefined; | ||
EncryptionType?: string | undefined; | ||
EncryptionKeyArn?: string | undefined; | ||
EffectivePermission?: string | undefined; | ||
PublicReadAccess?: PublicAccessStatus | undefined; | ||
PublicWriteAccess?: PublicAccessStatus | undefined; | ||
AccountPublicAccess?: PublicAccessConfiguration | undefined; | ||
BucketPublicAccess?: PublicAccessConfiguration | undefined; | ||
S3ObjectUids?: string[] | undefined; | ||
} | ||
export interface S3Object { | ||
ETag?: string | undefined; | ||
Key?: string | undefined; | ||
VersionId?: string | undefined; | ||
} | ||
export interface ResourceData { | ||
S3Bucket?: S3Bucket | undefined; | ||
Ec2Instance?: Ec2Instance | undefined; | ||
AccessKey?: AccessKey | undefined; | ||
Ec2NetworkInterface?: Ec2NetworkInterface | undefined; | ||
S3Object?: S3Object | undefined; | ||
} | ||
export declare const FindingResourceType: { | ||
readonly ACCESS_KEY: "ACCESS_KEY"; | ||
readonly EC2_INSTANCE: "EC2_INSTANCE"; | ||
readonly EC2_NETWORK_INTERFACE: "EC2_NETWORK_INTERFACE"; | ||
readonly S3_BUCKET: "S3_BUCKET"; | ||
readonly S3_OBJECT: "S3_OBJECT"; | ||
}; | ||
export type FindingResourceType = | ||
(typeof FindingResourceType)[keyof typeof FindingResourceType]; | ||
export interface Tag { | ||
Key?: string | undefined; | ||
Value?: string | undefined; | ||
} | ||
export interface ResourceV2 { | ||
Uid: string | undefined; | ||
Name?: string | undefined; | ||
AccountId?: string | undefined; | ||
ResourceType: FindingResourceType | undefined; | ||
Region?: string | undefined; | ||
Service?: string | undefined; | ||
CloudPartition?: string | undefined; | ||
Tags?: Tag[] | undefined; | ||
Data?: ResourceData | undefined; | ||
} | ||
export declare const IndicatorType: { | ||
readonly ATTACK_TACTIC: "ATTACK_TACTIC"; | ||
readonly ATTACK_TECHNIQUE: "ATTACK_TECHNIQUE"; | ||
readonly HIGH_RISK_API: "HIGH_RISK_API"; | ||
readonly MALICIOUS_IP: "MALICIOUS_IP"; | ||
readonly SUSPICIOUS_NETWORK: "SUSPICIOUS_NETWORK"; | ||
readonly SUSPICIOUS_USER_AGENT: "SUSPICIOUS_USER_AGENT"; | ||
readonly TOR_IP: "TOR_IP"; | ||
readonly UNUSUAL_API_FOR_ACCOUNT: "UNUSUAL_API_FOR_ACCOUNT"; | ||
readonly UNUSUAL_ASN_FOR_ACCOUNT: "UNUSUAL_ASN_FOR_ACCOUNT"; | ||
readonly UNUSUAL_ASN_FOR_USER: "UNUSUAL_ASN_FOR_USER"; | ||
}; | ||
export type IndicatorType = (typeof IndicatorType)[keyof typeof IndicatorType]; | ||
export interface Indicator { | ||
Key: IndicatorType | undefined; | ||
Values?: string[] | undefined; | ||
Title?: string | undefined; | ||
} | ||
export declare const SignalType: { | ||
readonly CLOUD_TRAIL: "CLOUD_TRAIL"; | ||
readonly FINDING: "FINDING"; | ||
readonly S3_DATA_EVENTS: "S3_DATA_EVENTS"; | ||
}; | ||
export type SignalType = (typeof SignalType)[keyof typeof SignalType]; | ||
export interface Signal { | ||
Uid: string | undefined; | ||
Type: SignalType | undefined; | ||
Description?: string | undefined; | ||
Name: string | undefined; | ||
CreatedAt: Date | undefined; | ||
UpdatedAt: Date | undefined; | ||
FirstSeenAt: Date | undefined; | ||
LastSeenAt: Date | undefined; | ||
Severity?: number | undefined; | ||
Count: number | undefined; | ||
ResourceUids?: string[] | undefined; | ||
ActorIds?: string[] | undefined; | ||
EndpointIds?: string[] | undefined; | ||
SignalIndicators?: Indicator[] | undefined; | ||
} | ||
export interface Sequence { | ||
Uid: string | undefined; | ||
Description: string | undefined; | ||
Actors?: Actor[] | undefined; | ||
Resources?: ResourceV2[] | undefined; | ||
Endpoints?: NetworkEndpoint[] | undefined; | ||
Signals: Signal[] | undefined; | ||
SequenceIndicators?: Indicator[] | undefined; | ||
} | ||
export interface Detection { | ||
Anomaly?: Anomaly | undefined; | ||
Sequence?: Sequence | undefined; | ||
} | ||
@@ -1094,6 +1311,2 @@ export interface DetectorAdditionalConfigurationResult { | ||
} | ||
export interface Tag { | ||
Key?: string | undefined; | ||
Value?: string | undefined; | ||
} | ||
export interface HostPath { | ||
@@ -1154,14 +1367,2 @@ Path?: string | undefined; | ||
export type Feedback = (typeof Feedback)[keyof typeof Feedback]; | ||
export interface IamInstanceProfile { | ||
Arn?: string | undefined; | ||
Id?: string | undefined; | ||
} | ||
export interface PrivateIpAddressDetails { | ||
PrivateDnsName?: string | undefined; | ||
PrivateIpAddress?: string | undefined; | ||
} | ||
export interface SecurityGroup { | ||
GroupId?: string | undefined; | ||
GroupName?: string | undefined; | ||
} | ||
export interface NetworkInterface { | ||
@@ -1179,6 +1380,2 @@ Ipv6Addresses?: string[] | undefined; | ||
} | ||
export interface ProductCode { | ||
Code?: string | undefined; | ||
ProductType?: string | undefined; | ||
} | ||
export interface InstanceDetails { | ||
@@ -1417,2 +1614,3 @@ AvailabilityZone?: string | undefined; | ||
UpdatedAt: string | undefined; | ||
AssociatedAttackSequenceArn?: string | undefined; | ||
} | ||
@@ -1520,142 +1718,2 @@ export interface FindingTypeStatistics { | ||
} | ||
export interface GetIPSetRequest { | ||
DetectorId: string | undefined; | ||
IpSetId: string | undefined; | ||
} | ||
export declare const IpSetStatus: { | ||
readonly ACTIVATING: "ACTIVATING"; | ||
readonly ACTIVE: "ACTIVE"; | ||
readonly DEACTIVATING: "DEACTIVATING"; | ||
readonly DELETED: "DELETED"; | ||
readonly DELETE_PENDING: "DELETE_PENDING"; | ||
readonly ERROR: "ERROR"; | ||
readonly INACTIVE: "INACTIVE"; | ||
}; | ||
export type IpSetStatus = (typeof IpSetStatus)[keyof typeof IpSetStatus]; | ||
export interface GetIPSetResponse { | ||
Name: string | undefined; | ||
Format: IpSetFormat | undefined; | ||
Location: string | undefined; | ||
Status: IpSetStatus | undefined; | ||
Tags?: Record<string, string> | undefined; | ||
} | ||
export interface GetMalwareProtectionPlanRequest { | ||
MalwareProtectionPlanId: string | undefined; | ||
} | ||
export declare const MalwareProtectionPlanStatus: { | ||
readonly ACTIVE: "ACTIVE"; | ||
readonly ERROR: "ERROR"; | ||
readonly WARNING: "WARNING"; | ||
}; | ||
export type MalwareProtectionPlanStatus = | ||
(typeof MalwareProtectionPlanStatus)[keyof typeof MalwareProtectionPlanStatus]; | ||
export interface MalwareProtectionPlanStatusReason { | ||
Code?: string | undefined; | ||
Message?: string | undefined; | ||
} | ||
export interface GetMalwareProtectionPlanResponse { | ||
Arn?: string | undefined; | ||
Role?: string | undefined; | ||
ProtectedResource?: CreateProtectedResource | undefined; | ||
Actions?: MalwareProtectionPlanActions | undefined; | ||
CreatedAt?: Date | undefined; | ||
Status?: MalwareProtectionPlanStatus | undefined; | ||
StatusReasons?: MalwareProtectionPlanStatusReason[] | undefined; | ||
Tags?: Record<string, string> | undefined; | ||
} | ||
export interface GetMalwareScanSettingsRequest { | ||
DetectorId: string | undefined; | ||
} | ||
export declare const ScanCriterionKey: { | ||
readonly EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG"; | ||
}; | ||
export type ScanCriterionKey = | ||
(typeof ScanCriterionKey)[keyof typeof ScanCriterionKey]; | ||
export interface ScanConditionPair { | ||
Key: string | undefined; | ||
Value?: string | undefined; | ||
} | ||
export interface ScanCondition { | ||
MapEquals: ScanConditionPair[] | undefined; | ||
} | ||
export interface ScanResourceCriteria { | ||
Include?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined; | ||
Exclude?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined; | ||
} | ||
export interface GetMalwareScanSettingsResponse { | ||
ScanResourceCriteria?: ScanResourceCriteria | undefined; | ||
EbsSnapshotPreservation?: EbsSnapshotPreservation | undefined; | ||
} | ||
export interface GetMasterAccountRequest { | ||
DetectorId: string | undefined; | ||
} | ||
export interface Master { | ||
AccountId?: string | undefined; | ||
InvitationId?: string | undefined; | ||
RelationshipStatus?: string | undefined; | ||
InvitedAt?: string | undefined; | ||
} | ||
export interface GetMasterAccountResponse { | ||
Master: Master | undefined; | ||
} | ||
export interface GetMemberDetectorsRequest { | ||
DetectorId: string | undefined; | ||
AccountIds: string[] | undefined; | ||
} | ||
export interface MemberAdditionalConfigurationResult { | ||
Name?: OrgFeatureAdditionalConfiguration | undefined; | ||
Status?: FeatureStatus | undefined; | ||
UpdatedAt?: Date | undefined; | ||
} | ||
export interface MemberFeaturesConfigurationResult { | ||
Name?: OrgFeature | undefined; | ||
Status?: FeatureStatus | undefined; | ||
UpdatedAt?: Date | undefined; | ||
AdditionalConfiguration?: MemberAdditionalConfigurationResult[] | undefined; | ||
} | ||
export interface MemberDataSourceConfiguration { | ||
AccountId: string | undefined; | ||
DataSources?: DataSourceConfigurationsResult | undefined; | ||
Features?: MemberFeaturesConfigurationResult[] | undefined; | ||
} | ||
export interface GetMemberDetectorsResponse { | ||
MemberDataSourceConfigurations: MemberDataSourceConfiguration[] | undefined; | ||
UnprocessedAccounts: UnprocessedAccount[] | undefined; | ||
} | ||
export interface GetMembersRequest { | ||
DetectorId: string | undefined; | ||
AccountIds: string[] | undefined; | ||
} | ||
export interface Member { | ||
AccountId: string | undefined; | ||
DetectorId?: string | undefined; | ||
MasterId: string | undefined; | ||
Email: string | undefined; | ||
RelationshipStatus: string | undefined; | ||
InvitedAt?: string | undefined; | ||
UpdatedAt: string | undefined; | ||
AdministratorId?: string | undefined; | ||
} | ||
export interface GetMembersResponse { | ||
Members: Member[] | undefined; | ||
UnprocessedAccounts: UnprocessedAccount[] | undefined; | ||
} | ||
export interface OrganizationFeatureStatisticsAdditionalConfiguration { | ||
Name?: OrgFeatureAdditionalConfiguration | undefined; | ||
EnabledAccountsCount?: number | undefined; | ||
} | ||
export interface OrganizationFeatureStatistics { | ||
Name?: OrgFeature | undefined; | ||
EnabledAccountsCount?: number | undefined; | ||
AdditionalConfiguration?: | ||
| OrganizationFeatureStatisticsAdditionalConfiguration[] | ||
| undefined; | ||
} | ||
export interface OrganizationStatistics { | ||
TotalAccountsCount?: number | undefined; | ||
MemberAccountsCount?: number | undefined; | ||
ActiveAccountsCount?: number | undefined; | ||
EnabledAccountsCount?: number | undefined; | ||
CountByFeature?: OrganizationFeatureStatistics[] | undefined; | ||
} | ||
export declare const AccountDetailFilterSensitiveLog: ( | ||
@@ -1695,2 +1753,9 @@ obj: AccountDetail | ||
) => any; | ||
export declare const Ec2NetworkInterfaceFilterSensitiveLog: ( | ||
obj: Ec2NetworkInterface | ||
) => any; | ||
export declare const ResourceDataFilterSensitiveLog: (obj: ResourceData) => any; | ||
export declare const ResourceV2FilterSensitiveLog: (obj: ResourceV2) => any; | ||
export declare const SequenceFilterSensitiveLog: (obj: Sequence) => any; | ||
export declare const DetectionFilterSensitiveLog: (obj: Detection) => any; | ||
export declare const NetworkInterfaceFilterSensitiveLog: ( | ||
@@ -1708,5 +1773,1 @@ obj: NetworkInterface | ||
) => any; | ||
export declare const MemberFilterSensitiveLog: (obj: Member) => any; | ||
export declare const GetMembersResponseFilterSensitiveLog: ( | ||
obj: GetMembersResponse | ||
) => any; |
@@ -8,4 +8,6 @@ import { | ||
CoverageSortCriteria, | ||
CreateProtectedResource, | ||
DataSource, | ||
DataSourceConfigurations, | ||
DataSourceConfigurationsResult, | ||
Destination, | ||
@@ -20,9 +22,7 @@ DestinationProperties, | ||
FindingPublishingFrequency, | ||
IpSetFormat, | ||
MalwareProtectionPlanActions, | ||
Member, | ||
OrganizationStatistics, | ||
OrgFeature, | ||
OrgFeatureAdditionalConfiguration, | ||
OrgFeatureStatus, | ||
ScanResourceCriteria, | ||
SortCriteria, | ||
@@ -32,2 +32,142 @@ ThreatIntelSetFormat, | ||
} from "./models_0"; | ||
export interface GetIPSetRequest { | ||
DetectorId: string | undefined; | ||
IpSetId: string | undefined; | ||
} | ||
export declare const IpSetStatus: { | ||
readonly ACTIVATING: "ACTIVATING"; | ||
readonly ACTIVE: "ACTIVE"; | ||
readonly DEACTIVATING: "DEACTIVATING"; | ||
readonly DELETED: "DELETED"; | ||
readonly DELETE_PENDING: "DELETE_PENDING"; | ||
readonly ERROR: "ERROR"; | ||
readonly INACTIVE: "INACTIVE"; | ||
}; | ||
export type IpSetStatus = (typeof IpSetStatus)[keyof typeof IpSetStatus]; | ||
export interface GetIPSetResponse { | ||
Name: string | undefined; | ||
Format: IpSetFormat | undefined; | ||
Location: string | undefined; | ||
Status: IpSetStatus | undefined; | ||
Tags?: Record<string, string> | undefined; | ||
} | ||
export interface GetMalwareProtectionPlanRequest { | ||
MalwareProtectionPlanId: string | undefined; | ||
} | ||
export declare const MalwareProtectionPlanStatus: { | ||
readonly ACTIVE: "ACTIVE"; | ||
readonly ERROR: "ERROR"; | ||
readonly WARNING: "WARNING"; | ||
}; | ||
export type MalwareProtectionPlanStatus = | ||
(typeof MalwareProtectionPlanStatus)[keyof typeof MalwareProtectionPlanStatus]; | ||
export interface MalwareProtectionPlanStatusReason { | ||
Code?: string | undefined; | ||
Message?: string | undefined; | ||
} | ||
export interface GetMalwareProtectionPlanResponse { | ||
Arn?: string | undefined; | ||
Role?: string | undefined; | ||
ProtectedResource?: CreateProtectedResource | undefined; | ||
Actions?: MalwareProtectionPlanActions | undefined; | ||
CreatedAt?: Date | undefined; | ||
Status?: MalwareProtectionPlanStatus | undefined; | ||
StatusReasons?: MalwareProtectionPlanStatusReason[] | undefined; | ||
Tags?: Record<string, string> | undefined; | ||
} | ||
export interface GetMalwareScanSettingsRequest { | ||
DetectorId: string | undefined; | ||
} | ||
export declare const ScanCriterionKey: { | ||
readonly EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG"; | ||
}; | ||
export type ScanCriterionKey = | ||
(typeof ScanCriterionKey)[keyof typeof ScanCriterionKey]; | ||
export interface ScanConditionPair { | ||
Key: string | undefined; | ||
Value?: string | undefined; | ||
} | ||
export interface ScanCondition { | ||
MapEquals: ScanConditionPair[] | undefined; | ||
} | ||
export interface ScanResourceCriteria { | ||
Include?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined; | ||
Exclude?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined; | ||
} | ||
export interface GetMalwareScanSettingsResponse { | ||
ScanResourceCriteria?: ScanResourceCriteria | undefined; | ||
EbsSnapshotPreservation?: EbsSnapshotPreservation | undefined; | ||
} | ||
export interface GetMasterAccountRequest { | ||
DetectorId: string | undefined; | ||
} | ||
export interface Master { | ||
AccountId?: string | undefined; | ||
InvitationId?: string | undefined; | ||
RelationshipStatus?: string | undefined; | ||
InvitedAt?: string | undefined; | ||
} | ||
export interface GetMasterAccountResponse { | ||
Master: Master | undefined; | ||
} | ||
export interface GetMemberDetectorsRequest { | ||
DetectorId: string | undefined; | ||
AccountIds: string[] | undefined; | ||
} | ||
export interface MemberAdditionalConfigurationResult { | ||
Name?: OrgFeatureAdditionalConfiguration | undefined; | ||
Status?: FeatureStatus | undefined; | ||
UpdatedAt?: Date | undefined; | ||
} | ||
export interface MemberFeaturesConfigurationResult { | ||
Name?: OrgFeature | undefined; | ||
Status?: FeatureStatus | undefined; | ||
UpdatedAt?: Date | undefined; | ||
AdditionalConfiguration?: MemberAdditionalConfigurationResult[] | undefined; | ||
} | ||
export interface MemberDataSourceConfiguration { | ||
AccountId: string | undefined; | ||
DataSources?: DataSourceConfigurationsResult | undefined; | ||
Features?: MemberFeaturesConfigurationResult[] | undefined; | ||
} | ||
export interface GetMemberDetectorsResponse { | ||
MemberDataSourceConfigurations: MemberDataSourceConfiguration[] | undefined; | ||
UnprocessedAccounts: UnprocessedAccount[] | undefined; | ||
} | ||
export interface GetMembersRequest { | ||
DetectorId: string | undefined; | ||
AccountIds: string[] | undefined; | ||
} | ||
export interface Member { | ||
AccountId: string | undefined; | ||
DetectorId?: string | undefined; | ||
MasterId: string | undefined; | ||
Email: string | undefined; | ||
RelationshipStatus: string | undefined; | ||
InvitedAt?: string | undefined; | ||
UpdatedAt: string | undefined; | ||
AdministratorId?: string | undefined; | ||
} | ||
export interface GetMembersResponse { | ||
Members: Member[] | undefined; | ||
UnprocessedAccounts: UnprocessedAccount[] | undefined; | ||
} | ||
export interface OrganizationFeatureStatisticsAdditionalConfiguration { | ||
Name?: OrgFeatureAdditionalConfiguration | undefined; | ||
EnabledAccountsCount?: number | undefined; | ||
} | ||
export interface OrganizationFeatureStatistics { | ||
Name?: OrgFeature | undefined; | ||
EnabledAccountsCount?: number | undefined; | ||
AdditionalConfiguration?: | ||
| OrganizationFeatureStatisticsAdditionalConfiguration[] | ||
| undefined; | ||
} | ||
export interface OrganizationStatistics { | ||
TotalAccountsCount?: number | undefined; | ||
MemberAccountsCount?: number | undefined; | ||
ActiveAccountsCount?: number | undefined; | ||
EnabledAccountsCount?: number | undefined; | ||
CountByFeature?: OrganizationFeatureStatistics[] | undefined; | ||
} | ||
export interface OrganizationDetails { | ||
@@ -434,4 +574,8 @@ UpdatedAt?: Date | undefined; | ||
export interface UpdateThreatIntelSetResponse {} | ||
export declare const MemberFilterSensitiveLog: (obj: Member) => any; | ||
export declare const GetMembersResponseFilterSensitiveLog: ( | ||
obj: GetMembersResponse | ||
) => any; | ||
export declare const ListMembersResponseFilterSensitiveLog: ( | ||
obj: ListMembersResponse | ||
) => any; |
{ | ||
"name": "@aws-sdk/client-guardduty", | ||
"description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native", | ||
"version": "3.699.0", | ||
"version": "3.703.0", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1799828
43105