-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⛏️ Write test for parameter pollution #629
Comments
Could you please assign me this issue? |
Can I work on this issue? |
Could you review my pr? @ankush-jain-akto https://github.com/akto-api-security/tests-library/pull/25 |
Hi @nandini584 . Your yaml is invalid. Also you have missed some fields in the test template. Please run the templates and only on successful run submit a PR. |
Yeah, sure I will redo it. |
Hello @ankush-jain-akto and @Ankita28g |
I've assigned it to you, @MacroAndMicro . Happy hacking! Feel free to join our Discord if you need assistance. |
💭 Introduction
Create a YAML test to check for parameter pollution in a POST request.
📚 Reading
You can find a detailed documentation of test editor rules here
Find 100+ examples of YAML tests here
🎯 Requirements
Filters - The test should run only on POST APIs that have at least 2 input arguments in the JSON
Execute - It should remove 1 entry and add the removed key-value pair at the end of a different value.
For example, eg, if original payload looks like
the attempt should look like
✅ Task summary:
Attempt
tab, if the payload changes, then task is done.🙋🏼♂️ Questions:
If you have questions, need any help, or just want to hang out, make sure to join us on our Discord server.
The text was updated successfully, but these errors were encountered: