Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2021-01-01 00:10:25 +00:00
parent 2fc143adf9
commit 86d2d81bf3
3 changed files with 98 additions and 4 deletions

View file

@ -7742,10 +7742,15 @@ input DismissVulnerabilityInput {
clientMutationId: String clientMutationId: String
""" """
Reason why vulnerability should be dismissed Comment why vulnerability should be dismissed
""" """
comment: String comment: String
"""
Reason why vulnerability should be dismissed
"""
dismissalReason: VulnerabilityDismissalReason
""" """
ID of the vulnerability to be dismissed ID of the vulnerability to be dismissed
""" """
@ -25997,10 +26002,15 @@ input VulnerabilityDismissInput {
clientMutationId: String clientMutationId: String
""" """
Reason why vulnerability should be dismissed Comment why vulnerability should be dismissed
""" """
comment: String comment: String
"""
Reason why vulnerability should be dismissed
"""
dismissalReason: VulnerabilityDismissalReason
""" """
ID of the vulnerability to be dismissed ID of the vulnerability to be dismissed
""" """
@ -26027,6 +26037,17 @@ type VulnerabilityDismissPayload {
vulnerability: Vulnerability vulnerability: Vulnerability
} }
"""
The dismissal reason of the Vulnerability
"""
enum VulnerabilityDismissalReason {
ACCEPTABLE_RISK
FALSE_POSITIVE
MITIGATING_CONTROL
NOT_APPLICABLE
USED_IN_TESTS
}
""" """
An edge in a connection. An edge in a connection.
""" """

View file

@ -21435,7 +21435,7 @@
}, },
{ {
"name": "comment", "name": "comment",
"description": "Reason why vulnerability should be dismissed", "description": "Comment why vulnerability should be dismissed",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "String", "name": "String",
@ -21443,6 +21443,16 @@
}, },
"defaultValue": null "defaultValue": null
}, },
{
"name": "dismissalReason",
"description": "Reason why vulnerability should be dismissed",
"type": {
"kind": "ENUM",
"name": "VulnerabilityDismissalReason",
"ofType": null
},
"defaultValue": null
},
{ {
"name": "clientMutationId", "name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.", "description": "A unique identifier for the client performing the mutation.",
@ -75380,7 +75390,7 @@
}, },
{ {
"name": "comment", "name": "comment",
"description": "Reason why vulnerability should be dismissed", "description": "Comment why vulnerability should be dismissed",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "String", "name": "String",
@ -75388,6 +75398,16 @@
}, },
"defaultValue": null "defaultValue": null
}, },
{
"name": "dismissalReason",
"description": "Reason why vulnerability should be dismissed",
"type": {
"kind": "ENUM",
"name": "VulnerabilityDismissalReason",
"ofType": null
},
"defaultValue": null
},
{ {
"name": "clientMutationId", "name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.", "description": "A unique identifier for the client performing the mutation.",
@ -75470,6 +75490,47 @@
"enumValues": null, "enumValues": null,
"possibleTypes": null "possibleTypes": null
}, },
{
"kind": "ENUM",
"name": "VulnerabilityDismissalReason",
"description": "The dismissal reason of the Vulnerability",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "ACCEPTABLE_RISK",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FALSE_POSITIVE",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "MITIGATING_CONTROL",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "USED_IN_TESTS",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "NOT_APPLICABLE",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{ {
"kind": "OBJECT", "kind": "OBJECT",
"name": "VulnerabilityEdge", "name": "VulnerabilityEdge",

View file

@ -4935,6 +4935,18 @@ Possible states of a user.
| `private` | | | `private` | |
| `public` | | | `public` | |
### VulnerabilityDismissalReason
The dismissal reason of the Vulnerability.
| Value | Description |
| ----- | ----------- |
| `ACCEPTABLE_RISK` | |
| `FALSE_POSITIVE` | |
| `MITIGATING_CONTROL` | |
| `NOT_APPLICABLE` | |
| `USED_IN_TESTS` | |
### VulnerabilityExternalIssueLinkExternalTracker ### VulnerabilityExternalIssueLinkExternalTracker
The external tracker of the external issue link related to a vulnerability. The external tracker of the external issue link related to a vulnerability.