From 00bee7935dd0f9c57e51db8dfe59361dd79f4ec0 Mon Sep 17 00:00:00 2001 From: Lorena Goldoni <33703137+Lorygold@users.noreply.github.com> Date: Thu, 30 Nov 2023 18:38:08 +0100 Subject: [PATCH] 1.2.9 (#91) * Setup config (#70) * Updated setup_config mgmt command * Updated CHANGELOG.md * Added cover * Update README.md * Managed values as a list * Refactoring * Removed comments * buffalogs_1_2_2 * 72 exception keyerror ip in process user (#73) * Fixed KeyError('ip') * Updated CHANGELOG.md * Added user.name exists in Elastic query * Version 1.2.3 * Added new screenshots (#75) * Fixed ValueError('make_aware expects a naive datetime) (#77) * Fixed ValueError('make_aware expects a naive datetime) * fix * Set USE_TZ = True * Updated CHANGELOG.md * Updated CHANGELOG.md * Version 1.2.4 * Fix fw index name (#79) * Fixed fw-proxy index name * Updated CHANGELOG.md * Update README.md (#80) * Version 1.2.5 * Fix linters requirements (#82) * Removed linters requirements from setup * Updated CHANGELOG.md * Updated requirements * Version 1.2.6 * Fix * revert * Fixed alert description format (#84) * Fixed alert description format * fixed test * Version 1.2.7 * Cleaned requirements (#88) * Cleaned requirements * Fixing requirements --------- Co-authored-by: Federico Foschini * Version 1.2.8 * Fixed postgres container connection (#90) * Version 1.2.9 --------- Co-authored-by: Federico Co-authored-by: Federico Foschini --- CHANGELOG.md | 3 +++ django-buffalogs/buffalogs.egg-info/PKG-INFO | 2 +- django-buffalogs/setup.cfg | 2 +- docker-compose.yaml | 7 +++++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0aea392..766cb0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ ## 1.2.x +### 1.2.9 +#### Bugfix +* Fixed the connection to the buffalogs_postgres container ### 1.2.8 #### Bugfix * Cleared requirements diff --git a/django-buffalogs/buffalogs.egg-info/PKG-INFO b/django-buffalogs/buffalogs.egg-info/PKG-INFO index 9c6e1f2..b946cf1 100644 --- a/django-buffalogs/buffalogs.egg-info/PKG-INFO +++ b/django-buffalogs/buffalogs.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: buffalogs -Version: 1.2.8 +Version: 1.2.9 Summary: A Django app to detect anomaly logins. Home-page: UNKNOWN Author: Lorena Goldoni diff --git a/django-buffalogs/setup.cfg b/django-buffalogs/setup.cfg index 4e01f46..c04980d 100644 --- a/django-buffalogs/setup.cfg +++ b/django-buffalogs/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = buffalogs -version = 1.2.8 +version = 1.2.9 description = A Django app to detect anomaly logins. long_description = file: README.rst author = Lorena Goldoni diff --git a/docker-compose.yaml b/docker-compose.yaml index 8232590..63d9954 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,8 +5,11 @@ services: buffalogs_postgres: container_name: buffalogs_postgres image: postgres:15.4-alpine - env_file: - - config/buffalogs/buffalogs.env + hostname: postgres + environment: + POSTGRES_USER: default_user + POSTGRES_PASSWORD: password + POSTGRES_DB: buffalogs volumes: - buffalogs_postgres_data:/var/lib/postgresql/data expose: