Skip to content

Commit

Permalink
[backend] deepscan (#8976)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archidoit committed Nov 18, 2024
1 parent 49356b3 commit b62cae3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const findPlaybooksForEntity = async (context: AuthContext, user: AuthUse
const jsonFilters = filters ? JSON.parse(filters) : null;
const newFilters = {
mode: FilterMode.And,
filters: findFiltersFromKey(jsonFilters.filters ?? [], 'entity_type'),
filters: findFiltersFromKey(jsonFilters?.filters ?? [], 'entity_type'),
filterGroups: []
};
const isMatch = await isStixMatchFilterGroup(context, SYSTEM_USER, stixEntity, newFilters);
Expand Down

0 comments on commit b62cae3

Please sign in to comment.