Merge pull request #14359 from Security-Onion-Solutions/jertel/wip

Improve label
This commit is contained in:
Jason Ertel
2025-03-07 08:44:12 -05:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ soc:
- field: description
label: Description
- field: icon
label: Icon (Example - fa-shuttle-space)
label: "Icon (Example: fa-shuttle-space)"
- field: links
label: Links
required: True

View File

@@ -758,9 +758,9 @@ copy_salt_master_config() {
#logCmd "cp ../files/salt/master/salt-master.service /usr/lib/systemd/system/salt-master.service"
fi
info "Copying pillar and salt files in $temp_install_dir to $local_salt_dir"
logCmd "cp -Rv $temp_install_dir/pillar/ $local_salt_dir/"
logCmd "cp -R $temp_install_dir/pillar/ $local_salt_dir/"
if [ -d "$temp_install_dir"/salt ] ; then
logCmd "cp -Rv $temp_install_dir/salt/ $local_salt_dir/"
logCmd "cp -R $temp_install_dir/salt/ $local_salt_dir/"
fi
# Restart the service so it picks up the changes
@@ -2107,8 +2107,8 @@ setup_salt_master_dirs() {
logCmd "mkdir -p $local_salt_dir/salt/zeek/policy/intel"
logCmd "touch $local_salt_dir/salt/zeek/policy/intel/intel.dat"
else
logCmd "cp -Rv ../pillar/* $default_salt_dir/pillar/"
logCmd "cp -Rv ../salt/* $default_salt_dir/salt/"
logCmd "cp -R ../pillar/* $default_salt_dir/pillar/"
logCmd "cp -R ../salt/* $default_salt_dir/salt/"
logCmd "mkdir -p $local_salt_dir/salt/zeek/policy/intel"
logCmd "touch $local_salt_dir/salt/zeek/policy/intel/intel.dat"
fi