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

[Feature Request] Add support of authentication in webhooks #1850

Closed
To-om opened this issue Mar 18, 2021 · 0 comments
Closed

[Feature Request] Add support of authentication in webhooks #1850

To-om opened this issue Mar 18, 2021 · 0 comments
Assignees
Labels
feature request TheHive4 TheHive4 related issues
Milestone

Comments

@To-om
Copy link
Contributor

To-om commented Mar 18, 2021

Request Type

[Feature Request]

Problem Description

Add authentication capability in webhook. A new optional auth setting is added in webhook endpoints:

notification {
  webhook {
    endpoints = [
      {
        name: local
        url: "http://127.0.0.1:5000/webhook"
        version: 0
        wsConfig: {}
        auth: {
          type: XXX
      }
    ]
  }
}

Supported methods are:

  • basic "auth": { "type": "basic", "username": "foo", "password": "bar" }
  • bearer "auth": { "type": "bearer", "key": "foobar" }
  • key "auth": { "type": "bearer", "key": "foobar" }
  • none (default) "auth": { "type": "none" }
@To-om To-om added bug TheHive4 TheHive4 related issues labels Mar 18, 2021
@To-om To-om added this to the 4.1.0 milestone Mar 18, 2021
@To-om To-om self-assigned this Mar 18, 2021
@To-om To-om added feature request and removed bug labels Mar 18, 2021
To-om added a commit that referenced this issue Mar 18, 2021
@To-om To-om closed this as completed Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

1 participant