Skip to content

feat(cloudtrail): add AWS SSM related request data to extracted fields#1196

Merged
poiana merged 3 commits intofalcosecurity:mainfrom
Zaulao:feat/cloudtrail-ssm-request-params
Feb 19, 2026
Merged

feat(cloudtrail): add AWS SSM related request data to extracted fields#1196
poiana merged 3 commits intofalcosecurity:mainfrom
Zaulao:feat/cloudtrail-ssm-request-params

Conversation

@Zaulao
Copy link
Copy Markdown
Contributor

@Zaulao Zaulao commented Feb 9, 2026

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area plugins

/area registry

/area build

/area documentation

What this PR does / why we need it:
This PR adds three new fields to the cloudtrail plugin, which extract the values ​​from the requestParameters.reason, requestParameters.target, and requestParameters.documentName fields. These fields are used in ssm:StartSession requests and are useful for monitoring the opening of EC2 connections via Session Manager.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@poiana poiana requested review from ekoops and irozzo-1A February 9, 2026 19:45
@poiana poiana added the size/S label Feb 9, 2026
@Zaulao
Copy link
Copy Markdown
Contributor Author

Zaulao commented Feb 9, 2026

I guess it was a bad idea to open that PR during a GitHub incident, huh?

@ekoops
Copy link
Copy Markdown
Contributor

ekoops commented Feb 10, 2026

I guess it was a bad idea to open that PR during a GitHub incident, huh?

Ahah right! I restarted the CI, let's see 💪

@github-actions
Copy link
Copy Markdown

Rules files suggestions

rules

Comparing f05e6f4fb680467463fb065ba16f28f80cb3e477 with latest tag plugins/cloudtrail/v0.14.0

No changes detected

@ekoops
Copy link
Copy Markdown
Contributor

ekoops commented Feb 11, 2026

Hey @Zaulao . Could you please rebase and add the DCO to your commit?

@github-actions
Copy link
Copy Markdown

Rules files suggestions

rules

Comparing 5186e26f82a89a36647eafeff03818333102bc3d with latest tag plugins/gcpaudit/v0.7.0

No changes detected

rules

Comparing 5186e26f82a89a36647eafeff03818333102bc3d with latest tag plugins/github/v0.10.0

No changes detected

rules

Comparing 5186e26f82a89a36647eafeff03818333102bc3d with latest tag plugins/cloudtrail/v0.14.0

No changes detected

rules

Comparing 5186e26f82a89a36647eafeff03818333102bc3d with latest tag plugins/k8saudit-gke/v0.7.0

No changes detected

@Zaulao
Copy link
Copy Markdown
Contributor Author

Zaulao commented Feb 11, 2026

I think I messed up something on the rebase but it's working, the CI fail seems intermittent

@github-actions
Copy link
Copy Markdown

Rules files suggestions

rules

Comparing 5186e26f82a89a36647eafeff03818333102bc3d with latest tag plugins/gcpaudit/v0.7.0

No changes detected

rules

Comparing 5186e26f82a89a36647eafeff03818333102bc3d with latest tag plugins/github/v0.10.0

No changes detected

rules

Comparing 5186e26f82a89a36647eafeff03818333102bc3d with latest tag plugins/cloudtrail/v0.14.0

No changes detected

rules

Comparing 5186e26f82a89a36647eafeff03818333102bc3d with latest tag plugins/k8saudit-gke/v0.7.0

No changes detected

@ekoops
Copy link
Copy Markdown
Contributor

ekoops commented Feb 12, 2026

Mmm you included commits from dependabot. I guess those should be already on master... Could you please remove them?

@github-actions
Copy link
Copy Markdown

Rules files suggestions

rules

Comparing e7aa9231bc8f9ec0b4de9db4c7184d3c7ae802c4 with latest tag plugins/cloudtrail/v0.14.0

No changes detected

@github-actions
Copy link
Copy Markdown

Rules files suggestions

rules

Comparing 54ff4572d083977ed380e8928743358a8191351c with latest tag plugins/cloudtrail/v0.14.0

No changes detected

Copy link
Copy Markdown
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

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

Hey @Zaulao

our policy doesn't allow merge commits

Can you rebase and remove them?
This resource may help https://github.com/falcosecurity/.github/blob/main/CONTRIBUTING.md#resolving-conflicts-by-rebasing

🙏

Signed-off-by: Zaulao <29334377+Zaulao@users.noreply.github.com>
@Zaulao
Copy link
Copy Markdown
Contributor Author

Zaulao commented Feb 12, 2026

Sorry for the back and forth, everything should be in order now.

@Zaulao Zaulao requested a review from leogr February 12, 2026 19:26
Copy link
Copy Markdown
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

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

Just left a suggestion. Otherwise SGTM.

Thank you!

Comment thread plugins/cloudtrail/pkg/cloudtrail/extract.go Outdated
Comment thread plugins/cloudtrail/README.md Outdated
Zaulao and others added 2 commits February 18, 2026 10:55
Co-authored-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Zaulao <29334377+Zaulao@users.noreply.github.com>
Co-authored-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Zaulao <29334377+Zaulao@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

Rules files suggestions

rules

Comparing 08ed2f2d3b53a175605414b987abd3dac7b7351b with latest tag plugins/cloudtrail/v0.14.0

No changes detected

@ekoops ekoops requested a review from leogr February 19, 2026 08:39
@poiana
Copy link
Copy Markdown
Contributor

poiana commented Feb 19, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ekoops, Zaulao

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

The pull request process is described here

Details 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
Copy link
Copy Markdown
Contributor

poiana commented Feb 19, 2026

LGTM label has been added.

DetailsGit tree hash: d4c832f501add307751aad6dd55a7727ae476c85

@poiana poiana merged commit d2494aa into falcosecurity:main Feb 19, 2026
12 checks passed
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