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

[Filebeat] Improve ECS categorization field mappings in googlecloud module #16500

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

leehinman
Copy link
Contributor

  • audit

    • event.id
    • event.action
    • event.kind
  • firewall

    • event.kind
    • event.category
    • event.type
    • event.action
    • event.id
    • rule.name
  • vpcflow

    • event.kind
    • event.category
    • event.type
    • event.id

Closes #16030

@leehinman leehinman added enhancement Filebeat Filebeat needs_backport PR is waiting to be backported to other branches. Team:SIEM ecs labels Feb 21, 2020
@leehinman leehinman requested a review from a team as a code owner February 21, 2020 21:44
@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

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

I think this fully addresses #15651 too. So that can be closed by this.

@@ -123,8 +125,9 @@ function Audit(keep_original_message) {
}
};

// Set event.outcome based on authentication_info and status.
var setEventOutcome = function(evt) {
// Set ECS categorization fields
Copy link
Member

Choose a reason for hiding this comment

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

This documentation no longer reads so well. Maybe it just needs a period?

@@ -38,6 +38,7 @@ function Audit(keep_original_message) {
var saveMetadata = new processor.Convert({
fields: [
{from: "json.logName", to: "log.logger"},
{from: "json.insertId", to: "event.id"},
Copy link
Member

Choose a reason for hiding this comment

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

The pubsub input sets this field already but this is a better value.

+ audit
  - event.id
  - event.action
  - event.kind

+ firewall
  - event.kind
  - event.category
  - event.type
  - event.action
  - event.id
  - rule.name

+ vpcflow
  - event.kind
  - event.category
  - event.type
  - event.id

Closes elastic#16030
Closes elastic#15651
@leehinman leehinman merged commit e1fa198 into elastic:master Feb 24, 2020
leehinman added a commit to leehinman/beats that referenced this pull request Feb 24, 2020
…odule (elastic#16500)

+ audit
  - event.id
  - event.action
  - event.kind

+ firewall
  - event.kind
  - event.category
  - event.type
  - event.action
  - event.id
  - rule.name

+ vpcflow
  - event.kind
  - event.category
  - event.type
  - event.id

Closes elastic#16030
Closes elastic#15651

(cherry picked from commit e1fa198)
@leehinman leehinman added v7.7.0 and removed needs_backport PR is waiting to be backported to other branches. labels Feb 24, 2020
@leehinman leehinman deleted the 16160_googlecloud_ecs_1.4 branch February 24, 2020 19:18
leehinman added a commit that referenced this pull request Feb 25, 2020
…odule (#16500) (#16528)

+ audit
  - event.id
  - event.action
  - event.kind

+ firewall
  - event.kind
  - event.category
  - event.type
  - event.action
  - event.id
  - rule.name

+ vpcflow
  - event.kind
  - event.category
  - event.type
  - event.id

Closes #16030
Closes #15651

(cherry picked from commit e1fa198)
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.

[Filebeat] Upgrade googlecloud module to ECS 1.4
3 participants