Forum Discussion

vimaldiaz_23323's avatar
vimaldiaz_23323
Icon for Nimbostratus rankNimbostratus
Mar 02, 2018

LTM policy i Rule not working in version 12.1.2

Can someone help me to resolve my issue in i Rule below:

 

ltm -policy Add_HTTP_Security_Headers { requires { http } rules { "Insert X-XSS-Protection header" { actions { 0 { http-header response insert name X-XSS-Protection value "1;mode=block" } 1 { log response write facility local0 message "X-XSS-Protection header inserted" priority info } } conditions { 0 { http-header response name X-XSS-Protection not values { "1;mode=block" "1; mode=block" } } } } } status published strategy all-match }