Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:开发设置: IP白名单 #183

Merged
merged 1 commit into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,19 @@ QQ 机器人通过开放的平台承载机器人的定制化功能,让开发
兔小巢创建与使用详情可点击[用户反馈空间创建攻略](https://docs.qq.com/doc/DY0FBR0FUSm5lT0pn)
:::

#### 8.5 IP白名单配置
<img :src="$withBotBase('/images/introduce/ip_white_list.png')" alt="IP白名单配置">

为了防范接口调用安全风险,平台将支持机器人配置IP白名单。

配置了IP白名单之后,开放平台将会在`正式环境`对开发者的部署IP进行限制:只有白名单IP才能连接websocket和调用OPENAPI的接口。当前IP白名单只作用于正式环境,不影响机器人在沙箱环境的使用。

开启IP白名单功能后将不支持关闭,不允许填写空IP白名单。对于新增机器人,平台将会强制开启IP白名单功能,并限制只有填写了IP白名单才能提审和上线。

::: tip 温馨提示

IP白名单目的是保证开发者安全,请配置有效的公网唯一IP。

### 9. 发布设置

开发者可以通过【发布设置】来配置机器人指令与服务,此处配置的指令与服务将会在C端指令面板、资料卡等处展示,以便用户与机器人快捷完成交互,后端逻辑均需通过代码开发实现。
Expand Down
Loading