Page MenuHomePhabricator

Enable OpenSearch security plugin - Beta Logs
Open, Needs TriagePublic

Description

This task is to outline and coordinate enabling the OpenSearch Security Plugin on beta-logs.

Phase 1:
Keep the user-facing workflow the same and enable the backend baseline security requirements.

  • Provision intra-node PKI
  • Provision super admin certificate on singleton host or provision utility to request one
  • Configure security plugin anonymous login user/role/policy
  • Keep "preview" user login working via http-basic-auth
  • Enable the security plugin
  • Provision securityadmin.sh singleton apply utility and on-change automation

Phase 2:
Change the user-facing workflow to use security plugin internal authentication/authorization and remove http-basic-auth.

  • Provision "preview" user in security plugin
  • Configure policy for "preview" user - likely allow all
  • Disable http-basic-auth on apache proxy

Phase 3:
Change the user-facing workflow to use the security plugin authenticating using LDAP.

  • Retain "preview" user for legacy purposes
  • Configure roles/policies for LDAP users
  • Configure security plugin to do authentication requests against LDAP

Phase 4:
Gain experience reducing user permissions to an appropriate set.

  • Disable access to admin functionality for regular and "preview" users:
    • Stack Management
    • Sensitive verbs and endpoints
    • ILM (may need to reinstall the plugin)
  • Provision roles/policies for operators and assign permissions

Event Timeline

Change #1268682 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] initial pki config for beta-logs env

https://gerrit.wikimedia.org/r/1268682

Change #1268683 had a related patch set uploaded (by Cwhite; author: Cwhite):

[labs/private@master] add beta-logs pki key

https://gerrit.wikimedia.org/r/1268683

Change #1269509 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] beta-logs: provision ca on cluster hosts

https://gerrit.wikimedia.org/r/1269509

Change #1268683 merged by Cwhite:

[labs/private@master] add beta-logs pki key

https://gerrit.wikimedia.org/r/1268683

Change #1268682 merged by Cwhite:

[operations/puppet@production] initial pki config for beta-logs env

https://gerrit.wikimedia.org/r/1268682

Change #1270089 had a related patch set uploaded (by Cwhite; author: Cwhite):

[labs/private@master] logging: add dummy pki "secrets"

https://gerrit.wikimedia.org/r/1270089

Change #1270089 merged by Cwhite:

[labs/private@master] logging: add dummy pki "secrets"

https://gerrit.wikimedia.org/r/1270089

Change #1270586 had a related patch set uploaded (by Cwhite; author: Cwhite):

[labs/private@master] logging: add ocsp secret

https://gerrit.wikimedia.org/r/1270586

Change #1270586 merged by Cwhite:

[labs/private@master] logging: add ocsp secret

https://gerrit.wikimedia.org/r/1270586

Change #1270590 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] beta-logs: change root_ocsp_key path to match labs-private

https://gerrit.wikimedia.org/r/1270590

Change #1270590 merged by Cwhite:

[operations/puppet@production] beta-logs: change root_ocsp_key path to match labs-private

https://gerrit.wikimedia.org/r/1270590

Change #1270591 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] beta-logs: change private_cert_base to match labs-private

https://gerrit.wikimedia.org/r/1270591

Change #1270591 merged by Cwhite:

[operations/puppet@production] beta-logs: change private_cert_base to match labs-private

https://gerrit.wikimedia.org/r/1270591

Change #1270593 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] beta-logs: add dummy pki "secrets"

https://gerrit.wikimedia.org/r/1270593

Change #1270593 merged by Cwhite:

[operations/puppet@production] beta-logs: add dummy pki "secrets"

https://gerrit.wikimedia.org/r/1270593

Change #1269509 merged by Cwhite:

[operations/puppet@production] beta-logs: provision ca on cluster hosts

https://gerrit.wikimedia.org/r/1269509

Change #1271879 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] opensearch: add pki_intermediate_name parameter

https://gerrit.wikimedia.org/r/1271879

Change #1271879 merged by Cwhite:

[operations/puppet@production] opensearch: add pki_intermediate_name parameter

https://gerrit.wikimedia.org/r/1271879