diff --git a/insights/attachments/links_qr_code.yml b/insights/attachments/links_qr_code.yml index b7be81bb5a4..80bef669f5b 100644 --- a/insights/attachments/links_qr_code.yml +++ b/insights/attachments/links_qr_code.yml @@ -1,12 +1,7 @@ name: "QR code embedded Links in attachments" type: "query" source: | - map(filter(attachments, .file_type ...), - map(filter(file.explode(.), - .scan.qr.type == "url" - ), - .scan.qr.url.url - ) + map(filter(attachments, .file_type in $file_types_images), + map(filter(file.explode(.), .scan.qr.type == "url"), .scan.qr.url.url) ) - severity: "medium"