This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<AssignMessage name="create1"> | |
<AssignTo type="[request]/response" createNew="[true]/false">sc.request</AssignTo> | |
<IgnoreUnresolvedVariables>true/[false]</IgnoreUnresolvedVariables> | |
// allow any order | |
<Copy source="request"> // if no children do copy all | |
<Headers> | |
<Header name="h1"/> | |
<Header name="h2"/> | |
</Headers> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<ProxyEndpoint name="default"> | |
<Description>Default Proxy to create flows on an API</Description> | |
<FaultRules/> | |
<Flows> | |
<Flow name="forecast weather"> | |
<Description>Weather forecast endpoint</Description> | |
<Request/> | |
<Response/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<GetOAuthV1Info enabled="true" continueOnError="false" async="false" name="Policy-1347578787672"> | |
<DisplayName>Validate API Key Policy</DisplayName> | |
<AppKey ref="request.queryparam.apikey"></AppKey> | |
</GetOAuthV1Info> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<AccessEntity enabled="true" continueOnError="false" async="false" name="name_of_the_policy"> | |
<FaultRules/> | |
<Properties/> | |
<EntityIdentifier ref="reference_to_entity_identified"/> | |
<EntityType value="type_of_entity"/> | |
</AccessEntity> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Quota name="QuotaPolicy"> | |
<Interval>1</Interval> | |
<TimeUnit>hour</TimeUnit> | |
<Distributed>true</Distributed> | |
<Allow count="99" /> | |
</Quota> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ResetQuota name="resetQuota"> | |
<Quota name="quotapolicy"> | |
<Identifier name="_default" allow="200"> | |
<Allow>200</Allow> | |
<Class ref="request.header.classIdentifier"/> | |
<Allow>200</Allow> | |
</Class> | |
</Identifier> | |
</Quota> | |
</ResetQuota> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ResetQuota name="resetQuota"> | |
<Quota name="quotapolicy"> | |
<Identifier name="_default"> | |
<Class ref="request.header.classIdentifier"> | |
<Allow>200</Allow> | |
</Identifier> | |
</Identifier> | |
</Quota> | |
</ResetQuota> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ResetQuota name="resetQuota"> | |
<Quota name="request.header.quotapolicy"> | |
<Identifier name="_default"> | |
<Allow>100</Allow> | |
</Identifier> | |
</Quota> | |
</ResetQuota> | |
<ResetQuota name="resetQuota"> | |
<Quota name="request.header.quotapolicy"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ResetQuota name="resetQuota"> | |
<Quota ref="request.header.quotapolicy"> | |
<Identifier ref="request.header.identifier"> | |
<Allow>100</Allow> | |
</Identifier> | |
</Quota> | |
</ResetQuota> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<JSONThreatProtection name="mypolicy"> | |
<Source>request</Source> | |
<ContainerDepth>10</ContainerDepth> | |
<ObjectEntryCount>15</ObjectEntryCount> | |
<ArrayElementCount>20</ArrayElementCount> | |
<ObjectEntryNameLength>50</ObjectEntryNameLength> | |
<StringValueLength>100</StringValueLength> | |
</JSONThreatProtection> |
NewerOlder