curl --request GET \
--url https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"stats": {
"totalProjects": 50,
"compliantProjects": 40,
"nonCompliantProjects": 5,
"pendingProjects": 5,
"totalViolations": 150,
"totalBlocked": 30,
"totalWarned": 120,
"activePoliciesCount": 5,
"complianceRate": 88.89
},
"projects": [
{
"projectId": "550e8400-e29b-41d4-a716-446655440000",
"projectName": "My Project",
"complianceStatus": "Compliant",
"totalViolations": 10,
"blockedCount": 2,
"warnedCount": 8,
"applicablePoliciesCount": 3,
"teamIds": [
"550e8400-e29b-41d4-a716-446655440002"
],
"lastEvaluatedAt": "2024-01-15T10:30:00Z",
"lastScanId": "550e8400-e29b-41d4-a716-446655440001"
}
],
"violationBreakdown": [
{
"ruleType": "Critical Severity Check",
"count": 25,
"blockedCount": 10,
"warnedCount": 15
}
],
"trend": [
{
"date": "2024-01-15T00:00:00Z",
"compliantCount": 38,
"nonCompliantCount": 7,
"pendingCount": 5,
"complianceRate": 84.44
}
],
"total": 50,
"page": 1,
"pageSize": 20
}{
"timestamp": "2025-02-18T12:31:18.491Z",
"service": "AiService",
"method": "startConversation",
"message": "Invalid parameters provided",
"code": 400
}{
"timestamp": "2025-02-18T12:31:18.491Z",
"service": "AiService",
"method": "startConversation",
"message": "Invalid parameters provided",
"code": 400
}Get organization-wide compliance overview for CISO dashboard
Returns a comprehensive overview of all projects within the organization with their compliance status, violation statistics, breakdown by rule type, and trend data for the last 30 days.
curl --request GET \
--url https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-eu.cybedefend.com/organization/{organizationId}/compliance-overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"stats": {
"totalProjects": 50,
"compliantProjects": 40,
"nonCompliantProjects": 5,
"pendingProjects": 5,
"totalViolations": 150,
"totalBlocked": 30,
"totalWarned": 120,
"activePoliciesCount": 5,
"complianceRate": 88.89
},
"projects": [
{
"projectId": "550e8400-e29b-41d4-a716-446655440000",
"projectName": "My Project",
"complianceStatus": "Compliant",
"totalViolations": 10,
"blockedCount": 2,
"warnedCount": 8,
"applicablePoliciesCount": 3,
"teamIds": [
"550e8400-e29b-41d4-a716-446655440002"
],
"lastEvaluatedAt": "2024-01-15T10:30:00Z",
"lastScanId": "550e8400-e29b-41d4-a716-446655440001"
}
],
"violationBreakdown": [
{
"ruleType": "Critical Severity Check",
"count": 25,
"blockedCount": 10,
"warnedCount": 15
}
],
"trend": [
{
"date": "2024-01-15T00:00:00Z",
"compliantCount": 38,
"nonCompliantCount": 7,
"pendingCount": 5,
"complianceRate": 84.44
}
],
"total": 50,
"page": 1,
"pageSize": 20
}{
"timestamp": "2025-02-18T12:31:18.491Z",
"service": "AiService",
"method": "startConversation",
"message": "Invalid parameters provided",
"code": 400
}{
"timestamp": "2025-02-18T12:31:18.491Z",
"service": "AiService",
"method": "startConversation",
"message": "Invalid parameters provided",
"code": 400
}Authorizations
JWT access token.
Path Parameters
Query Parameters
Page number (default: 1)
Page size (default: 20)
Filter start date (ISO 8601)
Filter end date (ISO 8601)
Filter by compliance status
Compliant, Non-Compliant, Pending Search by project name
Sort field
blockedCount, warnedCount, totalViolations, lastEvaluatedAt, projectName Sort order (default: desc)
asc, desc Timeframe for trend aggregation: day (default), week, or month
day, week, month Response
Organization compliance overview
Organization-wide compliance statistics
Show child attributes
Show child attributes
List of projects with their compliance summary
Show child attributes
Show child attributes
Violation breakdown by rule type
Show child attributes
Show child attributes
Compliance trend over time (last 30 days)
Show child attributes
Show child attributes
Total count of projects (for pagination)
50
Current page
1
Page size
20