Skip to content

nit(aci): cast detection type config to AlertRuleDetectionType in NOA translation layer #93835

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

Merged
merged 3 commits into from
Jun 18, 2025

Conversation

iamrajjoshi
Copy link
Member

NOA expects the detection_type to be saved as type AlertRuleDetectionType, but the detector config is a str, so just casting it

@iamrajjoshi iamrajjoshi requested a review from mifu67 June 18, 2025 16:45
@iamrajjoshi iamrajjoshi self-assigned this Jun 18, 2025
@iamrajjoshi iamrajjoshi requested a review from a team as a code owner June 18, 2025 16:45
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 18, 2025
@iamrajjoshi iamrajjoshi requested a review from a team June 18, 2025 16:48
Copy link

codecov bot commented Jun 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #93835       +/-   ##
===========================================
- Coverage   88.03%   74.83%   -13.20%     
===========================================
  Files       10328    10306       -22     
  Lines      596106   595177      -929     
  Branches    23146    23146               
===========================================
- Hits       524761   445380    -79381     
- Misses      70889   149341    +78452     
  Partials      456      456               

@iamrajjoshi iamrajjoshi marked this pull request as draft June 18, 2025 18:49
auto-merge was automatically disabled June 18, 2025 18:49

Pull request was converted to draft

@iamrajjoshi iamrajjoshi marked this pull request as ready for review June 18, 2025 18:53
@iamrajjoshi iamrajjoshi requested review from a team as code owners June 18, 2025 18:53
@iamrajjoshi iamrajjoshi enabled auto-merge (squash) June 18, 2025 18:53
@iamrajjoshi iamrajjoshi merged commit 20335e1 into master Jun 18, 2025
63 checks passed
@iamrajjoshi iamrajjoshi deleted the raj/cast-to-enum branch June 18, 2025 20:19
andrewshie-sentry pushed a commit that referenced this pull request Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants