The request
firstFound:2026-12-01 matches findings a check first reported that morning; use today’s date in the tenant’s time zone. state:open leaves out any that were already fixed. Add audit:month-close or priority:P0,P1 to narrow it. See List open findings.
Each node’s next is a Darpan CLI command, such as darpan findings show F-20761, that prints the whole finding. Put it in the message so anyone with the CLI can paste it.
Post one message
Slack and Google Chat incoming webhooks both take a JSON body with atext field:
A complete script
Run it after Wait for the morning audit exits0. It reads every page, skips ids it has already posted, and records each id as soon as its message is sent.
- Dedupe by
id. A finding keeps itsidfrom the morning it is found until it is fixed. The script writes each id after its message is sent, so a run that stops halfway picks up where it left off. - A busy morning. Dozens of messages bury a room. To post one line instead, read
auditReport { summary { newToday } }and post the count with a link to the audit in Darpan. - Only some findings. Add
priority:P0,P1to the query to post the urgent ones, and leave the rest to Sync findings every day.