Exporting via API

Introduction

This article explains how to use a HTTP POST request to export detected vulnerabilities in CSV format

Requirements

  • Login to Tutela

  • Navigate to settings

  • Create a new API key

Sample cURL request

Run the following command:

curl 'https://cs-vas-backend.cybersift.io/retrieveCveCsv' \
   -H 'Content-Type: application/json' \
   -H 'X-Tutela-API: 123456' \
   --data-raw '{"DateFilter":1615601845,"Status":"Resolved","Tags":"available"}'

⚠️ Trial Users [SAMPLE - Amend accordingly]

curl 'https://trial-backend.tutela.cybersift.io/retrieveCveCsv' \
   -H 'Content-Type: application/json' \
   -H 'X-Tutela-API: 123456' \
   --data-raw '{"DateFilter":1615601845,"Status":"Resolved","Tags":"available"}'

Response Sample:

LastSeen,Address,Port,Service,Product,Version,Severity,CVE ID,CVE Details,Resolved,Notes,Public Exploit,CVE Description  2024-02-20 13:45:06 +0000 UTC,dvas0004_xps,,,VLC media player (VideoLAN),3.0.20,CRITICAL,CVE-2023-47359,https://nvd.nist.gov/vuln/detail/CVE-2023-47359,true," auto-closed by update / Windows KB",,Videolan VLC prior to version 3.0.20 contains an incorrect offset read that leads to a Heap-Based Buffer Overflow in function GetPacket() and results in a memory corruption.

List of accepted search conditions

Parameter

Type

Description

Accepted Values / Format

Cve

String

Filter by a specific CVE number.

e.g., "CVE-2023-1234"

DateFilter

Integer

Filter by date using UNIX timestamp.

UNIX seconds

DetectionType

String

The method used to detect the vulnerability.

network_scan, application, host_agent

Host

String

Filter by a specific host address.

e.g., "192.168.1.1"

Port

String

Filter by a specific port number.

e.g., "80", "443"

SearchQuery

String

Performs a free-text search.

Any text string

Severity

String

General severity level of the finding.

CRITICAL, HIGH, MEDIUM, LOW

ShowLatest

Boolean

Whether to show only the most recent results.

true, false

Status

String

The current state of the vulnerability.

"Pending", "Resolved"

Tags

String

Filter based on assigned metadata tags.

Any text string

TutelaSeverity

String

Tutela-specific severity rating.

CRITICAL, HIGH, MEDIUM, LOW


tags:

  • Tutela API Export

  • Reporting