Web Application scan findings for an asset
curl --request GET \
--url https://ccnnnnnn.cyrisma.com/app/partner/vulnerability/assets/webappimport requests
url = "https://ccnnnnnn.cyrisma.com/app/partner/vulnerability/assets/webapp"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ccnnnnnn.cyrisma.com/app/partner/vulnerability/assets/webapp', 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/vulnerability/assets/webapp",
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/vulnerability/assets/webapp"
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/vulnerability/assets/webapp")
.asString();require 'uri'
require 'net/http'
url = URI("https://ccnnnnnn.cyrisma.com/app/partner/vulnerability/assets/webapp")
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{
"TotalNumberFindings": 123,
"NumberOfHighVulnFindings": 123,
"NumberOfMedVulnFindings": 123,
"NumberOfLowVulnFindings": 123,
"NumberOfInfoVulnFindings": 123,
"RiskGrade": "<string>",
"Findings": [
{
"FindingName": "<string>",
"FindingDescription": "<string>",
"FindingSolution": "<string>",
"FindingOther": "<string>",
"FindingReferenceURLs": "<string>",
"FindingRiskLevelName": "<string>",
"FindingsCount": 123,
"FindingDetails": "<string>"
}
]
}Vulnerability Assets
Web Application scan findings for an asset
Returns web application vulnerability findings (for example: URL-based issues) for a specific asset.
Use this endpoint when you already know the asset id and want detailed counts and list of findings for the asset.
Required headers:
Authorization: access_token {token}
GET
/
partner
/
vulnerability
/
assets
/
webapp
Web Application scan findings for an asset
curl --request GET \
--url https://ccnnnnnn.cyrisma.com/app/partner/vulnerability/assets/webappimport requests
url = "https://ccnnnnnn.cyrisma.com/app/partner/vulnerability/assets/webapp"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ccnnnnnn.cyrisma.com/app/partner/vulnerability/assets/webapp', 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/vulnerability/assets/webapp",
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/vulnerability/assets/webapp"
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/vulnerability/assets/webapp")
.asString();require 'uri'
require 'net/http'
url = URI("https://ccnnnnnn.cyrisma.com/app/partner/vulnerability/assets/webapp")
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{
"TotalNumberFindings": 123,
"NumberOfHighVulnFindings": 123,
"NumberOfMedVulnFindings": 123,
"NumberOfLowVulnFindings": 123,
"NumberOfInfoVulnFindings": 123,
"RiskGrade": "<string>",
"Findings": [
{
"FindingName": "<string>",
"FindingDescription": "<string>",
"FindingSolution": "<string>",
"FindingOther": "<string>",
"FindingReferenceURLs": "<string>",
"FindingRiskLevelName": "<string>",
"FindingsCount": 123,
"FindingDetails": "<string>"
}
]
}Response
OK
Represents a web application vulnerability report from a partner API.
