Skip to content

[slack-audit]: fix ingest where source address is empty in event #13837

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fabiogermann
Copy link
Contributor

@fabiogermann fabiogermann commented May 8, 2025

Added a check to only process the IP address if it is present in the event.
In some cases Slack sends events that do not have an IP / or an empty sting as IP which causes the pipeline to fail.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

n/a

How to test this PR locally

Use any Slack event and remove the source.address field and test using the the regular pipeline tester.

Related issues

n/a

Screenshots

n/a

@fabiogermann fabiogermann requested a review from a team as a code owner May 8, 2025 13:05
@andrewkroh andrewkroh added Integration:slack Slack Logs (Community supported) Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] labels May 8, 2025
@elasticmachine
Copy link

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Integration:slack Slack Logs (Community supported) Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants