go-ftw icon indicating copy to clipboard operation
go-ftw copied to clipboard

Ability to define custom request headers for logmarker requests

Open 4lisalehi opened this issue 2 years ago • 2 comments

Hi,

Currently, such behavior is implemented for the actual tests using the config field testoverride.input.headers of type map. Per my tests, these custom request headers are not used in the logmarker requests.

Considering the same configurability for the logmarker requests and extending its config API with this feature, makes it more flexible and avoids potential unnecessary logic customization or configuration on the custom WAF servers side.

If I'm missing any point here, I'd appreciate your clarifying it.

Thanks.

4lisalehi avatar Jul 29 '23 22:07 4lisalehi

Thanks @4lisalehi. I understand what you need. We'll need to add a new option for that.

theseion avatar Aug 02 '23 18:08 theseion

@4lisalehi The name of the log marker header can be set through the LogMarkerHeaderName field in the configuration file. Is that good enough for you? Otherwise, I might not have understood what you asked.

theseion avatar Jun 11 '24 17:06 theseion