Skip to content

[Bug] Webhook compatibility issues on custom-fields #1345

Closed
@crackytsi

Description

@crackytsi

Request Type

Bug

Work Environment

Question Answer
OS version (server) Debian
OS version (client) 10
TheHive version / git hash 4.0 RC2
Package Type DEB
Elasticsearch 5.6.10

Problem Description

The WebHook of TheHive4 behaves different regarding custom-fields compared to version 3.4:

TheHive 3.x:

	'details': {
		'customFields': {
			'fieldname': {
				'string': 'selected value'
			}
		}
	},

TheHive 4:

	'details': {
		'customField.fieldname': 'selected value'
	},

Also in the "object" the names are different:
TheHive 3.x

		'customFields': {
			'fieldname': {
				'order': 3,
				'string': 'selected value'
			},
		},

TheHive 4:

		'customFields': {
			'fieldname': {
				'string': 'selected value'
			}
		},

The "order" attribute seems also to be missing,
If it is not too much work, it would be great if this could be make compatible :)

Metadata

Metadata

Assignees

Labels

TheHive4TheHive4 related issuesbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions