lib/bolt_server/base_config.rb in bolt-2.29.0 vs lib/bolt_server/base_config.rb in bolt-2.30.0
- old
+ new
@@ -5,11 +5,11 @@
module BoltServer
class BaseConfig
def config_keys
%w[host port ssl-cert ssl-key ssl-ca-cert
- ssl-cipher-suites loglevel logfile whitelist projects-dir]
+ ssl-cipher-suites loglevel logfile allowlist projects-dir]
end
def env_keys
%w[ssl-cert ssl-key ssl-ca-cert loglevel]
end
@@ -96,11 +96,11 @@
unless @data['ssl-cipher-suites'].is_a?(Array)
raise Bolt::ValidationError, "Configured 'ssl-cipher-suites' must be an array of cipher suite names"
end
- unless @data['whitelist'].nil? || @data['whitelist'].is_a?(Array)
- raise Bolt::ValidationError, "Configured 'whitelist' must be an array of names"
+ unless @data['allowlist'].nil? || @data['allowlist'].is_a?(Array)
+ raise Bolt::ValidationError, "Configured 'allowlist' must be an array of names"
end
end
def [](key)
@data[key]