Files
securityonion/salt
Josh Patterson 3fdb2fbad8 Require a unit on lsheap and esheap in SOC Configuration
Without forcedType or regex, SOC accepted a unitless heap such as 500.
AlignBestGuess stored it as a YAML integer, which rendered -Xms500
(bytes) and restart-looped the service. On the next save, AlignType
then tried ParseInt on the corrected 500m and rejected it.

forcedType: string makes SOC store the value as a string whatever the
stored type, so an existing integer can be corrected. The regex blocks
unitless values in the UI. k, m and g are allowed (either case), matching
what the bundled JDKs accept for -Xms/-Xmx; the Logstash JVM options
parser passes them through unchanged. Heaps too small to start fail in
the JVM whatever the unit, so the regex doesn't check size.
2026-12-03 13:47:42 -05:00
..
2025-12-02 11:16:08 -06:00
2026-12-02 14:08:10 -06:00
2022-10-11 11:57:15 -04:00
2026-11-10 17:30:01 -06:00
2026-11-30 15:48:58 -06:00
2026-11-10 17:30:01 -06:00
2026-11-30 15:48:58 -06:00
2024-07-09 10:06:16 -04:00
2026-11-16 13:52:05 -06:00
2026-03-19 14:39:10 -04:00
2026-11-24 15:49:18 -05:00
2026-10-02 12:03:04 -04:00
2026-01-07 14:14:57 -05:00
2025-10-14 11:03:00 -04:00
2025-08-04 15:25:26 -04:00