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

Schedule Reports #3510

Merged
merged 273 commits into from
Oct 1, 2024
Merged

Schedule Reports #3510

merged 273 commits into from
Oct 1, 2024

Conversation

Rieven
Copy link
Contributor

@Rieven Rieven commented Sep 10, 2024

Changes

  • Added form to schedule reports
  • Added backend functionality to schedule reports in the scheduler @jpbruinsslot
  • Show form at final settings just before you generate report

TO DO in base branch feature/report-recipe

Depends on:

  • Task runner for schedule reports @Donnype

Upcoming features:

  • Show report schedules in a list
  • Change schedules

Issue link

#3088
#2779

Closes #3088
Closes #2779

Demo

Screen.Recording.2024-09-26.at.15.48.55.mov

QA notes

See video for testing.

Code Checklist

  • All the commits in this PR are properly PGP-signed and verified.
  • This PR only contains functionality relevant to the issue.
  • I have written unit tests for the changes or fixes I made.
  • I have checked the documentation and made changes where necessary.
  • I have performed a self-review of my code and refactored it to the best of my abilities.
  • Tickets have been created for newly discovered issues.
  • For any non-trivial functionality, I have added integration and/or end-to-end tests.
  • I have informed others of any required .env changes files if required and changed the .env-dist accordingly.
  • I have included comments in the code to elaborate on what is not self-evident from the code itself, including references to issues and discussions online, or implicit behavior of an interface.

Checklist for code reviewers:

Copy-paste the checklist from the docs/source/templates folder into your comment.


Checklist for QA:

Copy-paste the checklist from the docs/source/templates folder into your comment.

* main:
  Fix/394 Introduce clearance level control for objects imported by CSV (#2390)
  Update RabbitMQ to the latest version (#2392)
  Show created at and data from in reports (#2370)
  Rename invalid rpki finding to expired (#2377)
  Convert `docker-compose` to `docker compose` (#2341)
  Remove uWSGI (#2366)
  Prevent double github actions (#2374)
* main:
  Fix/394 Introduce clearance level control for objects imported by CSV (#2390)
  Update RabbitMQ to the latest version (#2392)
  Show created at and data from in reports (#2370)
  Rename invalid rpki finding to expired (#2377)
  Convert `docker-compose` to `docker compose` (#2341)
  Remove uWSGI (#2366)
  Prevent double github actions (#2374)
  Fix WEASYPRINT_BASEURL default value and change ports in docker-compose.yml (#2373)
  Remove debian11 packages (#2358)
  Error handling for Generate Report (#2274)
  Update dependencies (#2348)
  Add token authentication (#2349)
  Adds CAA records to the model, boefje, normalizer, adds a check bit and a finding (#2315)
  Check for sudo in install and update script (#2360)
  Feat/normalizer mimetype upload deeplink (#2220)
  Add hrefs to Basic Security overview (#2330)
  Render dicts and list ooi attrs as jsonfield (#2355)
…lexible-scheduling

* chore/mula/update-architecture-doc:
  Fix
  Fix diagram010.svg
  Update docs and restructure some code
  Update documentation
  Add diagrams
  Update architecture documentation
* main: (85 commits)
  Fix wrong solving of merge conflict (#2585)
  Add metrics collection for scheduler using prometheus (#2468)
  Hotfix for where_in queries for abstract types (#2577)
  Update django (#2587)
  Fix octopoes typing (#2555)
  Create findings report (#2393)
  Raise exception if boefje input OOI has been deleted (#2573)
  Set a timeout on hanging test ssl container (#2560)
  Feature/efficient reporting (#2516)
  Updated findings database. Removed old findings, added Impact, Source… (#2569)
  add unit test for web report (#2528)
  Add pool size config and logs (#2541)
  Quick fix for PDF table overflow (#2562)
  Fix/2527 octopoes unicode (#2558)
  Add return typing to report test fixtures (#2557)
  Sort vulnerabilities in vulnerability report (#2378)
  Disable ruff split-on-trailing-comma and update ruff (#2544)
  Select all oois triggers toggle all (#2536)
  Remove unnecessary toplevel dependencies (#2554)
  Make valid time required parameter in the octopoes API (#2543)
  ...
@Rieven Rieven marked this pull request as ready for review September 18, 2024 14:30
@Rieven Rieven requested a review from a team as a code owner September 18, 2024 14:30
@CLAassistant
Copy link

CLAassistant commented Sep 23, 2024

CLA assistant check
All committers have signed the CLA.

@jpbruinsslot
Copy link
Contributor

jpbruinsslot commented Sep 24, 2024

@Rieven do you need some help with resolving the merger? Seems both branches are somewhat out of sync. What is specifically the ordering, this branch into feature/report-recipe or does this branch need to be merged into main?

@Rieven
Copy link
Contributor Author

Rieven commented Sep 26, 2024

@Rieven do you need some help with resolving the merger? Seems both branches are somewhat out of sync. What is specifically the ordering, this branch into feature/report-recipe or does this branch need to be merged into main?

first merge with feature/report-recipe and then everything to main.

@underdarknl underdarknl merged commit 862f6f3 into feature/report-recipe Oct 1, 2024
10 checks passed
@underdarknl underdarknl deleted the feature/schedule-report branch October 1, 2024 12:47
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.

5 participants