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

[uss_qualifier/scenarios/netrid/misbehavior] Add checks for invalid credentials (NET0210) #883

Merged

Conversation

the-glu
Copy link
Contributor

@the-glu the-glu commented Jan 14, 2025

This PR adds two steps in misbehavior scenario to ensure invalid credentials (and not only missing credentials) return authentication failures, as stated in #874

@Shastick
Copy link
Contributor

The PR looks good to me.

As a sidenote, this scenario is a little bit older and is not entirely following the convention of "one action, one step": instead of having all the checks as part of the Injection test step we should in theory have at least a separate test step for the querying part (that is, a step that is separate from the injection) and, possibly, even a step for each check.

This is not a request for changing this PR, but just a note so you don't take this scenario as a reference :)

@the-glu the-glu force-pushed the misbehaviour-incorrect-credentials branch from b498a7a to 8240b78 Compare January 15, 2025 14:55
Copy link
Member

@BenjaminPelletier BenjaminPelletier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@BenjaminPelletier BenjaminPelletier merged commit 5d6d38c into interuss:main Jan 15, 2025
20 checks passed
github-actions bot added a commit that referenced this pull request Jan 15, 2025
@the-glu the-glu deleted the misbehaviour-incorrect-credentials branch January 16, 2025 08:04
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

Successfully merging this pull request may close these issues.

3 participants