Skip to content
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

How to fuzz only methods that are implemented? #124

Closed
krishna-aw opened this issue May 15, 2024 · 1 comment
Closed

How to fuzz only methods that are implemented? #124

krishna-aw opened this issue May 15, 2024 · 1 comment

Comments

@krishna-aw
Copy link

How do I configure cats so that it calls the URLs with only the REST methods that are implemented? For example, I have a URL /api/v1/organizations/{orgID}/users where I implemented only the POST method for this. How do I restrict CATS to only fuzz with POST method and not other methods like GET, PUT, etc.? How do I customize the methods for each URL separately?

@en-milie
Copy link
Contributor

Hi @krishna-aw. CATS is very customizable. You can see the full arguments by doing a cats --help. In your case, you can restrict CATS to run only for the given path and only for POST using:

cats -c api.yml -s http://yourservice --path "/api/v1/organizations/{orgID}/users" --httpMethod POST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants