Skip to content
Drainproof
Demo mode. These reports are fixtures generated by running the Drainproof CLI against the bundled example policies. They are not results from your project.

← Scenario library

Transaction count above the daily maximum is blocked

daily-count-limit

high

Description

Twenty small transactions have already been made today; the 21st must be blocked.

Remediation: Enforce max_transaction_count_per_day across all assets.

transaction-limits · required · ../../packages/cli/templates/scenarios/transaction-limits/daily-count-limit.yaml

Outcomes across stored runs

  • Pass 3
  • Fail 1
  • Error 0
  • Skipped 0

Execution history

Most recent steps

  1. #1proposefailedexpected BLOCK, observed ALLOW
    Expected
    {
      "decision": "BLOCK",
      "reason_codes": [
        "DAILY_COUNT_LIMIT_EXCEEDED"
      ],
      "reason_codes_exact": false,
      "absent_reason_codes": []
    }
    Observed
    {
      "decision": "ALLOW"
    }