Skip to content

Commit

Permalink
New Insight - QR code in attachments (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscode authored Sep 29, 2023
1 parent 9062c54 commit 8d50661
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions insights/attachments/links_qr_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "QR code in attachments"
type: "query"
source: |
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"

0 comments on commit 8d50661

Please sign in to comment.