Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5e1efa90
Commit
5e1efa90
authored
Dec 22, 2021
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated from review
parent
4ab61403
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
doc/api/vulnerabilities.md
doc/api/vulnerabilities.md
+4
-4
doc/api/vulnerability_findings.md
doc/api/vulnerability_findings.md
+4
-4
No files found.
doc/api/vulnerabilities.md
View file @
5e1efa90
...
@@ -19,7 +19,7 @@ This API is in the process of being deprecated and considered unstable.
...
@@ -19,7 +19,7 @@ This API is in the process of being deprecated and considered unstable.
The response payload may be subject to change or breakage
The response payload may be subject to change or breakage
across GitLab releases. Please use the
across GitLab releases. Please use the
[
GraphQL API
](
graphql/reference/index.md#queryvulnerabilities
)
[
GraphQL API
](
graphql/reference/index.md#queryvulnerabilities
)
instead. See the
[
GraphQL examples
](
#replace-
rest
-with-graphql
)
to get started.
instead. See the
[
GraphQL examples
](
#replace-
vulnerability-rest-api
-with-graphql
)
to get started.
Every API call to vulnerabilities must be
[
authenticated
](
index.md#authentication
)
.
Every API call to vulnerabilities must be
[
authenticated
](
index.md#authentication
)
.
...
@@ -273,11 +273,11 @@ Example response:
...
@@ -273,11 +273,11 @@ Example response:
}
}
```
```
## Replace
REST
with GraphQL
## Replace
Vulnerability REST API
with GraphQL
To prepare for the
[
upcoming deprecation
](
https://gitlab.com/groups/gitlab-org/-/epics/5118
)
of
To prepare for the
[
upcoming deprecation
](
https://gitlab.com/groups/gitlab-org/-/epics/5118
)
of
th
is REST API endpoint, use the examples below to learn h
ow to perform the equivalent operations
th
e Vulnerability REST API endpoint, use the examples bel
ow to perform the equivalent operations
using
the GraphQL API.
with
the GraphQL API.
### GraphQL - Single vulnerability
### GraphQL - Single vulnerability
...
...
doc/api/vulnerability_findings.md
View file @
5e1efa90
...
@@ -29,7 +29,7 @@ This API is in the process of being deprecated and considered unstable.
...
@@ -29,7 +29,7 @@ This API is in the process of being deprecated and considered unstable.
The response payload may be subject to change or breakage
The response payload may be subject to change or breakage
across GitLab releases. Please use the
across GitLab releases. Please use the
[
GraphQL API
](
graphql/reference/index.md#queryvulnerabilities
)
[
GraphQL API
](
graphql/reference/index.md#queryvulnerabilities
)
instead. See the
[
GraphQL examples
](
#replace-
rest
-with-graphql
)
to get started.
instead. See the
[
GraphQL examples
](
#replace-
vulnerability-findings-rest-api
-with-graphql
)
to get started.
## Vulnerability findings pagination
## Vulnerability findings pagination
...
@@ -140,11 +140,11 @@ Example response:
...
@@ -140,11 +140,11 @@ Example response:
]
]
```
```
## Replace
REST
with GraphQL
## Replace
Vulnerability Findings REST API
with GraphQL
To prepare for the
[
upcoming deprecation
](
https://gitlab.com/groups/gitlab-org/-/epics/5118
)
of
To prepare for the
[
upcoming deprecation
](
https://gitlab.com/groups/gitlab-org/-/epics/5118
)
of
th
is REST API endpoint, use the examples below to learn h
ow to perform the equivalent operations
th
e Vulnerability Findings REST API endpoint, use the examples bel
ow to perform the equivalent operations
using
the GraphQL API.
with
the GraphQL API.
### GraphQL - Project vulnerabilities
### GraphQL - Project vulnerabilities
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment