VulnCheckインデックスは、開発者が私たちが収集しキュレーションした数百のインテリジェンスソースにアクセスする機能を提供し、すべてのOSINTおよびVulnCheck脆弱性インテリジェンスにアクセスできる中央リソースを提供します。/v3/index APIエンドポイントでは、アカウントがライセンスされているすべてのインデックスとエンドポイントリンクのリストをアルファベット順に取得することができます。
このAPIエンドポイントは、VulnCheckダッシュボード内のVulnCheck APIサンドボックスおよびドキュメント化されたVulnCheckインデックスのリストで見つけることができるプログラム形式で同様のリストを提供します。
このAPIエンドポイントは、すべてのコミュニティおよび商用ユーザーが利用可能です。
このリソースには属性がありません。
curl --request GET \
    --url https://api.vulncheck.com/v3/index \
    --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.IndexGet(auth).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.index_get()
    print(api_response.data)
vulncheck indices list
{
  "_benchmark": 0.033926,
  "data": [
    {
      "name": "a10",
      "description": "A10 Networks Security Advisories",
      "href": "https://api.vulncheck.com/v3/index/a10"
    },
    {
      "name": "abb",
      "description": "ABB Vulnerabilities",
      "href": "https://api.vulncheck.com/v3/index/abb"
    },
    {
      "name": "abbott",
      "description": "Abbott Product Advisories",
      "href": "https://api.vulncheck.com/v3/index/abbott"
    },
    {
      "name": "absolute",
      "description": "Absolute Security Advisories",
      "href": "https://api.vulncheck.com/v3/index/absolute"
    },
    {
      "name": "acronis",
      "description": "Acronis Security Advisories",
      "href": "https://api.vulncheck.com/v3/index/acronis"
    },
    {
      "name": "adobe",
      "description": "Adobe Vulnerabilities",
      "href": "https://api.vulncheck.com/v3/index/adobe"
    }
  ]
}