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

Restricting network access to http_request functions #127

Merged
merged 4 commits into from
Dec 25, 2024

Conversation

vircoys
Copy link
Contributor

@vircoys vircoys commented Dec 9, 2024

http_request 函数新增功能:

  • 支持 cidr 和 host 白名单
  • 支持禁止访问内部网络

两个白名单是或的关系

白名单的优先级高于禁止内部网络

@vircoys vircoys force-pushed the pipeline-http_request branch from 1bf30d4 to a644365 Compare December 9, 2024 13:43
@vircoys vircoys changed the title limit pipeline http_request function Restricting network access to http_request functions Dec 9, 2024
@vircoys vircoys force-pushed the pipeline-http_request branch from e65684c to ee70cf3 Compare December 25, 2024 06:44
@guance-review-bot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: coanor, vircoys

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coanor coanor merged commit 60d3422 into main Dec 25, 2024
2 of 3 checks passed
@coanor coanor deleted the pipeline-http_request branch December 25, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants