Projects STRLCPY opencti Commits 22a33bc6
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    opencti-platform/opencti-front/src/private/components/arsenal/Channels.js
    skipped 105 lines
    106 106   const dataColumns = {
    107 107   name: {
    108 108   label: 'Name',
    109  - width: '35%',
     109 + width: '30%',
     110 + isSortable: true,
     111 + },
     112 + channel_types: {
     113 + label: 'Types',
     114 + width: '15%',
    110 115   isSortable: true,
    111 116   },
    112 117   objectLabel: {
    113 118   label: 'Labels',
    114  - width: '25%',
     119 + width: '20%',
    115 120   isSortable: false,
    116 121   },
    117 122   created: {
    skipped 24 lines
    142 147   paginationOptions={paginationOptions}
    143 148   numberOfElements={numberOfElements}
    144 149   availableFilterKeys={[
     150 + 'channel_types',
    145 151   'labelledBy',
    146 152   'markedBy',
    147 153   'created_start_date',
    skipped 50 lines
  • ■ ■ ■ ■ ■ ■
    opencti-platform/opencti-front/src/private/components/arsenal/channels/ChannelLine.js
    skipped 67 lines
    68 68   </div>
    69 69   <div
    70 70   className={classes.bodyItem}
     71 + style={{ width: dataColumns.channel_types.width }}
     72 + >
     73 + {node.channel_types.join(', ')}
     74 + </div>
     75 + <div
     76 + className={classes.bodyItem}
    71 77   style={{ width: dataColumns.objectLabel.width }}
    72 78   >
    73 79   <StixCoreObjectLabels
    skipped 38 lines
    112 118   fragment ChannelLine_node on Channel {
    113 119   id
    114 120   name
     121 + channel_types
    115 122   created
    116 123   modified
    117 124   objectLabel {
    skipped 33 lines
    151 158   <div
    152 159   className={classes.bodyItem}
    153 160   style={{ width: dataColumns.name.width }}
     161 + >
     162 + <Skeleton
     163 + animation="wave"
     164 + variant="rectangular"
     165 + width="90%"
     166 + height="100%"
     167 + />
     168 + </div>
     169 + <div
     170 + className={classes.bodyItem}
     171 + style={{ width: dataColumns.channel_types.width }}
    154 172   >
    155 173   <Skeleton
    156 174   animation="wave"
    skipped 59 lines
  • ■ ■ ■ ■ ■ ■
    opencti-platform/opencti-front/src/private/components/common/lists/Filters.js
    skipped 108 lines
    109 109   
    110 110  const directFilters = [
    111 111   'report_types',
     112 + 'channel_types',
    112 113   'sightedBy',
    113 114   'container_type',
    114 115   'toSightingId',
    skipped 729 lines
    844 845   report_types: R.union(
    845 846   reportTypesEntities,
    846 847   this.state.entities.report_types,
     848 + ),
     849 + },
     850 + });
     851 + });
     852 + break;
     853 + case 'channel_types':
     854 + fetchQuery(attributesSearchQuery, {
     855 + attributeName: 'channel_types',
     856 + search: event.target.value !== 0 ? event.target.value : '',
     857 + first: 10,
     858 + })
     859 + .toPromise()
     860 + .then((data) => {
     861 + const channelTypesEntities = R.pipe(
     862 + R.pathOr([], ['runtimeAttributes', 'edges']),
     863 + R.map((n) => ({
     864 + label: t(n.node.value),
     865 + value: n.node.value,
     866 + type: 'attribute',
     867 + })),
     868 + )(data);
     869 + this.setState({
     870 + entities: {
     871 + ...this.state.entities,
     872 + channel_types: R.union(
     873 + channelTypesEntities,
     874 + this.state.entities.channel_types,
    847 875   ),
    848 876   },
    849 877   });
    skipped 915 lines
  • ■ ■ ■ ■ ■ ■
    opencti-platform/opencti-front/src/utils/Localization.js
    skipped 1465 lines
    1466 1466   filter_containedBy: 'Contenedor',
    1467 1467   filter_x_opencti_workflow_id: 'Estado',
    1468 1468   filter_report_types: 'Tipo de informe',
     1469 + filter_channel_types: 'Tipo de canal',
    1469 1470   filter_confidence_gt: 'Confianza superior a',
    1470 1471   filter_published_start_date: 'Publicado después de',
    1471 1472   filter_published_end_date: 'Publicado antes de',
    skipped 1502 lines
    2974 2975   filter_containedBy: 'Conteneur',
    2975 2976   filter_x_opencti_workflow_id: 'Statut',
    2976 2977   filter_report_types: 'Type de rapport',
     2978 + filter_channel_types: 'Type de canal',
    2977 2979   filter_confidence_gt: 'Confiance supérieure à',
    2978 2980   filter_published_start_date: 'Publié après',
    2979 2981   filter_published_end_date: 'Publié avant',
    skipped 1398 lines
    4378 4380   filter_containedBy: '包含',
    4379 4381   filter_x_opencti_workflow_id: '状态',
    4380 4382   filter_report_types: '报告类型',
     4383 + filter_channel_types: '渠道类型',
    4381 4384   filter_confidence_gt: '置信度高于',
    4382 4385   filter_published_start_date: '发布开始日期',
    4383 4386   filter_published_end_date: '发布结束日期',
    skipped 294 lines
    4678 4681   filter_confidence_gt: 'Confidence greater than',
    4679 4682   filter_x_opencti_workflow_id: 'Status',
    4680 4683   filter_report_types: 'Report type',
     4684 + filter_channel_types: 'Channel type',
    4681 4685   filter_published_start_date: 'Published after',
    4682 4686   filter_published_end_date: 'Published before',
    4683 4687   filter_created_start_date: 'Created after',
    skipped 58 lines
Please wait...
Page is in error, reload to recover