MISP/MISP

STIX Sightings Import

开放

#6,551 创建于 2020年11月3日

 (0 条评论) (0 个反应) (0 位负责人)PHP (1,306 个派生)batch import
T: supporthelp wantedimport/exporttopic: stix

仓库指标

星标
 (4,600 个星标)
PR 合并指标
 (平均合并 17天 10小时) (30 天内合并 50 个 PR)

描述

Work environment

Questions Answers
Type of issue Support
OS version (server) Ubuntu 18.04
OS version (client) Ubuntu 18.04
PHP version 7.2
MISP version / git hash 2.4.133
Browser Firefox

Support Questions

I'm trying to test out the STIX import of sightings via the /sightings/add/stix endpoint outlined in the API guide: https://www.circl.lu/doc/misp/automation/#sightings-api.

The guide has an example STIX XML object that I am using with a test domain indicator malicious2.example.com. I have created an event with an attribute malicious2.example.com.

Then, I used the REST client to attempt to add a sighting using the example STIX XML.

Logs, screenshots, configuration dump, ...

REST Client, the HTTP Body is the sample STIX XML. image

And here is the response: image

I noticed in the cURL tab, there does not seem to be any data passed in despite content present under HTTP body. image

The sightings count of the attribute remains unchanged: image

Any pointers are appreciated.

贡献者指南