Comments (13)
There is an other strange behavior on this boolean is_family. It is required but not highlighted in red if nothing is configured for it and the mapper is considered valid by the backend. Nonetheless when trying to import data after, the import fails.
I'm for fixing this issue in the same time
from opencti.
To have a bit of context: same component is used between default value in CSV mapper and settings customization.
Indeed we should have false
if off and true
if on. I think the label of the toggle is misleading as we can understand it as "should we have a default value" instead of "we have a default value, the value is: true/false".
It would be more intuitive (IMO) with something like: Default value: false <toggle> true
instead of <toggle> Default value
.
Or even a group off two buttons [true|false] instead of a toggle.
from opencti.
I found the solution yesterday and add it directly in this PR
from opencti.
probably a simple if clause on the value to check if it's defined, that just if(value)
or something. We must check for undefined/null only if the false
value is legit.
from opencti.
"is family" attribute is customizable in settings too:
from opencti.
@nino-filigran the bug is not only a UI issue. In fact for now we can set only TRUE as default value for boolean attributes, we cannot set FALSE. To do it we need change how we save the default value in elastic (not a big change).
- bug also on Settings > Customization (Example: malware/is family)
from opencti.
So to recap, If I understand correctly,
- currently when toggling on this CTA it basically means "use TRUE as default value".
- However, when toggling off, it means "do not apply a default value".
If so, I agree that it's misleading.
As a result, we should indeed fix it by applying your suggestion Default value: false true
from opencti.
You understand correctly. Agreed on the fix then 😊
from opencti.
Many thanks for your help @lndrtrbn
from opencti.
EDIT: issues solved
To precise, it is highlighted in red the first time the field is_family is opened, but it isn't red after it is filled and unfilled.
@nino-filigran
Another issue:
The default value for the field name seems to be configured in the CSV mapper and customization, but it isn't.
Has a bug already been reported on this issue?
from opencti.
Find an other issue about the management of boolean values:
- I have set a default value for the boolean attribute in Settings > Customization (for example True for malware.is_family),
- I have created a CSV mapper to map malwares without specifying a default value at CSV mapper level,
- I launch an import of a file where the column is_family has missing data for some malwares.
Expected output: import success with the default value set in Customization.
Actual output: import fails.
from opencti.
@lndrtrbn Do you want me to open a bug for this, or do you tackle this weird behavior as part of this?
from opencti.
Thanks again for your help
from opencti.
Related Issues (20)
- Placeholders not aligned in the roles list HOT 1
- Placeholders not aligned in case templates (taxonomies) HOT 1
- Placeholders not aligned in status templates
- Incorrect space in the data / import section view between breadcrumb and content
- File indexing page is too slow to be production grade ready
- Improve performances when entities are becoming huge in terms of rel_ (Elastic document)
- Bad alignement in knowledge graph loader
- Bad performances to display members of a group with more than 20 members
- Implement total numbers in list of security settings
- [IMPORTANT] In multiple cases, reports are created with duplicate labels / marking definitions HOT 2
- Representatives still present despite the migration in connectors / managers HOT 1
- Clicking on a sighting in "origin of the case" in an IR case goes to the wrong place
- Add back unique colours to observables types in the observable view
- Default filters cannot be changed in some cases
- When using a list in dashboard widgets that is not clickable, pointer / behavior not correct
- In dashboard list widget, when displaying creators, it is clickable and leads to nowhere HOT 1
- When editing a relationship from the overview of an entity, effect is not correct HOT 1
- Inferred relationships cannot be shared with organization manually HOT 2
- Multiple remaining action buttons in secondary color HOT 3
- Creating indicator from observable works, but the UI freezes and needs to be reloaded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencti.