Ignores (v1)
Ignores from .snyk files are not included here.
Ignores from Policies are not included here.
Temporary ignores include an expires attribute, while permanent ignores do not.
Required permissions
View OrganizationView ProjectView Project Ignores
The organization ID to list ignores for. The API_KEY must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbedThe project ID to list ignores for.
463c1ee5-31bc-428c-b451-b79a3270db08GET /v1/org/{orgId}/project/{projectId}/ignores HTTP/1.1
Host: api.snyk.io
Accept: */*
{
"issueId": [
{
"ignorePath": {
"reason": "text",
"reasonType": "not-vulnerable",
"ignoredBy": {
"name": "text",
"email": "text",
"id": "text"
},
"disregardIfFixable": true,
"expires": "text",
"created": "text"
}
}
]
}It is possible to modify/retrieve ignored vulnerability or license issues for a given organization and project.
Ignores from .snyk files are not included here
Required permissions
View OrganizationView Project IgnoresEdit Project Ignores
The organization ID to modify ignores for. The API_KEY must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbedThe project ID to modify ignores for.
463c1ee5-31bc-428c-b451-b79a3270db08The issue ID to modify ignores for. Can be a vulnerability or a license Issue.
SNYK-JS-QS-10019The path to ignore (default is * which represents all paths).
The reason that the issue was ignored.
The classification of the ignore.
The classification of the ignore.
Only ignore the issue if no upgrade or patch is available.
The timestamp that the issue will no longer be ignored.
PUT /v1/org/{orgId}/project/{projectId}/ignore/{issueId} HTTP/1.1
Host: api.snyk.io
Content-Type: application/json
Accept: */*
Content-Length: 101
[
{
"ignorePath": "",
"reason": "",
"reasonType": "not-vulnerable",
"disregardIfFixable": false,
"expires": ""
}
][
{
"ignorePath": {
"reason": "text",
"reasonType": "not-vulnerable",
"ignoredBy": {
"name": "text",
"email": "text",
"id": "text"
},
"disregardIfFixable": true,
"expires": "text",
"created": "text"
}
}
]It is possible to modify/retrieve ignored vulnerability or license issues for a given organization and project.
Ignores from .snyk files are not included here
Required permissions
View OrganizationView Project IgnoresCreate new project ignores
The organization ID to modify ignores for. The API_KEY must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbedThe project ID to modify ignores for.
463c1ee5-31bc-428c-b451-b79a3270db08The issue ID to modify ignores for. Can be a vulnerability or a license Issue.
SNYK-JS-QS-10019The path to ignore (default is * which represents all paths).
The reason that the issue was ignored.
The classification of the ignore.
The classification of the ignore.
Only ignore the issue if no upgrade or patch is available.
The timestamp that the issue will no longer be ignored.
POST /v1/org/{orgId}/project/{projectId}/ignore/{issueId} HTTP/1.1
Host: api.snyk.io
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"ignorePath": "",
"reason": "",
"reasonType": "not-vulnerable",
"disregardIfFixable": false,
"expires": ""
}{
"ignorePath": {
"reason": "text",
"reasonType": "not-vulnerable",
"ignoredBy": {
"name": "text",
"email": "text",
"id": "text"
},
"disregardIfFixable": true,
"expires": "text",
"created": "text"
}
}It is possible to modify/retrieve ignored vulnerability or license issues for a given organization and project.
Ignores from .snyk files are not included here
Required permissions
View ProjectView Project Ignores
The organization ID to modify ignores for. The API_KEY must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbedThe project ID to modify ignores for.
463c1ee5-31bc-428c-b451-b79a3270db08The issue ID to modify ignores for. Can be a vulnerability or a license Issue.
SNYK-JS-QS-10019GET /v1/org/{orgId}/project/{projectId}/ignore/{issueId} HTTP/1.1
Host: api.snyk.io
Accept: */*
{
"ignorePath": {
"reason": "text",
"reasonType": "not-vulnerable",
"ignoredBy": {
"name": "text",
"email": "text",
"id": "text"
},
"disregardIfFixable": true,
"expires": "text",
"created": "text"
}
}It is possible to modify/retrieve ignored vulnerability or license issues for a given organization and project.
Ignores from .snyk files are not included here
Required permissions
View OrganizationView Project IgnoresRemove Project Ignores
The organization ID to modify ignores for. The API_KEY must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbedThe project ID to modify ignores for.
463c1ee5-31bc-428c-b451-b79a3270db08The issue ID to modify ignores for. Can be a vulnerability or a license Issue.
SNYK-JS-QS-10019DELETE /v1/org/{orgId}/project/{projectId}/ignore/{issueId} HTTP/1.1
Host: api.snyk.io
Accept: */*
No content
Last updated
Was this helpful?

