If we agree that a lot of the functionality of SDO’s (and other Objects or Relations) are similar:
Creation component
Editing component
Viewing component
List component (Cards/Lines)
Knowledge/Marking etc...
..then a dynamic way of creating new such entities can be beneficial.
Current Workaround
Today when one wants to create a new entity type, they must recreate the whole functionality, or alternatively copy and refactor these files (the example is given on Threat Actor just for the sake of discussion):
Use case
If we agree that a lot of the functionality of SDO’s (and other Objects or Relations) are similar:
..then a dynamic way of creating new such entities can be beneficial.
Current Workaround
Today when one wants to create a new entity type, they must recreate the whole functionality, or alternatively copy and refactor these files (the example is given on Threat Actor just for the sake of discussion):
GraphQL
Front
Proposed Solution
Creating some generator tool that receives a schema, to add/create objects dynamically, of the following structure: [ { entityTypeName: ‘MyNewEntity’, objectTypes: [‘SDO’, ‘SMO’ ....], stixEntityType: ‘Infrastructure’, fields: [ { fieldName: ‘MyFirstField’, fieldType: ‘String’, fieldComponent: ‘LongTextBox’, ........ ], ...... }, ]
Additional Information
If the feature request is approved, would you be willing to submit a PR?
Possibly