Magnus Jensen
c905e69228
improve validation error messages for custom activations ( #50753 )
...
<!-- Add the related story/sub-task/bug number, like Resolves #123 , or
remove if NA -->
**Related issue:** Resolves nothing, just something I caught while doing
test plan and PR review.
# Checklist for submitter
If some of the following don't apply, delete the relevant line.
- [ ] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files )
for more information. part of a bigger story.
- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements), JS
inline code is prevented especially for url redirects, and untrusted
data interpolated into shell scripts/commands is validated against shell
metacharacters.
- [x] Timeouts are implemented and retries are limited to avoid infinite
loops
- [x] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes
## Testing
- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved validation messages for custom activations.
* Clarified that standard configurations must reference exactly one
configuration profile.
* Added a documentation link for the single-profile reference
requirement.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-07 19:03:07 +02:00
..
2026-07-20 10:31:09 -03:00
2026-06-19 12:13:36 -04:00
2026-07-17 10:59:32 -03:00
2026-05-21 09:57:07 -03:00
2026-06-05 16:20:32 -04:00
2026-06-29 10:41:16 -04:00
2026-06-17 11:09:21 -05:00
2026-07-23 10:44:13 -04:00
2026-08-06 17:01:07 -04:00
2026-03-30 16:37:18 -05:00
2026-07-21 11:33:46 -04:00
2026-07-02 07:38:11 -04:00
2026-07-17 10:59:32 -03:00
2026-07-16 14:20:03 -04:00
2026-08-07 09:49:24 -03:00
2026-08-07 09:49:24 -03:00
2026-04-10 11:12:38 -04:00
2026-08-07 15:36:31 +05:30
2026-08-05 15:57:20 -04:00
2026-07-22 09:38:24 -03:00
2026-07-29 08:22:57 -03:00
2026-05-29 09:46:17 +02:00
2026-03-26 12:12:41 -06:00
2026-05-01 11:38:08 -06:00
2026-08-06 23:02:20 +05:30
2026-07-07 13:15:14 -04:00
2026-07-07 13:15:14 -04:00
2026-08-07 09:49:14 -03:00
2026-08-07 19:03:07 +02:00
2026-08-07 09:49:14 -03:00
2026-07-09 14:57:48 -04:00
2026-07-09 14:57:48 -04:00
2026-05-20 09:12:38 -03:00
2026-05-20 09:12:38 -03:00
2026-06-08 09:15:17 -05:00
2026-06-25 16:27:30 -05:00
2026-06-25 16:27:30 -05:00
2026-06-25 16:27:30 -05:00
2026-05-13 14:47:01 +02:00
2026-05-13 14:47:01 +02:00
2026-05-20 09:12:38 -03:00
2026-03-26 10:59:42 -03:00
2026-07-15 19:35:27 -03:00
2026-05-18 14:06:38 -03:00
2026-04-08 11:07:06 -03:00
2026-03-26 10:59:42 -03:00
2026-03-26 10:59:42 -03:00
2026-06-03 14:58:17 -04:00
2026-04-07 11:04:08 -03:00
2026-08-06 23:10:13 +05:30
2026-04-13 16:02:23 -03:00
2026-04-28 09:12:43 -03:00
2026-06-03 15:07:54 -03:00
2026-06-17 18:19:00 -04:00
2026-07-31 21:36:44 -04:00
2026-06-03 15:07:54 -03:00
2026-07-31 21:36:44 -04:00
2026-08-06 23:10:13 +05:30
2026-03-26 10:59:42 -03:00
2026-04-16 11:11:39 -04:00
2026-08-07 09:49:24 -03:00
2026-06-05 16:20:32 -04:00
2026-06-05 16:20:32 -04:00
2026-06-19 12:13:36 -04:00
2026-06-25 15:57:25 -03:00
2026-06-05 16:20:32 -04:00
2026-07-17 10:59:32 -03:00
2026-05-15 13:23:58 -03:00
2026-07-29 08:22:57 -03:00
2026-07-15 19:35:27 -03:00
2026-07-15 19:35:27 -03:00
2026-06-02 18:53:00 -05:00
2026-06-02 18:53:00 -05:00
2026-06-02 18:53:00 -05:00
2026-08-07 09:49:14 -03:00
2026-06-09 13:13:37 -04:00
2026-08-07 09:49:14 -03:00
2026-06-26 10:40:26 -04:00
2026-05-20 09:12:38 -03:00
2026-04-03 09:58:03 -05:00
2026-05-05 10:26:47 -04:00
2026-07-06 16:19:42 -05:00
2026-07-06 16:19:42 -05:00
2026-07-10 13:32:16 -05:00
2026-07-10 13:32:16 -05:00
2026-06-03 14:58:17 -04:00
2026-08-03 09:03:27 -05:00
2026-03-26 07:04:18 -04:00
2026-08-07 09:49:14 -03:00
2026-08-07 09:49:14 -03:00
2026-05-21 09:57:07 -03:00
2026-06-05 11:43:16 +02:00
2026-07-29 08:22:57 -03:00
2026-05-28 14:43:25 -04:00
2026-06-25 09:32:22 -04:00
2026-08-07 09:49:14 -03:00
2026-07-15 19:35:27 -03:00
2026-06-16 11:28:06 -04:00
2026-08-07 09:49:24 -03:00
2026-08-06 12:08:04 -03:00
2026-07-27 11:24:42 +02:00
2026-05-14 11:18:20 -03:00
2026-05-21 09:57:07 -03:00
2026-07-10 18:51:33 -04:00
2026-06-26 15:58:42 -04:00
2026-08-07 15:36:31 +05:30
2026-08-06 15:47:22 +02:00
2026-07-07 09:26:14 -04:00
2026-08-07 09:49:24 -03:00
2026-05-14 11:18:20 -03:00
2026-07-23 06:41:51 -04:00
2026-08-07 09:49:24 -03:00
2026-05-08 12:08:10 -04:00
2026-08-06 11:04:31 -04:00
2026-05-14 11:18:20 -03:00
2026-07-28 14:27:42 +05:30
2026-06-26 10:40:26 -04:00
2026-08-06 11:28:43 -03:00
2026-07-23 06:41:07 -04:00
2026-07-30 14:39:56 -04:00
2026-07-30 14:39:56 -04:00
2026-05-18 11:41:02 -06:00
2026-05-18 11:41:02 -06:00
2026-06-12 16:07:59 +02:00
2026-08-07 15:36:31 +05:30
2026-08-07 09:49:24 -03:00
2026-06-12 22:30:58 +01:00
2026-07-21 09:03:54 -05:00
2026-07-22 09:24:40 -05:00
2026-08-07 09:49:24 -03:00
2026-08-04 16:30:02 -05:00
2026-08-03 09:03:27 -05:00
2026-08-04 16:30:02 -05:00
2026-05-13 14:47:01 +02:00
2026-05-13 14:47:01 +02:00
2026-05-08 12:08:10 -04:00
2026-05-08 12:08:10 -04:00
2026-08-06 17:01:07 -04:00
2026-08-06 17:01:07 -04:00
2026-07-13 20:02:36 -04:00
2026-05-14 11:18:20 -03:00
2026-05-25 15:12:52 +02:00
2026-06-19 12:13:36 -04:00
2026-06-19 12:13:36 -04:00
2026-07-29 13:35:47 -03:00
2026-07-29 13:35:47 -03:00
2026-06-11 07:03:28 +01:00
2026-04-13 16:02:23 -03:00
2026-07-27 11:24:42 +02:00
2026-07-27 11:24:42 +02:00
2026-07-27 11:24:42 +02:00
2026-07-27 11:24:42 +02:00
2026-07-23 08:10:55 -04:00
2026-07-16 18:54:04 -04:00
2026-05-19 11:21:46 -05:00
2026-07-17 10:59:32 -03:00
2026-07-30 12:01:39 -03:00
2026-07-30 12:01:39 -03:00
2026-07-13 13:51:02 -04:00
2026-07-23 06:41:27 -04:00
2026-07-23 06:41:27 -04:00
2026-07-23 06:41:51 -04:00
2026-06-03 17:38:14 -05:00
2026-07-31 21:36:44 -04:00
2026-07-31 21:36:44 -04:00
2026-05-05 13:27:57 -05:00
2026-05-13 14:14:27 -03:00
2026-08-06 11:04:31 -04:00
2026-08-06 11:04:31 -04:00
2026-03-30 21:33:21 -07:00
2026-05-27 11:33:05 -04:00
2026-06-03 15:07:54 -03:00
2026-07-10 14:48:55 -04:00
2026-07-10 14:48:55 -04:00
2026-04-13 16:02:23 -03:00
2026-07-31 08:43:51 -03:00
2026-08-07 09:49:24 -03:00
2026-05-12 17:43:37 -03:00
2026-07-15 17:47:12 -04:00
2026-08-04 16:30:02 -05:00
2026-06-02 18:53:00 -05:00
2026-06-02 10:43:18 -03:00
2026-05-05 10:26:47 -04:00
2026-07-22 12:46:16 -04:00
2026-07-22 12:46:16 -04:00
2026-07-07 16:15:58 -04:00
2026-05-12 13:51:12 -04:00
2026-08-07 15:36:31 +05:30
2026-07-21 17:20:53 -04:00