We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Following #4304, we need to make sure that the value saved in the platform for any max_confidence fields (user, groups) are always between 0 and 100.
max_confidence
We cannot enforce this in the schema mapping in elastic, so we need to check this in the backend code:
This can only be tested through API calls, the UI already crop the value between 0 and 100. This concerns operations:
Attention, edition can be plain object value, or field patch with only the max_confidence and corresponding object_path.
object_path
Example with edit group:
{ "id": "00b4e453-40e2-451d-8c32-09fd0532d80f", "input": { "key": "group_confidence_level", "object_path": "group_confidence_level/max_confidence", "value": 45 } } { "id": "00b4e453-40e2-451d-8c32-09fd0532d80f", "input": { "key": "group_confidence_level", "value": { "max_confidence": 45, "overrides: [] } } }
The text was updated successfully, but these errors were encountered:
[backend] enforce user confidence level for RSS and Taxii feeds (#5759)
6ae395d
[backend] crop effective confidence level in [0-100] (#5759)
151729c
f9aae34
labo-flg
Successfully merging a pull request may close this issue.
issue
Following #4304, we need to make sure that the value saved in the platform for any
max_confidence
fields (user, groups) are always between 0 and 100.We cannot enforce this in the schema mapping in elastic, so we need to check this in the backend code:
test cases
This can only be tested through API calls, the UI already crop the value between 0 and 100.
This concerns operations:
Attention, edition can be plain object value, or field patch with only the
max_confidence
and correspondingobject_path
.Example with edit group:
The text was updated successfully, but these errors were encountered: