Skip to content
Snippets Groups Projects

Set dast_site_validation_id on validation create

All threads resolved!

What does this MR do?

this merge request ensures that the relevant dast_site is associated with the dast_site_validation once it is created.

Why?

we were previously not performing this update, which was resulting in another model (dast_site_profile) returning 'none' as a result of the association being missing. this was exacerbated by some assumptions made in test factories, which were always creating transitory dependencies implicitly.

Related Issue(s)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Philip Cunningham

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • 1 Message
    :book: CHANGELOG missing:

    If you want to create a changelog entry for GitLab FOSS, run the following:

    bin/changelog -m 49791 "Set dast_site_validation_id on  validation create"

    If you want to create a changelog entry for GitLab EE, run the following instead:

    bin/changelog --ee -m 49791 "Set dast_site_validation_id on  validation create"

    If this merge request doesn't need a CHANGELOG entry, feel free to ignore this message.

    Reviewer roulette

    Changes that require review have been detected! A merge request is normally reviewed by both a reviewer and a maintainer in its primary category (e.g. frontend or backend), and by a maintainer in all other categories.

    To spread load more evenly across eligible reviewers, Danger has picked a candidate for each review slot, based on their timezone. Feel free to override these selections if you think someone else would be better-suited, or the chosen person is unavailable.

    To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines. Please consider assigning a reviewer or maintainer who is a domain expert in the area of the merge request.

    Once you've decided who will review this merge request, mention them as you normally would! Danger does not automatically notify them for you.

    Category Reviewer Maintainer
    backend Steve Abrams (@sabrams) (UTC-7) Igor Drozdov (@igor.drozdov) (UTC+3)

    If needed, you can retry the danger-review job that generated this comment.

    Generated by :no_entry_sign: Danger

    Edited by 🤖 GitLab Bot 🤖
  • Philip Cunningham marked this merge request as draft

    marked this merge request as draft

  • Philip Cunningham added 456 commits

    added 456 commits

    Compare with previous version

  • added 2 commits

    Compare with previous version

  • Philip Cunningham marked this merge request as ready

    marked this merge request as ready

  • added 1 commit

    • 275c8b77 - Set dast_site_validation_id validation created

    Compare with previous version

  • added 1 commit

    • 1f37dc41 - Set dast_site_validation_id validation created

    Compare with previous version

  • Philip Cunningham
  • Philip Cunningham
  • Philip Cunningham
  • Philip Cunningham
  • added 1 commit

    • 95dab5b9 - Set dast_site_validation_id validation created

    Compare with previous version

  • added 1 commit

    • 4a0dce00 - Set dast_site_validation_id validation created

    Compare with previous version

  • Philip Cunningham changed milestone to %13.7

    changed milestone to %13.7

  • added 1 commit

    • 40063e96 - Set dast_site_validation_id validation created

    Compare with previous version

  • Philip Cunningham changed the description

    changed the description

  • assigned to @eurie and unassigned @philipcunningham

  • Philip Cunningham requested review from @eurie

    requested review from @eurie

  • mentioned in issue #292739 (closed)

  • Philip Cunningham
  • mentioned in issue #241815 (closed)

  • Ethan Urie
  • Ethan Urie
  • Ethan Urie
  • Ethan Urie assigned to @philipcunningham and unassigned @eurie

    assigned to @philipcunningham and unassigned @eurie

  • Philip Cunningham added 965 commits

    added 965 commits

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • assigned to @eurie and unassigned @philipcunningham

  • Philip Cunningham added 12 commits

    added 12 commits

    Compare with previous version

  • 🤖 GitLab Bot 🤖 changed milestone to %13.8

    changed milestone to %13.8

  • Ethan Urie assigned to @igor.drozdov and unassigned @eurie

    assigned to @igor.drozdov and unassigned @eurie

  • Ethan Urie requested review from @igor.drozdov

    requested review from @igor.drozdov

  • Igor Drozdov approved this merge request

    approved this merge request

  • assigned to @philipcunningham and unassigned @igor.drozdov

  • Philip Cunningham added 339 commits

    added 339 commits

    Compare with previous version

  • assigned to @igor.drozdov and unassigned @philipcunningham

  • Igor Drozdov resolved all threads

    resolved all threads

  • merged

  • Igor Drozdov mentioned in commit 24090a4b

    mentioned in commit 24090a4b

  • added workflowcanary label and removed workflowstaging label

  • added workflowproduction label and removed workflowcanary label

  • Please register or sign in to reply
    Loading