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

Add a Registration page like the one in Dragonfly #1284

Closed
mlodic opened this issue Nov 10, 2022 · 0 comments
Closed

Add a Registration page like the one in Dragonfly #1284

mlodic opened this issue Nov 10, 2022 · 0 comments
Assignees

Comments

@mlodic
Copy link
Member

mlodic commented Nov 10, 2022

We could add the very same registration page that we created for the Dragonfly service. See: dragonfly.certego.net

Some of the code is already public and is available in the public certego-saas package.

The registration requests would be handled in the Django Admin page by admins.

It should be possible to configure an email/slack where to get notification of new requests.

@carellamartina carellamartina self-assigned this Dec 12, 2022
drosetti added a commit that referenced this issue Mar 1, 2023
* added registration - context_procesors problem

* changes

* test

* changes

* fixed registration bugs and adjusted the docs

* changes

* changed pull_request_automation

* changed env_file_app_template

* adjusted frontend env variable and documentation

* fixed register button and added  smtp backend

* added form and password validation

* adjusted docs

* adjusted password validation

* api_app/core/dataclasses.py

* added button to reset password

* Adjusted frontend validator and backend test_auth

* updated frontend login test

* updated frontend login test

* updated frontend login test

* adjusted validator

* added frontend tests

* adjusted frontend tests

* runned prettier:write

---------

Co-authored-by: Matteo Lodi <30625432+mlodic@users.noreply.github.com>
Co-authored-by: Daniele Rosetti <d.rosetti@certego.net>
@0ssigeno 0ssigeno closed this as completed Mar 6, 2023
mlodic added a commit that referenced this issue Mar 27, 2023
* fix intelowl server_name

* managed 404 result for Crowdsec analyzer

