-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feat(seer): Add Explorer service map extraction pipeline #108379
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
Changes from 6 commits
7756ab9
611add2
eeb46e5
a3fb8bd
3ff16ea
1e622f1
6b659bc
bf6c119
d3fa500
2acaa4f
f7939a5
88e4c38
56712f7
6b1574a
5fe2fe1
eac1c66
98c2e76
33fab05
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1139,6 +1139,38 @@ | |
| flags=FLAG_MODIFIABLE_BOOL | FLAG_AUTOMATOR_MODIFIABLE, | ||
| ) | ||
|
|
||
| # Explorer service map options | ||
| register( | ||
| "explorer.service_map.enable", | ||
| default=False, | ||
| type=Bool, | ||
| flags=FLAG_MODIFIABLE_BOOL | FLAG_AUTOMATOR_MODIFIABLE, | ||
| ) | ||
| register( | ||
| "explorer.service_map.killswitch", | ||
| default=False, | ||
| type=Bool, | ||
| flags=FLAG_MODIFIABLE_BOOL | FLAG_AUTOMATOR_MODIFIABLE, | ||
| ) | ||
| register( | ||
| "explorer.service_map.allowed_organizations", | ||
| default=[], | ||
| type=Sequence, | ||
| flags=FLAG_ALLOW_EMPTY | FLAG_AUTOMATOR_MODIFIABLE, | ||
| ) | ||
| register( | ||
| "explorer.service_map.max_edges", | ||
| default=5000, | ||
| type=Int, | ||
| flags=FLAG_AUTOMATOR_MODIFIABLE, | ||
| ) | ||
| register( | ||
| "explorer.service_map.rate_limit_seconds", | ||
| default=3600, # 1 hour | ||
| type=Int, | ||
| flags=FLAG_AUTOMATOR_MODIFIABLE, | ||
| ) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Default
|
||
|
|
||
| register( | ||
| "seer.similarity.global-rate-limit", | ||
| type=Dict, | ||
|
|
||


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.
Mutable option default list can be shared
Low Severity
explorer.service_map.allowed_organizationsusesdefault=[], which can create a shared mutable default across reads in the option manager. If any caller mutates the returned list, subsequent reads can observe the mutated “default” value unexpectedly.