TheHive: Add Mark as Read operation to alerts (#1541)

*  Add Mark as Read operation to TheHive 4 Alerts

* Remove version check from Mark as Read operation

* Add Mark as Unread operation

* Show Alert ID for markAsUnread operation

*  Add Ignore SSL Issues parameter to credentials

*  Add TheHive and Cortex SVG logos

Co-authored-by: Mika Luhta <12100880+mluhta@users.noreply.github.com>
This commit is contained in:
Ricardo Espinoza
2021-03-18 08:06:51 -04:00
committed by GitHub
parent c39504719a
commit d56c3da3dd
10 changed files with 36 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ export async function theHiveApiRequest(this: IHookFunctions | IExecuteFunctions
qs: query,
uri: uri || `${credentials.url}/api${resource}`,
body,
rejectUnauthorized: credentials.allowUnauthorizedCerts as boolean,
json: true,
};