Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Pilot Lvl 1
Message 1 of 5

Is there an event for Security Alerts?

Solved! Go to Solution.

Hi,

 

Is there an event that gets triggered when a Security Alert is created?

 

Kind regards,

Arne

4 Replies
Highlighted
GitHub Partner
Message 2 of 5

Re: Is there an event for Security Alerts?

Yes, there is a RepositoryVulnerabilityAlertEvent which is triggered when a sceurity alert is created, dismissed or resolved. But it cannot be used to trigger a workflow as it hasn't been added to Events that trigger workflows.

Highlighted
Pilot Lvl 1
Message 3 of 5

Re: Is there an event for Security Alerts?

Thank you, @eddiechenms.

 

So an event exists. It just cant be used with GitHub Actions?

 

Triggering a workflow was exactly I was/am hoping for.

 

Someone please add it to a wishlist :)

Highlighted
Solution
GitHub Staff
Message 4 of 5

Re: Is there an event for Security Alerts?

Right now we do not support that event as viewing security alerts is more restricted than simjply view or editing files.  If we enabled that event anyone who could get a file into the repos could start essentially viewing security alerts.

Highlighted
Pilot Lvl 1
Message 5 of 5

Re: Is there an event for Security Alerts?

Thank you for the explanation, @chrispat.

 

I can see how that could be problematic.

 

We'll find another way to do what we wanted to do (which is create a Jira ticket for new security alerts).

 

Kind regards,

Arne