You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "rzo1 (via GitHub)" <gi...@apache.org> on 2026/04/13 18:01:17 UTC

[I] Profiling/debugging REST endpoints should use POST instead of GET (storm)

rzo1 opened a new issue, #8515:
URL: https://github.com/apache/storm/issues/8515

     Six profiling and debugging endpoints in StormApiResource.java are declared with @GET even though they perform      
     state-changing operations on workers:
                                                                                                                         
     - GET /api/v1/topology/{id}/profiling/start/{host-port}/{timeout}                                                   
     - GET /api/v1/topology/{id}/profiling/stop/{host-port}
     - GET /api/v1/topology/{id}/profiling/dumpprofile/{host-port}                                                       
     - GET /api/v1/topology/{id}/profiling/dumpjstack/{host-port}
     - GET /api/v1/topology/{id}/profiling/dumpheap/{host-port}                                                          
     - GET /api/v1/topology/{id}/profiling/restartworker/{host-port}
                                                                                                                         
     Per RFC 7231, GET is defined as safe and idempotent and must not be used for state-changing operations. Using GET   
     here violates HTTP semantics and unnecessarily broadens the CSRF attack surface in deployments that deviate from the  recommended reverse-proxy/firewall setup.                                                                          
                                            
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@storm.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Profiling/debugging REST endpoints should use POST instead of GET (storm)

Posted by "rzo1 (via GitHub)" <gi...@apache.org>.
rzo1 closed issue #8515: Profiling/debugging REST endpoints should use POST instead of GET
URL: https://github.com/apache/storm/issues/8515


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@storm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org