Comments (2)
Validated in live with @Lhorus6
from opencti.
Looking into it, I'm not sure if this was an intended behavior or an oversight @richard-julien.
Code is in liveStreamHandler
of sseMiddleware.js
: we do not check for the "Take deletions into account" config flag when receiving an update event making the entity no longer visible (on the case described in the issue, when the label is removed for exemple)
if (type === EVENT_TYPE_UPDATE) {
const { newDocument: previous } = jsonpatch.applyPatch(structuredClone(stix), evenContext.reverse_patch);
const isPreviouslyVisible = await isStixMatchFilterGroup(context, user, previous, streamFilters);
if (isPreviouslyVisible && !isCurrentlyVisible) { // No longer visible
client.sendEvent(eventId, EVENT_TYPE_DELETE, eventData);
cache.set(stix.id, 'hit');
}
from opencti.
Related Issues (20)
- Sightings entity type column doesn't correspond to entity type filter HOT 2
- [technical] Make user capabilities check consistent in the backend
- Support package is broken due to permissions issue in the container
- Lifecycle of an indicator is not updated when changing the score from a report "Entities" page HOT 2
- Creating a relationship with a set label doesn't work
- No Open localhost:8080 HOT 3
- Error in use AI for containers: creating a file when choose "main content" (attribute content)
- Filters on data sharing streams are not honoured HOT 1
- Error on simulation with AI (email) HOT 4
- CVE with CPE
- [technical] update react-pdf to v9 for security issue
- Add keyPrefix for sentinel mode
- Overall MITRE Attack Map
- Expansion broken in investigations HOT 1
- Save filters for various lists (e.g. report list)
- When having 2 relations with the same type between the 2 entities, deleting the first one leads to purge _rel
- Disable SSL Check for Elasticsearch
- Cannot bulk delete External References when using a filter
- Missing activ users count metric in telemetry file exports
- Create propagation rule for attack patterns to targeted organizations and sectors
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.