interface MispNodeParameters {
additionalFields?:
| {
distribution?: 0
| 1
| 3
| 2
| 4
| 5;
sharing_group_id?: string;
}
| {
category?: string;
deleted?: boolean;
published?: boolean;
searchall?: string;
tags?: string;
type?: string;
}
| {
analysis?: 0
| 1
| 2;
distribution?: 0 | 1 | 3 | 2 | 4 | 5;
sharing_group_id?: string;
threat_level_id?: 1 | 3 | 2 | 4;
}
| {
distribution?: 0
| 1
| 3
| 2
| 4
| 5;
json?: string;
}
| {
created_by_email?: string;
description?: string;
nationality?: string;
sector?: string;
type?: string;
usercount?: number;
}
| { colour?: string }
| {
gpgkey?: string;
invited_by?: string;
org_id?: string;
};
attributeId?: string;
email?: string;
eventId?: string;
feedId?: string;
galaxyId?: string;
information?: string;
jsonOutput?: string;
limit?: number;
name?: string;
noticelistId?: string;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
| "search"
| "publish"
| "disable"
| "enable"
| "unpublish";
org_id?: string;
organisationId?: string;
provider?: string;
resource?: | "object"
| "event"
| "tag"
| "feed"
| "user"
| "attribute"
| "eventTag"
| "galaxy"
| "noticelist"
| "organisation"
| "warninglist";
returnAll?: boolean;
role_id?: string;
tagId?: string;
type?: "url"
| "comment"
| "text";
updateFields?:
| {
distribution?: 0
| 1
| 3
| 2
| 4
| 5;
sharing_group_id?: string;
}
| {
analysis?: 0
| 1
| 2;
distribution?: 0 | 1 | 3 | 2 | 4 | 5;
information?: string;
sharing_group_id?: string;
threat_level_id?: 1 | 3 | 2 | 4;
}
| {
distribution?: 0
| 1
| 3
| 2
| 4
| 5;
name?: string;
provider?: string;
rules?: string;
url?: string;
}
| {
description?: string;
name?: string;
nationality?: string;
sector?: string;
type?: string;
}
| { colour?: string; name?: string }
| {
email?: string;
gpgkey?: string;
invited_by?: string;
org_id?: string;
};
url?: string;
useJson?: boolean;
userId?: string;
value?: string;
warninglistId?: string;
}Properties§
readonly additional Fields?:
| {
distribution?: 0
| 1
| 3
| 2
| 4
| 5;
sharing_group_id?: string;
}
| {
category?: string;
deleted?: boolean;
published?: boolean;
searchall?: string;
tags?: string;
type?: string;
}
| {
analysis?: 0
| 1
| 2;
distribution?: 0 | 1 | 3 | 2 | 4 | 5;
sharing_group_id?: string;
threat_level_id?: 1 | 3 | 2 | 4;
}
| {
distribution?: 0
| 1
| 3
| 2
| 4
| 5;
json?: string;
}
| {
created_by_email?: string;
description?: string;
nationality?: string;
sector?: string;
type?: string;
usercount?: number;
}
| { colour?: string }
| {
gpgkey?: string;
invited_by?: string;
org_id?: string;
}readonly attribute Id?: stringUUID or numeric ID of the attribute
readonly email?: string§readonly event Id?: stringUUID of the event to attach the attribute to
readonly feed Id?: stringUUID or numeric ID of the feed
readonly galaxy Id?: stringUUID or numeric ID of the galaxy
readonly information?: stringInformation on the event - max 65535 characters
readonly json Output?: stringGet more info at {YOUR_BASE_URL_SPECIFIED_IN_CREDENTIALS}/api/openapi#operation/restSearchAttributes Default: "{\n "value": "search value",\n "type": "text"\n}\n" Type options: {"rows":5}
readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1}
readonly name?: string§readonly noticelist Id?: stringNumeric ID of the noticelist
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
| "search"
| "publish"
| "disable"
| "enable"
| "unpublish"Default: "create"
readonly org _ id?: stringChoose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getOrgs"}
readonly organisation Id?: stringUUID or numeric ID of the organisation
readonly provider?: string§readonly resource?:
| "object"
| "event"
| "tag"
| "feed"
| "user"
| "attribute"
| "eventTag"
| "galaxy"
| "noticelist"
| "organisation"
| "warninglist"Default: "attribute"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly role _ id?: stringRole IDs are available in the MISP dashboard at /roles/index
readonly tag Id?: stringChoose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getTags"}
readonly type?: "url" | "comment" | "text"Default: "text"
readonly update Fields?:
| {
distribution?: 0
| 1
| 3
| 2
| 4
| 5;
sharing_group_id?: string;
}
| {
analysis?: 0
| 1
| 2;
distribution?: 0 | 1 | 3 | 2 | 4 | 5;
information?: string;
sharing_group_id?: string;
threat_level_id?: 1 | 3 | 2 | 4;
}
| {
distribution?: 0
| 1
| 3
| 2
| 4
| 5;
name?: string;
provider?: string;
rules?: string;
url?: string;
}
| {
description?: string;
name?: string;
nationality?: string;
sector?: string;
type?: string;
}
| { colour?: string; name?: string }
| {
email?: string;
gpgkey?: string;
invited_by?: string;
org_id?: string;
}Default: {}
readonly url?: string§readonly use Json?: booleanWhether to use JSON to specify the fields for the search request
readonly user Id?: stringNumeric ID of the user
readonly value?: string§readonly warninglist Id?: stringNumeric ID of the warninglist
Default: {}