Skip to content

v5.2.0#1944

Merged
mlodic merged 223 commits intomasterfrom
develop
Nov 2, 2023
Merged

v5.2.0#1944
mlodic merged 223 commits intomasterfrom
develop

Conversation

@mlodic
Copy link
Member

@mlodic mlodic commented Oct 17, 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.

federicofantini and others added 30 commits August 8, 2023 11:03
…r_organization enabled (#1827)

* fixed multiline strings in capesandbox analyzer with plugin-config for_organization enabled

* staticmethod

* staticmethod
Signed-off-by: 0ssigeno <[email protected]>
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema) from 4.18.0 to 4.19.0.
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](python-jsonschema/jsonschema@v4.18.0...v4.19.0)

---
updated-dependencies:
- dependency-name: jsonschema
  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>
* pass param via GET to the scan form page

* prettier

* log
Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
* add netlas python module

* add mockresponse for netlas

* modify the mockresponse to match the actual

* add new migration for netlas

* Fix migration

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

* Fix response

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

* Do not allow to dump real secret values

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

* Do not allow to dump real secret values

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

* Fix migration creation

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

* Fix migration creation

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

* add netlas to usage.md

---------

Signed-off-by: 0ssigeno <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
* added support admins pluginconfig managemnent #1470

* updated certego-saas pypi version

* fixed permission check for enable/disable org

* made the requested changes

fixed admin queryset query and added tests

fixed admin permissions checks

added comments in tests source code

* removed unused permissions class
Bumps [flag-icons](https://github.com/lipis/flag-icons) from 6.9.1 to 6.9.5.
- [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.9.1...v6.9.5)

---
updated-dependencies:
- dependency-name: flag-icons
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.0.0...3.0.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [formik](https://github.com/jaredpalmer/formik) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/jaredpalmer/formik/releases)
- [Commits](https://github.com/jaredpalmer/formik/compare/[email protected]@2.4.3)

---
updated-dependencies:
- dependency-name: formik
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* More changes

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

* Fix test

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

---------

Signed-off-by: 0ssigeno <[email protected]>
status "processing" is no longer available
Bumps [uwsgi](https://github.com/unbit/uwsgi-docs) from 2.0.20 to 2.0.22.
- [Commits](https://github.com/unbit/uwsgi-docs/commits)

---
updated-dependencies:
- dependency-name: uwsgi
  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>
Signed-off-by: 0ssigeno <[email protected]>
* feat: add guide skeleton with routes.

* fix: content/styling for guide.

* chore: fix prettier errors

* fix: header guide link + eslint warnings

* fix: authentication check on guide.

* refactor: change state/set to guideState/set

* Update frontend/src/components/misc/GuideWrapper.jsx

Co-authored-by: Matteo Lodi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Matteo Lodi <[email protected]>

* chore: prettier errors

* fix: dashboard step at the last

---------

Co-authored-by: Matteo Lodi <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
Bumps [django-auth-ldap](https://github.com/django-auth-ldap/django-auth-ldap) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/django-auth-ldap/django-auth-ldap/releases)
- [Changelog](https://github.com/django-auth-ldap/django-auth-ldap/blob/master/docs/changes.rst)
- [Commits](django-auth-ldap/django-auth-ldap@4.4.0...4.5.0)

---
updated-dependencies:
- dependency-name: django-auth-ldap
  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 [pycti](https://github.com/OpenCTI-Platform/client-python) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/OpenCTI-Platform/client-python/releases)
- [Commits](OpenCTI-Platform/client-python@5.9.0...5.10.0)

---
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>
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.2.0 to 1.3.0.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](readthedocs/sphinx_rtd_theme@1.2.0...1.3.0)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  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 [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.30 to 3.1.32.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](gitpython-developers/GitPython@3.1.30...3.1.32)

---
updated-dependencies:
- dependency-name: gitpython
  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>
dependabot bot and others added 7 commits October 23, 2023 16:17
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.2.0 to 2.3.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@08b4669...483ef80)

---
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>
Signed-off-by: 0ssigeno <[email protected]>
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.4.0 to 3.5.0.
- [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.4.0...v3.5.0)

---
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>
* Pivot serializer

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

* Minor fixes

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

* Minor fixes

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

* Fixes

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

* Fixes tests

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

* Added corner case

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

* Fixes

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

---------

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

Worth considering. View full project report here.

):
raise AnalyzerRunException(
f"{self.observable_name} not supported "
f"because it does not start with http"
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"because it does not start with http"
"because it does not start with http"

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

* addded requests timeout + poll for result analysis timeout

* added migration of requests_timeout parameter

* formatted file

* formatted file

* formatted file

* fixed timeout error

* reformatted the file

* reformatted the file

* reformatted the file

* added dynamic timeout polling

* changed migration name and number dependency

* fixed end of time error in case of mocked connections

* Using range(len(...)) is not pythonic.

* added pending state initial checks

* reduced cyclomatic complexity
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.

Worth considering. View full project report here.

if tot_time > 600:
logger.warning(
f" Job: {self.job_id} -> "
f"Broken soft time limit!! "
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"Broken soft time limit!! "
"Broken soft time limit!! "

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

federicofantini and others added 19 commits October 25, 2023 16:13
* addded requests timeout + poll for result analysis timeout

* added migration of requests_timeout parameter

* formatted file

* formatted file

* formatted file

* fixed timeout error

* reformatted the file

* reformatted the file

* reformatted the file

* added dynamic timeout polling

* changed migration name and number dependency

* fixed end of time error in case of mocked connections

* Using range(len(...)) is not pythonic.

* added pending state initial checks

* reduced cyclomatic complexity

* fixed while True in failed analysis

* code-review-doctor
Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
* enable/disable playbook for org

* fixed playbook options

* prettier

* changes

* frontend tests

* changes

* fix
* refactor scan frontend

* refactor frontend job package

* huge fronted refactor

* test improvements

* rename API URLs file

* splitted const into multiple files

* rename const

* moved mock file in frontend test

* refactor const

* refactor constants

* refactor const

* prettier
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
* improved documentation and refactor old information

* adjusted rtd format
Bumps [sphinxcontrib-openapi](https://github.com/sphinx-contrib/openapi) from 0.7.0 to 0.8.3.
- [Changelog](https://github.com/sphinx-contrib/openapi/blob/master/CHANGES)
- [Commits](sphinx-contrib/openapi@0.7.0...0.8.3)

---
updated-dependencies:
- dependency-name: sphinxcontrib-openapi
  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>
* adjusted file scan analyzers to use TLP in smart way

* removed VT v2 python code

* fixed migration

* Fix routing_key mgmt

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

* Typo

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

* Fix test

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

---------

Signed-off-by: 0ssigeno <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
* json viewer

* changes

* frontend test
* fixed frontend user menu django admin interface only for status members

* added admin permissions in frontend

* fixed view to remove user

* fix test
@mlodic mlodic merged commit baadf9d into master Nov 2, 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.

8 participants