Skip to content

v5.1.0#1822

Merged
mlodic merged 86 commits intomasterfrom
develop
Aug 7, 2023
Merged

v5.1.0#1822
mlodic merged 86 commits intomasterfrom
develop

Conversation

@mlodic
Copy link
Member

@mlodic mlodic commented Aug 4, 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.

mlodic and others added 30 commits June 5, 2023 18:40
Bumps [quark-engine](https://github.com/quark-engine/quark-engine) from 23.4.1 to 23.5.1.
- [Release notes](https://github.com/quark-engine/quark-engine/releases)
- [Commits](ev-flow/quark-engine@v23.4.1...v23.5.1)

---
updated-dependencies:
- dependency-name: quark-engine
  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>
Bumps [google-cloud-webrisk](https://github.com/googleapis/python-webrisk) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/googleapis/python-webrisk/releases)
- [Changelog](https://github.com/googleapis/python-webrisk/blob/main/CHANGELOG.md)
- [Commits](googleapis/python-webrisk@v1.11.0...v1.12.0)

---
updated-dependencies:
- dependency-name: google-cloud-webrisk
  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>
* frontend : add to UserMenu and a changepassword form

* add backend support for changepassword

* ChangePassword.jsx : remove unnecessary comments

* frontend : put changepassword before plugin config in userMenu

* backend : add logger info in ChangePasswordView

* ChangePasswordView : update logger info

---------

Co-authored-by: vboxuser <[email protected]>
* added test for the scans

* added test for the start scan

* prettier
Bumps [flag-icons](https://github.com/lipis/flag-icons) from 6.6.6 to 6.7.0.
- [Release notes](https://github.com/lipis/flag-icons/releases)
- [Changelog](https://github.com/lipis/flag-icons/blob/main/CHANGELOG.md)
- [Commits](lipis/flag-icons@v6.6.6...v6.7.0)

---
updated-dependencies:
- dependency-name: flag-icons
  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>
Bumps [intezer-sdk](https://github.com/intezer/analyze-python-sdk) from 1.16.1 to 1.17.2.
- [Release notes](https://github.com/intezer/analyze-python-sdk/releases)
- [Changelog](https://github.com/intezer/analyze-python-sdk/blob/master/CHANGES)
- [Commits](intezer/analyze-python-sdk@v1.16.1...v1.17.2)

---
updated-dependencies:
- dependency-name: intezer-sdk
  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>
Bumps [whitenoise](https://github.com/evansd/whitenoise) from 6.4.0 to 6.5.0.
- [Changelog](https://github.com/evansd/whitenoise/blob/main/docs/changelog.rst)
- [Commits](evansd/whitenoise@6.4.0...6.5.0)

---
updated-dependencies:
- dependency-name: whitenoise
  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>
Bumps [flower](https://github.com/mher/flower) from 1.2.0 to 2.0.0.
- [Commits](mher/flower@v1.2.0...v2.0.0)

---
updated-dependencies:
- dependency-name: flower
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pycti](https://github.com/OpenCTI-Platform/client-python) from 5.7.6 to 5.8.2.
- [Release notes](https://github.com/OpenCTI-Platform/client-python/releases)
- [Commits](OpenCTI-Platform/client-python@5.7.6...5.8.2)

---
updated-dependencies:
- dependency-name: pycti
  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>
Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
* start

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

* Queryset

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

* Prefetch

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

* Method for count

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

* Black

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

* Optimization

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

* Super call

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

---------

Signed-off-by: 0ssigeno <[email protected]>
* added recaptcha on login page

* deleted enums.py
* added function to handle visualizers errors

* doc update
* More status mgmt

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

* Black

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

* Minor fixes

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

* Fixes

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

* Fix migrations

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

* Fix migrations

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

* Prettier

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

* Fixes

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

* Fixes

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

---------

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

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

* More stuff

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

* Fixes

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

* Fix

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

* Fix

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

* Blake

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

* Visualizer config points only to a single playbook, not many

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

* Fix migration

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

* Fix tests

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

* Fixes

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

* Fix post review

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

* Fixes

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

* Blake

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

* little adjustments

* Blake

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

* Unused migration

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

* Fix page order

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

* Fix migration

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

* Fix

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

---------

Signed-off-by: 0ssigeno <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](ossf/scorecard-action@e38b190...08b4669)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  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>
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.2.1 to 3.3.3.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.2.1...v3.3.3)

---
updated-dependencies:
- dependency-name: pre-commit
  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 15 commits July 26, 2023 14:35
* dependecies update

* prettier with support for es2017

* updated prettier in pre-commit

* fix test

* prettier
* draft

* added visualizer status icon

* runned prettier
* Stuff

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

* Minor

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

* Merge

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

* More stuff

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

* Stuff

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

* More generic speed up

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

* Comments

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

* Added endpoint for recent_scans

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

* Added condition on recent_scans

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

* More fixes

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

* More fixes

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

* Fix

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

* More logs

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

* Deepsource fixes

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

* Black migrations

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

* deepsource

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

* More qs

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

* More

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

* Fix

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

* Fixes

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

* Fixes

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

* Blake

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

* Improve performance

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

* Frontend Playbook Refactor (#1800)

* modified playbook selector

* comment

---------

Co-authored-by: Daniele Rosetti <[email protected]>

* Optimizations

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

* Order

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

* prettier

* Fix migrations

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

* Fixes

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

* More fixes

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

* Flake

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

* Fixes

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

* Fix test value

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

* Fix deepsource

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

* Minor fix

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

* Can't use alias here :(

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

* Fix

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

---------

Signed-off-by: 0ssigeno <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Bumps [mwdblib](https://github.com/CERT-Polska/mwdblib) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/CERT-Polska/mwdblib/releases)
- [Commits](CERT-Polska/mwdblib@v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: mwdblib
  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>
…ubmit parameters (#1810)

* added certificate support to CAPEsandbox analyzer

* changed result_url to the one known by intelowl

* added support to CapeSandbox parameters

* fixed DeepSource names

* black

* test CapeSandbox support pcap files

* staticmethod
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.9 to 4.1.10.
- [Commits](django/django@4.1.9...4.1.10)

---
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>
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.

Some food for thought. View full project report here.

@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Merging #1822 (77977ed) into master (590db57) will increase coverage by 1.57%.
Report is 6 commits behind head on master.
The diff coverage is 83.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1822      +/-   ##
==========================================
+ Coverage   74.62%   76.20%   +1.57%     
==========================================
  Files         328      378      +50     
  Lines       11240    12380    +1140     
  Branches     1237     1303      +66     
==========================================
+ Hits         8388     9434    +1046     
- Misses       2342     2408      +66     
- Partials      510      538      +28     
Files Changed Coverage Δ
...i_app/analyzers_manager/file_analyzers/elf_info.py 71.42% <0.00%> (ø)
api_app/analyzers_manager/migrations/00010_tlp.py 52.00% <ø> (ø)
...manager/migrations/00012_remove_parent_playbook.py 63.63% <ø> (ø)
...r/migrations/00013_remove_runtime_configuration.py 100.00% <ø> (ø)
...analyzers_manager/migrations/0004_datamigration.py 91.30% <ø> (ø)
...zers_manager/migrations/0005_auto_20230301_1415.py 100.00% <ø> (ø)
.../migrations/0006_analyzerconfig_disabled_in_org.py 50.00% <ø> (ø)
...anager/migrations/0007_alter_analyzerreport_job.py 100.00% <ø> (ø)
...ger/migrations/0009_parent_playbook_foreign_key.py 45.00% <0.00%> (ø)
...alyzerconfig_disabled_in_organizations_and_more.py 100.00% <ø> (ø)
... and 168 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 590db57...77977ed. Read the comment docs.

0ssigeno and others added 7 commits August 4, 2023 14:36
* Fix org

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

* Removed field

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

* tests

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

* Added tests

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

---------

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

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

* Blake

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

* Fixes

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

* Task for analyzers

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

* More stuff

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

* Blake

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

* Migrations

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

* Fix tests

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

* Added docs

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

* Tests

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

* Fix deepsource

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

* Typo :(

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

* Adding env variable

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

* Added type

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

* Fixes

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

* Fix

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

* tweak to doc

* Fix

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

* adjusted doc

* Frontend + fixes

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

* Prettier

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

* More docs

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

* Fix periodic task syntax

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

* typo

---------

Signed-off-by: 0ssigeno <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
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.

mlodic and others added 2 commits August 7, 2023 11:31
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
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.

"IngestorConfig", related_name="reports", on_delete=models.CASCADE
)
report = models.JSONField(default=list, validators=[])
name = models.CharField(blank=True, default="", max_length=50)
Copy link
Contributor

Choose a reason for hiding this comment

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

null=True on a string field causes inconsistent data types because the value can be either str or None. This adds complexity and maybe bugs, but can be solved by replacing null=True with default="". Read more.

@mlodic mlodic merged commit 5734d41 into master Aug 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.

6 participants