Views:

Manually invoke the collector to scan a specific time window, for example to recover from a missed scheduled run.

Procedure

  1. Run the following commands, replacing the timestamp with a time inside your target window:
    LAMBDA_FN=$(aws cloudformation describe-stack-resource \
      --stack-name claude-compliance-collector \
      --logical-resource-id ListActivitiesFunction \
      --query 'StackResourceDetail.PhysicalResourceId' \
      --output text)
    
    aws lambda invoke \
      --function-name $LAMBDA_FN \
      --cli-binary-format raw-in-base64-out \
      --payload '{"schedule_time":"2026-05-28T04:00:00Z","schedule_timezone":"UTC"}' \
      /dev/stdout
    Important
    Important
    If the specified time window overlaps with a previous or upcoming scheduled run, chats in the overlapping period may be scanned twice.