APIs to close secret remediation alerts when 'delegated alert dismissal for secret scanning' is enabled #190415
Replies: 3 comments 1 reply
-
|
Delegate alert dismissal doesn't sound like it was fully ready for prod and now I regret that we enabled it before it was fully baked. Request dismissal should be consistent with dismiss, which both has an API call AND allows re-opening/cancellation of the dismissal. In addition to https://github.com/orgs/community/discussions/190728, this is also blocking progress for my project to automate and improve handling of secret-scanning alerts for a large org. |
Beta Was this translation helpful? Give feedback.
-
|
Hi there,
|
Beta Was this translation helpful? Give feedback.
-
|
Hi @ahmedsamir46 , If you can see my original post, I have already reached out to GitHub support and they confirmed that the API is incapable of allowing an ordinary user to request the closure of an alert when "Delegate alert dismissal" setting is enabled at the org level. @jalex19100 Has summarised it perfectly. At the risk of reiterating - what we require is the API to allow us to request the dismissal of a secret alert by a user (not just org admins). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
General
Body
Dear Github Team and community,
We have noticed that the below API:
PATCH 'https://api.github.com/repos/WoolworthsCORP/csp-driverapp-ui-mui/secret-scanning/alerts/6'
Only works for Organisation Admins when 'Delegate alert dismissal for secret scanning' is enabled. As a repository administrator, when trying to invoke this URL/API, we get a 404. Please see this ticket for more details - https://support.github.com/ticket/enterprise/560/4152125
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions