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

feat: add more Cloudtrail fields #413

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

uhei
Copy link
Contributor

@uhei uhei commented Feb 13, 2024

Add more fields as defined at
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html

What type of PR is this?

/kind feature

Any specific area of the project related to this PR?

/area plugins

What this PR does / why we need it:

The current CloudTrail plugin is missing fields. This PR adds all currently defined fields according to https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html.

The fields ct.addendum.* and ct.edgedevicedetails are untested due to missing events with these fields.

Special notes for your reviewer:

The plugin has only been tested with falcodump, Logray and CloudTrail access via S3.

@poiana
Copy link
Contributor

poiana commented Feb 13, 2024

Welcome @uhei! It looks like this is your first PR to falcosecurity/plugins 🎉

@poiana poiana added the size/L label Feb 13, 2024
@leogr
Copy link
Member

leogr commented Feb 14, 2024

cc @Issif

Copy link

Rules files suggestions

aws_cloudtrail_rules.yaml

Comparing 41a40af43757b968536dfb7a3d8222fb6116d341 with latest tag cloudtrail-0.11.0

No changes detected

@leogr
Copy link
Member

leogr commented Feb 15, 2024

cc @Issif @LucaGuerra

Copy link
Member

@Issif Issif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@leogr do you think we should embed the plugin version bump up in that PR too?

@poiana
Copy link
Contributor

poiana commented Feb 15, 2024

LGTM label has been added.

Git tree hash: 3b1c543ed36edbb69f6a64bd4ae6312d54770666

@leogr
Copy link
Member

leogr commented Feb 15, 2024

/lgtm

@leogr do you think we should embed the plugin version bump up in that PR too?

I know there should be other planned changes to this plugin, so we can bump up in a later PR.

Btw, the PR SGTM, too. I will do a second look soon and then approve.

Thanks!

@poiana
Copy link
Contributor

poiana commented Feb 16, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Issif, leogr, uhei

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 6a99500 into falcosecurity:master Feb 16, 2024
12 checks passed
@uhei uhei deleted the feat/ct-add-fields branch February 16, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants