You can use delegated alert dismissal to control who can dismiss an alert found by secret scanning.
Note
The implementation of this approval process can potentially cause some friction, so it's important to ensure that the team of security managers has adequate coverage to review dismissal requests regularly before proceeding.
Alert dismissal requests expire after 1 week. After this, dismissal requests must be resubmitted.
If an organization owner configures delegated alert dismissal via an enforced security configuration, the settings can't be changed at the repository level.
On GitHub, navigate to the main page of the repository.
Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

In the "Security and quality" section of the sidebar, click Advanced Security.
Under "Secret Protection", to the right of "Prevent direct alert dismissals", click Enable.
You must configure delegated dismissal for your organization using a custom security configuration. You can then apply the security configuration to all (or selected) repositories in your organization.
To learn more about security configurations, see Enabling security features at scale.
Note
You can use GitHub Apps with fine-grained permissions to programmatically review and approve delegated dismissal requests. This enables your organization to streamline security request reviews and enforce policies, or integrate with external security tools, ensuring that all reviews meet established standards. For GitHub Enterprise Server, the use of GitHub Apps to review requests for delegated dismissals is available from version 3.19.
For more information about permissions, see Organization permissions for "Organization bypass requests for secret scanning".
Now that you have enabled delegated alert dismissal for secret scanning, you should regularly review alert dismissal requests to maintain an accurate alert count and unblock your developers. See Reviewing alert dismissal requests.