Skip to content

Bypass authentication for metric endpoints - #862

Merged
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
woop:fix-authentication-bugs
Jul 7, 2020
Merged

Bypass authentication for metric endpoints#862
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
woop:fix-authentication-bugs

Conversation

@woop

@woop woop commented Jul 6, 2020

Copy link
Copy Markdown
Member

What this PR does / why we need it:

The /metrics and /actuator endpoints require authentication. Most users do not want auth on these utility endpoints, as they will typically not be exposed. This bug fix ensures that security is not applied to these two HTTP endpoints.

Furthermore, the current Auth test suite needs to be extended to actually catch these regressions. It can be tracked here #860

Does this PR introduce a user-facing change?:

NONE

@woop
woop force-pushed the fix-authentication-bugs branch from 9e32cb4 to 0dee96c Compare July 7, 2020 01:23
@woop woop changed the title Fix authentication bugs with WebSecurity and AuthReaders Bypass Auth for metric endpoints Jul 7, 2020
@woop woop changed the title Bypass Auth for metric endpoints Bypass authentication for metric endpoints Jul 7, 2020
@woop

woop commented Jul 7, 2020

Copy link
Copy Markdown
Member Author

/test test-end-to-end-auth

@feast-ci-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pyalex, woop

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pyalex

pyalex commented Jul 7, 2020

Copy link
Copy Markdown
Collaborator

/lgtm

@woop

woop commented Jul 7, 2020

Copy link
Copy Markdown
Member Author

/test test-end-to-end-batch

@feast-ci-bot
feast-ci-bot merged commit beed7e5 into feast-dev:master Jul 7, 2020
@feast-ci-bot

Copy link
Copy Markdown
Collaborator

@woop: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
test-end-to-end-auth 0dee96c link /test test-end-to-end-auth

Full PR test history

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants