Forum Discussion

Rodolphe_AUBINE's avatar
Rodolphe_AUBINE
Icon for Nimbostratus rankNimbostratus
May 06, 2010

How to rename an ASM policy or other tricks

Hi,

 

 

I can't find a way to rename a policy after its importation via import method or during import method, and then re-apply it !

 

- Is there a way to do it by IControl assembly / iControl.jar ?

 

- Is there a way to do it by IControl SOAP web serviecs ?

 

 

Other problem, how to set mode via IControl (Blocked or transparent) ? Is it possible ?

 

 

Last but not least, how to init a new ASM policy (without doing wizard manuel on GUI) with IControl...more than setting Language ?

 

 

Thanks in advance,

 

Rodolphe AUBINEAU. (fr)

 

 

3 Replies

  • I don't think it is possible to rename a policy using iControl. If you are running v 10.x.x of BIG-IP then setting blocking flag method is available, check out the documentation here:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iControl/ASM__Policy__set_disable_blocking_flag.html

     

     

     

    Sam
  • Posted By samstep on 05/07/2010 01:30 AM

     

    I don't think it is possible to rename a policy using iControl. Setting blocking flag method is available, check out the documentation here:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iControl/ASM__Policy__set_disable_blocking_flag.html

     

     

     

    Sam

     

     

  • To add to Sam's comments:

     

     

    It's not possible to rename a web application in ASM via the GUI, so I can't see how it could be possible to do via iControl. You could create a new HTTP class with ASM enabled and then copy the policy from the old web application to the new one. This assumes that both web apps have the same language encoding.

     

     

    Aaron