The following configurations were applied via the CLI to ensure the management plane is secure: Console Access Restricted:
- def update_config(key, value, user): - os.system(f"set_config key value") + def update_config(key, value, user): + if user.role != 'admin': raise PermissionError + if not is_safe_key(key) or not is_safe_value(value): raise ValidationError + safe_set_config(key, value) + audit.log(user, f"Changed key") fgtsystemconf patched