Skip to content

Commit

Permalink
Add unique key to protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
aomerk committed Oct 26, 2023
1 parent ac5229e commit 9bdf89d
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 173 deletions.
2 changes: 1 addition & 1 deletion clients/graphql/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ type GetAlertsResponse struct {
}
}


// AlertsInput Alert list input
type AlertsInput struct {
// Indicate a list of addresses.
Expand Down Expand Up @@ -211,6 +210,7 @@ query getAlerts ($input: AlertsInput) {
entityType
remove
metadata
uniqueKey
}
addressBloomFilter {
bitset
Expand Down
86 changes: 48 additions & 38 deletions protocol/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions protocol/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ message AlertEvent {
string entityType = 4;
bool remove = 5;
repeated string metadata = 6;
string uniqueKey = 7;
}

// Unique string to identify this class of finding,
Expand Down
Loading

0 comments on commit 9bdf89d

Please sign in to comment.