Forum Discussion

Fozail_183609's avatar
Fozail_183609
Icon for Nimbostratus rankNimbostratus
Feb 18, 2019

How to rename "cspm" cookie name

Dear Experts,

 

I am looking for some assistance to change the name of cookie which is being injected by F5 (AVR) to collect page load time:

 

Below is the default cookie name, F5 sends in the response.

 

Set-Cookie: f5_cspm=1234;

 

I would like to modify the name of the cookie and will encrypt as well for security reason.

 

I did some research and found that it is possible to rename it but could not find an article regarding how to rename it.

 

https://cdn.f5.com/product/bugtracker/ID608242.html

 

Any suggestions will be highly appreciated.

 

1 Reply

  • Running a 'tmsh list sys db ' command for avr.cspmcachecookiename gives the following output:

    [root@bigip81:Active:Standalone] config  tmsh list sys db avr.cspmcachecookiename
    sys db avr.cspmcachecookiename {
        value "f5_cspm"
    }
    

    From that, the command to change the cookie name would be 'tmsh modify sys db avr.cspmcachecookiename value "your_preferred_cookie_name".