-
Notifications
You must be signed in to change notification settings - Fork 19
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
[qualifier] DSS0210,A2-7-2,7 validate authentication for OIR CRUD+search endpoints #546
Conversation
fc6b021
to
3164586
Compare
d335fb6
to
d1d47b3
Compare
If a PR is not ready for review (because, for instance, it depends on another PR that has not yet been merged), let's mark it as draft since it is not yet ready for review. |
a2dbc13
to
adc4535
Compare
299262e
to
23bcc8f
Compare
monitoring/uss_qualifier/scenarios/astm/utm/dss/test_step_fragments.py
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/test_step_fragments.py
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/authentication_validation.py
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/authentication_validation.py
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/authentication_validation.py
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py
Show resolved
Hide resolved
e0f8777
to
841fd38
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First batch of updates. (Covers everything except for two things that require a rebase on top of #535, I'll try to have this done by tomorrow)
with self._scenario.check( | ||
"Create operational intent reference with missing scope", self._pid | ||
) as check: | ||
if no_scope_q.status_code != 401: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our DSS currently returns a 401 here, which stands for Unauthorized
which is not false if a scope is missing. (403 is Forbidden
and would not be wrong either)
I'll fix the comment below
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/authentication_validation.py
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py
Show resolved
Hide resolved
eb86908
to
e539259
Compare
@mickmis I integrated the latest OIR fragments (and even split the |
762cead
to
6266987
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - please fix the remaining 403 though before merging
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/create_format.md
Outdated
Show resolved
Hide resolved
6266987
to
a5c4b72
Compare
a5c4b72
to
f1334ac
Compare
Extend the authentication checking scenario to include the OIR endpoint.