How can I find out which component is responsible for blocking a request?

Each log generated by our plugin includes the component active in the blocked request:

For instance, if we want to add an exception based on the previous screenshot, we should add com_k2 to XSS filter.