Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initialising work on Playbooks * Setting up playbook_config.json * Setting up playbook_config.json * Debugging playbook dataclass file * Debugging playbook serializer file * Debugging playbook serializer file * Debugging playbook serializer file * Debugging core serializer file for playbooks * Debugging core serializer file for playbooks * Setting up test cases, urls and views for playbooks * Fixing playbook tests * Adding playbooks urls * Fixing playbooks urls * Debugging playbooks python_module * Saving progress * Analyze request update. * Updated Job models * Cleaning playbooks_manager * Cleaning playbooks_manager * Adding test playbook values * Cleaning playbooks dataclass * Updating playbook_config.json for testin * Debugging controller file * Debugging controller file * Debugging controller file * Debugging controller file * Adding playbook specific responses * Debugging backend * Optimising job reports for playbooks * Adding frontend scanning support for IntelOwl. * Adding frontend scanning support for IntelOwl. * Adding scan all support for IntelOwl * Getting plugins page ready * Setting up job results page * Refactoring playbook scanform * Fixing runtime_configuration bug * Fixing job status update bug to set job status to running for Playbooks * Fixing job status update bug for playbooks * Fixing job status update bug for playbooks using chords * populating analyzers_to_execute and connectors_to_execute in Playbook APIs * Adding proper logging to Playbooks * Taking care of conflicts * Making it work after taking care of conflicts. * Fixing scanform changes * Fixing scanform changes * Fixing the frontend after merging Playbooks branch * Removing grouping of Playbooks for now * Adding backend changes to support the additions of multiple observables * Taking care of errors in adding Backend support * Fixing dataclass errors after merge * Fixing dataclass errors after merge [All parameters] * Fixing the frontend after taking care of backend merge conflicts * Fixing frontend bugs * Acting on FFlake8 suggestions * Making requested changes (cleaning up the code mostly) * Fixing circular imports issue * Fixing circular import issues by creating a utility.py file * Fixing circular import issues by creating a utility.py file and importing tasks inside the functions themselves. * Fixing invalid arguments bug for filter_playbooks() * Fixing cleaning data in from_dict() for PlaybookConfig * Fixing cleaning data in from_dict() for PlaybookConfig [1] (pop error) * Fixing cleaning data in from_dict() for PlaybookConfig [2] (dictionary iteration error) * Fixing cleaning data in from_dict() for PlaybookConfig [3] (dictionary creation error) * Fixing cleaning data in from_dict() for PlaybookConfig [4] (dictionary creation error) * Returning appropriate response for Playbook endpoints * Cleaning up API response for Playbook endpoints * Fixing up the frontend to show jobIds and redirect accordingly. * Fixing scanpage frontend and backend API bugs * Fixing package.json format * Fixing up the frontend to show jobIds and redirect accordingly [1] * Fixing backend type errors * Adding migrations * Adding migrations * Adding FREE_TO_USE_ANALYZERS Playbooks * Adding Playbook tests. * Adding Playbook tests and removing comments which were for me * Adding playbook test cases * Fixing frontend bugs * Fixing frontend bugs [2] * Fixing frontend bugs [3] * Fixing frontend bugs [4] * Fixing frontend bugs [5] * Fixing frontend bugs where plugins other than Playbooks weren't loading * Fixing import error for logging * Removing utility.py and making all it's functions classmethods/staticmethods of appropriate classes * Fixing logging library's import error * Fixing backend API bugs [1] * fixing uuid import error * Adding pre-commit suggested changes * Fixing frontend bug where requests for files were sent to observable endpoint instead * Fixing frontend bug where requests for files were sent to observable endpoint instead [1] * Fixing frontend bug where requests for files were sent to observable endpoint instead [2] * Fixing parent_playbook=null issue * Fixing parent_playbook=null issue [1] * Adding free to use playbooks with all free analyzers, Fixing supports' * Fixing ObservableTypeWithFile inheritence errors * Adding 'AllTypes' as an ENUM for choices in Playbooks * Fixing inheritence errors in AllTypes * Fixing issue where backend runs any observable for playbooks whether supported or not * Fixing issue where backend runs any observable for playbooks whether supported or not [1] * Adding linting * Enabling multiple observable job results in playbook analyze scan result and adding CodeDoctor suggestions. * Fixing migrations * Untracking yarn.lock * Adding test case for stack_analyzers and fixing AnalyzerActionViewSet perform_retry errors * Adding test cases and fixing frontend bugs * Adding linting * Adding linting * Fixing test cases * Fixing test cases [1] and adding linting * Fixing test cases [2] and adding linting * Fixing test cases [3] and adding linting * Fixing test cases [4] and adding linting * Fixing test cases [5] and adding linting * Fixing test cases [5] and adding linting * Adding suggestions for the frontend. * Adding suggestions for the frontend [1] * Adding suggestions for the frontend [2] * Reducing Description max length * Reducing Description minWidth for Playbooks plugin page * Reducing Description minWidth for Playbooks plugin page [1] * Reducing Description minWidth for Playbooks plugin page [2] * Adding the handling of analyzer/connector report numbers differently on the frontend when playbooks are run * Fixing package.json changes * Fixing test case breaking changes * Fixing test case breaking changes [1] * Fixing the number of analyzers, connectors and playbooks that show up on 'Plugins Executed' * Adding analyzer/connector to playbook toggle through radio buttons * Removing frontend comments * Wrapping up frontend for Playbooks feature along with all known bugs 🎉 * Fixing pre-commit errors * Disabling run_all * Adding frontend support for disabling run_all for playbooks * improving UX for playbooks * Rewriting playbook serializers * Fixing Serializers * Fixing lint errors * Fixing status code 500 for playbook APIs * Fixing bug in playbook serializers that led to no analyzers/connectors being run * Fixing 500 bugs in playbook run APIs * Fixing start_playbook() related errors * Fixing playbook file scan errors * Fixing playbook file scan errors [1] * Fixing playbook file scan errors [2] * Fixing playbook file scan errors [3] * Fixing playbook file scan errors [4] * Fixing serializers and frontend * Fixing serializers [Analyzers and connectors] and frontend * Revert "Fixing serializers and frontend" This reverts commit e7fc34b. * Reverting * Fixing serializers * Fixing serializers * Fixing serializers [1] * Fixing serializers [2] * Fixing serializers validation * Fixing serializers validation for connectors * Adding playbook documentation * Fixing bug where error led to parent_playbook remaining empty * Making it necessary for playbooks to be not empty * Minor fix for the last commit * Making parent_playbook nullable * Adding new migrations and model changes * Fixing multiple values for argument errors * Adding support for playbooks and custom configs & fixing bugs * Fixing response bugs * Fixing response serializer bugs [1] * Fixing tasks for playbooks * Removing unnecessary warnings from showing up on the UI * Adding warning changes for all serializers and optimising filter_connectors * Fixing playbook related model values and optimising before_run() methods * Fixing not null errors due to parent_playbook value * Adding better logging in test cases * Adding debugging logs for test cases * Adding debugging logs for test cases [fixing linting] * Adding debugging logs for test cases [1] * Fixing connector checks during CI checks * Fixing connector serializer * Optimising connector support in playbooks * Fixing CI related connector test case issues * Fixing before_run function for files * Fixing typo in controller function start_playbook() * Adding changes for playbooks * Adding test cases for playbooks * Updating tests for playbooks * Fixing tests * Fixing auto-imports * Fixing test_start_playbooks_observable * Adding TEST_PLAYBOOKS for ci * Adding debugging logs for playbook tests * Handling exceptions in playbook serializers * Fixing linting errors * Moving playbooks up for a while * Covering edge cases for playbooks * Moving playbook test workflow up and covering edge cases for playbooks * Debugging tests for playbooks * Fixing playbook tests * Making playbook tests for a single playbook * Fixing bugs in playbook tests * Fixing bugs in playbook tests [1] * Fixing bugs in playbook tests [2] * Adding documentation and playbook test case for files * Fixing tests for playbook files * Fixing tests for playbook files [adding querydict] * Fixing bugs in tests for playbook files * Removing failing integrations * Removing failing integrations * Removing useless f strings * Removing analyzers which took too long from free playbook provided * Pushing playbooks down in github workflows * Fixing frontend warnings * Bump django from 3.2.14 to 3.2.15 in /requirements (#1144) Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. - [Release notes](https://github.com/django/django/releases) - [Commits](django/django@3.2.14...3.2.15) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Adding PR suggested changes * Adding instructions for contributors to add free analyzers in free analyzers playbooks * Adding instructions for contributors to add free analyzers in free analyzers playbooks * Letting analyzers fail in playbook tests * Fixing linting * fixing playbook tests * fixing linting errors * Squashing migrations together * Adding instructions in PR templates * adjusted migrations Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matteo Lodi <30625432+mlodic@users.noreply.github.com>
- Loading branch information