Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

settings implementation

Mark Hofstetter edited this page Nov 27, 2018 · 5 revisions

For each displayed net-object in the organization view there is a settings option with following fields:

  • delivery protocol [dropdown]: Mail, REST API, AMQP
  • delivery format [dropdown]: CSV, JSON
  • notification interval [integer field (in seconds)]. - [Exceptions are realized by input of value 0]

This settings should be effective in IntelMQ. The mechanism should be realized by a RESTful API. It should be possible to query all settings at once but also to query for settings for a defined do-orga and/or defined net-object.

query for ripe handle

ripe/handle/ORG-IEG1-RIPE { "abusecs": [ "abuse@infotech.at" ], "asns": [ "28760" ], "cidrs": [ "2a03:fa00::/32", "5.104.216.0/21", "213.174.224.0/19", "77.242.64.0/20", "185.71.252.0/22" ], "name": "Infotech EDV-Systeme GmbH", "organisation_automatic_id": 20, "ripe_org_hdl": "ORG-IEG1-RIPE" }

query settings ripe/settings/<org_id>/<ripe_hdl> { "abusec": [ "abuse@hotze.com" ], "asns": [ { "asn": "8596", "notification_setting": { "delivery_format": "CSV", "delivery_protocol": "Mail", "notification_interval": null } } ], "cidrs": [ { "cidr": "2a02:5d8::/32", "notification_setting": { "delivery_format": "JSON", "delivery_protocol": "REST API", "notification_interval": 3556 } }, { "cidr": "185.74.0.0/22", "notification_setting": {} }, { "cidr": "82.150.192.0/19", "notification_setting": { "delivery_format": "CSV", "delivery_protocol": "Mail", "notification_interval": 0 } } ], "name": "hotze.com GmbH" }

returns settings + abusec + org_id

Clone this wiki locally