Heka iprepd Module

Can be utilized by an analysis module to generate messages for the iprepd output module. The send function expects a table containing violations to be forwarded to the violations endpoint of the iprepd service (e.g., /violations/).

1. Functions

1.1. send

Send a violation message to be processed by the iprepd output plugin.

The violations argument should be an array containing tables with a violation and ip value set.

    { ip = "", violation = "fxa:request.check.block.accountStatusCheck" },
    { ip = "", violation = "fxa:request.check.block.accountStatusCheck" }


  • violations - A table containing violation entries


  • sent (boolean) - true if sent, false if invalid argument

source code: iprepd.lua

results matching ""

    No results matching ""