Overall risk dashboard for instance
curl --request GET \
--url https://ccnnnnnn.cyrisma.com/app/partner/dashboards/overallimport requests
url = "https://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall', 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://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall")
.asString();require 'uri'
require 'net/http'
url = URI("https://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"previous_or_grade": "<string>",
"current_or_grade": "<string>",
"previous_ds_grade": "<string>",
"current_ds_grade": "<string>",
"previous_vn_grade": "<string>",
"current_vn_grade": "<string>",
"previous_sb_grade": "<string>",
"current_sb_grade": "<string>",
"previous_cmpl_grade": "<string>",
"current_cmpl_grade": "<string>",
"FinancialData": {
"num_targets": 123,
"num_employees": 123,
"dt_cost": 123,
"breach_cost": 123
}
}Dashboards
Overall risk dashboard for instance
Returns overall risk dashboard data for the instance associated with the access token.
The overall risk dashboard includes metrics such as total risk score, risk grade, and breakdown of risks by category.
In the output, the respective grades are represented by scan type. There is Current and Previous grades for each where the period duration is either monthly or quarterly depending on that instance’s system settings. The scan types are:
- Or - Overall Risk
- Ds - Data Scans
- Vn - Vulnerability Scans
- Sb - Secure Baseline Scans
- Cmpl - Compliance Grade
Required headers:
Authorization: access_token {token}
GET
/
partner
/
dashboards
/
overall
Overall risk dashboard for instance
curl --request GET \
--url https://ccnnnnnn.cyrisma.com/app/partner/dashboards/overallimport requests
url = "https://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall', 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://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall")
.asString();require 'uri'
require 'net/http'
url = URI("https://ccnnnnnn.cyrisma.com/app/partner/dashboards/overall")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"previous_or_grade": "<string>",
"current_or_grade": "<string>",
"previous_ds_grade": "<string>",
"current_ds_grade": "<string>",
"previous_vn_grade": "<string>",
"current_vn_grade": "<string>",
"previous_sb_grade": "<string>",
"current_sb_grade": "<string>",
"previous_cmpl_grade": "<string>",
"current_cmpl_grade": "<string>",
"FinancialData": {
"num_targets": 123,
"num_employees": 123,
"dt_cost": 123,
"breach_cost": 123
}
}Response
OK
Represents the overall risk dashboard with various grades and financial data.
