Forum Discussion

raphaelmattos_2's avatar
raphaelmattos_2
Icon for Nimbostratus rankNimbostratus
May 18, 2016

iControl for Java - Web Applications, URLs and Parameters

Hello,

 

I have a lot of web applications that are protected by the WAF (ASM module). I would like to generate a report using the iControl API (iControl.jar version 11.1.0) to retrieve information about the web applications, URLs, registered parameters for each URL and block rules associated with these parameters (size allowed, type of accepted characters or blocked).

 

Make this work using the graphical interface would take a long time due to large volume of information (web applications, URLs and monitored request parameters).

 

I found a way to list the web applications (sample code):

 

iControl.Interfaces interfaces = new iControl.Interfaces();
ASMWebApplicationBindingStub wa = interfaces.getASMWebApplication();
String[] wa_list = wa.get_list();

I have not found a way to list the URLs, parameters and rules for each parameter.

 

Does anyone know if the API supports what I need to do?

 

Any help is welcome ... sample code, link to specific documentation or any direction.

 

Thank you so much.

 

3 Replies

  • If you can switch to iControlREST (depends with appliance version) I think you will find a best way to obtain all these informations

     

    • raphaelmattos_2's avatar
      raphaelmattos_2
      Icon for Nimbostratus rankNimbostratus
      Thank you Rodolphe AUBINEAU, I will search in iControl/Rest documentation about this information.
  • You can't do this in iControl SOAP but you can do it with iControl REST and the ASM support improves in later versions.