[GEA-1178] Add target_type to tasks table - #2994
Open
rdttmr wants to merge 66 commits into
Open
Conversation
ozgen
reviewed
Jul 6, 2026
rdttmr
force-pushed
the
GEA-1178_tasks_target_type
branch
from
August 5, 2026 09:14
074efab to
a65b25d
Compare
rdttmr
force-pushed
the
GEA-1178_tasks_target_type
branch
2 times, most recently
from
August 17, 2026 10:47
e1c2968 to
7e0f1b7
Compare
rdttmr
marked this pull request as ready for review
August 19, 2026 07:57
greenbonebot
enabled auto-merge (rebase)
August 19, 2026 07:57
* cleaned up OCI image migration section
…asks table creation
…ality to generalized functions
…there instead of target_t
…, allowing users to fix the affected tasks
…target, agent_group, oci_image_target, web_application_target)
…rphic and may be reused
rdttmr
force-pushed
the
GEA-1178_tasks_target_type
branch
from
August 19, 2026 08:04
7e0f1b7 to
9b70677
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add
target_typecolumn totaskstable.Remove
agent_group,oci_image_targetandweb_application_target(+*_location) columns fromtaskstableThis PR only refactors the "backend", it intentionally does not modify any APIs, refactors behavior or simplifies other low hanging fruit that could be achieved after the refactoring.
It only intents to swap out database columns, while not changing any behavior. (The old columns are not yet dropped, which is a future endeavor once the changes have been working in production)
One side effect of this is, that the task trend feature is now available for all target types.
Why
Modernize code- and database, make it easier to add different types of targets in the future.
References
GEA-1178