old_contents: #
  # ***** ALERTA SERVER DEFAULT SETTINGS -- DO NOT MODIFY THIS FILE *****
  #
  # To override these settings use /etc/alertad.conf or the contents of the
  # configuration file set by the environment variable ALERTA_SVR_CONF_FILE.
  #
  # Further information on settings can be found at http://docs.alerta.io
  
  DEBUG = False
  
  SECRET_KEY = r'0Afk\(,8$cr(Y8:MA""knd>[@$U[G.eQL6DjAmVs'
  
  QUERY_LIMIT = 10000  # maximum number of alerts returned by a single query
  HISTORY_LIMIT = 100  #
  
  # MongoDB
  MONGO_HOST = 'localhost'
  MONGO_PORT = 27017
  MONGO_DATABASE = 'monitoring'
  MONGO_REPLSET = None  # 'alerta'
  
  MONGO_USERNAME = 'alerta'
  MONGO_PASSWORD = None
  
  AUTH_REQUIRED = False
  OAUTH2_CLIENT_ID = 'INSERT-OAUTH2-CLIENT-ID-HERE'  # Google or GitHub OAuth2 client ID and secret
  OAUTH2_CLIENT_SECRET = 'INSERT-OAUTH2-CLIENT-SECRET-HERE'
  ALLOWED_EMAIL_DOMAINS = ['gmail.com']
  ALLOWED_GITHUB_ORGS = ['guardian']
  
  GITLAB_URL = None
  ALLOWED_GITLAB_GROUPS = ['*']
  
  API_KEY_EXPIRE_DAYS = 365  # 1 year
  
  CORS_ALLOW_HEADERS = ['Content-Type', 'Authorization', 'Access-Control-Allow-Origin']
  CORS_ORIGINS = [
      'http://try.alerta.io',
      'http://explorer.alerta.io',
      'chrome-extension://jplkjnjaegjgacpfafdopnpnhmobhlaf',
      'http://localhost'
  ]
  CORS_SUPPORTS_CREDENTIALS = AUTH_REQUIRED
  
  BLACKOUT_DURATION = 3600  # default period = 1 hour
  
  # Plug-ins
  PLUGINS = ['reject']
  # PLUGINS = ['amqp', 'enhance', 'logstash', 'normalise', 'reject', 'sns']
  
  ORIGIN_BLACKLIST = ['foo/bar$', '.*/qux']  # reject all foo alerts from bar, and everything from qux
  ALLOWED_ENVIRONMENTS = ['Production', 'Development']  # reject alerts without allowed environments
  
  # AMQP Credentials
  AMQP_URL = 'mongodb://localhost:27017/kombu'        # MongoDB
  # AMQP_URL = 'amqp://guest:guest@localhost:5672//'  # RabbitMQ
  # AMQP_URL = 'redis://localhost:6379/'              # Redis
  
  # AWS Credentials
  AWS_ACCESS_KEY_ID = ''
  AWS_SECRET_ACCESS_KEY = ''
  AWS_REGION = 'eu-west-1'
  
  # Inbound
  AMQP_QUEUE = 'alerts'
  AWS_SQS_QUEUE = 'alerts'
  
  # Outbound
  AMQP_TOPIC = 'notify'
  AWS_SNS_TOPIC = 'notify'
  
  # Logstash
  LOGSTASH_HOST = 'localhost'
  LOGSTASH_PORT = 6379
  
  
new_contents: #
  # ***** ALERTA SERVER DEFAULT SETTINGS -- DO NOT MODIFY THIS FILE *****
  #
  # To override these settings use /etc/alertad.conf or the contents of the
  # configuration file set by the environment variable ALERTA_SVR_CONF_FILE.
  #
  # Further information on settings can be found at http://docs.alerta.io
  
  DEBUG = False
  
  SECRET_KEY = r'0Afk\(,8$cr(Y8:MA""knd>[@$U[G.eQL6DjAmVs'
  
  QUERY_LIMIT = 10000  # maximum number of alerts returned by a single query
  HISTORY_LIMIT = 100  #
  
  # MongoDB
  MONGO_HOST = 'localhost'
  MONGO_PORT = 27017
  MONGO_DATABASE = 'monitoring'
  MONGO_REPLSET = None  # 'alerta'
  
  MONGO_USERNAME = 'alerta'
  MONGO_PASSWORD = None
  
  AUTH_REQUIRED = False
  OAUTH2_CLIENT_ID = 'INSERT-OAUTH2-CLIENT-ID-HERE'  # Google or GitHub OAuth2 client ID and secret
  OAUTH2_CLIENT_SECRET = 'INSERT-OAUTH2-CLIENT-SECRET-HERE'
  ALLOWED_EMAIL_DOMAINS = ['gmail.com']
  ALLOWED_GITHUB_ORGS = ['guardian']
  
  GITLAB_URL = None
  ALLOWED_GITLAB_GROUPS = ['*']
  
  API_KEY_EXPIRE_DAYS = 365  # 1 year
  
  CORS_ALLOW_HEADERS = ['Content-Type', 'Authorization', 'Access-Control-Allow-Origin']
  CORS_ORIGINS = [
      'http://try.alerta.io',
      'http://explorer.alerta.io',
      'http://localhost'
  ]
  CORS_SUPPORTS_CREDENTIALS = AUTH_REQUIRED
  
  BLACKOUT_DURATION = 3600  # default period = 1 hour
  
  # Plug-ins
  PLUGINS = ['reject']
  # PLUGINS = ['amqp', 'enhance', 'logstash', 'normalise', 'reject', 'sns']
  
  ORIGIN_BLACKLIST = ['foo/bar$', '.*/qux']  # reject all foo alerts from bar, and everything from qux
  ALLOWED_ENVIRONMENTS = ['Production', 'Development']  # reject alerts without allowed environments
  
  # AMQP Credentials
  AMQP_URL = 'mongodb://localhost:27017/kombu'        # MongoDB
  # AMQP_URL = 'amqp://guest:guest@localhost:5672//'  # RabbitMQ
  # AMQP_URL = 'redis://localhost:6379/'              # Redis
  
  # AWS Credentials
  AWS_ACCESS_KEY_ID = ''
  AWS_SECRET_ACCESS_KEY = ''
  AWS_REGION = 'eu-west-1'
  
  # Inbound
  AMQP_QUEUE = 'alerts'
  AWS_SQS_QUEUE = 'alerts'
  
  # Outbound
  AMQP_TOPIC = 'notify'
  AWS_SNS_TOPIC = 'notify'
  
  # Logstash
  LOGSTASH_HOST = 'localhost'
  LOGSTASH_PORT = 6379
  
  
subject: Remove chrome extension from list of allowed CORS origins