Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application.conf needs clarifications #606

Closed
saadkadhi opened this issue Jun 9, 2018 · 0 comments
Closed

Application.conf needs clarifications #606

saadkadhi opened this issue Jun 9, 2018 · 0 comments
Assignees
Milestone

Comments

@saadkadhi
Copy link
Contributor

Request Type

Enhancement

Work Environment

Question Answer
TheHive version / git hash 3.0.10

Problem Description

TheHive's configuration file (application.conf) can be somehow confusing when an administrator wants to sync TheHive with a MISP instance. The closing curly bracket is of the instance's config section is not easily seen hence remains commented which will generate errors. Moreover, the authentication key that needs to be supplied must correspond to a sync account on MISP. Finally, the tags that can be added to each observable imported from the instance are optional.

misp {
  #"MISP-SERVER-ID" {
    # URL of the MISP instance.
    #url = ""

    # Authentication key.
    #key = ""

    # Name of the case template in TheHive that shall be used to import
    # MISP events as cases by default.
    # caseTemplate = "<Template_Name_goes_here>"

    # Tags to add to each observable imported from an event available on
    # this instance.
    #tags = ["misp-server-id"]

    # Truststore to use to validate the X.509 certificate  of  the  MISP
    # instance if the default truststore is not sufficient.

    #ws.ssl.trustManager.stores =  [
    #{
    #  type: "JKS"
    #  path: "/path/to/truststore.jks"
    #}
    #]
  #}

Possible Solutions

Change application.conf to:

  #"MISP-SERVER-ID" {
    # URL of the MISP instance.
    #url = ""

    # Authentication key corresponding to a sync account on MISP.
    #key = ""

    # Name of the case template in TheHive that shall be used to import
    # MISP events as cases by default.
    # caseTemplate = "<Template_Name_goes_here>"

    # Optional tags to add to each observable  imported  from  an  event
    # available on this instance.

    #tags = ["misp-server-id"]

    # Truststore to use to validate the X.509 certificate  of  the  MISP
    # instance if the default truststore is not sufficient.

    #ws.ssl.trustManager.stores =  [
    #{
    #  type: "JKS"
    #  path: "/path/to/truststore.jks"
    #}
    #]

  #} ## <-- Uncomment to complete the configuration
@saadkadhi saadkadhi self-assigned this Jun 9, 2018
@saadkadhi saadkadhi modified the milestone: 3.0.10 Jun 9, 2018
@To-om To-om closed this as completed in a200bfa Jul 31, 2018
@To-om To-om added this to the 3.1.0-RC2 milestone Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants