Hello,
I'm on Apigee X.
I'm trying to create a proxy to send logs from Apigee to external solution.
I have created a specific proxy which send logs and I would like to authorize only call from other proxies.
In my first proxy I add a ServiceCallout with this target :
<LocalTargetConnection>
<APIProxy>logs-v1</APIProxy>
<ProxyEndpoint>default</ProxyEndpoint>
</LocalTargetConnection>
In the specific proxy I add a first policy which is AccessControl :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AccessControl async="false" continueOnError="false" enabled="true" name="ac.ip-whitelist">
<DisplayName>ac.ip-whitelist</DisplayName>
<Properties/>
<IPRules noRuleMatchAction="ALLOW">
<MatchRule action="ALLOW">
<SourceAddress mask="32">127.0.0.1</SourceAddress>
</MatchRule>
<MatchRule action="DENY">
<SourceAddress mask="1">0.0.0.0</SourceAddress>
</MatchRule>
</IPRules>
</AccessControl>
On Apigee Edge this is OK but on Apigee X I received a 403 error from the specific proxy ...
I don't understand why it is OK on Edge and not on X (the 2 proxies are deployed on the same Org and Env).
Do you have some ideas ?
Regards
Solved! Go to Solution.
Hello,
I have a solution after opened a case in Apigee Support :
- Add AccessControl Policy on your flow :
Hello,
I have a solution after opened a case in Apigee Support :
- Add AccessControl Policy on your flow :