Skip to content

v5.2.1#2013

Merged
mlodic merged 53 commits intomasterfrom
develop
Dec 7, 2023
Merged

v5.2.1#2013
mlodic merged 53 commits intomasterfrom
develop

Conversation

@mlodic
Copy link
Member

@mlodic mlodic commented Dec 6, 2023

Checklist for creating a new release

  • (optional) If we changed/added Docker Analyzers, we need to configure Docker Hub / Dependabot properly.
  • Update CHANGELOG.md for the new version
  • Change version number in docs/source/schema.yml and docker/.env
  • Verify CI Tests
  • Create release for the branch develop. A Github action should automatically create a Twitter post.
    Write the following statement there (change the version number):
please refer to the [Changelog](https://github.com/intelowlproject/IntelOwl/blob/develop/.github/CHANGELOG.md#v331)

WARNING: The release will be live within an hour!
  • Wait for dockerHub to finish the builds
  • Merge the PR to the master branch. Note: Only use "Merge and commit" as the merge strategy and not "Squash and merge". Using "Squash and merge" makes history between branches misaligned.
  • Remove the "wait" statement in the release description.

carellamartina and others added 30 commits November 3, 2023 16:15
* draft debounce

* changes

* custom hook draft

* changes

* bump certego-ui from 0.1.6 to 0.1.7
* fix column

* adjusted plugins table
…e header (#1993)

* social button draft

* changes + bump react-icons

* fix

* fix css

* changes
* adjusted tlp section and runtime config icon

* draft

* playbook runtime_configuration

* frontend tests

* refactor RuntimeConfigurationModal

* changes

* fix

* changes

* new changes
Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
Bumps [django](https://github.com/django/django) from 4.1.10 to 4.1.13.
- [Commits](django/django@4.1.10...4.1.13)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
Co-authored-by: Simone Berni <[email protected]>
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: drosetti <[email protected]>
Co-authored-by: Abheek Tripathy <[email protected]>
Co-authored-by: AshirRashid <[email protected]>
Co-authored-by: Karanjot Singh <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: Siddhanth <[email protected]>
Co-authored-by: Parth Madan <[email protected]>
Co-authored-by: Shivam Purohit <[email protected]>
Co-authored-by: shivam <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: ben-ce <[email protected]>
Co-authored-by: Kyle Taylor <[email protected]>
Co-authored-by: Aditya <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Bumps [maxminddb](https://github.com/maxmind/MaxMind-DB-Reader-python) from 2.4.0 to 2.5.1.
- [Release notes](https://github.com/maxmind/MaxMind-DB-Reader-python/releases)
- [Changelog](https://github.com/maxmind/MaxMind-DB-Reader-python/blob/main/HISTORY.rst)
- [Commits](maxmind/MaxMind-DB-Reader-python@v2.4.0...v2.5.1)

---
updated-dependencies:
- dependency-name: maxminddb
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
drosetti and others added 13 commits November 24, 2023 18:53
* adjusted analyzers info + promote/remove admin

* fix tests

* updated readme

* optimized memory in remove_old_jobs fun

* Fix tags with playbook

Signed-off-by: 0ssigeno <[email protected]>

* Fix error on 2mega + files

Signed-off-by: 0ssigeno <[email protected]>

* fixed Pivot Visualizer

* Fix link

Signed-off-by: 0ssigeno <[email protected]>

* Fix tags

Signed-off-by: 0ssigeno <[email protected]>

* Revert tags

Signed-off-by: 0ssigeno <[email protected]>

* update frontend dependencies

* added catching of DNS request timeout error

* adjusted last commit

* fix memory issues for file analysis

* Bump django from 4.1.10 to 4.1.13 in /requirements (#1979)

Bumps [django](https://github.com/django/django) from 4.1.10 to 4.1.13.
- [Commits](django/django@4.1.10...4.1.13)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
Co-authored-by: Simone Berni <[email protected]>
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: drosetti <[email protected]>
Co-authored-by: Abheek Tripathy <[email protected]>
Co-authored-by: AshirRashid <[email protected]>
Co-authored-by: Karanjot Singh <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: Siddhanth <[email protected]>
Co-authored-by: Parth Madan <[email protected]>
Co-authored-by: Shivam Purohit <[email protected]>
Co-authored-by: shivam <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: ben-ce <[email protected]>
Co-authored-by: Kyle Taylor <[email protected]>
Co-authored-by: Aditya <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Bump maxminddb from 2.4.0 to 2.5.1 in /requirements (#1988)

Bumps [maxminddb](https://github.com/maxmind/MaxMind-DB-Reader-python) from 2.4.0 to 2.5.1.
- [Release notes](https://github.com/maxmind/MaxMind-DB-Reader-python/releases)
- [Changelog](https://github.com/maxmind/MaxMind-DB-Reader-python/blob/main/HISTORY.rst)
- [Commits](maxmind/MaxMind-DB-Reader-python@v2.4.0...v2.5.1)

---
updated-dependencies:
- dependency-name: maxminddb
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* bump dnspython

* fix certego-ui dependency

* Revert "fix memory issues for file analysis"

This reverts commit af0b016.

* incremented DATA_UPLOAD_MAX_MEMORY_SIZE

* incremented FILE_UPLOAD_MAX_MEMORY_SIZE

* Fix for change on frontend structure

Signed-off-by: 0ssigeno <[email protected]>

* fix file analysis

* fix memory issues for file analysis

* reverting adjustment to MultiplePlaybooksMultipleFileAnalysisSerializer

* tooltips in the visualizer elements are available even if the elements are disabled

* fixes

* bump certego-saas

* linter

* linter

* fixed base visualizer tests

* changes

---------

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Simone Berni <[email protected]>
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
Co-authored-by: drosetti <[email protected]>
Co-authored-by: Abheek Tripathy <[email protected]>
Co-authored-by: AshirRashid <[email protected]>
Co-authored-by: Karanjot Singh <[email protected]>
Co-authored-by: Siddhanth <[email protected]>
Co-authored-by: Parth Madan <[email protected]>
Co-authored-by: Shivam Purohit <[email protected]>
Co-authored-by: shivam <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: ben-ce <[email protected]>
Co-authored-by: Kyle Taylor <[email protected]>
Co-authored-by: Aditya <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* Actions

Signed-off-by: 0ssigeno <[email protected]>

* Blake

Signed-off-by: 0ssigeno <[email protected]>

* Blake

Signed-off-by: 0ssigeno <[email protected]>

* django doctor

Signed-off-by: 0ssigeno <[email protected]>

* Fix migrations

Signed-off-by: 0ssigeno <[email protected]>

* Fix tests

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Update api_app/classes.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Refactor

Signed-off-by: 0ssigeno <[email protected]>

* django doctor

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Added documentation

Signed-off-by: 0ssigeno <[email protected]>

* Update api_app/migrations/0050_python_module_update_task.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Blake

Signed-off-by: 0ssigeno <[email protected]>

* Performance

Signed-off-by: 0ssigeno <[email protected]>

* Added migration files

Signed-off-by: 0ssigeno <[email protected]>

* Fix condition

Signed-off-by: 0ssigeno <[email protected]>

* Fix contains

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Typo

Signed-off-by: 0ssigeno <[email protected]>

* Fix

Signed-off-by: 0ssigeno <[email protected]>

* Fix

Signed-off-by: 0ssigeno <[email protected]>

* Update docs

Signed-off-by: 0ssigeno <[email protected]>

---------

Signed-off-by: 0ssigeno <[email protected]>
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
* changed jobs tale filter + prettier

* bump certego-ui
* logs on validation error

Signed-off-by: 0ssigeno <[email protected]>

* Fix path

Signed-off-by: 0ssigeno <[email protected]>

---------

Signed-off-by: 0ssigeno <[email protected]>
* Runtime check for visibility of playbook

Signed-off-by: 0ssigeno <[email protected]>

* Blake

Signed-off-by: 0ssigeno <[email protected]>

---------

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
* mocked useNavigate in tests

* fix tests + removed useNavigate mock

* prettier
Copy link
Contributor

@code-review-doctor code-review-doctor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Worth considering though. View full project report here.

except socket.timeout:
message = (
f"request for {self.observable_name} for classic"
f" DNS triggered timeout"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
f" DNS triggered timeout"
" DNS triggered timeout"

f-string is unnecessary here. This can just be a string. More.

* Runtime check for visibility of playbook

Signed-off-by: 0ssigeno <[email protected]>

* Blake

Signed-off-by: 0ssigeno <[email protected]>

* Params in report

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* updated UI to parameters and removed runtime_configuration

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

* Fixes

Signed-off-by: 0ssigeno <[email protected]>

---------

Signed-off-by: 0ssigeno <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
api_app/views.py Outdated
raise ValidationError({"detail": "No healthcheck implemented"})
health_status = python_obj.health_check(request.user)
except NotImplementedError as e:
raise ValidationError({"detail": str(e)})

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
@codecov
Copy link

codecov bot commented Dec 7, 2023

Codecov Report

Merging #2013 (4bdc711) into master (5a719ac) will decrease coverage by 0.48%.
Report is 11 commits behind head on master.
The diff coverage is 79.21%.

❗ Current head 4bdc711 differs from pull request most recent head b630e8d. Consider uploading reports for the commit b630e8d to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2013      +/-   ##
==========================================
- Coverage   76.11%   75.63%   -0.48%     
==========================================
  Files         446      464      +18     
  Lines       13645    13824     +179     
  Branches     1421     1431      +10     
==========================================
+ Hits        10386    10456      +70     
- Misses       2697     2805     +108     
- Partials      562      563       +1     
Files Coverage Δ
api_app/admin.py 82.60% <100.00%> (ø)
api_app/analyzers_manager/admin.py 100.00% <ø> (ø)
api_app/analyzers_manager/classes.py 73.56% <100.00%> (-0.46%) ⬇️
..._app/analyzers_manager/file_analyzers/capa_info.py 92.00% <100.00%> (+0.33%) ⬆️
...pp/analyzers_manager/file_analyzers/cuckoo_scan.py 65.71% <100.00%> (+0.24%) ⬆️
...i_app/analyzers_manager/file_analyzers/doc_info.py 43.44% <100.00%> (-26.21%) ⬇️
..._app/analyzers_manager/file_analyzers/dragonfly.py 93.02% <100.00%> (+0.16%) ⬆️
...p/analyzers_manager/file_analyzers/intezer_scan.py 83.72% <100.00%> (+0.38%) ⬆️
..._app/analyzers_manager/file_analyzers/mwdb_scan.py 72.82% <100.00%> (+0.29%) ⬆️
api_app/analyzers_manager/file_analyzers/qiling.py 80.64% <100.00%> (+0.64%) ⬆️
... and 82 more

... and 5 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cab272d...b630e8d. Read the comment docs.

@mlodic mlodic merged commit abad9cc into master Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants