Created
November 8, 2019 17:17
-
-
Save andresriancho/512bfbae1ad8b175a36d6fdc32b8ccef to your computer and use it in GitHub Desktop.
Athena query to get AWS Lambda function invoke calls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT eventtime, | |
eventname, | |
requestparameters, | |
awsregion, | |
eventsource, | |
resources | |
FROM cloudtrail_662651605507 | |
WHERE year = '2019' | |
AND month IN ('7', '8', '9', '10', '11') | |
AND eventsource = 'lambda.amazonaws.com' | |
AND eventname NOT IN ('ListFunctions20150331', 'ListEventSourceMappings20150331', 'ListVersionsByFunction20150331', 'GetPolicy20150331v2', 'GetFunction20150331v2', 'ListTags20170331', 'ListAliases20150331', 'ListLayers20181031'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment