Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Priority mgmt #2242

Merged
merged 7 commits into from
Apr 4, 2024
Merged

Priority mgmt #2242

merged 7 commits into from
Apr 4, 2024

Conversation

0ssigeno
Copy link
Contributor

@0ssigeno 0ssigeno commented Apr 4, 2024

(Please add to the PR name the issue/s that this PR would close if merged by using a Github keyword. Example: <feature name>. Closes #999. If your PR is made by a single commit, please add that clause in the commit too. This is all required to automate the closure of related issues.)

Description

Please include a summary of the change and link to the related issue.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist

  • I have read and understood the rules about how to Contribute to this project
  • The pull request is for the branch develop
  • A new plugin (analyzer, connector, visualizer, playbook, pivot or ingestor) was added or changed, in which case:
    • I strictly followed the documentation "How to create a Plugin"
    • Usage file was updated.
    • Advanced-Usage was updated (in case the plugin provides additional optional configuration).
    • If the plugin requires mocked testing, _monkeypatch() was used in its class to apply the necessary decorators.
    • I have dumped the configuration from Django Admin using the dumpplugin command and added it in the project as a data migration. ("How to share a plugin with the community")
    • If a File analyzer was added and it supports a mimetype which is not already supported, you added a sample of that type inside the archive test_files.zip and you added the default tests for that mimetype in test_classes.py.
    • If you created a new analyzer and it is free (does not require API keys), please add it in the FREE_TO_USE_ANALYZERS playbook by following this guide.
    • Check if it could make sense to add that analyzer/connector to other freely available playbooks.
    • I have provided the resulting raw JSON of a finished analysis and a screenshot of the results.
    • I have added that raw JSON sample to the MockUpResponse of the _monkeypatch() method. This serves us to provide a valid sample for testing.
  • If external libraries/packages with restrictive licenses were used, they were added in the Legal Notice section.
  • Linters (Black, Flake, Isort) gave 0 errors. If you have correctly installed pre-commit, it does these checks and adjustments on your behalf.
  • I have added tests for the feature/bug I solved (see tests folder). All the tests (new and old ones) gave 0 errors.
  • If changes were made to an existing model/serializer/view, the docs were updated and regenerated (check CONTRIBUTE.md).
  • If the GUI has been modified:
    • I have a provided a screenshot of the result in the PR.
    • I have created new frontend tests for the new component or updated existing ones.
  • After you had submitted the PR, if DeepSource, Django Doctors or other third-party linters have triggered any alerts during the CI checks, I have solved those alerts.

Important Rules

  • If you miss to compile the Checklist properly, your PR won't be reviewed by the maintainers.
  • Everytime you make changes to the PR and you think the work is done, you should explicitly ask for a review. After being reviewed and received a "change request", you should explicitly ask for a review again once you have made the requested changes.

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.

Some food for thought. View full project report here.

authentication/models.py Outdated Show resolved Hide resolved
authentication/models.py Outdated Show resolved Hide resolved
Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: 0ssigeno <[email protected]>
@0ssigeno 0ssigeno merged commit ec9d41f into develop Apr 4, 2024
10 of 12 checks passed
@0ssigeno 0ssigeno deleted the priority branch April 4, 2024 10:46
mlodic added a commit that referenced this pull request May 13, 2024
* Fix migration signal

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

* Fix kwargs

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

* Fail if in production mode

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

* Validated disable with 429

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

* Fix is_from_org information

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

* Fix greynoise api requirement

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

* fixes #1758 - greynoise labs analyzer (#2225)

* greynoise labs analyzer

* fix

* update migration numbers

* update maximum tlp

* fix

---------

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Shivam Purohit <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: fgibertoni <[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: Shivam Purohit <[email protected]>

* removed scanner issue template

* fixes #1663 - Abusix analyzer (#2233)

* fixes #1663 - abusix analyzer

* fix

* updated migration numbers

---------

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Shivam Purohit <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: fgibertoni <[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: Shivam Purohit <[email protected]>

* Bump uwsgitop from 0.11 to 0.12 in /requirements (#2237)

Bumps [uwsgitop](https://github.com/xrmx/uwsgitop) from 0.11 to 0.12.
- [Commits](xrmx/uwsgitop@v0.11...v0.12)

---
updated-dependencies:
- dependency-name: uwsgitop
  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>

* Fix ses email

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

* Jobs now requires both analyzers AND connectors to be empty

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

* Fixes for quad9

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

* Removed comment on enable back

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

* HTTPerror should not have the entire traceback

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

* Trying to unlock the git process deleting the lock file

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

* Fix ingestor periodic task

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

* Fix retrieval of the task

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

* Fix ingestor python class retrieval

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

* Fix test

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

* Fix tests

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

* Fixes

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

* specified version of nginx

* Priority mgmt (#2242)

* Priority mgmt

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

* Blake

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

* Docs

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

* Changed order of cache table

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

* Manage case where cache it is not initialized

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

* Fixes

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

* Blake

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

---------

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

* Bump pillow from 10.2.0 to 10.3.0 in /requirements (#2240)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@10.2.0...10.3.0)

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

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Shivam Purohit <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: fgibertoni <[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: Shivam Purohit <[email protected]>

* fixed rescan observable (#2243)

* Added pivot buttons (#2239)

* added pivot buttons

* fixes

* linter

* docs

* updated doc

* changes

---------

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

* added tlp info icon (#2246)

* adjusted 'Investigation Overview' button (#2244)

* adjusted investigation button

* fix

* Allow filtering for disabled boolean

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

* Fix cache

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

* Fix env variables + healthcheck

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

* Fix visualizable table (#2249)

* Fix images url

* Fixed table images using absolute url

* improved frontend validation in visualizer framework

* modified JobIsRunningAlert component (#2256)

* changed JobIsRunningAlert

* prettier

* mocked flow

* adjusts to default domain reputation visualizer + analyzers urls and abstractmethods (#2250)

* little adjusts

* adjust

* refactored base_url in url to enable healthchecks

* adjust

* added update abstract method

* added logging of intel_owl package

* adjusted containers dependencies

* Fix

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

* support for Elastic8 and removal of support for older versions (#2262)

* support for elastic 8

* elastic8

* elastic8

* removed elasticsearch sniffing

* Update migration guide from postgres 12 to 16 (#2260)

* Improved migration from postgres 12 to postgres 16

* Trimmed extra whitespaces

* Fix volume

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

* fixes #1698 - hfinger analyzer (#2241)

* hfinger analyzer

* dependency for hfinger analyzer

* migrations for hfinger analyzer

* overridden update method

* default config fix

* modified usage.md

* fix

* fix

* Fix phoneinfo

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

* Minor fix

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

* Fixes

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

* Fixing logs

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

* Bump channels from 4.0.0 to 4.1.0 in /requirements (#2255)

Bumps [channels](https://github.com/django/channels) from 4.0.0 to 4.1.0.
- [Changelog](https://github.com/django/channels/blob/main/CHANGELOG.txt)
- [Commits](django/channels@4.0.0...4.1.0)

---
updated-dependencies:
- dependency-name: channels
  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 quark-engine from 24.2.1 to 24.4.1 in /requirements (#2254)

Bumps [quark-engine](https://github.com/quark-engine/quark-engine) from 24.2.1 to 24.4.1.
- [Release notes](https://github.com/quark-engine/quark-engine/releases)
- [Commits](quark-engine/quark-engine@v24.2.1...v24.4.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>

* adjusted guide (#2264)

* Fix docs

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

* Little adjusts (#2263)

* little adjusts

* adjust

* refactored base_url in url to enable healthchecks

* adjust

* added update abstract method

* added logging of intel_owl package

* adjusted threatfox

* threatfox analyzer fix

* threatfox analyzer fix

* threatfox analyzer fix

* threatfox analyzer fix

* threatfox analyzer fix

* elastic shards/replicas reduced

* Fix

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

* typo

* fix

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

* adjusted NodeToolbar (#2273)

* Fix migration

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

* Cache are adjusted through celery

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

* fix

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

* Added stop step for intermediate container (#2266)

* create_or_update

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

* Typo

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

* Fix

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

* Fixes

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

* Remove dns0 analyzers (#2274)

* Added migrations to remove analyzers and playbook

* Removed analyzers sources

* Removed dns0 analyzer from docs

* Fix

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

* Fix black

* Added if conditions for saver migrations

---------

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

* Frontend - adjusted job metadata section (#2272)

* adjusted JobInfoCard

* fixed  fitView in chrome

* Frontend - improvements (#2278)

* improvements

* fixed test

* Fix_ci (#2284)

* Fix_ci

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

* Typo

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

---------

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

* Optimization

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

* Optimization

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

* ASN maxmind integration (#2282)

* Changed library from maxminddb to geoip2

* Refactoring maxmind not finished

* Refactoring maxmind analyzer

* Added methods for query db

* Made a method 'private'

* Renamed method

* Made attributes 'private'

* Added return type

* Improved log message

* Renamed back to update() because of updating cron

* Fixed media_root settings

* Added log to tar extraction

* Removed unnecessary variable

* Improved log messages

* Readded maxminddb library

* Update api_app/analyzers_manager/observable_analyzers/maxmind.py

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

* Fix_ci (#2284)

* Fix_ci

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

* Typo

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

---------

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

* Changed library from maxminddb to geoip2

* Refactoring maxmind not finished

* Refactoring maxmind analyzer

* Added methods for query db

* Made a method 'private'

* Renamed method

* Made attributes 'private'

* Added return type

* Improved log message

* Renamed back to update() because of updating cron

* Fixed media_root settings

* Added log to tar extraction

* Removed unnecessary variable

* Improved log messages

* Readded maxminddb library

* Moved functions and improved logs

* Changed error handling

* Fixed deepsource warning

---------

Signed-off-by: 0ssigeno <[email protected]>
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
Co-authored-by: Simone Berni <[email protected]>

* Abusix send email (#2283)

* Added AbuseSubmitter connector

* Renamed and updated connector EmailSender

* Added monkeypatch to email sender connector

* Updated EmailSender parameters

* Added AbuseDomainToAbuseIp pivot

* Updated AbuseDomainToAbuseIp pivot

* Updated pivots

* Changed health_check_status to editable

* Changed health_check_status back to not editable

* receiver update

* subject and body update

* added abusix update migration

* fix investigation creation

* updated AbuseDomainToIp should_run

* updated AbuseIpToSubmission should_run

* added plugin migrations

* fix migrations

* Changed email sender body

* fixed migrations dependencies

* updates email sender and abuse submitter

* Fix migrations

* Fix

* Fix

* Fix playbooks migrations

* Update api_app/connectors_manager/connectors/abuse_submitter.py

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

* Added AbuseSubmitter connector

* Renamed and updated connector EmailSender

* Added monkeypatch to email sender connector

* Updated EmailSender parameters

* Added AbuseDomainToAbuseIp pivot

* Updated AbuseDomainToAbuseIp pivot

* Updated pivots

* Changed health_check_status to editable

* Changed health_check_status back to not editable

* receiver update

* subject and body update

* added abusix update migration

* fix investigation creation

* updated AbuseDomainToIp should_run

* updated AbuseIpToSubmission should_run

* added plugin migrations

* fix migrations

* Changed email sender body

* fixed migrations dependencies

* updates email sender and abuse submitter

* Fix migrations

* Fix

* Fix

* Fix playbooks migrations

* added update method

* added update method

* removed AbuseSubmitter values

Co-authored-by: Simone Berni <[email protected]>

* removed EmailSender values

* Update should_run

Co-authored-by: Simone Berni <[email protected]>

* changed AbuseDomainToAbuseIp to AnyCompare

* update compare

* added update

* removed AbuseIpToSubmission

* Added AbuseSubmitter connector

* Renamed and updated connector EmailSender

* Added monkeypatch to email sender connector

* Updated EmailSender parameters

* Added AbuseDomainToAbuseIp pivot

* Updated AbuseDomainToAbuseIp pivot

* Updated pivots

* Changed health_check_status to editable

* Changed health_check_status back to not editable

* receiver update

* subject and body update

* added abusix update migration

* fix investigation creation

* updated AbuseDomainToIp should_run

* updated AbuseIpToSubmission should_run

* added plugin migrations

* fix migrations

* Changed email sender body

* fixed migrations dependencies

* updates email sender and abuse submitter

* Fix migrations

* Fix

* Fix

* Fix playbooks migrations

* added update method

* Added AbuseSubmitter connector

* Changed health_check_status to editable

* Changed health_check_status back to not editable

* added abusix update migration

* added plugin migrations

* fix migrations

* fixed migrations dependencies

* Fix migrations

* removed AbuseSubmitter values

Co-authored-by: Simone Berni <[email protected]>

* removed EmailSender values

* Update should_run

Co-authored-by: Simone Berni <[email protected]>

* changed AbuseDomainToAbuseIp to AnyCompare

* update compare

* added update

* removed AbuseIpToSubmission

* Fix pivot migrations

* Renamed playbook Abuse_Domain to Takedown_Request

* Update api_app/connectors_manager/connectors/abuse_submitter.py

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

* Update api_app/connectors_manager/connectors/abuse_submitter.py

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

* Added EmailSender header and footer

* Fix linters

* Fix test

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

* Fix pivot test

* Fix

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

* Fixed EmailSender output and plugin descriptions (#2290)

* Updated EmailSender output

* Updated plugin descriptions

* Update authentication/models.py

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

* Update authentication/models.py

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

* deepsource adjusts

* bump and changelog

* fixes for Yara

* removing Yara visualizer from Static Analysis Playbook and updated and fixed Floss Analyzer

* Removed mkdir

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

* blake post merge

* Yara already made in dockerfile

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

* Removed import

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

* update yara visualizer

* Docs update (#2293)

* Added list of pre-built pivots

* Added list of pre-built connectors

* Added list of pre-built playbooks

* Added already implemented modules for pivots

* Added running a plugin

* tried adjust

* Adjust field_to_compare description

---------

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

* Fix dependencies

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

* Typo

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

* Upgrade docs

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

* Fixed update with None token (#2287)

* Bump django-ses from 3.5.0 to 4.0.0 in /requirements (#2280)

Bumps [django-ses](https://github.com/django-ses/django-ses) from 3.5.0 to 4.0.0.
- [Release notes](https://github.com/django-ses/django-ses/releases)
- [Changelog](https://github.com/django-ses/django-ses/blob/main/CHANGES.md)
- [Commits](django-ses/django-ses@v3.5.0...v4.0.0)

---
updated-dependencies:
- dependency-name: django-ses
  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>

* Bump djangorestframework from 3.14.0 to 3.15.1 in /requirements (#2219)

Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.14.0 to 3.15.1.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](encode/django-rest-framework@3.14.0...3.15.1)

---
updated-dependencies:
- dependency-name: djangorestframework
  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 library/nginx from 1.25.4-alpine to 1.26.0-alpine in /docker (#2285)

Bumps library/nginx from 1.25.4-alpine to 1.26.0-alpine.

---
updated-dependencies:
- dependency-name: library/nginx
  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>

* Starting playbooks (#2297)

* starting playbooks

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

* Not starting

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

* Fix migration

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

* Prettier

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

* Fix

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

---------

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

* Add IP2WHOIS (#2288)

* Add IP2WHOIS

* Update Usage.md

* Update ip2whois.py

- Add an example JSON result to showcase the fields in the result.
- Attempt to fix an error reported by DeepSource: Python.

* Update ip2whois.py

Fix formatting error.

* Update ip2whois.py

Fix the E501 line too long error by changed to another JSON example.

* Update ip2whois.py

* fixed migration

---------

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

* Bump gunicorn from 20.1.0 to 22.0.0 in /integrations/pcap_analyzers (#2276)

Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 20.1.0 to 22.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](benoitc/gunicorn@20.1.0...22.0.0)

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

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Shivam Purohit <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: fgibertoni <[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: Shivam Purohit <[email protected]>

* Bump gunicorn from 20.1.0 to 22.0.0 in /integrations/tor_analyzers (#2277)

Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 20.1.0 to 22.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](benoitc/gunicorn@20.1.0...22.0.0)

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

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Shivam Purohit <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: fgibertoni <[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: Shivam Purohit <[email protected]>

* Bump django-auth-ldap from 4.7.0 to 4.8.0 in /requirements (#2270)

Bumps [django-auth-ldap](https://github.com/django-auth-ldap/django-auth-ldap) from 4.7.0 to 4.8.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.7.0...4.8.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>

* Bump gunicorn in /integrations/malware_tools_analyzers/requirements (#2275)

Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 20.1.0 to 22.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](benoitc/gunicorn@20.1.0...22.0.0)

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

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Shivam Purohit <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: fgibertoni <[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: Shivam Purohit <[email protected]>

* updated frontend dependencies

* Fix serializer

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

* added linkedin button (#2299)

* Fixed tests and fixed maxmind update (#2298)

* added plugin info icon in raw data report (#2296)

* added plugin info icon

* fix test

* adjusted tests

* refactor pluginReportTables

* Change investigation default name (#2301)

* Change investigation default name

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

* Blake

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

---------

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

* adjusted old job removal

* Graph prevention with scan_mode check_previous_analysis (#2302)

* Graph prevention with scan_mode check_previous_analysis

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

* Wops

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

---------

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

* Fix + test for runtime config

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

* Fixes

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

* domain playbook adjusts (#2304)

* domain playbook adjusts

* black

* Added few Docstrings in authentication\views.py  (#2236)

* Added few Docstrings

* Updated with few changes.

* linter

---------

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Shivam Purohit <[email protected]>
Co-authored-by: Matteo Lodi <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: fgibertoni <[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: Shivam Purohit <[email protected]>
Co-authored-by: Your Name <[email protected]>

* fixes #1699 Permhash analyzer (#2258)

* added permhash analyzer and updated project-requirements.txt

* name change

* migrations

* changes

* update mimetypes and migration file

* update permhash

* fix migration issues

* raise AnalyzerRunException in perm_hash.py

* use mimetype instead of file extension

* added monkeypatch patches and changed permhash version from 0.1.4.2 to 0.1.4

* add permhash to free analyzers

* updated test_classes

 => added AndroidManifest.xml, manifest.json and sample.crx to
test_files.zip
 => added test cases for xml, json and crx in
tests/api_app/analyzers_manager/test_classes.py

* updated perm_hash.py

* added permhash to both free analyzers and static analyzers

* updated Usage.md

* updated migrations

* fix

* migration

* migrations

* migrations

---------

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

* Bump pywatchman from 1.4.1 to 2.0.0 in /requirements (#2169)

Bumps [pywatchman](https://github.com/facebook/watchman) from 1.4.1 to 2.0.0.
- [Release notes](https://github.com/facebook/watchman/releases)
- [Commits](https://github.com/facebook/watchman/commits/v2.0)

---
updated-dependencies:
- dependency-name: pywatchman
  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>

* Added traefik switch to script (#2307)

* Removed depends on

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

* Fixes Blint#2232 (#2257)

* blint

* report directory, code quality, docs

adjusts to default domain reputation visualizer + analyzers urls and abstractmethods (#2250)

* little adjusts

* adjust

* refactored base_url in url to enable healthchecks

* adjust

* added update abstract method

* added logging of intel_owl package

adjusted containers dependencies

Fix

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

report directory, code quality, docs

adjusts to default domain reputation visualizer + analyzers urls and abstractmethods (#2250)

* little adjusts

* adjust

* refactored base_url in url to enable healthchecks

* adjust

* added update abstract method

* added logging of intel_owl package

adjusted containers dependencies

Fix

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

RED tlp

* dict response, log remove

* cleanup

* migratiuons

* migrations

* code quality

* supportfiles

* updated blint

* updated python in ci

* repo_downloader_fix

* codeql

* fix migrations

* fix migrations

* cleaned code

* cleaned code

* fix

* try fix repo downloader

* don't work

---------

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

* adjusted JobIsRunningFlow (#2300)

* adjusted JobIsRunningFlow

* refactor

* deepsource

* adjusted test + permission edge case

* adjusted Update view

---------

Signed-off-by: 0ssigeno <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Shivam Purohit <[email protected]>
Co-authored-by: 0ssigeno <[email protected]>
Co-authored-by: Moon Patel <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: Martina Carella <[email protected]>
Co-authored-by: Daniele Rosetti <[email protected]>
Co-authored-by: fgibertoni <[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: Shivam Purohit <[email protected]>
Co-authored-by: Cristina Ascari <[email protected]>
Co-authored-by: IP2Location <[email protected]>
Co-authored-by: suryapavan1611 <[email protected]>
Co-authored-by: Your Name <[email protected]>
Co-authored-by: Nilay Gupta <[email protected]>
Co-authored-by: g4ze <[email protected]>
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.

1 participant