►
Description
We have added the `has_merge_request` filter for the vulnerabilities GraphQL API and it is available to use from GitLab 16.4.
API link: https://docs.gitlab.com/ee/api/graphql/reference/#queryvulnerabilities
GitLab issue: https://gitlab.com/gitlab-org/gitlab/-/issues/371313
Demo project: https://gitlab.com/gitlab-org/govern/threat-insights-demos/personal-test-projects/verify-371313-bala
A
A
So
for
demoing,
this
API
I've
set
up
a
example
project
and,
as
you
can
see,
for
the
default
branch
and
run
the
pipeline
and
on
the
pipeline
security
tab,
we
can
see
that
there
are
two
vulnerabilities,
critical
and
low
similarities
and
for
the
vulnerability
with
critical
severity.
I
have
gone
ahead
and
created
a
resolve
with
Mr.
So
we
see
that
this
Mr
is
being
created
and
for
the
vulnerability
with
a
lower
severity.
There
are
no
Solutions,
and
so
we
there
are
no
Mrs
for
that.
A
So
the
aim
of
this
API
is
to
support
the
front
end
for
the
feature
which
is
in
development.
The
front
end
feature
is
in
development,
so
once
the
front
end
is
completed,
it
will
be
using
this
particular
API
and
we'll
be
making
use
of
this
additional
activity
filters
for
ASMR
and
does
not
have
Mr
thanks
for
watching
this
video
with
me
and
have
a
good
day.