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

auditbeat: split system process module #41868

Merged
merged 5 commits into from
Dec 3, 2024
Merged

auditbeat: split system process module #41868

merged 5 commits into from
Dec 3, 2024

Conversation

haesbaert
Copy link
Contributor

@haesbaert haesbaert commented Dec 3, 2024

This splits the common module parts and the gosysinfo backend. Needed for an upcoming PR which adds a quark backend, so I'm splitting this earlier to make review easier.

Only functional change for this PR is adding two missing bucket.Close() calls in New().

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.

This splits the common module parts and the gosysinfo backend.
Needed for an upcoming PR which adds a quark backend, so I'm splitting this
earlier to make review easier.

Only functional case for this PR is add missing `bucket.Close()` calls in New().
@haesbaert haesbaert added enhancement backport-8.15 Automated backport to the 8.15 branch with mergify backport-8.x Automated backport to the 8.x branch with mergify backport-8.16 Automated backport with mergify backport-8.17 Automated backport with mergify labels Dec 3, 2024
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Dec 3, 2024
@haesbaert haesbaert added the Team:Security-Linux Platform Linux Platform Team in Security Solution label Dec 3, 2024
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Dec 3, 2024
@haesbaert haesbaert marked this pull request as ready for review December 3, 2024 16:49
@haesbaert haesbaert requested a review from a team as a code owner December 3, 2024 16:49
@elasticmachine
Copy link
Collaborator

Pinging @elastic/sec-linux-platform (Team:Security-Linux Platform)

@haesbaert haesbaert marked this pull request as draft December 3, 2024 16:59
These are from old code that is only now being touched and linted.
Copy link
Contributor

@fearful-symmetry fearful-symmetry left a comment

Choose a reason for hiding this comment

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

It looks like this is basically moving code around? If so, we can probably take it out of draft?

@haesbaert haesbaert marked this pull request as ready for review December 3, 2024 18:13
@haesbaert haesbaert merged commit 5a85598 into main Dec 3, 2024
21 checks passed
@haesbaert haesbaert deleted the split-process branch December 3, 2024 20:21
mergify bot pushed a commit that referenced this pull request Dec 3, 2024
This splits the common module parts and the gosysinfo backend.
Needed for an upcoming PR which adds a quark backend, so I'm splitting this
earlier to make review easier.

Only functional case for this PR is add missing `bucket.Close()` calls in New().

(cherry picked from commit 5a85598)

# Conflicts:
#	x-pack/auditbeat/module/system/process/process.go
mergify bot pushed a commit that referenced this pull request Dec 3, 2024
This splits the common module parts and the gosysinfo backend.
Needed for an upcoming PR which adds a quark backend, so I'm splitting this
earlier to make review easier.

Only functional case for this PR is add missing `bucket.Close()` calls in New().

(cherry picked from commit 5a85598)
mergify bot pushed a commit that referenced this pull request Dec 3, 2024
This splits the common module parts and the gosysinfo backend.
Needed for an upcoming PR which adds a quark backend, so I'm splitting this
earlier to make review easier.

Only functional case for this PR is add missing `bucket.Close()` calls in New().

(cherry picked from commit 5a85598)
mergify bot pushed a commit that referenced this pull request Dec 3, 2024
This splits the common module parts and the gosysinfo backend.
Needed for an upcoming PR which adds a quark backend, so I'm splitting this
earlier to make review easier.

Only functional case for this PR is add missing `bucket.Close()` calls in New().

(cherry picked from commit 5a85598)
haesbaert added a commit that referenced this pull request Dec 3, 2024
This splits the common module parts and the gosysinfo backend.
Needed for an upcoming PR which adds a quark backend, so I'm splitting this
earlier to make review easier.

Only functional case for this PR is add missing `bucket.Close()` calls in New().

(cherry picked from commit 5a85598)

Co-authored-by: Christiano Haesbaert <[email protected]>
haesbaert added a commit that referenced this pull request Dec 4, 2024
This splits the common module parts and the gosysinfo backend.
Needed for an upcoming PR which adds a quark backend, so I'm splitting this
earlier to make review easier.

Only functional case for this PR is add missing `bucket.Close()` calls in New().

(cherry picked from commit 5a85598)

Co-authored-by: Christiano Haesbaert <[email protected]>
haesbaert added a commit that referenced this pull request Dec 4, 2024
This splits the common module parts and the gosysinfo backend.
Needed for an upcoming PR which adds a quark backend, so I'm splitting this
earlier to make review easier.

Only functional case for this PR is add missing `bucket.Close()` calls in New().

(cherry picked from commit 5a85598)

Co-authored-by: Christiano Haesbaert <[email protected]>
haesbaert added a commit that referenced this pull request Dec 5, 2024
* auditbeat: split system process module (#41868)

This splits the common module parts and the gosysinfo backend.
Needed for an upcoming PR which adds a quark backend, so I'm splitting this
earlier to make review easier.

Only functional case for this PR is add missing `bucket.Close()` calls in New().

(cherry picked from commit 5a85598)


Co-authored-by: Christiano Haesbaert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.x Automated backport to the 8.x branch with mergify backport-8.15 Automated backport to the 8.15 branch with mergify backport-8.16 Automated backport with mergify backport-8.17 Automated backport with mergify enhancement Team:Security-Linux Platform Linux Platform Team in Security Solution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants