Commit graph

1546 commits

Author SHA1 Message Date
Jens Langhammer e87d52a76b providers/proxy: implement Ingress diff checking 2020-10-18 21:34:45 +02:00
Jens Langhammer 8b09cf55a2 root: upgrade to traefik 2.3 2020-10-18 18:48:19 +02:00
Jens Langhammer 0203d20759 providers/proxy: add traefik labels to outposts deployed with docker integration 2020-10-18 17:46:20 +02:00
Jens Langhammer 7861e2e0bd provider/proxy: add K8s ingress support 2020-10-18 17:13:44 +02:00
Jens Langhammer ad29d54bbf outposts: simplify k8s controller add more extensibility 2020-10-18 17:09:02 +02:00
Jens Langhammer c698ba37d9 core: add ability for users to create tokens 2020-10-18 15:42:16 +02:00
Jens Langhammer 6a53069653 *: make generic template's base parameterised 2020-10-18 15:35:27 +02:00
Jens Langhammer 152b2d863d api: add fallback for proxies < 0.12 which send authorization without b64 2020-10-18 15:14:00 +02:00
Jens Langhammer ee670d5e19 core: add key field to token for easier rotation 2020-10-18 14:34:22 +02:00
Jens Langhammer 36e095671c proxy: fix WS Authorization Header being sent with the wrong format 2020-10-18 14:04:12 +02:00
Jens Langhammer 1088b947a8 audit: remove duplicate date column, add search 2020-10-17 22:26:35 +02:00
Jens Langhammer c4a30c50ac stages/consent: add fallback template 2020-10-17 18:18:29 +02:00
Jens Langhammer ee5bac099f outposts: fix migration not having access to token property 2020-10-17 17:06:08 +02:00
Jens Langhammer 69f7b41044 e2e: use dockercontroller to test proxy 2020-10-17 17:03:10 +02:00
Jens Langhammer e909e7fa8a outposts: kill container on down 2020-10-17 16:33:38 +02:00
Jens Langhammer bee38551f3 outposts: fix tokens without identifier not loading in the UI 2020-10-17 16:33:23 +02:00
Jens Langhammer c0ec6388df outposts: give container time to boot when newly created 2020-10-16 23:38:46 +02:00
Jens Langhammer 8f08836885 outposts: ensure log is also written to stdout 2020-10-16 23:36:59 +02:00
Jens Langhammer dd0d7e7481 root: switch from drf-yasg to drf_yasg2 and up rest_framework 2020-10-16 23:32:35 +02:00
Jens Langhammer 25d0ac6534 ci: bump pyright version 2020-10-16 22:29:59 +02:00
Jens Langhammer 971713d1aa outposts: call controller.down on outpost pre_delete 2020-10-16 22:27:00 +02:00
Jens Langhammer 5135d828b4 outposts: rename run to up, add down method for deleting 2020-10-16 22:22:15 +02:00
Jens Langhammer 6b1d30d230 outposts: improve logging from k8s controller 2020-10-16 21:31:55 +02:00
Jens Langhammer 3454760731 *: ensure TaskResult uid is slugified to prevent URL errors 2020-10-16 21:31:12 +02:00
Jens Langhammer 96846220c3 outposts: trigger reconcile on save 2020-10-16 21:08:35 +02:00
Jens Langhammer a4f5678144 docs: update admin screenshot 2020-10-16 20:26:09 +02:00
Jens Langhammer a18baa3cb3 static: simplify Message update trigger 2020-10-16 20:13:57 +02:00
Jens Langhammer dfedd4a7f1 admin: improve overview, re-add links
closes #270
2020-10-16 20:07:56 +02:00
Jens Langhammer 897f64600a static: dynamically add messages instead of replacing 2020-10-16 19:22:44 +02:00
Jens Langhammer c6eb015d18 static: fix shell card missing on small screens 2020-10-16 19:13:39 +02:00
Jens Langhammer 54088239ab sources/ldap: fix MonitoredTask not using uid 2020-10-16 16:43:40 +02:00
Jens Langhammer aa9c7a6567 flow: re-add FlowShell as Web Component 2020-10-16 16:36:18 +02:00
Jens Langhammer 6c0c12c90a static: fix messages update only working once 2020-10-16 16:30:38 +02:00
Jens Langhammer c49b57ad1d stages/email: fix make_msgid call 2020-10-16 16:07:59 +02:00
Jens Langhammer 2339e855bb *: Improve MonitoredTasks' error capture 2020-10-16 16:00:24 +02:00
Jens Langhammer bdc019c7cf outposts: skip post_save during migrations and unittests 2020-10-16 15:58:28 +02:00
Jens Langhammer 5e2fb6d56e static: replace server-side alerts with webcomponent 2020-10-16 15:26:51 +02:00
Jens Langhammer 3b9524cdfc *: ensure unittests wait on tasks 2020-10-16 14:53:14 +02:00
Jens Langhammer 7154f19668 admin: fix task list not being sorted 2020-10-16 14:53:00 +02:00
Jens Langhammer 8fedd9ec07 stages/email: Implement MonitoredTask, but only for failed emails 2020-10-16 14:31:01 +02:00
Jens Langhammer 4ac87d8739 sources/saml: Implement MonitoredTask 2020-10-16 14:30:44 +02:00
Jens Langhammer e4f45eba0a policies/reputation: implement MonitoredTask 2020-10-16 14:20:41 +02:00
Jens Langhammer 4b3e0f0f96 sources/ldap: implement MonitoredTask 2020-10-16 14:20:07 +02:00
Jens Langhammer 482da81522 admin: add button to retry task 2020-10-16 14:10:27 +02:00
Jens Langhammer c5226fd0e8 admin: add API to list tasks and schedule retry 2020-10-16 14:10:11 +02:00
Jens Langhammer 7806cff96f lib: save task's call arguments for manual retry 2020-10-16 13:35:40 +02:00
Jens Langhammer fa504e4bf9 outposts: pass outpost reference instead of PK, implement TaskResult.uid 2020-10-16 12:54:52 +02:00
Jens Langhammer 86cfb10b9b outposts: implement .run_wuth_logs() which returns logs, add task monitoring 2020-10-16 11:38:49 +02:00
Jens Langhammer f6b8171624 outposts: improve controller error handling 2020-10-16 11:31:31 +02:00
Jens Langhammer 91ce7f7363 root: implement monitored tasks 2020-10-16 11:28:54 +02:00
dependabot[bot] 17060238f0
build(deps): bump rollup in /passbook/static/static (#278)
Bumps [rollup](https://github.com/rollup/rollup) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.30.0...v2.31.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 10:01:01 +02:00
Jens Langhammer 69d2a1cf3b providers/proxy: add more kubernetes tests 2020-10-14 20:21:47 +02:00
Jens Langhammer 18da7565c2 outposts: improve performance by running related check in worker, fix tokens being left over on outpost delete 2020-10-14 18:41:16 +02:00
Jens Langhammer 45699a1a69 outpost: rewrite kubernetes controller 2020-10-14 17:49:09 +02:00
Jens Langhammer 5556e9f8e7 outposts: always save state, even without version 2020-10-14 12:15:40 +02:00
dependabot[bot] 327bb09dd4
build(deps): bump rollup in /passbook/static/static (#275)
Bumps [rollup](https://github.com/rollup/rollup) from 2.29.0 to 2.30.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.29.0...v2.30.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 11:47:30 +02:00
Jens Langhammer 8ca23451c6 outposts: rewrite state logic, use cache to expire old channels, support multiple instances 2020-10-14 11:32:33 +02:00
Jens Langhammer e966dff1a7 Revert "flows: rewrite shell to webcomponents"
This reverts commit b03a508475.
2020-10-14 11:32:33 +02:00
Jens Langhammer b03a508475 flows: rewrite shell to webcomponents 2020-10-12 17:53:35 +02:00
Jens Langhammer 4a10b4999b core: fix navbar icon not showing in firefox 2020-10-11 23:38:22 +02:00
Jens Langhammer 20ee634cda admin: add buttons to disable and enable users 2020-10-11 21:54:00 +02:00
Jens Langhammer 713025d218 new release: 0.11.0-stable 2020-10-11 19:57:03 +02:00
Jens Langhammer 58ae159835 outposts: disable Kubernetes selection for now 2020-10-11 19:40:22 +02:00
Jens Langhammer b6eb0bf53d providers/oauth2: add missing property_mapping template 2020-10-11 19:29:13 +02:00
Jens Langhammer 610b6c7f70 policies: add PolicyAccessView, which does complete access checking 2020-10-11 19:26:20 +02:00
dependabot[bot] fd42389bd5
build(deps-dev): bump rollup-plugin-sourcemaps (#267)
Bumps [rollup-plugin-sourcemaps](https://github.com/maxdavidson/rollup-plugin-sourcemaps) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/maxdavidson/rollup-plugin-sourcemaps/releases)
- [Changelog](https://github.com/maxdavidson/rollup-plugin-sourcemaps/blob/master/CHANGELOG.md)
- [Commits](https://github.com/maxdavidson/rollup-plugin-sourcemaps/compare/v0.6.2...v0.6.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 11:31:47 +02:00
dependabot[bot] 71b1df2fec
build(deps): bump rollup in /passbook/static/static (#269)
Bumps [rollup](https://github.com/rollup/rollup) from 2.28.2 to 2.29.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.28.2...v2.29.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 09:08:39 +02:00
Jens Langhammer 63041d788b core: update application list API to show applications accessible by policy 2020-10-08 09:26:50 +02:00
Jens Langhammer 8ab7f7fcbb core: make passbook title navigate to overview
closes #264
2020-10-07 19:27:20 +02:00
Jens Langhammer c1eb8317f7 providers/proxy: update phrasing for basic_auth_* attributes
closes #265
2020-10-07 19:27:06 +02:00
Jens Langhammer 7a578e5e83 admin: dont show check when outpost hasnt connected
closes #263
2020-10-07 19:19:25 +02:00
dependabot[bot] ca0e89c799
build(deps): bump @patternfly/patternfly in /passbook/static/static (#261)
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly) from 4.42.2 to 4.50.4.
- [Release notes](https://github.com/patternfly/patternfly/releases)
- [Changelog](https://github.com/patternfly/patternfly/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/patternfly/patternfly/compare/prerelease-v4.42.2...prerelease-v4.50.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-07 09:10:47 +02:00
dependabot[bot] 876618c1ec
build(deps): bump @fortawesome/fontawesome-free (#258)
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 5.15.0 to 5.15.1.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.15.0...5.15.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 10:19:05 +02:00
Jens Langhammer 9df00e09a4 root: fix static docker's rollup build 2020-10-06 00:06:53 +02:00
Jens Langhammer cf6ce9c915 audit: optimize eventaction, 2020-10-05 23:43:56 +02:00
Jens Langhammer 3b61191614 outpost: enable docker controller 2020-10-05 23:11:44 +02:00
Jens Langhammer ac88bd5d44 core: hide token value by default 2020-10-05 22:40:30 +02:00
Jens Langhammer da9aaf69df admin: add metrics and charts 2020-10-05 22:10:03 +02:00
Jens Langhammer ae125dd1f0 root: fix missing docker dependency 2020-10-04 15:04:07 +02:00
Jens Langhammer f636595230 static: add fetch-fill-slot to load data for admin interface 2020-10-04 13:09:03 +02:00
Jens Langhammer d506e8f1a3 outposts: implement docker controller 2020-10-04 00:41:12 +02:00
Jens Langhammer d3a96ac7aa outposts: load token async 2020-10-04 00:29:18 +02:00
Jens Langhammer 189b0ec324 admin: expose info as API 2020-10-04 00:28:58 +02:00
Jens Langhammer c5a6b4961f core: Add Token identifier as sudo-primary key 2020-10-04 00:28:43 +02:00
Jens Langhammer b590589324 root: add base template for api 2020-10-03 23:20:33 +02:00
Jens L 9fb1ac98ec
Backup/Restore (#256)
* lifecycle: move s3 backup settings to s3 name

* providers/oauth2: fix for alerting for missing certificatekeypair

* lifecycle: add backup commands

see #252

* lifecycle: install postgres-client for 11 and 12

* root: migrate to DBBACKUP_STORAGE_OPTIONS, add region setting

* lifecycle: auto-clean last backups

* helm: add s3 region parameter, add cronjob for backups

* docs: add backup docs

* root: remove backup scheduled task for now
2020-10-03 20:36:36 +02:00
Jens Langhammer 195d8fe71f core: move name field to base Provider 2020-10-03 20:05:16 +02:00
Jens Langhammer b0602a3215 admin: implement search for all views
see #253
2020-10-03 19:32:01 +02:00
Jens Langhammer 0150a5c58c admin: add SearchListMixin mixin and partial template 2020-10-03 19:05:20 +02:00
Jens Langhammer b35d27c83e admin: fix pagination template, ensure template is placed correctly in footer 2020-10-03 17:50:17 +02:00
Jens Langhammer 801bb90806 root: lock pyright version 2020-10-03 15:34:53 +02:00
Jens Langhammer 55a83abb26 *: remove deprecated providing_args 2020-10-02 11:18:14 +02:00
Jens Langhammer 247015e955 stages/otp_*: Remove duplicate validation for OTP Codes 2020-10-02 10:30:43 +02:00
Jens Langhammer e9a1a18ba3 providers/oauth2: ensure that when rs256 is selected, a certificate key pair is selected 2020-10-01 20:01:45 +02:00
Jens Langhammer 6cd9edd38a providers/oauth2: add missing token_validity field to Forms and API 2020-10-01 20:01:28 +02:00
Jens Langhammer 9b5f9167cd root: always enable dbbackup 2020-10-01 13:41:40 +02:00
Jens Langhammer 94eaeb5a60 new release: 0.10.9-stable 2020-10-01 10:24:16 +02:00
Jens Langhammer a5420fe019 providers/saml: lowercase acs URLs before checking
closes #249
2020-10-01 10:04:20 +02:00
Jens Langhammer 2e1849a732 providers/oauth2: lowercase all uris before checking redirect URI
see #249
2020-10-01 10:00:44 +02:00
Jens Langhammer 8f585eca70 stages/identification: replace buggy FilteredSelectMultiple with ArrayFieldSelectMultiple 2020-09-30 23:58:01 +02:00