-
Notifications
You must be signed in to change notification settings - Fork 2k
[Update] Dovico Detector Updated #4290
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
[Update] Dovico Detector Updated #4290
Conversation
|
||
s1 := detectors.Result{ | ||
DetectorType: detectorspb.DetectorType_Dovico, | ||
Raw: []byte(resMatch), | ||
Raw: []byte(key), |
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.
Shouldn't RAW contain both key + userkey ? or may be set RawV2
for both keys? Otherwise, it will be difficult to find which combination worked.
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 changing the Raw
value have an impact on existing usage of this detector? Same question about adding a RawV2
value?
I can make those updates if this is a safe option.
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.
umm.... Considering only OSS, I could not think of any impact. @trufflesteeeve what are your thoughts.
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.
@abmussani I added a RawV2
value
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.
Apart from @abmussani comment - It looks good to me
Description:
The ID and secret patterns are the same. This update adds a check to avoid verification of identical credential pairs.
Also removes duplicate credentials and adds indeterminate verification errors in results.
Checklist:
make test-community
)?make lint
this requires golangci-lint)?