Skip to content

Cherry-pick #23081 to 7.x: [Filebeat] Add network.direction by specifying internal_networks to gcp module#23086

Merged
andrewstucki merged 4 commits intoelastic:7.xfrom
andrewstucki:backport_23081_7.x
Dec 11, 2020
Merged

Cherry-pick #23081 to 7.x: [Filebeat] Add network.direction by specifying internal_networks to gcp module#23086
andrewstucki merged 4 commits intoelastic:7.xfrom
andrewstucki:backport_23081_7.x

Conversation

@andrewstucki
Copy link
Copy Markdown

@andrewstucki andrewstucki commented Dec 10, 2020

Cherry-pick of PR #23081 to 7.x branch. Original message:

What does this PR do?

This uses the new add_network_direction processor to override how we calculate the event network.direction. It allows users to specify what CIDR block ranges/ip address types consist of their "internal" network regardless of how GCP characterizes traffic.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Related issues

…cp module (elastic#23081)

* [Filebeat] Add network.direction by specifying internal_networks to gcp module

* Fix up changelog

* Fix pipeline builder

* Add forgotten documentation

(cherry picked from commit ce73772)
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Dec 10, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Dec 10, 2020

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #23086 updated

  • Start Time: 2020-12-11T00:38:58.221+0000

  • Duration: 63 min 16 sec

Test stats 🧪

Test Results
Failed 0
Passed 17363
Skipped 1404
Total 18767

Steps errors 2

Expand to view the steps failures

Terraform Apply on x-pack/metricbeat/module/aws
  • Took 0 min 15 sec . View more details on here
Terraform Apply on x-pack/metricbeat/module/aws
  • Took 0 min 15 sec . View more details on here

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 17363
Skipped 1404
Total 18767

@andrewstucki andrewstucki requested a review from a team December 11, 2020 00:38
@andrewstucki andrewstucki merged commit 0c3f873 into elastic:7.x Dec 11, 2020
@andrewstucki andrewstucki deleted the backport_23081_7.x branch December 11, 2020 04:01
@zube zube bot removed the [zube]: Done label Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants