forked from brian1917/veracode-mitigation-copier
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Below are real world sequences of actions that exist in an application I'm working with that would cause the /annotations API to throw a 401 or 403 (in order of oldest to newest).
I suggest:
- Ignore Custom Cleanser actions;
- Ignore 401 and 403 responses on the /annotations api and let the Mitigation Copier log failure but keep processing actions.
Observed messy mitigation histories:
Approved before proposed
- APPROVED <- Illegal, no mitigation proposal yet
- APPDESIGN
- APPROVED
Custom cleanser
- CUSTOMCLEANSERPROPOSED <- Illegal, not supported through API
- CUSTOMCLEANSERUSERCOMMENT
- APPROVED
Multiple approvals
- CUSTOMCLEANSERPROPOSED
- CUSTOMCLEANSERUSERCOMMENT
- APPROVED
- CUSTOMCLEANSERUSERCOMMENT <- Illegal, already approved
- CUSTOMCLEANSERPROPOSED
- CUSTOMCLEANSERUSERCOMMENT
- CUSTOMCLEANSERUSERCOMMENT
- APPROVED
- CUSTOMCLEANSERUSERCOMMENT
- CUSTOMCLEANSERUSERCOMMENT
Proposal after approval
- APPDESIGN
- APPROVED
- APPDESIGN
- COMMENT
- APPROVED
- APPDESIGN
- COMMENT
- APPROVED
- APPROVED
- APPDESIGN
- APPROVED
- APPDESIGN
- APPROVED
- APPDESIGN
- COMMENT
- APPROVED
- ...
Metadata
Metadata
Assignees
Labels
No labels