* Bump whitenoise from 6.3.0 to 6.4.0 in /requirements (#1567)

Bumps [whitenoise](https://github.com/evansd/whitenoise) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/evansd/whitenoise/releases)
- [Changelog](https://github.com/evansd/whitenoise/blob/main/docs/changelog.rst)
- [Commits](evansd/whitenoise@6.3.0...6.4.0)

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

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

* Bump intezer-sdk from 1.15.1 to 1.16.1 in /requirements (#1568)

Bumps [intezer-sdk](https://github.com/intezer/analyze-python-sdk) from 1.15.1 to 1.16.1.
- [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.15.1...v1.16.1)

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

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

* restored pull request templates positions

* Registration Page #1284 (#1413)

* added registration - context_procesors problem

* changes

* test

* changes

* fixed registration bugs and adjusted the docs

* changes

* changed pull_request_automation

* changed env_file_app_template

* adjusted frontend env variable and documentation

* fixed register button and added  smtp backend

* added form and password validation

* adjusted docs

* adjusted password validation

* api_app/core/dataclasses.py

* added button to reset password

* Adjusted frontend validator and backend test_auth

* updated frontend login test

* updated frontend login test

* updated frontend login test

* adjusted validator

* added frontend tests

* adjusted frontend tests

* runned prettier:write

---------

Co-authored-by: Matteo Lodi <30625432+mlodic@users.noreply.github.com>
Co-authored-by: Daniele Rosetti <d.rosetti@certego.net>

* fix initialize.sh docker condition (#1580)

* Bump google-cloud-webrisk from 1.10.0 to 1.11.0 in /requirements (#1564)

Bumps [google-cloud-webrisk](https://github.com/googleapis/python-webrisk) from 1.10.0 to 1.11.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.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: google-cloud-webrisk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump quark-engine from 22.12.1 to 23.2.1 in /requirements (#1565)

Bumps [quark-engine](https://github.com/quark-engine/quark-engine) from 22.12.1 to 23.2.1.
- [Release notes](https://github.com/quark-engine/quark-engine/releases)
- [Commits](quark-engine/quark-engine@v22.12.1...v23.2.1)

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

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

* [analyzer] hunter how (#1579)

* fixed precommit errors

* fixed usage.md

* changed analyzer config

* precommits

* changed the name for hunteIo

* modified mock test

---------

Co-authored-by: shivam <shivam@ubuntu.myguest.virtualbox.org>

* Bump django-ses from 3.1.0 to 3.3.0 in /requirements (#1585)

Bumps [django-ses](https://github.com/django-ses/django-ses) from 3.1.0 to 3.3.0.
- [Release notes](https://github.com/django-ses/django-ses/releases)
- [Changelog](https://github.com/django-ses/django-ses/blob/master/CHANGES.md)
- [Commits](django-ses/django-ses@v3.1.0...v3.3.0)

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

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

* fixing AWS IAM Auth and created specific AWS settings file

* tweak last commit

* removed AWS_REGION duplicate

* adjusted AWS SQS integration

* adjusting order of settings

* fix default queue

* added SQS package for Celery

* updated boto and added new Yara rule repo: https://github.com/elceef/yara-rulz

* added SECURITY.md

* added OpenSSF Best Practices badge + added permissions read to workflows

* adjusted DNS0 analyzers (#1593)

* adjusted DNS0 analyzers

* fixed boto3 version

* adjusted code ql

* adjusted error handling in PDF_Info

* added declaration of Slack related settings

* added support for Docker Analyzers in Cluster environments

* fixed typo in codeql

* fixing and updating qiling and codeql

* Fix "value too great for base" error (#1599)

Signed-off-by: 0ssigeno <s.berni@certego.net>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: 0ssigeno <simone.berni2@studio.unibo.it>
Co-authored-by: Matteo Lodi <30625432+mlodic@users.noreply.github.com>
Co-authored-by: Simone Berni <simone.berni2@studio.unibo.it>
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 <55402684+drosetti@users.noreply.github.com>
Co-authored-by: Abheek Tripathy <90976669+abheektripathy@users.noreply.github.com>
Co-authored-by: AshirRashid <64663586+AshirRashid@users.noreply.github.com>
Co-authored-by: Karanjot Singh <thestrangequarks@protonmail.com>
Co-authored-by: 0ssigeno <s.berni@certego.net>
Co-authored-by: Daniele Rosetti <d.rosetti@certego.net>
Co-authored-by: Siddhanth <70613804+siddhanthrathod@users.noreply.github.com>
Co-authored-by: Parth Madan <parthmadan3739@gmail.com>
Co-authored-by: Shivam Purohit <91889807+shivam-Purohit@users.noreply.github.com>
Co-authored-by: shivam <shivam@ubuntu.myguest.virtualbox.org>

* adjusted paths in malware tools analyzers + added message to initialize.sh + fixed ThugUrl + managed Yara edge case

* added libcurl for codeql

* Fix logrotate copy command (#1600)

* Fix logrotate copy

cp: /etc/logrotate.d is not a directory

* Remove unnecessary directory context

---------

Signed-off-by: 0ssigeno <s.berni@certego.net>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: 0ssigeno <simone.berni2@studio.unibo.it>
Co-authored-by: Matteo Lodi <30625432+mlodic@users.noreply.github.com>
Co-authored-by: Simone Berni <simone.berni2@studio.unibo.it>
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 <55402684+drosetti@users.noreply.github.com>
Co-authored-by: Abheek Tripathy <90976669+abheektripathy@users.noreply.github.com>
Co-authored-by: AshirRashid <64663586+AshirRashid@users.noreply.github.com>
Co-authored-by: Karanjot Singh <thestrangequarks@protonmail.com>
Co-authored-by: 0ssigeno <s.berni@certego.net>
Co-authored-by: Daniele Rosetti <d.rosetti@certego.net>
Co-authored-by: Siddhanth <70613804+siddhanthrathod@users.noreply.github.com>
Co-authored-by: Parth Madan <parthmadan3739@gmail.com>
Co-authored-by: Shivam Purohit <91889807+shivam-Purohit@users.noreply.github.com>
Co-authored-by: shivam <shivam@ubuntu.myguest.virtualbox.org>

* incremented logging for yara update and for broadcast update + adjust to emailrepio analyzer

* incremented logging for Yara analyzer

* forcing .fifo in case of AWS_SQS is used

* adjusted crons default queue

* Cron and command (#1603)

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Fixes- #1404 Make Observable copy-pastable (#1578)

* fixes-observablecopypaste

* reviewing changes

* proxy-fix

* Added chance to use NFS instead of local storage (#1604)

* Support for nfs

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Fix signal

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Fixing nfs

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Typo

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Rename

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Added docs

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Black

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Fix order

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Added celery beat

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Typo

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Fifo case

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Typo

Signed-off-by: 0ssigeno <s.berni@certego.net>

---------

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Bump drf-spectacular from 0.25.1 to 0.26.1 in /requirements (#1607)

Bumps [drf-spectacular](https://github.com/tfranzel/drf-spectacular) from 0.25.1 to 0.26.1.
- [Release notes](https://github.com/tfranzel/drf-spectacular/releases)
- [Changelog](https://github.com/tfranzel/drf-spectacular/blob/master/CHANGELOG.rst)
- [Commits](tfranzel/drf-spectacular@0.25.1...0.26.1)

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

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

* Bump django-celery-beat from 2.4.0 to 2.5.0 in /requirements (#1605)

Bumps [django-celery-beat](https://github.com/celery/django-celery-beat) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/celery/django-celery-beat/releases)
- [Changelog](https://github.com/celery/django-celery-beat/blob/main/Changelog)
- [Commits](celery/django-celery-beat@v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: django-celery-beat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump django-celery-results from 2.4.0 to 2.5.0 in /requirements (#1596)

Bumps [django-celery-results](https://github.com/celery/django-celery-results) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/celery/django-celery-results/releases)
- [Changelog](https://github.com/celery/django-celery-results/blob/main/Changelog)
- [Commits](celery/django-celery-results@v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: django-celery-results
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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>

* removed pinned requests

* Yara fixes & speedup (#1608)

* Added global check

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Yara fixes

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Reverted global

Signed-off-by: 0ssigeno <s.berni@certego.net>

* SUPER FAST

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Fix

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Fix

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Logs

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Removed unused variable

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Class mgmt

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Removed unused attribute

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Fixed docs

Signed-off-by: 0ssigeno <s.berni@certego.net>

---------

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Malware tools analyzers refactor (#1609)

* updated malware_tools_analyzers image and refactored related analyzers

* fixes

* fixed fileinfo qiling and strings

* linters

* deepsource

* fix NFS flag

* Message group Id (#1610)

* Uuid

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Blake

Signed-off-by: 0ssigeno <s.berni@certego.net>

---------

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Update_repositories script is no longer necessary, since you can have the same result using a shared nfs

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Corner case

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Adding global config on worker connect

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Fix owner

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Fix path compiled

Signed-off-by: 0ssigeno <s.berni@certego.net>

* adjustments to Thug and malware_tools_analyzers

* Adding url in match

Signed-off-by: 0ssigeno <s.berni@certego.net>

* Added rule_url to every match

Signed-off-by: 0ssigeno <s.berni@certego.net>

* set_permissions is now recursive

Signed-off-by: 0ssigeno <s.berni@certego.net>

* upgraded Django to 4.1 and added DB options to better manage connections (#1613)

* adjusts to Quad9, Classic DNS, MWdb and OTX analyzers (#1612)

* adjusts to Quad9 and Classic DNS analyzers

* fixes to mwdb and to last commit

* adjusted OTX with timeout

* managed edge case

* adjust

* tweak

* incremented logging

* removed Manalyze

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: 0ssigeno <s.berni@certego.net>
Signed-off-by: 0ssigeno <simone.berni2@studio.unibo.it>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martina Carella <m.carella@external.certego.net>
Co-authored-by: Daniele Rosetti <d.rosetti@certego.net>
Co-authored-by: ben-ce <bence.schmehl@protonmail.com>
Co-authored-by: Shivam Purohit <91889807+shivam-Purohit@users.noreply.github.com>
Co-authored-by: shivam <shivam@ubuntu.myguest.virtualbox.org>
Co-authored-by: Kyle Taylor <kyletaylored@gmail.com>
Co-authored-by: Simone Berni <simone.berni2@studio.unibo.it>
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
Co-authored-by: drosetti <55402684+drosetti@users.noreply.github.com>
Co-authored-by: Abheek Tripathy <90976669+abheektripathy@users.noreply.github.com>
Co-authored-by: AshirRashid <64663586+AshirRashid@users.noreply.github.com>
Co-authored-by: Karanjot Singh <thestrangequarks@protonmail.com>
Co-authored-by: 0ssigeno <s.berni@certego.net>
Co-authored-by: Siddhanth <70613804+siddhanthrathod@users.noreply.github.com>
Co-authored-by: Parth Madan <parthmadan3739@gmail.com>
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

No branches or pull requests

3 participants