Skip to content

Latest commit

 

History

History
910 lines (718 loc) · 37.2 KB

CHANGELOG.md

File metadata and controls

910 lines (718 loc) · 37.2 KB

Changelog

[1.0.0-rc.2]

This update includes a rewrite of the API Gateway from Flask to FastAPI to leverage Python Asyncio functionality. Server-Sent Events used for streaming data to the UI was also replaced by Socket.IO which should be easier to maintain and be more robust. UI improvements for interacting with JSON data were also included.

We would have liked to go for a full 1.0.0 release within the month, but due to factors outside of our control, the development team will be pausing work on WALKOFF. We hope to be back within the next couple weeks.

Added

  • Docker logs are now streamed to the UI when rebuilding apps for better feedback on errors.
  • JSON editor/viewer throughout UI where JSON can be accepted (e.g. local/global variables, action results, etc.).
  • RBAC for App Editor.
  • Upload file capability in App Editor.
  • Moved certain items in navigation menu to sub-menu.
  • End-to-end testing suite for API.
  • Travis CI testing reimplemented (Appveyor in progress).

Changed

  • Flask framework replaced with FastAPI async framework.
  • Using Pydantic models for (de)serialization and validation to/from MongoDB.
  • Server-Sent Events replaced with Socket.IO.
  • PostgreSQL database replaced with MongoDB.
  • Internal HTTP communication removed in favor of Redis and Socket.IO.
  • All passwords for resources now randomly generated upon first run/build and stored in Docker Secrets.

Fixed

  • UI should no longer intermittently fail to read from database (including authentication issues).
  • Workflow status now correctly reports current app/action executing.

[1.0.0-rc.1]

This update includes a number of bugfixes, particularly to role-based permissions and the workflow scheduler.

Added

  • Minio data from the WALKOFF application editor is now persistent after bringing WALKOFF down.
  • Personal user settings have been added to the drop-down menu under a user profile. This new feature allows for all users to change their own username and password.
  • mitre_attack and adversary_hunting applications have been added to WALKOFF’s default applications. These two apps have pre-configured actions that run Powershell scripts that may be useful to blue teams/threat hunting.
  • Added subcommand to bootloader for rebuilding and updating specific services.
  • Added a three-tier level role permissions system for Global Variable and Workflow creation. A user can choose between “only-me,” “everyone,” and “role-based” options for their access restriction level.
  • Added a close button to Action Settings menu during workflow creation.
  • Added sample_report_data action to basics application. This app generates sample CSV data to be imported into the Reports tab.
  • Added Unsaved Changes warning on Workflow and Application editor pages.
  • Added ability to create/edit Global Variables from the workflow editor.

Changed

  • Top bar navigation has been reworked to include a “Settings” drop-down menu. Global variable creation, user settings, workflow scheduler creation, and link to Portainer have been moved to this menu.
  • Changed Workflow Variables to Local Variables and always display them in the workflow editor.
  • Renamed hello_world application tobasics

Security

  • File access in apps is now handled with a context manager.

Fixed

  • Workflow abortion in the execution tab is now functional and properly ends the workflow stream.
  • The unpacking zipped apps on startup was reimplemented with bootloader changes.
  • The execution tab now returns started_at time for each NodeStatusMessage for a WorkflowStatusMessage. Likewise, current_app and current_action are now live updated during Workflow processing.
  • Workflow scheduler’s tasks can now be updated with new variables, descriptions, and titles. Interval scheduled tasks no longer become stuck in PENDING.
  • Fixed the ability undo/redo the deletion of an action on the workflow editor.

Removed

  • Individual tasks can no longer be toggled between pause and start in the scheduler.

[1.0.0-beta.1]

This update introduces a number of new features, including an App Editor in the UI, more granular role-based permissions, and a "bootloader" for automating deployment of WALKOFF.

Added

  • App Editor for editing app files and building Docker images from said apps. You can use this to change apps while WALKOFF is running, without restarting the whole stack.
  • More granular RBAC where permissions on individual workflows and global variables can be restricted to specific roles.
  • Execution results display on individual nodes to aid in identifying results.
  • Bootloader container to automate deployment and teardown of the WALKOFF stack.
  • Autogenerated walkoff_client Python package for interfacing with WALKOFF API. Work in progress.
  • JSON editor GUI for editing arrays and objects in action parameters.
  • JSON editor GUI for editing Workflow and Global Variables

Changed

  • Dashboards renamed to Reports. Lots of work still to do here.
  • Condition and Transform exceptions now get passed up into workflow results for easier debugging.
  • Common config location to minimize number of locations where ports, service names, etc. need to change when configuring WALKOFF.
  • WALKOFF now runs only on Docker Swarm, no longer with plain Docker Compose.
  • All services now follow a walkoff_core, walkoff_app, or walkoff_resource naming scheme to disambiguate services from other stacks.
  • Exceptions in Apps are now propagated correctly to action results.
  • All WALKOFF services that need to be exposed now route through NGINX.

Security

  • WALKOFF now uses HTTPS behind NGINX using a self-signed certificate.

Fixed

  • Worker's workflow_types are now tagged with a _walkoff_type to prevent ambiguity with user provided data
  • SSH app updated to allow more conventional use of wildcards, relative/absolute paths, etc.
  • Conditions no longer cause entire subtrees to be cancelled, only the immediate successors.
  • walkoff_default Docker network is attachable by default for external services to attach to us.
  • Endpoints for PUT now correctly use resource IDs in path parameters.
  • Importing a workflow with the same name as an existing one should no longer overwrite the original.
  • Umpire scaling heartbeat slowed down to reduce race conditions - will be replaced with on-demand, resource aware scaling in future.
  • Queued actions are correctly cleaned up when aborting a workflow.
  • Enforced startup order of all the services to avoid busywaiting when services aren't up.
  • Reduced intensity of "Server not responding" pop-up.
  • Database commit issues relating to Workflow errors resolved.
  • Parameters are correctly passed through to node status messages on the frontend.
  • Actions now enforce results being JSON serializable, preventing issues with serializing Python objects.
  • Action console logger reconnected to frontend.

[1.0.0-alpha.2]

This update includes numerous bugfixes and a number of reintroduced features.

Added

  • Trigger nodes allow you to pause workflow execution until webhook for the trigger is hit with data
  • Basic Condition nodes allow you to perform branching execution in a more flowchart-like manner
  • Basic Transform nodes allow you to write code snippets to transform/remap/select action results on the fly (UI support pending)
  • Parallel Action node types in the workflow editor allow you to parallelize actions on a specified parameter
  • Display UUIDs for workflow and workflow nodes in UI
  • Portainer container creates UI for docker management

Changed

  • WALKOFF now runs utilizing stack deploy, allowing for the use of external Docker secrets
  • App version no longer required in app_name in api.tyaml
  • CRUD endpoints now accept resource names as keys when applicable
  • Globals can now be arbitrary JSON (UI support pending)
  • Builtins build location moved to Umpire and is only built once on startup

Removed

Security

  • Implemented AES-256 encryption/decryption for Global Variables. Exclusive-access decryption based on account level standing still needs to be implemented in the future. Currently, any GET request to the API gateway will return a decrypted Global Variable, regardless of account.

Fixed

  • Workflow import/export
  • Workflow validation (still needs work); workflows can be saved in an incomplete state again
  • Validate workfow name uniqueness when creating workflows
  • Testing suite (still needs expansion)
  • Uniqueness constraints on CRUD operations
  • Dereferencing Global and Workflow variables in workflows
  • Ability to override starting parameters in a workflow execution
  • Ability to update/delete encrypted Global Variables
  • Hide global values by default on Globals tab
  • Default boolean parameters to false
  • Copying and pasting of nodes in workflow editor
  • Accessing action results before conditionals in parameters that follow it

[1.0.0-alpha.1]

This update includes a near-complete rewrite of the workflow execution logic, and a considerable refactor of the server in preparation for a future move to an asynchronous framework. The following changes are not exhaustive.

Added

  • "Umpire" added, which handles building and replication of Worker and App containers.

Changed

  • Docker Compose is required. Python 3.7 is required if running components locally (primarily for development).
  • Execution logic completely rewritten to support containerized architecture from the ground up.
  • Apps now live in their own containers, separate from workers.
  • Apps should now be (internally) stateless
  • Kubernetes support has been removed in favor of using Docker Swarm API.
  • Playbooks removed, Workflows can now be grouped by tags instead.
  • unittest has been replaced with pytest
  • Redis is now the primary communication channel between components (removing ZMQ and Kafka).
  • SQLite database should no longer be used if running locally for development.
  • Workflow Execution page has been overhauled aesthetically.

Removed

  • Triggers have been temporarily removed, but are targeted for a near-future 1.1 release.

[0.9.4]

2018-12-11

Added

  • Added ability to view WALKOFF Server API locally via /api/docs with the server running.

Fixed

  • Execution DB now gets properly closed when WALKOFF exits. Fixes issues with docker-compose stop/start.
  • Triggers on unbound actions (apps without devices) fixed.
  • Add Docker image and compose file based on development branch.
  • Upgraded WALKOFF Server API from swagger2 to openapi3, which includes improved security, and better request validation.
  • Upgraded Python marshmallow library version, which includes stricter validation.
  • Please note: because some dependency library versions were changed in the requirements.txt file, users must run the command pip install --upgrade -r requirements.txt to make sure all dependencies are met. This is also good practice to do after every new release.

[0.9.3]

2018-12-03

This is a minor release to fix missing front-end resources. A number of documentation changes have also been made, particularly regarding installing WALKOFF on Windows, as running WALKOFF directly on Windows has no longer supported since 0.9.0.

Fixed

  • References to running WALKOFF directly on Windows now emphasize lack of support.
  • Front-end dependencies have been added to the repository.

[0.9.2]

2018-11-30

This is a minor release primarily to ease installation of WALKOFF.

Added

  • README.md contains further documentation on running WALKOFF locally, in Docker, or in Kubernetes
  • NodeJS and NPM are no longer required, as the front-end components are now prepackaged in the main repository.

[0.9.1]

2018-11-26

Added

  • README.md now contains more detailed instructions on using WALKOFF with Docker, as well as a docker-compose file
  • All databases will now be stamped with the most up-to-date alembic version, so WALKOFF will not run if you are using an out-of-date database (see Fixed section for more details)

Fixed

  • When using Redis as an external accumulator, results are now pickled to preserve typing. This fixes the issue where everything (list, int, etc.) was incorrectly being returned as strings
  • Fixed walkoffctl update script to correctly update databases -- run python -m walkoff local update to update
  • ActionResult objects are now pretty-printed correctly in the console and log files
  • Python Redis library is now pinned in requirements.txt due to breaking changes
  • Fixed certificate generation for Kubernetes certificates

Removed

  • Update.py script was removed and replaced with walkoffctl update (see Fixed section for more details)

[0.9.0]

2018-11-14

Please Note: From version 0.9.0 forwards, WALKOFF requires a Redis cache to operate. You can run Redis natively on most Linux distributions (see the Redis quickstart guide: https://redis.io/topics/quickstart or search for a package in your OS's package manager). On Windows, you will need to use Docker to run Redis in a container or expose Redis from a VM.

Added

  • Support for running WALKOFF in a Kubernetes cluster using docker images and helm
  • Command line interface (walkoffctl) for managing WALKOFF installations, both locally and on Kubernetes
  • More comprehensive logging with Prometheus, fluentd, and flask
  • Ability to run apps in separate containers for better scalability (still in-progress)
    • Support for templating Docker files for apps and runtimes
  • Began introducing PyTest as a more maintainable alternative to unittest
  • Support for tracking which User executed which Workflow
  • Now have the option of choosing ZMQ sockets or Kafka message queues to communicate with executing Workflows

Changed

  • Moved logic of executing a Workflow into Workflow execution context objects, which allows for more flexiblity
  • Upgraded to boostrap4 and Angular 6.1.7

Removed

  • Removed support for DiskCache -- a Redis cache must be installed to run WALKOFF
  • The Case database, as it was unnecessary on top of the comprehensive logging done by WALKOFF

Fixed

  • Fixed the foreign key constraints in both databases (they were not being enforced previously)
  • Connexion library version updated in requirements.txt to fix access_token and 404 error
  • Minor aesthetic improvements to front-end

[0.8.5]

2018-09-12

Fixed

  • Fixed a bug caused by a new version of the connexion library which made the OpenAPI specification invalid

[0.8.4]

2018-07-30

Added

  • Workflows now support environment variables. These are top-level arguments to a workflow. These are then exposed on the execution page allowing users to modify the most important variables in a workflow without modifying the workflow itself.
  • Added a health check endpoint at the /heath endpoint

Changed

  • The Metrics page now defaults to showing workflow metrics instead of app metrics

Fixed

  • Action results and workflow results stream now filter for the currently-executing workflow. This eliminates many issues experienced by multiple users executing workflows concurrently from the workflow editor
  • Fixed an error which caused the Scheduler to not execute workflows
  • Fixed another bug in the scheduler in which the scheduled workflows would not persist across server restarts
  • A bug where messages couldn't be sent
  • A bug where modifying more than one device at a time on the playbook editor would cause the workflow to be invalidated
  • Some database configuration bugs when used with non-SQLite databases
  • Fixed a bug which wouldn't allow a user to a abort a workflow if it was pending execution.

[0.8.3]

2018-06-14

Added

  • CSV to Array action in the Utilities app

Changed

  • The action results SSE stream truncates the result using the MAX_STREAM_RESULTS_SIZE_KB config option

Fixed

  • Bytes conversion bug in the RedisCacheAdapter
  • Bug in playbook editor using users and roles as arguments
  • Bug where some callbacks weren't getting registered
  • Column width bug in playbook editor, execution, and metrics pages
  • OpenAPI validation bug with newest version of the swagger validator

[0.8.2]

2018-05-03

Added

  • Arguments can now reference branches. This will resolve to the number of times that branch has been executed.
  • Log messages are more comprehensive and useful.
  • More error checking on the worker processes to harden them.

Fixed

  • Bug where databases couldn't be used with a password.
  • Bug where app instances would receive an Argument rather than the necessary integer ID.
  • Compatibility issue with pip 10 and the install_dependencies.py script.
  • Bug in validation of execution elements where, once an error was found it wouldn't be removed.
  • Fixed bug where exporting playbooks with Python 3 would cause an error.
  • Bug where argument ids were not stripped on exporting of playbooks, causing errors when importing them onto a different instance of Walkoff.

[0.8.1]

2018-04-17

Fixed

  • Bug where Workflows with unbounded Actions were unable to be executed

[0.8.0]

2018-04-16

Added

  • Multiple tools have been added to help develop workflows
    • Playbooks can be saved even if they are invalid. However, playbooks cannot be executed if they are invalid.
    • The playbook editor displays the errors on a workflow which must be solved before the workflow can be executed
    • You can now use Python's builtin logging module in an app, and the log messages will be displayed in the playbook editor
  • The metrics page has been introduced in the UI which displays simple metrics related to the execution of workflows and actions.
  • The devices used in the actions in workflows are now objects, enabling dynamic selection of the device used for the action. To further support this, an action in the Utilities app named get devices by fields allows you to query the devices database.
  • The ability to use a key-value storage has been created. This is now the mechanism used to push workflows and backs the SSE streams. Currently two options are available for key-value store, DiskCache, a SQLite-backed key-value storage, and Redis. By default Walkoff will use DiskCache, but it is recommended that users configure and use Redis.
  • The SSEs now use dedicated SseStream objects which are backed by the cache. These objects make constructing and using streams much easier. walkoff.see.InterfaceSseStream and walkoff.sse.FilteredInterfaceSseStream objects have been made available to use in custom interfaces.
  • A CaseLogger object which makes it much easier to log events to the case database has been created.

Changed

  • The interfaces.AppBlueprint used to construct interfaces has been modified to extend from walkoff.sse.StreamableBlueprint which in turn extends Flask's Blueprint. This makes the interface cleaner and more flexible.
  • Changes to the REST API
    • In the configuration resource:
      • workflow_path, logging_config_file, and zmq_requests have been removed from the API
      • The ability to edit the cache configuration has been added
    • In the playbook resources:
      • All execution elements have a read only list of human-readable errors
      • A workflow has a read only Boolean field "is_valid" which indicates if any of its execution elements have errors
  • All changes to the configuration will only be applied on server restart
  • Refactorings have been done to minimize the amount of global state used throughout Walkoff. Work will continue on this effort.
  • Metrics are now stored in the execution database
  • Changes to styling on the playbook editor

Deprecated

  • walkoff.helpers.create_sse_event has been deprecated and will be removed in version 0.10.0. Use walkoff.sse.SseEvent or the streams in walkoff.sse instead .

Fixed

  • Bug where branches where all branches weren't being evaluated in a workflow
  • Bug where object arguments could not be converted from strings

Contributor

  • Testing the backend now requires the additional the dependencies in requirements-test.txt
  • The minimum accepted unit test coverage for the Python backend is now 88%

[0.7.4]

2018-03-20

Fixed

  • Bug where some device fields were being deleted on update

[0.7.3]

2018-03-14

Fixed

  • Bug where NO_CONTENT return codes were failing on Werkzeug WSGI 0.14

Changed

  • All node modules are now bundled into webpack

[0.7.2]

2018-03-12

Fixed

  • An unintentional backward-breaking change was made to the format of the dictionary used in the interface dispatcher which sometimes resulted in a dict with a "data" field inside a "data" field. This has been fixed.

[0.7.1]

2018-03-08

Changed

  • Improved deserialization in the user interface
  • Empty arrays are omitted from returned execution element JSON structure in the REST API.

Fixed

  • PATCH /api/devices now doesn't validate that all the fields of the device are provided.
  • Fixed dependency bug on GoogleProtocolBuffer version

[0.7.0]

2018-03-07

Added

  • An execution control page is now available on the user interface. This page allows you to start, pause, resume, and abort workflows as well as displays the status of all running and pending workflows.
    • With this feature is a new resource named workflowqueue which is available through the /api/workflowqueue endpoints.
  • You now have the ability to use a full set of Boolean logic on conditions. This means that on branches and triggers you can specify a list of conditions which must all be true (AND operator), or a list of conditions of which any must be true (OR operator), or a list of conditions of which exactly one must be true (XOR operator). You can also negate conditions or have child conditions. This new conditional structure is called a ConditionalExpression and wraps the old Condition objects.
  • Playbooks can be exported to and imported from a JSON text file using the new GET /api/playbooks?mode=export and the POST /api/playbooks using a multipart/form-data body respectively.

Changed

  • Significant changes to the REST API
    • We have changed the HTTP verbs used for the REST API to reflect their more widely-accepted RESTful usage. Specifically, the POST and PUT verbs have been swapped for most of the endpoints.
    • Workflows are now accessed through the new /api/workflows endpoints rather than the /api/playbooks endpoints
    • The /api/playbooks and the /api/workflows endpoints now use the UUID instead of the name.
    • The /api/playbook/{id}/copy and the /api/playbooks/{id}/workflows/{id}/copy endpoints are now accessed through POST /api/playbooks?source={id_to_copy} and the POST /api/workflows?source={id_to_copy} endpoints respectively.
    • Server-Sent Event streams are now located in the /api/streams endpoints
    • Errors are now returned using the RFC 7807 Problem Details standard
  • Playbooks, workflows, and their associated execution elements are now stored in the database which formerly only held the devices. The both greatly increased scalability as well as simplified the interactions between the server and the worker processes as well as increased scalability.
  • Paused workflows and workflows awaiting trigger data are now pickled (serialized to binary) and stored in a database table. Before, a conditional wait -was used to pause the execution of a workflow. By storing the state to the database, all threads on all worker processes are free to execute workflows.
  • Information about the workflow which sent events are now available in both the Google Protocol Buffer messages as well as the arguments to callbacks using the interface event dispatcher.
  • All times are stored in UTC time and represented in RFC 3339 format
  • The marshmallow object serialization library is now used to serialize and deserialize execution elements instead of our old homemade solution

Deprecated

  • The "sender_uids" argument in the interface dispatcher on_xyz_event decorators is now an alias for "sender_ids". This will be removed in version 0.9.0

Removed

  • The /api/playbooks/{name}/workflows/{name}/save endpoint has been removed.
  • The /api/playbooks/{name}/workflows/{name}/{execute/pause/resume} endpoints have been removed. Use the /api/workflowqueue resource instead
  • Removed workflow_version from the playbooks. This may be added later to provide backwards-compatible import functionality to the workflows.
  • /api/devices/import and /api/devices/export endpoints have been removed. Use the new POST /api/devices with multipart/form-data and GET /api/devices?mode=export endpoints respectively.

Contributor

  • The minimum accepted unit test coverage for the Python backend is now 86%

[0.6.7]

2018-02-06

Fixed

  • Fixed bug in create_sse_event where data field of the SSE would not be populated if no data was not specified, causing the SSE event to be invalid

[0.6.6]

2018-02-02

Changed

  • Omitting sender_uids or names on dispatcher.on_xyz_event decorators in interfaces now registers the decorated function for all senders. This is consistent with the previously inaccurate code examples in the tutorials.

[0.6.5]

2018-02-02

Added

  • Webpack is now used to increase UI performance

Changed

  • Default return codes for the Walkoff app

Contributor

  • Some UI tests are now run on Travis-CI

[0.6.4]

2018-01-18

Changed

  • The accept/decline method returns status codes indicating if the action was accepted or declined instead of true/false

Fixed

  • Fixed a bug where roles weren't being deleted from the database
  • Fixed issue preventing permissions to be removed on editing roles
  • Fixed issue with messages not properly being marked as responded

[0.6.3]

2018-01-18

Added

  • Added a simple action in the Utilities app named "request user approval" which sends a message with some text to a user and has an accept/decline component.

Changed

  • Refactoring of AppCache to use multiple objects. We had been storing it as a large dict which was becoming difficult to reason about. This is the first step of a larger planned refactoring of how apps are cached and validated

Fixed

  • Bug on UI when arguments using an array type without item types specified
  • Fixed issue with workflow migration caused to erroneously deleting a script

[0.6.2]

2018-01-05

Multithreaded workers for increased asynchronous workflow execution

Added

  • Multiple workflows can be executed on each worker process
  • Decorator factory to simplify endpoint logic
  • Endpoint to get system stats

Fixed

  • Bug where roles couldn't be assigned to a user on creation

Contributor

  • Added AppVeyor to test Walkoff on Windows

[0.6.1]

2018-01-03

Added

  • Multiple workflows can be executed on each worker process

Changed

  • Bumped dependency of flask-jwt-extended to version 3.4.0

Fixed

  • Default logging config issue
  • Removed walkoff/client/build which was accidentally version controlled
  • CodeClimate misconfiguration
  • Bug fixes to messaging caused by messaging callback not being registered in the server

[0.6.0]

2018-01-03

Introducing roles, messages, and notifications

Added

  • Administrators can now create custom roles and assign users to those roles. Each resource of the server endpoint is protected by a permission, and roles can be created which combine resource permissions.
  • Messages and notifications
    • Actions can now send messages to users
    • Messages can be used to convey information to users or to pause a workflow and wait for a user to approve its continued execution
    • When a user receives a message, a notification will appear
  • Easy updates
    • An update script is provided to update to the most recent version if one is available. This script includes custom workflow migration scripts and database migration scripts generated by SqlAlchemy-Alembic. These are a work in progress.
      • Note 1: Database migrations only work for default database locations and using SQLite. This can be changed in the alembic.ini file
      • Note 2: Now that databases and workflows can be updated easily, minor version updates will not occur on backward-breaking changes to the database schema or the playbook schema.
    • This script also includes utility functions for backing up the WALKOFF directory, cleaning pycache, setting up WALKOFF after an update, etc.
  • Explicit failure return codes for actions
    • Return codes which indicate a failure of the action can be marked with failure: true. This will cause an ActionExecutionError event to be sent
  • Explicit success default return codes for actions
    • The default return code for an action can be specified with default_return: YourReturnHere
  • Internal ZeroMQ addresses can be configured through the UI
  • Added this change log

Changed

  • Significant repository restructure
    • This repository restructure combined the core and server packages into a single walkoff package and moved modules such as appcache and devicedb out of the apps package
    • Top-level scripts with the exception of walkoff.py are now located in the scripts directory
    • These changes make the Walkoff project follow a more canonical repository structure, and are one step towards being able to install walkoff using pip, our eventual goal.
  • Classes have been moved out of the server.context.Context class. They were located there to remove circular dependencies, but they have been moved into their own submodule.
  • The interface.__init__ module has been split into multiple modules
  • The Sphinx Python documentation has been relocated to the docs directory and can be generated using make html. Additionally, they now use the ReadTheDocs theme.
  • Google Protocol Buffer message structure has been significantly altered.
  • Tags used for action, condition, and transform decorators have been encapsulated in a WalkoffTag enum
  • setup_walkoff.py no longer explicitly calls Gulp

Security

  • JWT structure changes
    • JWTs' identity is now the user ID, not the username
    • JWT claims are now the username and a list of role IDs this user possesses. These claims are populated on login, and require reauthentication to be updated.

[0.5.2]

2017-12-20

Fixed

  • Fixed a bug where the config host and port were not initialized before the server started.

[0.5.1]

2017-12-14

Fixed

  • A bug fix for case management due to a typo in the TS.

[0.5.0]

2017-11-29

Introducing a more user-friendly playbook editor and custom event-driven interfaces

Added

  • New user-friendly playbook editor
  • Host and port can now be specified on the command line
  • App-specific conditions and transforms
    • Conditions and transforms are now located in apps rather than in core, so they can be more easily created
  • Branches now contain a "priority" field which can be used to determine the order in which the branches of a given action are evaluated
  • Arguments to actions, conditions, and transforms which use references can select which component of the referenced action's output to use.
  • Migration scripts to help ease a variety of backward-breaking changes -- migrate_workflows.py and migrate_api.py
  • Scripts to create Sphinx documentation have been added to the repository

Changed

  • Custom interfaces with event handling
    • Interfaces are no longer attached to apps; they are now their own plugins and are contained in the interfaces directory
    • Interfaces can use new decorator functions to listen and respond to all events in Walkoff as they occur
  • Better triggers
    • Triggers are no longer specified in the database. Instead, each individual action in a workflow can have its own set of conditions which can act as breakpoints in a workflow. You can send data to them through the server and have that data validated against a set of conditions before the action can resume.
    • You can still start a workflow from the beginning through the server
  • Renamed workflow components for clarity
    • "steps" have been renamed "actions"
    • "next steps" have been renamed "branches"
    • "flags" have been renamed "conditions"
    • "filters" have been renamed "transforms"
  • Script used to start the server has been renamed walkoff.py
  • ZeroMQ keys are contained in the .certificates directory
  • Playbook file format changes
    • Branches are now contained outside of actions, creating two top-level fields.
    • Branches have a source_uid and a destination_uid instead of just a name field
    • The start step on a workflow is indicated with the start step's UID instead of its name
    • The app and action fields of actions, conditions, and transforms have been renamed app_name and action_name respectively.
    • Conditions and transforms contain an app_name field instead of just an action field
    • We have removed the widgets field and the risk field from actions
    • Devices for actions are specified by id rather than by name
    • Actions' inputs field, as well as conditions' and transforms' args field has been renamed arguments and is now a complete JSON object
    • Playbooks now contain a walkoff_version field which will be used to indicate which version of WALKOFF created them. This will be helpful in the future to migrate workflows to new formats
  • Minor changes to api.yaml schema
    • dataIn has been renamed data_in
    • termsOfService has been renamed terms_of_service
    • externalDocs has been renamed external_docs and is always an array
  • Performance of worker processes has been improved by removing gevent from child processes and reducing polling
  • The blinker Signals used to trigger events have been wrapped in a WalkoffEvent enum
  • Internal sockets used for ZeroMQ communication have been moved to core.config.config
  • Actions which are defined inside of a class must supply a device, or the workflow will fail on initialization
  • The REST API to get the APIs of apps has been enhanced significantly and returns all of the API

Removed

  • Unfortunately, event-driven actions have been broken for some time now. We have removed this functionality, but are working on an even better replacement for them in the meantime
  • We have removed accumulated risk from workflows and risk from steps. This feature will be re-added at a future date
  • We have removed widgets from the backend. This feature will be reimplemented later.
  • Backend support for adding roles to users has been removed. All users are administrators as they have been in previous releases. There was never a UI component for this feature, and it was breaking some other components for editing users. Roles will be re-added in the next release.

Security

  • HTTPS is enabled by default if certificates are placed in the .certificates directory.

Contributor

  • Coverage.py is used to generate test coverage report. Travis-CI will fail if the code coverage is below 81% This percentage will rise over time

[0.4.2]

2017-11-09

Fixed

  • Bug fixes to Playbook editor
  • Bug in global action execution

[0.4.1]

2017-11-03

Fixed

  • Bug fixes to playbook editor

[0.4.0]

2017-10-30

Introducing custom devices and global app actions

Added

  • Custom devices
    • Apps define their own fields needed in their devices
  • Global app actions
    • Actions no longer need to be defined in a class

Fixed

  • Performance improvements and bug fixes

[0.3.1]

2017-09-25

Fixed

  • Bug Fixes

[0.3.0]

2017-09-15

Introducing a new Angular-driven UI, schedulers, cases, and concurrency

Added

  • Brand new UI
  • Better concurrent execution of CPU-bound workflows
  • Multiple workflows can be executed on the same scheduler
  • New Scheduler UI page
  • New Case Management UI

Changed

  • Improved REST API
  • Workflows are now stored as JSON

Fixed

  • Bugs and performance improvements

Security

  • Enhanced security using JSON Web Tokens
  • Workflows are stored as JSON

[0.2.1]

2017-07-14

Added

  • Event-driven app actions
  • Multiple return codes for actions and error handling

Changed

  • Apps are now located in Walkoff-Apps repo
  • Workflow results are stored in case database

Fixed

  • Bug fixes and performance improvements

[0.2.0]

2017-06-21

Introducing app action validation and improved data flow

Added

  • New app specification using YAML metadata files
    • Better input validation using JSON schema
    • Arguments can be string, integer, number, arrays, or JSON objects
  • Workflow animation during execution in the workflow editor
  • Results from previously executed actions can be used later in workflows
  • Better workflow monitoring during execution
  • New apps
    • NMap
    • Splunk
    • TP-Link 100 Smart Outlet

Fixed

  • UI styling and bug fixes
  • Bug fixes and performance improvements

[0.1.2]

2017-05-25

Added

  • New Lifx playbook

Fixed

  • Bug fixes to UI and apps

[0.1.1]

2017-05-25

Added

  • OpenAPI Specification for server endpoints and connexion Flask app
  • New Apps
    • AR.Drone
    • Ethereum Blockchain
    • Facebook User Post
    • Webcam
    • Watson Visual Recognition
    • Tesla
    • Lifx
  • Better error handling in server endpoints
  • Bug fixes
  • Swagger UI documentation

Changed

  • UI improvements

[0.1.0]

2017-05-15

Initial Release