JSONThreatProtection - ArrayElementCount max limit - Best Practice

What are the best practices around having limit on array elements in a Json request payload?

Is it okay to set bigger arrray element count and how would it impact the overall performance?

Example:

 

<JSONThreatProtection name="json-threat-protection" enabled="true" continueOnError="false" async="false">
    <DisplayName>JSON Threat Protection</DisplayName>
    <Properties/>
    <ArrayElementCount>500</ArrayElementCount>
    <ContainerDepth>20</ContainerDepth>
    <ObjectEntryCount>-1</ObjectEntryCount>
    <ObjectEntryNameLength>75</ObjectEntryNameLength>
    <Source>request</Source>
    <StringValueLength>500</StringValueLength>
</JSONThreatProtection>

 

 

 

 

0 0 154
0 REPLIES 0