cURL
curl --request GET \ --url https://api-eu.cybedefend.com/projects/{projectId}/scans/{scanId}/violations \ --header 'Authorization: Bearer <token>'
{ "violations": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "policyId": "550e8400-e29b-41d4-a716-446655440001", "projectId": "550e8400-e29b-41d4-a716-446655440002", "scanId": "550e8400-e29b-41d4-a716-446655440003", "organizationId": "550e8400-e29b-41d4-a716-446655440004", "actionTaken": "BLOCK", "affectedVulnerabilitiesCount": 12, "rule": { "id": "<string>", "name": "<string>", "type": "<string>", "action": "<string>", "description": "<string>", "value": {}, "operator": "<string>", "criteria": [ { "id": "<string>", "name": "<string>", "type": "<string>", "description": "<string>", "value": {}, "operator": "<string>" } ] }, "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-01-15T10:30:00Z", "affectedVulnerabilities": [ { "id": "<string>", "name": "<string>", "severity": "<string>", "vulnerabilityType": "<string>", "cvssScore": 123, "cwe": [ "<string>" ], "owaspTop10": [ "<string>" ], "filePath": "<string>", "startLine": 123, "endLine": 123, "branch": "<string>", "packageName": "<string>", "packageVersion": "<string>", "artifactName": "<string>" } ] } ], "total": 10, "page": 1, "limit": 50 }
Documentation IndexFetch the complete documentation index at: https://docs.cybedefend.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.cybedefend.com/llms.txt
Use this file to discover all available pages before exploring further.
JWT access token.
List of violations
Show child attributes
Total count
10
Current page
1
Page size
50