Skip to content

Add inclusion/exclusion list support for drop overrides #4

@Obsecurus

Description

@Obsecurus

Some users may wish to drop 95% of bogon networks or other certain traffic. By default the check_ip function will preclude any bogon networks from resulting in GreyNoise API lookups but these settings would enable dropping OR specifically including records as needed.

We should have support to specify an exclusion/inclusion file with something like:
GREYNOISE_INCLUDE_FILE
GREYNOISE_EXCLUDE_FILE

The format would always be CIDR:

192.168.0.1/24
192.168.100.244/32
10.0.0.0/16

Essentially this would be called at the top of check_if_drop and override that logic to INCLUDE or EXCLUDE accordingly.

https://github.com/GreyNoise-Intelligence/greynoise-fluentbit-lua/blob/main/greynoise/src/greynoise.lua#L123

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions