Skip to content

Allow restricting this to certain HTTP verbs #14

@sfudeus

Description

@sfudeus

A helpful addition to this is the ability to configure a list of HTTP verbs for each regex path which allows to configure which verbs to block for specific paths. There are use cases where only certain verbs need to be blocked.

Are you willing to take a PR implementing this?

A sample config for this might look like:

testData:
  blockentries:
  - regex:
    - "^/foo(.*)"
    methods:
    - POST
    - GET
  - regex:
    - "^/foo-blockallmethods(.*)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions