Skip to content

ROX-28348: Disable changing of scan config name#15377

Merged
mtodor merged 2 commits intomasterfrom
mtodor/ROX-28348-disable-scan-config-name-change
May 28, 2025
Merged

ROX-28348: Disable changing of scan config name#15377
mtodor merged 2 commits intomasterfrom
mtodor/ROX-28348-disable-scan-config-name-change

Conversation

@mtodor
Copy link
Contributor

@mtodor mtodor commented May 20, 2025

Description

The scan config name is used as a foreign key in the results table. Changing the name would cause scan results to lose association with the scan config.

Backend change to block scan config name change is added in: #15333

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • no test changes

How I validated my change

  • tested locally with demo stage as backend

@mtodor mtodor requested a review from lvalerom May 20, 2025 16:21
@mtodor mtodor requested a review from a team as a code owner May 20, 2025 16:21
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @mtodor - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@rhacs-bot
Copy link
Contributor

rhacs-bot commented May 20, 2025

Images are ready for the commit at 09aff35.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.8.x-800-g09aff35647.

@codecov
Copy link

codecov bot commented May 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.21%. Comparing base (d67f37f) to head (09aff35).
Report is 30 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #15377      +/-   ##
==========================================
- Coverage   49.21%   49.21%   -0.01%     
==========================================
  Files        2577     2577              
  Lines      189093   189093              
==========================================
- Hits        93061    93060       -1     
- Misses      88693    88695       +2     
+ Partials     7339     7338       -1     
Flag Coverage Δ
go-unit-tests 49.21% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mtodor mtodor force-pushed the mtodor/ROX-28348-disable-scan-config-name-change branch from a1e8a95 to 09aff35 Compare May 26, 2025 10:11
@mtodor mtodor requested review from bradr5 and sachaudh May 26, 2025 10:13
@mtodor mtodor merged commit 7e4c3a7 into master May 28, 2025
86 checks passed
@mtodor mtodor deleted the mtodor/ROX-28348-disable-scan-config-name-change branch May 28, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants