Vulnerability scan dashboard for instance
curl --request GET \
--url https://ccnnnnnn.cyrisma.com/app/partner/dashboards/vulnerabilityimport requests
url = "https://ccnnnnnn.cyrisma.com/app/partner/dashboards/vulnerability"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ccnnnnnn.cyrisma.com/app/partner/dashboards/vulnerability', 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/vulnerability",
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/vulnerability"
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/vulnerability")
.asString();require 'uri'
require 'net/http'
url = URI("https://ccnnnnnn.cyrisma.com/app/partner/dashboards/vulnerability")
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{
"current_grade": "<string>",
"previous_grade": "<string>",
"top_5_profiles": [
{
"name": "<string>",
"times_used": 123,
"machines": 123
}
],
"target_results": [
{
"name": "<string>",
"ip_address": "<string>",
"os": "<string>",
"last_scanned": "<string>",
"vuln_count_critical": 123,
"vuln_count_high": 123,
"vuln_count_medium": 123,
"vuln_count_low": 123
}
]
}Dashboards
Vulnerability scan dashboard for instance
Returns vulnerability scan dashboard data for the instance associated with the access token.
The vulnerability scan dashboard includes metrics such as total vulnerability risk score, vulnerability risk grade, and breakdown of vulnerabilities by profile.
Required headers:
Authorization: access_token {token}
GET
/
partner
/
dashboards
/
vulnerability
Vulnerability scan dashboard for instance
curl --request GET \
--url https://ccnnnnnn.cyrisma.com/app/partner/dashboards/vulnerabilityimport requests
url = "https://ccnnnnnn.cyrisma.com/app/partner/dashboards/vulnerability"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ccnnnnnn.cyrisma.com/app/partner/dashboards/vulnerability', 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/vulnerability",
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/vulnerability"
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/vulnerability")
.asString();require 'uri'
require 'net/http'
url = URI("https://ccnnnnnn.cyrisma.com/app/partner/dashboards/vulnerability")
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{
"current_grade": "<string>",
"previous_grade": "<string>",
"top_5_profiles": [
{
"name": "<string>",
"times_used": 123,
"machines": 123
}
],
"target_results": [
{
"name": "<string>",
"ip_address": "<string>",
"os": "<string>",
"last_scanned": "<string>",
"vuln_count_critical": 123,
"vuln_count_high": 123,
"vuln_count_medium": 123,
"vuln_count_low": 123
}
]
}Headers
Response
OK
Represents dashboard vulnerability data including grades, top profiles, and target results.
Current vulnerability grade.
Previous vulnerability grade.
List of top 5 vulnerability profiles.
Show child attributes
Show child attributes
List of sensitive vulnerability targets.
Show child attributes
Show child attributes
