Forum Discussion

Aaditya_Khati's avatar
Aaditya_Khati
Icon for Nimbostratus rankNimbostratus
Mar 07, 2020

XML CONTENT BASED ROUTING

Hi Community,

 

I have a requirement where my company hosts a third party API and it is published to our intranet. The API should only be accessible for our admin, users and our partners who connect through the VPN using an IP Pool. The thing i am trying to achieve is, if UID '10' Sends a query with MyQuery1 then his query should pass but if he sends MyQuery2 then he should get a reset or redirected. Similar for UID 20, UID N. My organization currently has AWAF license.

 

I want to know can this be achieved through AWAF licesne with basic LTM ? If no, suggest me how i can achieve this

 

<?xml version="1.0" encoding="UTF-8"?>

<FIXML xsi:schemaLocation="https://subdomain.redacted.com/redactedpath RedacTed.xsd" xmlns="https://subdomain.redacted.com/redactedpath" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Header>

<RequestHeader>

<MessageKey>

<UID>10</UID>

<ServiceRequestId>MyQuery1</ServiceRequestId>

<ServiceRequestVersion>2</ServiceRequestVersion>

<ChannelId>IDTWO</ChannelId>

<LanguageId></LanguageId>

</MessageKey>

.

.

.

 

Regards,

Aaditya

1 Reply

  • Its not possible via iRule per my knowledge but if you can try alternate method[HTTP:payload].

     

    Send the <UID>10</UID> data/parameter under http-payload and take decision based on that. Hope it will help you.