-
Notifications
You must be signed in to change notification settings - Fork 2
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
Modify the cluster_id type usize
to Option<usize>
#385
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #385 +/- ##
==========================================
- Coverage 71.32% 71.30% -0.03%
==========================================
Files 67 67
Lines 14666 14666
==========================================
- Hits 10461 10457 -4
- Misses 4205 4209 +4 ☔ View full report in Codecov by Sentry. |
16ebe25
to
e43e55c
Compare
|
2edc767
to
85bd19e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. One minor suggestion: it might be worth mentioning the GraphQL schema change in the CHANGELOG, specifically that the type of WindowsThreat.clusterId
has changed from Int
to ID
. However, I'll leave that up to your discretion as it's dependent on @aicers' policy. Otherwise, I'm good with this PR.
@aicers' policy follows exactly what you pointed out. |
85bd19e
to
733a9b9
Compare
I've change the CHANGELOG.md |
CHANGELOG.md
Outdated
- Modified the type of `cluster_id` field of the detection event structures from | ||
`usize` to `Option<usize>`: `HttpThreat`, `ExtraThreat`, `NetworkThreat`, | ||
`WindowsThreat`. | ||
The GraphQL API for `WindowsThreat` event structure is changed to return `ID` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you make this start with another bullet?
733a9b9
to
7698364
Compare
Close #384
Modify the type of
cluster_id
field of the detection event structures fromusize
toOption<usize>
:HttpThreat
,ExtraThreat
,NetworkThreat
,WindowsThreat