<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Gayan Chamara on Medium]]></title>
        <description><![CDATA[Stories by Gayan Chamara on Medium]]></description>
        <link>https://medium.com/@gayanchamara?source=rss-3487f03a65ed------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*1Tw6jZKhWhfp999F32Tu3g.jpeg</url>
            <title>Stories by Gayan Chamara on Medium</title>
            <link>https://medium.com/@gayanchamara?source=rss-3487f03a65ed------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 04:19:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gayanchamara/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[New Threat Protection Feature in WSO2 API Manager 3]]></title>
            <link>https://medium.com/@gayanchamara/new-threat-protection-feature-in-wso2-api-manager-3-957bbeff7d3c?source=rss-3487f03a65ed------2</link>
            <guid isPermaLink="false">https://medium.com/p/957bbeff7d3c</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[api-management]]></category>
            <category><![CDATA[wso2]]></category>
            <dc:creator><![CDATA[Gayan Chamara]]></dc:creator>
            <pubDate>Sun, 17 Dec 2017 03:38:55 GMT</pubDate>
            <atom:updated>2017-12-17T03:38:55.730Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://docs.wso2.com/display/AM300/WSO2+API+Manager+Documentation">WSO2 API Manager</a> (APIM) is a fully open source, complete solution for creating, publishing and managing all aspects of an API and its lifecycle. Apart from being completely rewritten from scratch, APIM 3 includes many more improvements and features than the previous version of APIM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WnbggafW7qK0g8GLlwC9pA.png" /><figcaption>Overall Architecture of APIM 3 (<a href="https://docs.wso2.com/display/AM300/WSO2+API+Manager+Documentation">source</a>)</figcaption></figure><h3>Threat Protection in APIM 3</h3><p>New threat protection feature was released with WSO2 API Manager 3.0.0-m10. Threat protection feature is implemented as a APIM Gateway handler and protects APIs from various malicious attacks that may occur. The threat protection system for the API Manager Gateway is intended to handle HTTP payload based attacks. As of now, the following types of threats are handled:</p><h4>XML Payload Based Attacks</h4><ul><li>XML Bombs</li><li>Coercive Parsing</li><li>XML External Entity Attacks</li><li>Schema Poisoning</li></ul><h4>JSON Payload Based Attacks</h4><ul><li>Coercive Parsing</li><li>Buffer overflows</li></ul><h3>How it Works</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*3BlKg1z_KW1llxz3dg62-w.png" /><figcaption>Simplified Architecture of APIM Gateway</figcaption></figure><p>Threat protection feature was implemented as a Gateway handler in APIM. It intercepts each API call and analyses each request for potential malicious payloads. If a threat is detected threat protection handler terminates the API call with HTTP 400 error response and stops the request from hitting the back-end services. So unprotected back-ends can have improved security by using WSO2 API Manager.</p><h3>Configuring Threat Protection Feature</h3><p>Threat protection system can be configured to enforce various limits on XML and JSON payloads. List of configurable limits is illustrated below,</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8c42325912a6d21d9d4f8b14628ff407/href">https://medium.com/media/8c42325912a6d21d9d4f8b14628ff407/href</a></iframe><p>These limits are stored as Threat protection policies in APIM and once an administrator defined a policy, API developers can select a policy from a list of available policies. After an API developer selects a policy, selected policy will be enforced on all payloads hitting that particular API. In addition to that an APIM administrator can define a global policy which will be enforced on all API calls regardless of whether the API developer selected a policy for particular API.</p><p>For detailed instructions on how to configure the feature, please visit <a href="https://docs.wso2.com/display/AM300/Configuring+Threat+Protection+for+the+Gateway">Configuring Threat Protection for the Gateway</a></p><h3>Test the New Feature</h3><p>WSO2 APIM 3 Milestone 10 released last week and it is available for download now. Please visit following github release page for downloads. <a href="https://github.com/wso2/product-apim/releases/tag/v3.0.0-m10">WSO2 APIM3-M10</a></p><h3>Wrapping Up</h3><p>As one of the most requested features by customers, new threat protection feature in APIM 3 provides a protection against XML and JSON payload based attacks and in the near future support for SQL injection detection will be added as well.</p><h3>References</h3><ol><li><a href="https://docs.wso2.com/display/AM300/">WSO2 APIM 3 Documentation</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2N6raccYUJZdLydUA9phsQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=957bbeff7d3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>