BE: Update graphql `deprecatedProperties`value to show `type: scan_result_policy` policies
Why are we doing this work
The deprecatedProperties
graphql property is currently used to trigger the warning icon and the Policies are invalid
alert
When the scan result policies become deprecated, they will continue to show up in the table and the entire yaml file will be broken (e.g. no policies will be enforced), but currently the type
property will not show up in the deprecatedProperties
field, so the user will not know what was deprecated or that none of their policies are being enforced
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
-
backend update the deprecatedProperties
field to populate fortype: scan_result_policy
policies
Verification steps
Edited by Alexander Turinske