Skip to content
Snippets Groups Projects

Expose `vulnerability_events` field in REST integrations API endpoints

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 6
4
@@ -17,9 +17,9 @@ This API requires an access token with the Maintainer or Owner role.
## List all active integrations
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/21330) in GitLab 12.7.
> `vulnerability_events` field [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/131831) in GitLab 16.5.
Get a list of all active project integrations.
Get a list of all active project integrations. The `vulnerability_events` field is only available for GitLab Enterprise Edition.
```plaintext
GET /projects/:id/integrations
@@ -49,7 +49,8 @@ Example response:
"pipeline_events": true,
"wiki_page_events": true,
"job_events": true,
"comment_on_event_enabled": true
"comment_on_event_enabled": true,
"vulnerability_events": true
},
{
"id": 76,
@@ -71,7 +72,8 @@ Example response:
"pipeline_events": true,
"wiki_page_events": true,
"job_events": true,
"comment_on_event_enabled": true
"comment_on_event_enabled": true,
"vulnerability_events": true
}
]
```
Loading