Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
84 lines
2.5 KiB
YAML
84 lines
2.5 KiB
YAML
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership.
|
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
# (the "License"); you may not use this file except in compliance with
|
|
# the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
conf:
|
|
listen:
|
|
host: 0.0.0.0 # `manager api` listening ip or host name
|
|
port: 9000 # `manager api` listening port
|
|
|
|
allow_list: # If we don't set any IP list, then any IP access is allowed by default.
|
|
- 0.0.0.0/0
|
|
etcd:
|
|
endpoints: # supports defining multiple etcd host addresses for an etcd cluster
|
|
- "http://etcd:2379"
|
|
|
|
authentication:
|
|
secret:
|
|
s3cr3t # secret for jwt token generation.
|
|
# NOTE: Highly recommended to modify this value to protect `manager api`.
|
|
# if it's default value, when `manager api` start, it will generate a random string to replace it.
|
|
expire_time: 3600 # jwt token expire time, in second
|
|
users: # yamllint enable rule:comments-indentation
|
|
- username: admin # username and password for login `manager api`
|
|
password: vulhub
|
|
|
|
plugins: # plugin list (sorted in alphabetical order)
|
|
- api-breaker
|
|
- authz-keycloak
|
|
- basic-auth
|
|
- batch-requests
|
|
- consumer-restriction
|
|
- cors
|
|
# - dubbo-proxy
|
|
- echo
|
|
# - error-log-logger
|
|
# - example-plugin
|
|
- fault-injection
|
|
- grpc-transcode
|
|
- hmac-auth
|
|
- http-logger
|
|
- ip-restriction
|
|
- jwt-auth
|
|
- kafka-logger
|
|
- key-auth
|
|
- limit-conn
|
|
- limit-count
|
|
- limit-req
|
|
# - log-rotate
|
|
# - node-status
|
|
- openid-connect
|
|
- prometheus
|
|
- proxy-cache
|
|
- proxy-mirror
|
|
- proxy-rewrite
|
|
- redirect
|
|
- referer-restriction
|
|
- request-id
|
|
- request-validation
|
|
- response-rewrite
|
|
- serverless-post-function
|
|
- serverless-pre-function
|
|
# - skywalking
|
|
- sls-logger
|
|
- syslog
|
|
- tcp-logger
|
|
- udp-logger
|
|
- uri-blocker
|
|
- wolf-rbac
|
|
- zipkin
|
|
- server-info
|
|
- traffic-split |