Giter VIP home page Giter VIP logo

daca's People

Contributors

korving-f avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

daca's Issues

Support Windows VMs

The current jinja2 templates, Vagrant triggers and ansible/shell provisioners assume systems are Debian-based Linux systems. This should ideally be expanded so lab environments can be spun up using things like Windows workstations and/or

This would also allow for new artifacts to be collected like EVTX and ETW trace files.

Housekeeping tasks

TODO

  • Add logger.debug() statements for future quick debugging while running scenarios.
  • Write some more tests (e.g. scenario validation / discovery etc.)
  • Explicit docstrings, argument datatypes and return values everywhere. (+ pep8 adherence using pylint)

CICD pipeline needs to be implemented

Setup a ci/cd pipeline with:

  • bandit
  • pylint
  • pytest
  • codecov

Also think about functional / integration tests; does running certain scenarios actually produce output?
Perhaps create a test scenario for this.

Add support for Docker provider

Wrapping the scenario's into something like docker-compose should work similarly to the VagrantController.
This requires better definition of the Controller interface.

Script/Ansible file validation

When a run or setup section contains a reference to a file (e.g. ansible playbook file or script), an additional validation step should be added to check if the file exists.

Add coverage report

Currently no good tests exist, when tests get added a coverage report should be generated through e.g. Codecov.

BUG: Jinja2 templating functionality breaks

Because the Jinja2 template / Scenario go through multiple steps of pre-processing, some scenarios using standard Jinja2 functionality breaks while it shouldn't.

# Does work: variables and filters
{{ some_variable | to_nice_json }}

# Does not work: statements
{% set my_var= "something" %}

# Untested: comments
{# my super duper comment #}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.