GET/v1/violation/project/{uuid}

Returns a list of all policy violations for a specific project

Requires permission VIEW_POLICY_VIOLATION

8 parameters
uuidstringrequired
The UUID of the project
pageNumberstringoptional
The page to return. To be used in conjunction with <code>pageSize</code>.
Default:1
pageSizestringoptional
Number of elements to return per page. To be used in conjunction with <code>pageNumber</code>.
Default:100
offsetstringoptional
Offset to start returning elements from. To be used in conjunction with <code>limit</code>.
limitstringoptional
Number of elements to return per page. To be used in conjunction with <code>offset</code>.
sortNamestringoptional
Name of the resource field to sort on.
sortOrderstringoptional
Ordering of items when sorting with <code>sortName</code>.
Allowed:asc, desc
suppressedbooleanoptional
Optionally includes suppressed violations

4 status codes
200A list of all policy violations for a specific project
analysisobjectoptional
componentobjectoptional
policyConditionobjectoptional
projectobjectoptional
textstringoptional
timestampintegerrequired
UNIX epoch timestamp in milliseconds
typestringoptional
Allowed:LICENSESECURITYOPERATIONAL
uuidstringrequired
401Unauthorized
403Access to the requested project is forbidden
detailstringrequired
Human-readable explanation specific to this occurrence of the problem
instancestringoptional
Reference URI that identifies the specific occurrence of the problem
statusintegerrequired
HTTP status code generated by the origin server for this occurrence of the problem
titlestringrequired
Short, human-readable summary of the problem type
typestringoptional
A URI reference that identifies the problem type
404The project could not be found

Error handling

A 401 is returned: Unauthorized. A 403 is returned: Access to the requested project is forbidden. A 404 is returned: The project could not be found.