Hello Muleys, Here's another interesting article on how to restrict additional queryParams and headers that are sent other than those defined in RAML. We all do the test if the required parameters are working fine or not but we forget to test if unnecessary parameters sent along with required parameters. What happens if unwanted parameters are sent? There are chances that attackers might send some thousands of queryParams and Headers with large content. In that case, your application will crash. So what to do? Here's the solution: I have designed a basic RAML with the below resource : When you download the RAML and generate flows, There's an option to restrict additional parameters or headers in APIkit Router Module configuration : By default the configuration is disabled. You have to enable the strict validation config as below: Now your application will not be allowed to pass additional fields: Removing unnecessary fields will give a successful response: Check out this video for the live demo:
We use CIDR ranges for security-related things. Like to secure the traffic in terms of IP addresses. Usually, it helps us in defining the IP address range.
This article shows you how simple it is to deploy a MuleSoft Application on Cloudhub with the help of Jenkins. This process is something we call a CI/CD process.
This article is not only for beginners but also for many of them who are still confused about what is map and mapObject and when do we need to use them.
This article helps you to Migrate (not entirely though) your Mule 3 Application to Mule 4. Though it doesn't work for the whole application, it is quick!
Comments
Apr 05, 2021 · Sravan Lingam
hi Holton, That's just an example of notation. Not a conversion :)