VulnCheck 漏洞弱點利用情資是一套自主系統,除了產生 VulnCheck 獨家的漏洞與漏洞利用情資之外,還持續追蹤數百個 OSINT 來源。VulnCheck 提供 API 索引,讓組織能夠存取這些來源,包括漏洞利用來源、遭利用事件來源、廠商公告、CERT、OSS 套件管理工具、OT 公告、漏洞增補服務、政府公告、EOL 軟體等。這些來源與 VulnCheck 一流的漏洞利用情資相結合,提供 vulncheck-nvd2 與 exploits 等彙整服務。
我們推出第 3 版 API 的目標之一,是讓資料傳遞更快速、更有效率。為此,我們新增了一個可將索引指定為參數的端點,讓您更容易探索並整合新的資料來源。以下是 VulnCheck API 目前提供的所有索引清單。
VulnCheck 索引可透過 backup 端點存取,此端點提供索引的完整副本供下載;也可透過 index 端點存取,此端點提供分頁的文件清單,並可用於查詢個別紀錄。
您可存取的「index」與「backup」API 端點清單,可在 VulnCheck 儀表板中的 VulnCheck API Sandbox 找到。
curl --request GET \
--url https://api.vulncheck.com/v3/backup/initial-access \
--header 'Accept: application/json' \
--header 'Authorization: Bearer insert_token_here'
package main
import (
"context"
"encoding/json"
"fmt"
"log"
"os"
vulncheck "github.com/vulncheck-oss/sdk-go-v2/v2"
)
func main() {
configuration := vulncheck.NewConfiguration()
configuration.Scheme = "https"
configuration.Host = "api.vulncheck.com"
client := vulncheck.NewAPIClient(configuration)
token := os.Getenv("VULNCHECK_API_TOKEN")
auth := context.WithValue(
context.Background(),
vulncheck.ContextAPIKeys,
map[string]vulncheck.APIKey{
"Bearer": {Key: token},
},
)
resp, httpRes, err := client.EndpointsAPI.BackupIndexGet(auth, "initial-access").Execute()
if err != nil || httpRes.StatusCode != 200 {
log.Fatal(err)
}
prettyJSON, err := json.MarshalIndent(resp.Data, "", " ")
if err != nil {
log.Fatalf("Failed to generate JSON: %v", err)
return
}
fmt.Println(string(prettyJSON))
}
import vulncheck_sdk
configuration = vulncheck_sdk.Configuration(host="https://api.vulncheck.com/v3")
configuration.api_key["Bearer"] = "insert_token_here"
with vulncheck_sdk.ApiClient(configuration) as api_client:
endpoints_client = vulncheck_sdk.EndpointsApi(api_client)
api_response = endpoints_client.backup_index_get("initial-access")
print(api_response.data[0].url)
vci backup download initial-access
請參閱 API 概覽,了解如何使用 VulnCheck API。