Dosya Depolama Yapılandırması
Dosya depolama yapılandırması#
TheHive yerel veya dağıtılmış dosya sistemlerini kullanacak şekilde yapılandırılabilir.
Local veya NFS :
Özel klasör oluşturun; thehive:thehive kullanıcı ve grubuna ait olmalıdır.
mkdir /opt/thp/thehive/files
chown thehive:thehive /opt/thp/thehive/filesTheHive'ı uygun şekilde yapılandırın:
## Ek depolama yapılandırması
storage {
  ## Local filesystem
  provider: localfs
  localfs {
    location: /opt/thp/thehive/files
  }
}Mın.IO:
- Min.IO kümesi yükleme
- TheHive'ın her bir düğümünü uygun şekilde yapılandırın.
/etc/thehive/application.conf with TheHive 5.0.x
## Attachment storage configuration
storage {
  provider: s3
  s3 {
    bucket = "thehive"
    readTimeout = 1 minute
    writeTimeout = 1 minute
    chunkSize = 1 MB
    endpoint = "http://<IP_MINIO_1>:9100"
    accessKey = "thehive"
    secretKey = "password"
    region = "us-east-1"
  }
}
alpakka.s3.access-style = path
/etc/thehive/application.conf with TheHive > 5.0
storage {
  provider: s3
  s3 {
    bucket = "thehive"
    readTimeout = 1 minute
    writeTimeout = 1 minute
    chunkSize = 1 MB
    endpoint = "http://<IP_MINIO_1>:9100"
    accessKey = "thehive"
    aws.credentials.provider = "static"
    aws.credentials.secret-access-key = "password"
    access-style = path
    aws.region.provider = "static"
    aws.region.default-region = "us-east-1"
  }
}
- Yapılandırma geriye dönük uyumludur
- MinIO yapılandırmasında hiçbiri belirtilmemişse us-east-1 varsayılan bölgedir. Bu durumda, bu parametre isteğe bağlıdır.
