Skip to content

Commit a659b63

Browse files
authored
🤖 Merge PR DefinitelyTyped#72225 [aws-lambda] Fix typo in AWS GuardDuty scanResultStatus by @progfay
1 parent f165f8d commit a659b63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎types/aws-lambda/test/guard-duty-event-notification-tests.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const guardDutyScanResultNotificationEvent: GuardDutyScanResultNotificationEvent
2323
s3Throttled: false,
2424
},
2525
scanResultDetails: {
26-
scanResultStatus: "THREAT_FOUND",
26+
scanResultStatus: "THREATS_FOUND",
2727
threats: [
2828
{
2929
name: "foobar",

‎types/aws-lambda/trigger/guard-duty-event-notification.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface GuardDutyScanResultNotificationEventDetail {
2424
s3Throttled: boolean;
2525
};
2626
scanResultDetails: {
27-
scanResultStatus: "NO_THREATS_FOUND" | "THREAT_FOUND" | "UNSUPPORTED" | "ACCESS_DENIED" | "FAILED";
27+
scanResultStatus: "NO_THREATS_FOUND" | "THREATS_FOUND" | "UNSUPPORTED" | "ACCESS_DENIED" | "FAILED";
2828
threats: GuardDutyThreatDetail[] | null;
2929
};
3030
}

0 commit comments

Comments
 (0)