MISP
Share MISP events through a sharing group
A fork of the MISP connector whose add event and add attribute operations accept a sharing group distribution.
misp_2.2.1.tgz
Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.
Fork of a Content Hub connector
An enhanced copy of MISP misp v2.2.0Original's documentation
The operation list matches the Content Hub original exactly, so anything this fork changes lives below the operation level.
What the author changed: Adds the sharing group distribution option to the add event and add attribute to event operations.
Keeps the original's machine name, so importing this upgrades the Content Hub connector in place and existing configurations survive. Differences are re-measured against the current Content Hub index at every site build, so this stays truthful as the original moves.
Configuration · 3 fields
- Server Name
hostnametext requiredSpecify Hostname or IP address of the MISP server to which you will connect and perform automated operations.
- API Key
api_keypassword requiredSpecify API key that is configured for your account for using the MISP server.
- Verify SSL
verify_sslcheckboxSpecifies whether the SSL certificate for the server is to be verified or not.
Default
true
Operations · 15
Add Event 8 params
create_eventcreate_eventCreates an event and adds the new event in MISP based on the event information and other input parameters you have specified.
- Event Information
event_infotext requiredSpecify brief description of the malware or event you are creating, including the internal reference for the event.
- Date
datedatetimeSpecify date on which you want to create the event in MISP.
- Distribution
distributionselectSpecify setting that controls on who can view this event once it is published and eventually when it gets pulled. Apart from being able to set which users on this server are allowed to see the event, this also controls whether or not the event will be synchronized to other servers.
Default
This Community OnlyOptions Your Organisation OnlyThis Community OnlyConnected CommunitiesAll CommunitiesSharing Group - Threat Level
threat_levelselectSelect the risk level of the event.
Default
UndefinedOptions HighMediumLowUndefined - Analysis Status
analysisselectSpecify the current stage of analysis of the event.
Default
InitialOptions InitialOngoingCompleted - Published
publishedcheckboxSelect this checkbox to publish the event in MISP
Default
false - Extends Event
extends_uuidtextSpecify the ID or UUID of the event to extend the event.
Default
false - Additional Attributes
additional_attributesobjectSpecify the additional attributes required to create the event in JSON format
ReturnsEventSearch Events 1 param
get_eventsget_eventsRetrieves information about events from MISP based on the filter you have specified.
- Search JSON Body
searchJSONBodyobject requiredPlease provide JSON BODY for searching event index. Refer to API Documentation at: https://www.misp-project.org/openapi/#tag/Events/operation/searchEvents
Get Event 1 param
get_eventget_eventRetrieves information about an event from MISP based on the event ID that you have specified.
- Event ID
event_idtext requiredSpecify ID or UUID of the event whose information you want to retrieve from MISP. You can get ID or UUID of event using Run Search action.
ReturnsEventAdd Attributes to Event 7 params
add_attributes_to_eventadd_attributes_to_eventAdds specified attributes to an existing MISP event based on the event ID, attribute type and value, and other input parameters you have specified. .
- Event ID
event_idtext requiredSpecify ID or UUID of the MISP event to which you want to add attributes. You can get ID or UUID of event using Run Search action.
- Category
categoryselect requiredSpecify category of the attribute that you want to add to the specific event in MISP. Options of Attribute Type parameter will be based on this parameter.
Options Internal referenceTargeting dataAntivirus detectionPayload deliveryArtifacts droppedPayload installationPersistence mechanismNetwork activityPayload typeAttributionExternal analysisFinancial fraudSupport ToolSocial networkPersonOther - Attribute Type
typeselect requiredChoose Category parameter first. Specify the type of attribute that you want to add to the specific event in MISP.
- Attribute Value
valuetext requiredSpecify the value of the attribute that you want to add to the specific event in MISP. Attribute value could be IP address, Port no, Email address, URL etc.
- Attribute Distribution
distributionselectSpecify the setting controls on who can view this attribute once it is published. By default, "Inherit Event" is set, which means that this field inherits the distribution that is set on its parent event.
Default
Inherit EventOptions Your Organisation OnlyThis Community OnlyConnected CommunitiesAll CommunitiesSharing GroupInherit Event - Use Attribute as an IDS Signature
to_idscheckboxSelect this checkbox if you want to add attributes for Intrusion Detection System (IDS) and this sets the to_IDS flag to True in MISP.
Default
true - Comment
commenttextSpecify Comments that you want to add for the attributes. Comments are used for informational purposes only and not for correlations.
ReturnsAttributeAttributeTagDelete Event 1 param
delete_eventdelete_eventDeletes an event from MISP based on the event ID that you have specified.
- Event ID
event_idtext requiredSpecify ID or UUID of the event that you want to delete from MISP. You can get ID or UUID of event using Run Search action.
ReturnssavedsuccessnamemessageurlDelete Attribute from Event 1 param
delete_attributedelete_attributeDeletes an attribute from a MISP event based on the attribute ID that you have specified.
- Attribute ID
attribute_idtext requiredSpecify ID or UUID of the attribute that you want to delete from MISP. You can get attribute ID or UUID using Run Search Action.
ReturnsmessageRun Search 2 params
run_searchrun_searchSearches for events or attributes in MISP based on the input parameters that you have specified.
- Controller
controllerselect requiredSelect whether you want to search for Attributes or Events in MISP.
Default
EventsOptions EventsAttributes - Search Type
search_typeselect requiredSelect which type of searching you want to do.
Default
BasicOptions BasicAdvancedWhen Search Type is Basic
- Search From
fromdatetimeSpecify the date after which to retrieve the events.
- Search Until
todatetimeSpecify the date before which to retrieve the events.
- Attribute Type
typetextSpecify the attribute type to retrieve attribute or related events. You can specify from md5, sha1, sha256, ip-src, ip-dst, etc. For more information, refer to https://www.misp-project.org/openapi/#tag/Attributes/operation/restSearchAttributes.
- Page
pageintegerSpecify the page number from which to retrieve data form MISP. By default it is set to 1.
Default
1 - Limit
limitintegerSpecify the maximum number of records to retrieve from MISP. By default it is set to 10.
Default
10
When Search Type is Advanced
- Search Filter
search_filterjson requiredSpecify the search criteria in JSON format as documented at https://www.misp-project.org/openapi/#tag/Events/operation/searchEvents. For example: { "page": 0, "limit": 1, "searchDatefrom": "2020-01-20", "searchDateuntil": "2020-01-20" }
Default
{"page": 0, "limit": 1, "from": "2020-01-20", "to": "2020-02-20"}
Add Tag 6 params
add_tagadd_tagAdds a tag in MISP based on the tag name and other input parameters that you have specified.
- Tag Name
nametext requiredSpecify name of the tag you want to create in MISP.
- Color
colourtext requiredSpecify the tag Color you want to allocate for the tag
- Exportable
exportablecheckboxSelect this checkbox if you want to create an exportable tag in MISP.
Default
false - Hide Tag
hide_tagcheckboxSelect this checkbox if you want to hide the created tag in MISP.
Default
false - Organisation ID
org_idintegerSpecify ID of the organization that you want to add to the tag that you are creating in MISP.
Default
false - User ID
user_idintegerSpecify ID of the user that you want to add to the tag that you are creating in MISP.
Default
false
ReturnsTagList All Tags
get_tagsget_tagsRetrieves a list of all existing tags from MISP.
No parameters.
ReturnsTagAdd Tag to Event 2 params
add_tag_to_eventadd_tag_to_eventAdds a tag to an existing event in MISP based on the tag and event ID that you have specified.
- Event ID
event_idtext requiredSpecify ID of the MISP event to which you want to add the specified tag.
- Tag
tagtext requiredSpecify ID or name of the tag that you want to add to the specified event in MISP.
Returnssavedsuccesscheck_publishRemove Tag from Event 2 params
remove_tag_from_eventremove_tag_from_eventDeletes the specified tag from an existing event in MISP based on the tag and event ID that you have specified.
- Event ID
event_idtext requiredSpecify ID of the MISP event from which you want to remove the specified tag.
- Tag
tagtext requiredSpecify ID or name of the tag that you want to remove to the specified event in MISP.
Returnssavedsuccesscheck_publishGet Attribute Type
get_attribute_typeget_attribute_typeRetrieves a list of all existing specific attribute type.
No parameters.
Get Organisations
get_organisationsget_organisationsRetrieves a list of all available organisations from MISP.
No parameters.
Get Users
get_usersget_usersRetrieves a list of all available users from MISP
No parameters.
Execute an API Request 4 params
generic_rest_api_callgeneric_rest_api_callExecute any MISP REST API using the specified API method, endpoint, and payload as input parameters.
- HTTP Method
methodselect requiredSelect an HTTP action for the request. You can select from the following options: DELETE GET PATCH POST PUT
Default
GETOptions DELETEGETPATCHPOSTPUT - Endpoint
endpointtext requiredSpecify the REST API endpoint for the action to perform.
- Query Parameters
query_paramsjsonSpecify any optional parameters query parameters in JSON format.
- Payload
payloadjsonSpecify the payload to be passed in JSON format.