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

Issue with coping Approved mitigation #29

Open
arpitrameshwarlalkothari-tomtom opened this issue Aug 22, 2024 · 0 comments
Open

Issue with coping Approved mitigation #29

arpitrameshwarlalkothari-tomtom opened this issue Aug 22, 2024 · 0 comments

Comments

@arpitrameshwarlalkothari-tomtom
Copy link

arpitrameshwarlalkothari-tomtom commented Aug 22, 2024

Currently, the copier copies the Approved mitigation into the destination application as Proposed instead of Approved. In addition, The Accepted Mitigation comment is also not copied.

I have noticed this behavior for SAST scan results.

The following warning is noted in the MitigationCopier.log:

WARNING - update_mitigation_info_rest - Cannot copy APPROVED mitigation for Flaw ID <FLAWID> in <APPLICATIONID>

I was able to make it work by adding 'APPROVED' in the 'ALLOWED_ACTIONS'
ALLOWED_ACTIONS = ['COMMENT', 'FP', 'APPDESIGN', 'OSENV', 'NETENV', 'REJECTED', 'ACCEPTED', 'LIBRARY', 'ACCEPTRISK', 'APPROVE', 'REJECT', 'BYENV', 'BYDESIGN', 'LEGAL', 'COMMERCIAL', 'EXPERIMENTAL', 'INTERNAL', 'APPROVED']

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