Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track which actions get recorded in CloudTrail #5

Open
aidansteele opened this issue Oct 21, 2019 · 6 comments
Open

Track which actions get recorded in CloudTrail #5

aidansteele opened this issue Oct 21, 2019 · 6 comments
Labels
trackable Ideas for things that are trackable

Comments

@aidansteele
Copy link
Contributor

Could use an IAM role with zero permissions, so no costs are incurred. Though I think some services might only record successful API calls. We should also compare results to any public docs from AWS

@aidansteele
Copy link
Contributor Author

Seems there's some potentially interesting stuff available in the CloudTrail web console UI.

Here's a JSON dump of some stuff: https://gist.github.com/aidansteele/bc5138da10ce2d664c4b66a5aeaa3104

This was accessed from https://ap-southeast-2.console.aws.amazon.com/cloudtrail/home using this query console.log(JSON.stringify($("#preload").data()))

@rupertbg
Copy link
Collaborator

isWarriorEagleAccessible isS3StarAccessible I have so many questions

@aidansteele aidansteele added the trackable Ideas for things that are trackable label Nov 25, 2019
@aidansteele
Copy link
Contributor Author

  • Which services just have numeric IPs in CT logs
  • Which services have reliable user agents
  • Which services record VPC endpoint usage
  • Which services use service-linked roles
  • Which use regular roles
  • which don’t even use roles

@0xdabbad00
Copy link

This ticket is similar to https://github.com/willbengtson/trailblazer-aws

@aidansteele
Copy link
Contributor Author

Oh nice, thanks for the pointer @0xdabbad00!

Do you happen to recall if there are APIs where only successful invocations are recorded? Or am I imagining that?

@0xdabbad00
Copy link

There are a lot of failure situations that don't make it to AWS, such as if your format the call incorrectly, botocore will detect the mistake before the request is sent, which means it won't be recorded (since no call arrived). I assume (but this could very likely be wrong) that any call that makes it to AWS and is normally recorded, will be recorded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
trackable Ideas for things that are trackable
Projects
None yet
Development

No branches or pull requests

3 participants