graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Allow more db types for IPinfo mmdb files / reenable IPinfo in data adapter UI

Open mpfz0r opened this issue 1 year ago • 0 comments

IPinfo recently changed the type field in their metadata.

old

mmdbctl metadata 24/asn.mmdb
- Binary Format 2.0
- Database Type ipinfo asn.mmdb

new

mmdbctl metadata newest/asn.mmdb
- Binary Format 2.0
- Database Type ipinfo generic_asn_mmdb_v4.mmdb

This is likely because they changed something in their release process, because the db type is just their import filename:

https://github.com/ipinfo/mmdbctl/blob/master/lib/cmd_import.go#L269

Relax our db type match to support this.

Fixes https://github.com/Graylog2/graylog-plugin-enterprise/issues/6436

mpfz0r avatar Feb 01 '24 11:02 mpfz0r