diff --git a/insights/attachments/link_qr_code_attachment.yml b/insights/attachments/link_qr_code_attachment.yml new file mode 100644 index 00000000000..d80759db8ac --- /dev/null +++ b/insights/attachments/link_qr_code_attachment.yml @@ -0,0 +1,7 @@ +name: "QR Code Link in attachment" +type: "query" +source: | + any(attachments, + (.file_type in $file_types_images or .file_type == "pdf") + and map(file.explode(.), + .scan.qr.url.url)