Skip to content

0.6.0

Choose a tag to compare

@greenape greenape released this 24 Apr 10:09
· 11057 commits to master since this release

Added

  • Added new flowclient API entrypoint, aggregate_network_objects, to access equivalent flowmachine query #601
  • FlowAPI now exposes the API spec at the spec/openapi.json endpoint, and an interactive version of the spec at the spec/redoc endpoint
  • Added Makefile target make up-no_build, to spin up all containers without building the images
  • Added resync_redis_with_cache function to cache utils, to allow administrators to align redis with FlowDB #636
  • Added new flowclient API entrypoint, radius_of_gyration, to access (with simplified parameters) equivalent flowmachine query RadiusOfGyration #602

Changed

  • The period argument to TotalNetworkObjects in FlowMachine has been renamed total_by
  • The period argument to total_network_objects in FlowClient has been renamed total_by
  • The by argument to AggregateNetworkObjects in FlowMachine has been renamed to aggregate_by
  • The stop_date argument to the modal_location_from_dates and meaningful_locations_* functions in FlowClient has been renamed end_date #470
  • get_result_by_query_id now accepts a poll_interval argument, which allows polling frequency to be changed
  • RadiusOfGyration now returns a value column instead of an rog column
  • TotalNetworkObjects and AggregateNetworkObjects now return a value column, rather than statistic_name
  • All environment variables are now in a single development_environment file in the project root, development environment setup has been simplified
  • Default FlowDB users for FlowMachine and FlowAPI have changed from "analyst" and "reporter" to "flowmachine" and "flowapi", respectively
  • Docs and integration tests now use top level compose file
  • The following environment variables have been renamed:
    • FLOWMACHINE_SERVER (FlowAPI) -> FLOWMACHINE_HOST
    • FM_PASSWORD (FlowDB), FLOWDB_PASS (FlowMachine) -> FLOWMACHINE_FLOWDB_PASSWORD
    • API_PASSWORD (FlowDB), FLOWDB_PASS (FlowAPI) -> FLOWAPI_FLOWDB_PASSWORD
    • FM_USER (FlowDB), FLOWDB_USER (FlowMachine) -> FLOWMACHINE_FLOWDB_USER
    • API_USER (FlowDB), FLOWDB_USER (FlowAPI) -> FLOWAPI_FLOWDB_USER
    • LOG_LEVEL (FlowMachine) -> FLOWMACHINE_LOG_LEVEL
    • LOG_LEVEL (FlowAPI) -> FLOWAPI_LOG_LEVEL
    • DEBUG (FlowDB) -> FLOWDB_DEBUG
    • DEBUG (FlowMachine) -> FLOWMACHINE_SERVER_DEBUG_MODE
  • The following Docker secrets have been renamed:
    • FLOWAPI_DB_USER -> FLOWAPI_FLOWDB_USER
    • FLOWAPI_DB_PASS -> FLOWAPI_FLOWDB_PASSWORD
    • FLOWMACHINE_DB_USER -> FLOWMACHINE_FLOWDB_USER
    • FLOWMACHINE_DB_PASS -> FLOWMACHINE_FLOWDB_PASSWORD
    • POSTGRES_PASSWORD_FILE -> POSTGRES_PASSWORD
    • REDIS_PASSWORD_FILE -> REDIS_PASSWORD
  • status enum in FlowDB renamed to etl_status
  • reset_cache now requires a redis client argument

Fixed

  • Fixed being unable to add new users or servers when running FlowAuth with a Postgres database #622
  • Resetting the cache using reset_cache will now reset the state of queries in redis as well #650
  • Fixed mode statistic for AggregateNetworkObjects #651

Removed

  • Removed docker-compose-dev.yml, and docker-compose files in docs/, flowdb/tests/ and integration_tests/.
  • Removed Dockerfile-dev Dockerfiles
  • Removed ENV defaults from the FlowMachine Dockerfile
  • Removed POSTGRES_DB environment variable from FlowDB Dockerfile, database name is now hardcoded as flowdb