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

o365: Add teams_user_activity_user_detail data-stream #12138

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

kcreddy
Copy link
Contributor

@kcreddy kcreddy commented Dec 17, 2024

Proposed commit message

Adds Teams User Activity User Detail data to Office 365 integration.

Ref: #12054.
API: https://learn.microsoft.com/en-us/graph/api/reportroot-getteamsuseractivityuserdetail?view=graph-rest-1.0&tabs=http

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

  • Handle 302 redirects
  • Screenshots to PR and integration

How to test this PR locally

Pipeline Tests:
eval "$(elastic-package stack shellinit)" && elastic-package test pipeline --generate -v --data-streams=teams_user_activity_user_detail

--- Test results for package: o365 - START ---
╭─────────┬─────────────────────────────────┬───────────┬─────────────────────────────────────────────────────────────────────┬────────┬──────────────╮
│ PACKAGE │ DATA STREAM                     │ TEST TYPE │ TEST NAME                                                           │ RESULT │ TIME ELAPSED │
├─────────┼─────────────────────────────────┼───────────┼─────────────────────────────────────────────────────────────────────┼────────┼──────────────┤
│ o365    │ teams_user_activity_user_detail │ pipeline  │ (ingest pipeline warnings test-teams-user-activity-user-detail.log) │ PASS   │ 335.272083ms │
│ o365    │ teams_user_activity_user_detail │ pipeline  │ test-teams-user-activity-user-detail.log                            │ PASS   │  60.866291ms │
╰─────────┴─────────────────────────────────┴───────────┴─────────────────────────────────────────────────────────────────────┴────────┴──────────────╯
--- Test results for package: o365 - END   ---
Done

System tests:
eval "$(elastic-package stack shellinit)" && elastic-package test system --generate -v --data-streams=teams_user_activity_user_detail

--- Test results for package: o365 - START ---
╭─────────┬─────────────────────────────────┬───────────┬───────────┬────────┬───────────────╮
│ PACKAGE │ DATA STREAM                     │ TEST TYPE │ TEST NAME │ RESULT │  TIME ELAPSED │
├─────────┼─────────────────────────────────┼───────────┼───────────┼────────┼───────────────┤
│ o365    │ teams_user_activity_user_detail │ system    │ 200       │ PASS   │  39.26646275s │
│ o365    │ teams_user_activity_user_detail │ system    │ 302       │ PASS   │ 38.325969167s │
╰─────────┴─────────────────────────────────┴───────────┴───────────┴────────┴───────────────╯
--- Test results for package: o365 - END   ---
Done

Related issues

Screenshots

Screenshot 2024-12-25 at 12 35 59 AM Screenshot 2024-12-25 at 12 35 19 AM

@kcreddy kcreddy self-assigned this Dec 17, 2024
@kcreddy kcreddy added enhancement New feature or request Integration:o365 Microsoft Office 365 Team:Security-Service Integrations Security Service Integrations Team [elastic/security-service-integrations] labels Dec 17, 2024
@andrewkroh andrewkroh added the dashboard Relates to a Kibana dashboard bug, enhancement, or modification. label Dec 17, 2024
@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link

elasticmachine commented Dec 24, 2024

💔 Build Failed

Failed CI Steps

History

cc @kcreddy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboard Relates to a Kibana dashboard bug, enhancement, or modification. enhancement New feature or request Integration:o365 Microsoft Office 365 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