owasp-modsecurity / owasp-modsecurity/ModSecurity
feature request: show action payload in debug log, like ctl:xxxx
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.8k
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 1
Description
For ctl, there is only a name without payload.
Just change
"action: " + *a->m_name.get());
to
"action: " + *a->m_name.get() + (a->m_parser_payload.empty() ? "" : ":" + a->m_parser_payload));
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the debug-log code containing the shown "action: " expression and inspect how m_name and m_parser_payload are used. Update the logged action representation so a nonempty payload appears after the action name, then run the relevant logging or parser tests if available and verify payload-free actions retain their current format.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- observability, security
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100