Skip to content

feat(config-api): Blacklist some urls from webhook for security reason #8574

@syntrydy

Description

@syntrydy

Description

Currently there is no security in webhook feature.
The following should be check:

  1. Perform URL validation(url should be valid url and resolvable).
  2. Ensure URL starts with "https://", disallow "file://" and other non-HTTPS schemes.
  3. Block typical local IPs: 127.0.x, 192.168.x, 172.x.
  4. Prohibit "localhost" and "http://"
  5. Require a specific response header for POST requests, unique to the customer.

Metadata

Metadata

Assignees

Labels

kind-featureIssue or PR is a new feature request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions