Rework the template schema
Closes #12 (closed) cryton-core#122 (closed) cryton-core#121 (closed) cryton-core#112 (closed)
TODO
-
New template -
Switched to JSON schema -
Created JSON schema file for real-time validation -
Updated documentation -
Updated CLI -
Updated database models -
Removed step types -
Moved Empire into a module -
Updated serializers.py -
Rework plan/stage/step creation -
Implemented immediate trigger -
new stage/step creation when adding them separately
Changes
- JSON schema is used for validation (even in real-time).
- All output-related features were moved under the
output
parameter -
module_arguments
are nowarguments
- The
module
and newarguments
parameters are defined in step -
output_prefix
->output.alias
-
output_mapping
->output.mapping
-
output_mapping
-from_name
andto_name
are nowfrom
andto
- Steps and stages are now defined as a dictionary
- Removed
owner
from plan -
meta
->metadata
-
trigger_type
->type
-
trigger_args
->arguments
- results are now lowercase
- Removed session management features in favor of output sharing
- Implemented immediate trigger
- Removed step types
- Reworked plan/stage/step creation and validation
- Empire is now a module
- Stage now has output and serialized output
- validation of stage/step is done in the context of the whole plan, so plan/stage ID is necessary
- Reworked design phase in the documentation
- Fixed building docker images section in the developer documentation
- Removed mentions of the cryton-core from the documentation
- Removed MSF version information from the documentation
- Updated links from the gitlab.com to github.com
- Reworked examples (real, functionality, and dynamic examples)
- Using the latest Kaniko image to mitigate security issues
- Added JSON schema file
- Updated packages
- Bumped project version
- Added modules dependencies as an extra
modules
section - Defaults are now set/chosen in creator.py
- Empty string is ignored in env variables
- HTTP listener now has an optional host parameter
- Allow output sharing from stages
- Stages have output
- Output-sharing variables are now allowed during plan validation
Edited by Jiří Rája