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

API should perform data validation on requests #31

Open
tylerauerbeck opened this issue Jun 27, 2023 · 0 comments
Open

API should perform data validation on requests #31

tylerauerbeck opened this issue Jun 27, 2023 · 0 comments

Comments

@tylerauerbeck
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently the API will take about any input that you give it and consider it valid. A prime example of this is when creating an IP Block or IP Address, you can set the Prefix or IP Address to something like this-definitely-should-not-be-valid and it will still successfully create these entries

Describe the solution you'd like
We should have some validation that the input we're receiving at least passes the sniff test on being appropriate for given fields (i.e. an IP looks like an IP, etc.)

Describe alternatives you've considered
N/A

Additional context
N/A

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

1 participant