Skip to content

improve the way azure sign-in log failure messages are processed in the ingest pipeline#3679

Merged
tommyers-elastic merged 5 commits intoelastic:mainfrom
tommyers-elastic:fix-azure-signinlogs-ingest-pipeline
Jul 12, 2022
Merged

improve the way azure sign-in log failure messages are processed in the ingest pipeline#3679
tommyers-elastic merged 5 commits intoelastic:mainfrom
tommyers-elastic:fix-azure-signinlogs-ingest-pipeline

Conversation

@tommyers-elastic
Copy link
Contributor

@tommyers-elastic tommyers-elastic commented Jul 11, 2022

What does this PR do?

Builds the message field based on a combination of 'failure_reason' and 'additional_details' if both are present. otherwise uses whichever is present, or no message if neither are present.

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.

@tommyers-elastic tommyers-elastic added the bug Something isn't working, use only for issues label Jul 11, 2022
@tommyers-elastic tommyers-elastic requested a review from a team as a code owner July 11, 2022 14:36
@elasticmachine
Copy link

elasticmachine commented Jul 11, 2022

💚 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 preview

Expand to view the summary

Build stats

  • Start Time: 2022-07-12T12:09:28.468+0000

  • Duration: 15 min 44 sec

Test stats 🧪

Test Results
Failed 0
Passed 105
Skipped 0
Total 105

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine
Copy link

elasticmachine commented Jul 11, 2022

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (7/7) 💚
Files 81.25% (13/16) 👎 -15.701
Classes 81.25% (13/16) 👎 -15.701
Methods 80.451% (107/133) 👎 -8.732
Lines 81.826% (1855/2267) 👎 -8.371
Conditionals 100.0% (0/0) 💚

combine 'failure_reason' and 'additional_details' into the message.
if either is missing, the remaining field is used alone.
@tommyers-elastic tommyers-elastic changed the title only rename 'azure.signinlogs.properties.status.additional_details' to 'message' if 'message' is null improve the way azure sign-in log failure messages are processed in the ingest pipeline Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working, use only for issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants