Skip to content

Commit

Permalink
Merge branch 'release/3.0.0-RC4'
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Jul 10, 2019
2 parents 13ecd33 + 3f4efab commit b3c2236
Show file tree
Hide file tree
Showing 12 changed files with 111 additions and 31 deletions.
51 changes: 45 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Change Log

## [3.0.0-RC4](https://github.com/TheHive-Project/Cortex/tree/3.0.0-RC4) (2019-07-10)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/3.0.0-RC3...3.0.0-RC4)

**Fixed bugs:**

- Responder run displayed as Analyzer run [\#207](https://github.com/TheHive-Project/Cortex/issues/207)
- docker version of cortex breaks when you don't create a user immediately [\#204](https://github.com/TheHive-Project/Cortex/issues/204)
- Login error after Cortex upgrade to 3 [\#199](https://github.com/TheHive-Project/Cortex/issues/199)
- Yara analyzer configuration dialog broken [\#134](https://github.com/TheHive-Project/Cortex/issues/134)

**Closed issues:**

- docker version of cortex prints a lot of errors for auth failures [\#205](https://github.com/TheHive-Project/Cortex/issues/205)
- dockerhub sample uses the wrong port [\#203](https://github.com/TheHive-Project/Cortex/issues/203)
- Custom Responder not showing up in Responders Config Tab [\#201](https://github.com/TheHive-Project/Cortex/issues/201)
- Can't enable some "free" Analyzers [\#200](https://github.com/TheHive-Project/Cortex/issues/200)

## [3.0.0-RC3](https://github.com/TheHive-Project/Cortex/tree/3.0.0-RC3) (2019-06-05)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/3.0.0-RC2...3.0.0-RC3)
Expand All @@ -15,6 +33,7 @@
- Get user detials via API is available to non-admin users [\#194](https://github.com/TheHive-Project/Cortex/issues/194)

## [3.0.0-RC2](https://github.com/TheHive-Project/Cortex/tree/3.0.0-RC2) (2019-05-03)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/3.0.0-RC1...3.0.0-RC2)

**Fixed bugs:**
Expand All @@ -24,6 +43,7 @@
- Docker container exposes tcp/9000 instead of tcp/9001 [\#166](https://github.com/TheHive-Project/Cortex/issues/166)

## [3.0.0-RC1](https://github.com/TheHive-Project/Cortex/tree/3.0.0-RC1) (2019-04-05)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.1.3...3.0.0-RC1)

**Implemented enhancements:**
Expand All @@ -34,7 +54,7 @@

**Fixed bugs:**

- SSO: Authentication module not found [\#181](https://github.com/TheHive-Project/Cortex/issues/181)
- SSO: Authentication module not found [\#181](https://github.com/TheHive-Project/Cortex/issues/181)
- Akka Dispatcher Blocked [\#170](https://github.com/TheHive-Project/Cortex/issues/170)

**Closed issues:**
Expand All @@ -45,6 +65,7 @@
- File extraction [\#120](https://github.com/TheHive-Project/Cortex/issues/120)

## [2.1.3](https://github.com/TheHive-Project/Cortex/tree/2.1.3) (2018-12-20)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.1.2...2.1.3)

**Implemented enhancements:**
Expand All @@ -62,17 +83,19 @@

**Closed issues:**

- Systemd: cortex.service: Failed with result 'exit-code'. [\#155](https://github.com/TheHive-Project/Cortex/issues/155)
- Systemd: cortex.service: Failed with result 'exit-code'. [\#155](https://github.com/TheHive-Project/Cortex/issues/155)
- conf/logback.xml: Rotate logs [\#62](https://github.com/TheHive-Project/Cortex/issues/62)

## [2.1.2](https://github.com/TheHive-Project/Cortex/tree/2.1.2) (2018-10-12)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.1.1...2.1.2)

**Fixed bugs:**

- findSimilarJob function broken [\#144](https://github.com/TheHive-Project/Cortex/issues/144)

## [2.1.1](https://github.com/TheHive-Project/Cortex/tree/2.1.1) (2018-10-09)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.1.0...2.1.1)

**Implemented enhancements:**
Expand All @@ -88,6 +111,7 @@
- Console output should not be logged in syslog [\#136](https://github.com/TheHive-Project/Cortex/issues/136)

## [2.1.0](https://github.com/TheHive-Project/Cortex/tree/2.1.0) (2018-09-25)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.1.0-RC1...2.1.0)

**Implemented enhancements:**
Expand All @@ -98,7 +122,7 @@
**Fixed bugs:**

- MISP API fails [\#109](https://github.com/TheHive-Project/Cortex/issues/109)
- File\_Info issue [\#53](https://github.com/TheHive-Project/Cortex/issues/53)
- File_Info issue [\#53](https://github.com/TheHive-Project/Cortex/issues/53)
- Temporary files are not removed at the end of job [\#129](https://github.com/TheHive-Project/Cortex/issues/129)
- MISP fails to run analyzers [\#128](https://github.com/TheHive-Project/Cortex/issues/128)

Expand All @@ -107,6 +131,7 @@
- Update resolvers in build.sbt to contain Maven as a dependency [\#130](https://github.com/TheHive-Project/Cortex/pull/130) ([adl1995](https://github.com/adl1995))

## [2.1.0-RC1](https://github.com/TheHive-Project/Cortex/tree/2.1.0-RC1) (2018-07-31)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.0.4...2.1.0-RC1)

**Implemented enhancements:**
Expand Down Expand Up @@ -137,6 +162,7 @@
- Update GitHub path [\#100](https://github.com/TheHive-Project/Cortex/pull/100) ([saadkadhi](https://github.com/saadkadhi))

## [2.0.4](https://github.com/TheHive-Project/Cortex/tree/2.0.4) (2018-04-13)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.0.3...2.0.4)

**Implemented enhancements:**
Expand All @@ -158,6 +184,7 @@
- Insufficient Rights To Perform This Action [\#87](https://github.com/TheHive-Project/Cortex/issues/87)

## [2.0.3](https://github.com/TheHive-Project/Cortex/tree/2.0.3) (2018-04-09)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.0.2...2.0.3)

**Implemented enhancements:**
Expand All @@ -177,6 +204,7 @@
- Allow configuring auto artifacts extraction per analyzer [\#80](https://github.com/TheHive-Project/Cortex/issues/80)

## [2.0.2](https://github.com/TheHive-Project/Cortex/tree/2.0.2) (2018-04-04)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.0.1...2.0.2)

**Fixed bugs:**
Expand All @@ -188,6 +216,7 @@
- Session collision when TheHive & Cortex 2 share the same URL [\#70](https://github.com/TheHive-Project/Cortex/issues/70)

## [2.0.1](https://github.com/TheHive-Project/Cortex/tree/2.0.1) (2018-03-30)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.0.0...2.0.1)

**Fixed bugs:**
Expand All @@ -197,6 +226,7 @@
- User can't change his password [\#67](https://github.com/TheHive-Project/Cortex/issues/67)

## [2.0.0](https://github.com/TheHive-Project/Cortex/tree/2.0.0) (2018-03-30)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.1.4...2.0.0)

**Implemented enhancements:**
Expand All @@ -219,7 +249,7 @@
- Local, LDAP, AD and API Key Authentication [\#7](https://github.com/TheHive-Project/Cortex/issues/7)
- Limit Rates and Respect Quotas [\#6](https://github.com/TheHive-Project/Cortex/issues/6)
- Persistence and Report Caching [\#5](https://github.com/TheHive-Project/Cortex/issues/5)
- Provide alternative paths for analyzers in addition to standard path. [\#4](https://github.com/TheHive-Project/Cortex/issues/4)
- Provide alternative paths for analyzers in addition to standard path. [\#4](https://github.com/TheHive-Project/Cortex/issues/4)
- Provide way to reload conf file for new API keys without shutdown. [\#3](https://github.com/TheHive-Project/Cortex/issues/3)
- Provide Secret Key auth to upstream service [\#2](https://github.com/TheHive-Project/Cortex/issues/2)

Expand All @@ -230,6 +260,7 @@
- Adding WOT config sample [\#43](https://github.com/TheHive-Project/Cortex/pull/43) ([mthlvt](https://github.com/mthlvt))

## [1.1.4](https://github.com/TheHive-Project/Cortex/tree/1.1.4) (2017-09-15)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.1.3...1.1.4)

**Fixed bugs:**
Expand All @@ -243,6 +274,7 @@
- Disable analyzer in configuration file [\#32](https://github.com/TheHive-Project/Cortex/issues/32)

## [1.1.3](https://github.com/TheHive-Project/Cortex/tree/1.1.3) (2017-06-14)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/debian/1.1.2-2...1.1.3)

**Fixed bugs:**
Expand All @@ -251,9 +283,11 @@
- Error when parsing analyzer failure report [\#33](https://github.com/TheHive-Project/Cortex/issues/33)

## [debian/1.1.2-2](https://github.com/TheHive-Project/Cortex/tree/debian/1.1.2-2) (2017-05-24)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.1.2...debian/1.1.2-2)

## [1.1.2](https://github.com/TheHive-Project/Cortex/tree/1.1.2) (2017-05-24)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/debian/1.1.1-2...1.1.2)

**Implemented enhancements:**
Expand All @@ -268,16 +302,19 @@
- Error 500 in TheHive when a job is submited to Cortex [\#27](https://github.com/TheHive-Project/Cortex/issues/27)

## [debian/1.1.1-2](https://github.com/TheHive-Project/Cortex/tree/debian/1.1.1-2) (2017-05-19)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/rpm/1.1.1-2...debian/1.1.1-2)

## [rpm/1.1.1-2](https://github.com/TheHive-Project/Cortex/tree/rpm/1.1.1-2) (2017-05-19)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.1.1...rpm/1.1.1-2)

**Fixed bugs:**

- After Upgrade from Cortex 1.0.2 to 1.1.1 system does not come up [\#26](https://github.com/TheHive-Project/Cortex/issues/26)

## [1.1.1](https://github.com/TheHive-Project/Cortex/tree/1.1.1) (2017-05-17)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.1.0...1.1.1)

**Fixed bugs:**
Expand All @@ -290,6 +327,7 @@
- MISP integration [\#21](https://github.com/TheHive-Project/Cortex/issues/21)

## [1.1.0](https://github.com/TheHive-Project/Cortex/tree/1.1.0) (2017-05-12)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.0.2...1.1.0)

**Implemented enhancements:**
Expand All @@ -304,6 +342,7 @@
- Use new logo and favicon [\#22](https://github.com/TheHive-Project/Cortex/issues/22)

## [1.0.2](https://github.com/TheHive-Project/Cortex/tree/1.0.2) (2017-04-19)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.0.1...1.0.2)

**Fixed bugs:**
Expand All @@ -319,6 +358,7 @@
- Documentation on 'How to create an analyzer' [\#10](https://github.com/TheHive-Project/Cortex/issues/10)

## [1.0.1](https://github.com/TheHive-Project/Cortex/tree/1.0.1) (2017-03-08)

[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.0.0...1.0.1)

**Fixed bugs:**
Expand All @@ -331,5 +371,4 @@

## [1.0.0](https://github.com/TheHive-Project/Cortex/tree/1.0.0) (2017-02-01)


\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
\* _This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)_
37 changes: 33 additions & 4 deletions conf/application.sample
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,39 @@
search {
# Name of the index
index = cortex
# Name of the ElasticSearch cluster
cluster = hive
# Address of the ElasticSearch instance
host = ["127.0.0.1:9300"]
# ElasticSearch instance address.
uri = "http://127.0.0.1:9200/"

## Advanced configuration
# Scroll keepalive.
#keepalive = 1m
# Scroll page size.
#pagesize = 50
# Number of shards
#nbshards = 5
# Number of replicas
#nbreplicas = 1
# Arbitrary settings
#settings {
# # Maximum number of nested fields
# mapping.nested_fields.limit = 100
#}

## Authentication configuration
#search.username = ""
#search.password = ""

## SSL configuration
#search.keyStore {
# path = "/path/to/keystore"
# type = "JKS" # or PKCS12
# password = "keystore-password"
#}
#search.trustStore {
# path = "/path/to/trustStore"
# type = "JKS" # or PKCS12
# password = "trustStore-password"
#}
}

## Cache
Expand Down
2 changes: 1 addition & 1 deletion docker/cortex/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- thread_pool.search.queue_size=100000
- thread_pool.bulk.queue_size=100000
cortex:
image: thehiveproject/cortex:latest
image: thehiveproject/cortex:3.0.0-RC4
depends_on:
- elasticsearch
ports:
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object Dependencies {

val reflections = "org.reflections" % "reflections" % "0.9.11"
val zip4j = "net.lingala.zip4j" % "zip4j" % "1.3.2"
val elastic4play = "org.thehive-project" %% "elastic4play" % "1.11.3"
val elastic4play = "org.thehive-project" %% "elastic4play" % "1.11.4"
val dockerClient = "com.spotify" % "docker-client" % "8.14.4"
}

2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "3.0.0-RC3"
version in ThisBuild := "3.0.0-RC4"
4 changes: 2 additions & 2 deletions www/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cortex",
"version": "3.0.0-RC3",
"version": "3.0.0-RC4",
"description": "A powerfull observable analysis engine",
"license": "AGPL-3.0-or-later",
"homepage": "https://github.com/TheHive-Project/Cortex",
Expand Down Expand Up @@ -75,4 +75,4 @@
"webpack": "^3.5.0",
"webpack-dev-server": "^2.2.0"
}
}
}
2 changes: 1 addition & 1 deletion www/src/app/components/user-dialog/user.edit.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default class UserEditController {
if (this.user.id) {
promise = this.UserService.update(this.user.id, postData);
} else {
postData.login = _.lowerCase(this.formData.id);
postData.login = _.toLower(this.formData.id);
promise = this.UserService.save(postData);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default class UserEditController {
if (this.user.id) {
promise = this.UserService.update(this.user.id, postData);
} else {
postData.login = _.lowerCase(this.formData.id);
postData.login = _.toLower(this.formData.id);
promise = this.UserService.save(postData);
}

Expand Down
19 changes: 11 additions & 8 deletions www/src/app/pages/jobs/components/jobs.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@
<div class="row mv-s" ng-if="$ctrl.jobs.length > 0">
<div class="col-sm-12 flex-table">
<div class="flex-header media">
<div class="flex-col flex-w-100 text-center">Status</div>
<div class="flex-col flex-w-100 text-center">Status</div>
<div class="flex-col flex-1">Job details</div>
<div class="flex-col flex-w-120 text-center">TLP</div>
<div class="flex-col flex-w-120 text-center">PAP</div>
<div class="flex-col flex-w-100"></div>
<div class="flex-col flex-w-100" require-roles="orgadmin,analyze"></div>
</div>
<div class="flex-row media" ng-repeat="job in $ctrl.jobs track by job.id" ng-init="isFile = job.dataType ==='file'">
<div class="flex-row media" ng-repeat="job in $ctrl.jobs track by job.id"
ng-init="isFile = job.dataType ==='file'">
<div class="flex-col flex-w-100 vertical centered">
<span class="label label-lg label-default" ng-class="{
'Success': 'label-success',
Expand All @@ -30,13 +31,14 @@
</div>
<div class="flex-col flex-1">
<h4 class="media-heading text-primary">
<strong>[{{job.dataType}}]</strong>
<span ng-if="job.type !== 'responder'">{{(isFile ? job.attachment.name : job.data) | fang | limitTo:200}}</span>
<strong>[{{job.dataType}}]</strong>
<span
ng-if="job.type !== 'responder'">{{(isFile ? job.attachment.name : job.data) | fang | limitTo:200}}</span>
<span ng-if="job.type === 'responder'">{{job.label || 'No Label'}}</span>
</h4>
<div class="row mv-xs text-muted">
<div class="col-sm-4">
<strong>Analyzer:</strong>
<strong class="text-capitalized">{{ job.type }}:</strong>
<span>{{job.analyzerName}}</span>
</div>
<div class="col-sm-4">
Expand All @@ -46,11 +48,12 @@ <h4 class="media-heading text-primary">
<div class="col-sm-4">
<strong>User:</strong>
<span>{{job.organization}}/{{job.createdBy}}</span>
</div>
</div>
</div>
<div ng-if="job.status === 'Failure'" class="row text-danger wrap">
<div class="col-sm-12">
<a class="text-danger" href ng-click="job.showError = !!!job.showError">{{job.showError ? 'Hide' : 'Show'}} error</a>
<a class="text-danger" href
ng-click="job.showError = !!!job.showError">{{job.showError ? 'Hide' : 'Show'}} error</a>
<pre ng-show="job.showError" class="error-trace">{{job.message}}</pre>
</div>
</div>
Expand All @@ -72,4 +75,4 @@ <h4 class="media-heading text-primary">
</div>
</div>
</div>
</section>
</section>
2 changes: 1 addition & 1 deletion www/src/app/pages/login/login.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default class LoginController {
}

login() {
this.params.username = _.lowerCase(this.params.username);
this.params.username = _.toLower(this.params.username);

this.AuthService.login(this.params.username, this.params.password)
.then(() => this.$state.go('index'))
Expand Down
Loading

0 comments on commit b3c2236

Please sign in to comment.