fix: add warning for long secret names #359

Merged
decentral1se merged 14 commits from rix/abra:add-secret-length-linting into main 2024-04-06 21:41:37 +00:00

14 Commits

Author SHA1 Message Date
ba956f340a Attempted rework to match new code.
All checks were successful
continuous-integration/drone/pr Build is passing
2024-04-06 21:11:31 +01:00
eea47f9099 Attempt to fix post merge problems.
All checks were successful
continuous-integration/drone/pr Build is passing
2024-04-06 11:42:16 +01:00
296bed9704 Merge remote-tracking branch 'coopcloud/main' into add-secret-length-linting 2024-04-06 11:13:05 +01:00
29bd057460 Add common check to generate secrets command.
Some checks failed
continuous-integration/drone/pr Build is failing
2023-10-05 18:25:02 +01:00
66cf63a665 Move secret checking to a shared location. 2023-10-05 18:13:37 +01:00
2abb7264b8 Added 'secret' before error to make it clear it's a secret.
Some checks failed
continuous-integration/drone/pr Build is failing
2023-10-04 19:10:18 +01:00
344590b19b Switch to using const for max docker secret length.
Some checks failed
continuous-integration/drone/pr Build is failing
2023-10-04 19:07:08 +01:00
f85a3e40aa Switch to using const for max sanitised app length. 2023-10-04 18:58:20 +01:00
2583fe2861 Drop debug logging and fail on first secret that is too long. 2023-10-04 18:51:13 +01:00
d78abfec2f Fix where the secret check happens and fiddle with messages.
All checks were successful
continuous-integration/drone/pr Build is passing
2023-10-03 21:26:40 +01:00
0480235758 Fix typo. 2023-10-03 21:26:40 +01:00
22f1ffacaa Written secret length verification in the wrong place. 2023-10-03 21:26:40 +01:00
81d9e03800 Error when domain is too long for secret lengths. 2023-10-03 21:26:40 +01:00
95b081867c Add warning for long secret names. 2023-10-03 21:26:40 +01:00