Skip to content

Rename process.exe to process.executable for ECS#9949

Merged
ruflin merged 4 commits intoelastic:masterfrom
ruflin:ecs-process-metadata
Jan 11, 2019
Merged

Rename process.exe to process.executable for ECS#9949
ruflin merged 4 commits intoelastic:masterfrom
ruflin:ecs-process-metadata

Conversation

@ruflin
Copy link
Copy Markdown
Contributor

@ruflin ruflin commented Jan 8, 2019

This also updates the auditbeat auditd module to use process.executable instead of process.exe.

@ruflin ruflin added in progress Pull request is currently in progress. libbeat ecs labels Jan 8, 2019
@ruflin ruflin requested a review from a team as a code owner January 8, 2019 14:00
Copy link
Copy Markdown
Contributor Author

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

@andrewkroh It seems there is also in auditbeat process.exe?

@ruflin ruflin mentioned this pull request Jan 8, 2019
@andrewkroh
Copy link
Copy Markdown
Member

It seems there is also in auditbeat process.exe?

Yes, the Auditbeat auditd module produces this field.

process["exe"] = p.Exe

Copy link
Copy Markdown
Contributor

@webmat webmat left a comment

Choose a reason for hiding this comment

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

LGTM

@ruflin ruflin requested review from a team as code owners January 9, 2019 13:02
@ruflin
Copy link
Copy Markdown
Contributor Author

ruflin commented Jan 9, 2019

I added to this PR the change in the auditd module in auditbeat.

@ruflin ruflin added review and removed in progress Pull request is currently in progress. labels Jan 10, 2019
@ruflin
Copy link
Copy Markdown
Contributor Author

ruflin commented Jan 10, 2019

@andrewkroh Could you take another look as it now also affects auditbeat?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This package has a data.json and I think an execve.json that should be updated. You can run go test . -data on Linux to update them.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, it unfortunately also removed some entries which are probably available in other envs.

@ruflin ruflin force-pushed the ecs-process-metadata branch from 2d655e9 to 941a91f Compare January 11, 2019 11:41
@ruflin ruflin merged commit f5a9028 into elastic:master Jan 11, 2019
@ruflin ruflin deleted the ecs-process-metadata branch January 11, 2019 15:46
DStape pushed a commit to DStape/beats that referenced this pull request Aug 20, 2019
This also updates the auditbeat auditd module to use process.executable instead of process.exe.
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