nadouani on develop
#769 Add a case template select… Merge branch 'feature/template-… #769 Add case template selector (compare)
nadouani on develop
#271 Allow merging multiple ale… (compare)
To-om on develop
#271 Update alert status when m… (compare)
To-om on develop
#271 Add API to merge alert in … (compare)
$theHiveApiURL = 'https://thehive.sample.org:9000/api/'
$theHiveApiURLAlert = $theHiveApiURL+'alert'
$headers=@{'Authorization'= 'Bearer '+ 'the_api_key_goes_here'}
function createTheHiveAlert{
$alertArtifacts = @()
$fileName = ''
$contentType = ''
$fileLocation = ''
$b64File = ''
$fileName = malicousFile.doc
$contentType = $fileContentType
$fileLocation = "C:\Users\Rigsby\Desktop\malicousFile.doc"
$b64File = [Convert]::ToBase64String([IO.File]::ReadAllBytes($fileLocation))
Write-Host "$fileName - $contentType added to alert artifacts"
$alertArtifacts += [PSCustomObject]@{
"dataType" = "file"
"data" = "$fileName;$contentType;$b64File"
"message" = "Attachment Found"
}
$alertObject = [PSCustomObject]@{
"title" = "Malicious File Found"
"type" = "test-alert"
"description" = "Hello world"
"source" = "Anti-Malware"
"sourceRef" = $("test-alert - $(Get-Date -Format o)")
"artifacts" = $alertArtifacts
} | ConvertTo-JSON
Write-Host 'Creating alert in The Hive!'
#Create new Alert
Invoke-RestMethod -Method POST -Headers $headers -Uri $theHiveApiURLAlert -Body $alertObject -ContentType "application/json"
}
Hello everybody. We are more than 1k people here, with different levels of knowledge, with different type of issues and questions. Discussions on gitter is getting hard to follow, even for people who want to help answering questions.
Many community members asked few months ago for a move from Gitter, but we didn't have the bandwidth to work on that.
Today we want to make it real, and improve your experience with TheHive.
Please give your opinion about migrating to an official Discord community for TheHive Project: https://twitter.com/TheHive_Project/status/1330414838116474881
Have a good day
2020-11-24 21:19:12,348 [ERROR] from org.thp.scalligraph.utils.Retry in application-akka.actor.default-dispatcher-33 [000004c4|34859770] uncaught error, not retrying
org.thp.scalligraph.NotFoundError: CustomField reporting-type not found
at org.thp.scalligraph.services.VertexSrv.$anonfun$getOrFail$1(VertexSrv.scala:35)
at scala.Option.fold(Option.scala:251)