teleport/integrations/access/pagerduty
Trent Clarke 10dd64681a
Adds automatic approver user for use with access plugins (#27829)
* Adds automatic approver user for use with access plugins

Adds an internal user `@teleport-access-approval-bot` with the associated
role `@teleport-access-approver`. This new role has grants the right to
approve any and all role access requests, and both the user and role
resources are automatically created on startup if not already present.

While the `@teleport-access-approval-bot` should under no circumstances
be allowed to log into the cluster or appear in UI user listings of any
kind (except as the approver in an access request), this PR does not
implement any or the requisite filtering or enforcement. This is coming
in a future PR.

* Don't crash when building OSS

* fix test fixup

* Adds labels to the Preset approval bot user

Also ads basic update functionality for preset users, and tests
for same.

* typo fix

* Commentary

* linter appeasement

* Update tests

* Update docs

* Post-merge cleanup

* Update lib/auth/init_test.go

Co-authored-by: Marco André Dinis <marco.dinis@goteleport.com>

* Address review feedback

* Filter out user in WebUI and plumb Teleport user through

---------

Co-authored-by: Marco André Dinis <marco.dinis@goteleport.com>
2023-06-24 00:25:05 +00:00
..
app.go Adds automatic approver user for use with access plugins (#27829) 2023-06-24 00:25:05 +00:00
client.go Adds AccessDenied reporting to PagerDuty (#28126) 2023-06-23 04:45:13 +00:00
config.go Adds automatic approver user for use with access plugins (#27829) 2023-06-24 00:25:05 +00:00
fake_pagerduty_test.go Vendors the pagerduty plugin source into teleport (#27262) 2023-06-05 07:34:53 +00:00
pagerduty_test.go Compile binaries for access plugin tests (#27819) 2023-06-19 12:36:34 +00:00
plugindata.go Vendors the pagerduty plugin source into teleport (#27262) 2023-06-05 07:34:53 +00:00
plugindata_test.go Vendors the pagerduty plugin source into teleport (#27262) 2023-06-05 07:34:53 +00:00
types.go Changes to PagerDuty plugin to support running as a hosted plugin (#28021) 2023-06-21 13:31:10 +00:00
version.go Vendors the pagerduty plugin source into teleport (#27262) 2023-06-05 07:34:53 +00:00