Secure Baseline scan dashboard for instance
curl --request GET \
--url https://ccnnnnnn.cyrisma.com/app/partner/dashboards/baselineimport requests
url = "https://ccnnnnnn.cyrisma.com/app/partner/dashboards/baseline"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ccnnnnnn.cyrisma.com/app/partner/dashboards/baseline', 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/baseline",
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/baseline"
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/baseline")
.asString();require 'uri'
require 'net/http'
url = URI("https://ccnnnnnn.cyrisma.com/app/partner/dashboards/baseline")
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_baselines": [
{
"os_name": "<string>",
"use_count": 123,
"targets": "<string>"
}
],
"lowest_pass_targets_domain": [
{
"name": "<string>",
"ip": "<string>",
"scan_date": "<string>",
"pass_rate": 123,
"grade": "<string>",
"profile_name": "<string>",
"profile_type": "<string>"
}
],
"lowest_pass_targets_nondomain": [
{
"name": "<string>",
"ip": "<string>",
"scan_date": "<string>",
"pass_rate": 123,
"grade": "<string>",
"profile_name": "<string>",
"profile_type": "<string>"
}
]
}Dashboards
Secure Baseline scan dashboard for instance
Returns secure baseline scan dashboard data for the instance associated with the access token.
The secure baseline scan dashboard includes metrics such as total baseline risk score, baseline risk grade, and breakdown of baseline risks by profile.
Required headers:
Authorization: access_token {token}
GET
/
partner
/
dashboards
/
baseline
Secure Baseline scan dashboard for instance
curl --request GET \
--url https://ccnnnnnn.cyrisma.com/app/partner/dashboards/baselineimport requests
url = "https://ccnnnnnn.cyrisma.com/app/partner/dashboards/baseline"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ccnnnnnn.cyrisma.com/app/partner/dashboards/baseline', 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/baseline",
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/baseline"
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/baseline")
.asString();require 'uri'
require 'net/http'
url = URI("https://ccnnnnnn.cyrisma.com/app/partner/dashboards/baseline")
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_baselines": [
{
"os_name": "<string>",
"use_count": 123,
"targets": "<string>"
}
],
"lowest_pass_targets_domain": [
{
"name": "<string>",
"ip": "<string>",
"scan_date": "<string>",
"pass_rate": 123,
"grade": "<string>",
"profile_name": "<string>",
"profile_type": "<string>"
}
],
"lowest_pass_targets_nondomain": [
{
"name": "<string>",
"ip": "<string>",
"scan_date": "<string>",
"pass_rate": 123,
"grade": "<string>",
"profile_name": "<string>",
"profile_type": "<string>"
}
]
}Headers
Response
OK
Represents dashboard baseline data including grades and baseline targets.
Current baseline grade.
Previous baseline grade.
List of top 5 baseline targets.
Show child attributes
Show child attributes
List of lowest pass targets for domain profiles.
Show child attributes
Show child attributes
List of lowest pass targets for non-domain profiles.
Show child attributes
Show child attributes
