GetFindingLog
Returns a specified finding log.
GET
/
v1
/
namespaces
/
{tenant_meta.namespace}
/
finding-logs
/
{uuid}
GetFindingLog
curl --request GET \
--url https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}import requests
url = "https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}', 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.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}",
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://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}"
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://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}")
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{
"context": {
"id": "<string>",
"type": "CONTEXT_TYPE_UNSPECIFIED",
"tags": [
"<string>"
],
"will_be_deleted_at": "2023-11-07T05:31:56Z"
},
"meta": {
"name": "<string>",
"annotations": {},
"create_time": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"description": "<string>",
"index_data": {
"data": [
"<string>"
],
"search_score": 123,
"tenant": "<string>",
"will_be_deleted_at": "2023-11-07T05:31:56Z"
},
"kind": "<string>",
"parent_kind": "<string>",
"parent_uuid": "<string>",
"references": {},
"tags": [
"<string>"
],
"update_time": "2023-11-07T05:31:56Z",
"updated_by": "<string>",
"upsert_time": "2023-11-07T05:31:56Z",
"version": "<string>"
},
"spec": {
"finding_categories": [
"FINDING_CATEGORY_UNSPECIFIED"
],
"finding_parent_kind": "<string>",
"finding_parent_uuid": "<string>",
"finding_tags": [
"FINDING_TAGS_UNSPECIFIED"
],
"finding_uuid": "<string>",
"introduced_at": "2023-11-07T05:31:56Z",
"level": "FINDING_LEVEL_UNSPECIFIED",
"method": "SYSTEM_EVALUATION_METHOD_DEFINITION_UNSPECIFIED",
"operation": "OPERATION_UNSPECIFIED",
"approximation": true,
"days_unresolved": "<string>",
"ecosystem": "ECOSYSTEM_UNSPECIFIED",
"finding_parent_name": "<string>",
"location": [
"<string>"
],
"resolved_at": "2023-11-07T05:31:56Z",
"snooze": {
"comments": "<string>",
"entry_id": "<string>",
"expiration_time": "2023-11-07T05:31:56Z",
"expire_if_fix_available": true,
"file_name": "<string>",
"reason": "EXCEPTION_REASON_UNSPECIFIED",
"source": "DISMISS_SOURCE_UNSPECIFIED",
"update_time": "2023-11-07T05:31:56Z",
"updated_by": "<string>"
},
"target_dependency_package_name": "<string>",
"target_uuid": "<string>"
},
"tenant_meta": {
"namespace": "<string>"
},
"uuid": "<string>"
}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}Path Parameters
Query Parameters
Response
A successful response.
A finding log contains details of the state of a finding at the time it was created, updated or deleted.
Was this page helpful?
GetFindingLog
curl --request GET \
--url https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}import requests
url = "https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}', 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.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}",
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://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}"
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://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/finding-logs/{uuid}")
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{
"context": {
"id": "<string>",
"type": "CONTEXT_TYPE_UNSPECIFIED",
"tags": [
"<string>"
],
"will_be_deleted_at": "2023-11-07T05:31:56Z"
},
"meta": {
"name": "<string>",
"annotations": {},
"create_time": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"description": "<string>",
"index_data": {
"data": [
"<string>"
],
"search_score": 123,
"tenant": "<string>",
"will_be_deleted_at": "2023-11-07T05:31:56Z"
},
"kind": "<string>",
"parent_kind": "<string>",
"parent_uuid": "<string>",
"references": {},
"tags": [
"<string>"
],
"update_time": "2023-11-07T05:31:56Z",
"updated_by": "<string>",
"upsert_time": "2023-11-07T05:31:56Z",
"version": "<string>"
},
"spec": {
"finding_categories": [
"FINDING_CATEGORY_UNSPECIFIED"
],
"finding_parent_kind": "<string>",
"finding_parent_uuid": "<string>",
"finding_tags": [
"FINDING_TAGS_UNSPECIFIED"
],
"finding_uuid": "<string>",
"introduced_at": "2023-11-07T05:31:56Z",
"level": "FINDING_LEVEL_UNSPECIFIED",
"method": "SYSTEM_EVALUATION_METHOD_DEFINITION_UNSPECIFIED",
"operation": "OPERATION_UNSPECIFIED",
"approximation": true,
"days_unresolved": "<string>",
"ecosystem": "ECOSYSTEM_UNSPECIFIED",
"finding_parent_name": "<string>",
"location": [
"<string>"
],
"resolved_at": "2023-11-07T05:31:56Z",
"snooze": {
"comments": "<string>",
"entry_id": "<string>",
"expiration_time": "2023-11-07T05:31:56Z",
"expire_if_fix_available": true,
"file_name": "<string>",
"reason": "EXCEPTION_REASON_UNSPECIFIED",
"source": "DISMISS_SOURCE_UNSPECIFIED",
"update_time": "2023-11-07T05:31:56Z",
"updated_by": "<string>"
},
"target_dependency_package_name": "<string>",
"target_uuid": "<string>"
},
"tenant_meta": {
"namespace": "<string>"
},
"uuid": "<string>"
}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}