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

Security audit doesn't seem to understand 4XX and 5XX reponses #217

Open
jessdwitch opened this issue Apr 17, 2023 · 1 comment
Open

Security audit doesn't seem to understand 4XX and 5XX reponses #217

jessdwitch opened this issue Apr 17, 2023 · 1 comment
Labels

Comments

@jessdwitch
Copy link

When I set responses with 4XX as the status, I still get back errors like "406 response should be defined for all GET, POST, PUT, PATCH, and DELETE operations" or "415 response should be defined for operations receiving a body (POST, PUT, PATCH)". It's weird because in the help text it suggest using default, which is less specific, so I don't think it's an issue of not including that specific code.

@ak1394 ak1394 added the audit label Apr 17, 2023
@ak1394
Copy link
Collaborator

ak1394 commented Apr 17, 2023

Thanks a lot for reporting the issue. I'll pass it onto a team working on Security Audit to get a clarification.

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

No branches or pull requests

2 participants