mirror of
https://github.com/openappsec/openappsec.git
synced 2026-01-17 16:00:26 +03:00
Jan 06 2026 dev (#387)
* sync code * update code to support brotli * update code to support brotli * update code to support brotli * sync code * fix findBrotli * sync code * sync code * sync code * sync code --------- Co-authored-by: Ned Wright <nedwright@proton.me> Co-authored-by: Daniel Eisenberg <danielei@checkpoint.com>
This commit is contained in:
@@ -256,7 +256,7 @@ usage()
|
||||
uninstall_option="-u, --uninstall"
|
||||
load_config_option="-lc, --load-config <$(get_installed_services '|')>"
|
||||
display_config_option="-dc, --display-config [$(get_installed_services '|')]"
|
||||
cp_agent_info_option="--info [-wd|--with_dump|-u|--upload|-fms|--file_max_size|-an|--additional_name]"
|
||||
cp_agent_info_option="--info [-wd|--with_dump|-fms|--file_max_size|-an|--additional_name]"
|
||||
display_policy_option="-dp, --display-policy"
|
||||
set_gradual_policy_option="-gp, --set-gradual-policy [access-control|http-manager] <ip-ranges>"
|
||||
delete_gradual_policy_option="-dg, --delete-gradual-policy [access-control|http-manager]"
|
||||
@@ -1198,7 +1198,6 @@ run_ai() # Initials - ra
|
||||
|
||||
for arg; do
|
||||
if [ "$arg" = "--upload" ] || [ "$arg" = "-u" ]; then
|
||||
ra_upload_to_fog=true
|
||||
shift
|
||||
continue
|
||||
elif [ "$arg" = "--verbose" ] || [ "$arg" = "-v" ]; then
|
||||
@@ -1210,14 +1209,6 @@ run_ai() # Initials - ra
|
||||
shift
|
||||
done
|
||||
|
||||
if [ "$ra_upload_to_fog" = "false" ]; then
|
||||
printf "Would you like to upload the file to be inspected by the product support team? [y/n] " && read -r ra_should_upload
|
||||
case $ra_should_upload in
|
||||
[Yy] | [Yy][Ee][Ss]) ra_upload_to_fog=true ;;
|
||||
*) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
ra_https_prefix="https://"
|
||||
ra_agent_details=$(cat ${FILESYSTEM_PATH}/$cp_nano_conf_location/agent_details.json)
|
||||
if echo "$ra_agent_details" | grep -q "Fog domain"; then
|
||||
|
||||
Reference in New Issue
Block a user