Open ayushaga14 opened 1 year ago
Hi @Ankita28g , I am interested in this issue, may I get assigned?
Hey @Anikita28g, I can solve this issue and would love to work on it. Worked with Vue before and using SpringBoot now so have the necessary requisites.
π Introduction Akto supports addition of new tests via templates. Users can go to Testing Library section in Akto dashboard, and click on Add Test button for adding new test. Currently user has to specify github url for the nuclei template. A sample template for Path Traversal test - https://github.com/akto-api-security/tests-library/blob/master/BOLA/path_traversal/path_traversal_PayloadsAllTheThings.yaml This task involves adding support for adding tests via file upload, where user would now have an option to either specify a github url, or specify a template file. Note that for tests added using file upload, we should not show "Contribute In Github" Subtext
π― Requirements Vue.js Java
β Task summary:
βπ» Hints Check addCustomTest method inside MarketPlaceAction.java. It currently saves Github url and other details in mongo collection. Here before saving you would have to add a validator method, which for now will just validate whether necessary fields and details are present in the template file. For modifications in the testing part, you can check runNucleiTests, which has one of the input param's (FuzzingTest) which contains template url. ππΌββοΈ Questions: If you have questions, need any help, or just want to hang out, make sure to join us on our Discord server.