Commit 308f0a0
authored
feat: use allow list for rclone (#1202)
Update rclone validation to use an allow list system:
* All storage types are listed and are explicitly allowed or blocked
* For all allowed storage types, all options are marked as allowed or blocked
This update also blocks potentially unsafe options (referring to a local file or a potential arbitrary command).
Tests in `test/components/renku_data_services/storage/test_rclone.py` are designed to help maintain the configuration of allowed storage types and storage options.1 parent c7738d1 commit 308f0a0
7 files changed
Lines changed: 6437 additions & 14129 deletions
File tree
- components/renku_data_services
- data_connectors/doi
- storage
- test
- bases/renku_data_services/data_api
- __snapshots__
- components/renku_data_services/storage
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments