@rossfuhrman , could you review for our team?
Hi, @michold , the Pipeline has suggested your team to review the changes to the metrics product_category. Would you be able to review? Thanks!
Vasyl Pedak (3089704d) at 18 Mar 19:13
Fix feature category in scan profiles metrics
... and 80 more commits
Vasyl Pedak (f9320c3c) at 18 Mar 19:07
Fix feature category for sec scan profiles in FE
... and 80 more commits
Fix feature category in the metrics related to Security Scan Profiles
Earlier we identified that scan profiles related components were incorrectly assigned wrong feature category ( #592069 ). This commit assigns the correct feature category to the corresponding metrics.
Fixes: #592069
Discussion: !227536 (comment 3164478674)
We have confirmed with product manager and product analyst.
N/A non functional maintenance change.
N/A non functional maintenance change.
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Vasyl Pedak (e4061c4b) at 18 Mar 18:55
Fix feature category in scan profiles metrics
Vasyl Pedak (17030410) at 18 Mar 14:47
Fix feature category for sec scan profiles in FE
... and 347 more commits
feature_category to the spec related to Project::Security::ConfigurationController - !227536 (e6cd64c3)
Could you resolve the threads if it looks good for you now. Thanks!
Vasyl Pedak (e6cd64c3) at 18 Mar 13:17
Add missing feature categories
@rossfuhrman , @gkatz1 , sorry, I am having doubts after jumping to the Security Configuration page for a group
Does it look more like a :security_testing_configuration or :security_asset_inventories ? For some reason, security attributes sounds more like a security asset inventory rather than testing configuration. There's nothing about security testing configuration on this page, more of "Hey, this group does X and has Y level of business impact..." looks more inventorish to me.
Suggestion: Do not change feature category in *groups/security/configuration_controller*
Just to be clear, Projects on another hand ( **projects/security/configuration_controller** ) - still makes sense changing feature category to :security_testing_configuration.
Please note that this is Projects related controller - projects/security/configuration_controller.rb The corresponding spec file is: https://gitlab.com/gitlab-org/gitlab/-/blob/master/spec/controllers/projects/security/configuration_controller_spec.rb#L5. At the moment it doesn't define feature category. I missed it and will add it there for consistency.
The mentioned spec file for the controller in the comment above is related to groups groups/security/configuration* , and I didn't touch the Groups::Security::ConfigurationController itself because I missed it. I think we also need to update the controller and corresponding tests too because it is related to security testing configuration.
I was inspired by this comment from Ross
Hi, @alexbuijs . Could you please review the code for the Authorisation related changes?
doc/user/custom_roles/abilities.md - auto generatedee/config/custom_abilities/apply_security_scan_profiles.ymlee/config/custom_abilities/read_security_scan_profiles.ymlee/spec/policies/security/scan_profile_policy_spec.rbIn the earlier MR !227536 , we have updated the feature category assignment for all scan profile related backend components from security_asset_inventories to security_testing_configuration to properly reflect their functionality and purpose. We identified that some FE GraphQL queries that are processed by the affected backend components still use the old feature category. In this MR we update the frontend components.
!227536 - Backend changes
N/A. Non-functional maintenance changes.
N/A. Non-functional maintenance changes.
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Vasyl Pedak (61e5ad76) at 17 Mar 16:05
Fix feature category for sec scan profiles in FE
... and 6 more commits
This was auto-generated via bundle exec rake gitlab:custom_roles:compile_docs
Well, I updated this docs by running the generator. bundle exec rake gitlab:custom_roles:compile_docs