Dear Power Automate Community
I'm trying to build a flow that pulls data from a json endpoint, converts that data to an array containing objects and then filter that by another array.
So currently I do have the following to arrays:
Items:
[
{
"CVE": "CVE-2022-23943",
"Description": "Out-of-bounds Write vulnerability in mod_sed of Apache HTTP Server allows an attacker to overwrite heap memory with possibly attacker provided data. This issue affects Apache HTTP Server 2.4 version 2.4.52 and prior versions.",
"Score": 9.8,
"Severity": "CRITICAL"
},
{
"CVE": "CVE-2022-22721",
"Description": "If LimitXMLRequestBody is set to allow request bodies larger than 350MB (defaults to 1M) on 32 bit systems an integer overflow happens which later causes out of bounds writes. This issue affects Apache HTTP Server 2.4.52 and earlier.",
"Score": 9.8,
"Severity": "CRITICAL"
},
....
]
Keywords:
[
"apache",
"veeam"
]
What I'd like to do is only keep the items in the "Items" array, that contain one or more of the keywords in the "Keywords" array.
I hoped this would be possible with the array filter functionality like this:

Where Description is item()?['Description']
This does not work though an throws the following error:
The execution of template action 'Filter_array' failed: The evaluation of 'query' action 'where' expression '@contains(item()?['Description'], variables('keywords'))' failed: 'The template language function 'contains' expects parameters of matching types: a dictionary and a key (string), an array and a value (object), or a string and a substring. The provided types 'String' and 'Array' are incompatible. Please see https://aka.ms/logicexpressions#contains for usage details.'.
So it seems its not possible to filter an array by another array.
Is there a possibility to achieve this functionality?
Best regards