From fbd870a47d812f9c25b8ac4f9a99adf12060fadb Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Fri, 29 Sep 2023 10:08:34 -0400 Subject: [PATCH] Adding pdf --- insights/attachments/links_qr_code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insights/attachments/links_qr_code.yml b/insights/attachments/links_qr_code.yml index 644e0bb6a80..f8855b6a500 100644 --- a/insights/attachments/links_qr_code.yml +++ b/insights/attachments/links_qr_code.yml @@ -1,7 +1,7 @@ name: "QR code embedded link in attachments" type: "query" source: | - map(filter(attachments, .file_type in $file_types_images), + map(filter(attachments, .file_type in $file_types_images or .file_type == "pdf"), map(filter(file.explode(.), .scan.qr.type == "url"), .scan.qr.url.url) ) severity: "medium"