Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retain original reviewer and approver details in comments #31

Open
arpitkothari-hub opened this issue Sep 6, 2024 · 0 comments
Open

Comments

@arpitkothari-hub
Copy link

arpitkothari-hub commented Sep 6, 2024

Summary

When using the Veracode Mitigation Copier Plugin, the original reviewer and approver details are replaced by the service account details. For traceability and audit requirements, it is essential to retain the original details.

Enhancement Request

  • Current Behavior: The original Reviewer and Approver details are replaced with the service account details when using the plugin.
  • Desired Behavior: Add the original Reviewer and Approver details to the comments while copying the mitigations.
  • Implementation Suggestion: Modify the plugin to extract and add the original reviewer and approver details to the comments section of the copied mitigations.
    Updating line:320 with the following code seems to add the original reviewer and approver correctly in the comment.

proposal_comment = '(COPIED FROM APP {}) {} | OriginalComment by {}'.format(from_app_guid, mitigation_action['comment'], mitigation_action['user_name'])

Impact

This enhancement will improve traceability and meet audit requirements by retaining the original reviewer and approver details within the comments.

@arpitkothari-hub arpitkothari-hub changed the title Retain Original Reviewer and Approver Details in Comments Retain original reviewer and approver details in comments Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant