diff --git a/opencti-platform/opencti-graphql/src/modules/internal/document/document-domain.ts b/opencti-platform/opencti-graphql/src/modules/internal/document/document-domain.ts index 5028f89be1e8..1b7113ab36be 100644 --- a/opencti-platform/opencti-graphql/src/modules/internal/document/document-domain.ts +++ b/opencti-platform/opencti-graphql/src/modules/internal/document/document-domain.ts @@ -151,7 +151,7 @@ export const checkFileAccess = async (context: AuthContext, user: AuthUser, scop // In progress virtual files from export export const paginatedForPathWithEnrichment = async (context: AuthContext, user: AuthUser, path: string, entity_id: string, opts?: FilesOptions) => { const findOpts: EntityOptions = { - filters: buildFileFilters([path], { ...opts, entity_id }), + filters: buildFileFilters([path], opts), noFiltersChecking: true // No associated model }; const orderOptions: any = {};