> This page is for version Latest (default).
> For other versions, use one of these documentation indexes:
> - Latest (default): https://docs.nvidia.com/fleet-intel/latest/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/fleet-intel/llms.txt.

# Get security vulnerability filter and sort options

GET /v1/reports/security/vulnerabilities/options

Sorting uses the shared SortingOptions shape. fields is \[vulnerability, severity, affectedNodes, component], orders is \[asc, desc], and defaults is \{field: severity, order: desc}. Description and fixVersions are not sortable.
Return filters keyed by query parameter name plus sorting metadata for the vulnerability table. Always include computeZoneIds, nodeGroupIds, gpuTypes, severities, and componentTypes, using empty arrays when no options are available. No dimension or view selector is required. Zone/group/component options contain selectable id and display name. Component IDs are gpuDriver or vbios; zone/group IDs are UUIDs. GPU types and severity options are strings. Severity values are CRITICAL, HIGH, MEDIUM, and LOW; unknown is a GPU-type option only.
Options use current security findings and the full authorized customer scope, unifying active in-band and OOB sources. Available to tenants and operators. Authorized default and external-cloud-provider audiences share the same customer fleet findings. This endpoint accepts no query parameters; table filter selections do not affect the available options.
Membership options include authorized nodes lacking assessments. GPU-type, severity and component options come only from visible findings across the full customer fleet, regardless of table filter selections. Sort membership/component options by display name then ID, GPU types alphabetically, and severities CRITICAL > HIGH > MEDIUM > LOW. JSON key order does not define UI order.
JSON only. A dimension exceeding 10000 distinct options returns 422; never silently truncate. Responses use private/no-store caching.

Reference: https://docs.nvidia.com/fleet-intel/api-explorer/reports/get-v-1-reports-security-vulnerability-options

## Response

### 200

Keyed filter arrays and sorting metadata.

- `filters` (models.SecurityVulnerabilityFilterOptions, required)
- `sorting` (models.SortingOptions, required)

## Errors

### 400 Bad Request Error

Unsupported query parameters.

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

### 401 Unauthorized Error

Unauthorized

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

### 403 Forbidden Error

Forbidden

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

### 422 Unprocessable Entity Error

Too many filter options.

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

### 499 Client Closed Request Error

Client Closed Request

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

### 500 Internal Server Error

Internal Server Error

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

### 503 Service Unavailable Error

Report not ready or service temporarily unavailable.

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

## Types

### models.SecurityVulnerabilityFilterOptions

- `componentTypes` (list of models.IDNameOption, required) — ComponentTypes uses VulnerabilityComponent values (gpuDriver or vbios) as option IDs.
- `computeZoneIds` (list of models.IDNameOption, required) — ComputeZoneIDs and NodeGroupIDs use membership UUIDs as option IDs.
- `gpuTypes` (list of string, required)
- `nodeGroupIds` (list of models.IDNameOption, required)
- `severities` (list of enum, required)
  - Allowed values: `LOW`, `MEDIUM`, `HIGH`, `CRITICAL`

### models.SortingOptions

- `defaults` (models.SortingDefaults, optional)
- `fields` (list of string, optional)
- `orders` (list of string, optional)

### models.KASRequestStatus

RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

- `requestId` (string, optional) — Request ID for tracing
- `statusCode` (string, optional) — Status code from KAS
- `statusDescription` (string, optional) — Status description from KAS

### models.IDNameOption

- `id` (string, required)
- `name` (string, required)

### models.SortingDefaults

- `field` (string, optional)
- `order` (string, optional)

## Examples

**Response**

```json
{
  "filters": {
    "componentTypes": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "name": "Option Name"
      }
    ],
    "computeZoneIds": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "name": "Option Name"
      }
    ],
    "gpuTypes": [
      "H100",
      "H200"
    ],
    "nodeGroupIds": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "name": "Option Name"
      }
    ],
    "severities": [
      "CRITICAL",
      "HIGH",
      "MEDIUM",
      "LOW"
    ]
  },
  "sorting": {
    "defaults": {
      "field": "createdAt",
      "order": "desc"
    },
    "fields": [
      "createdAt",
      "nodeUUID",
      "healthStatus"
    ],
    "orders": [
      "asc",
      "desc"
    ]
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.example.com/v1/reports/security/vulnerabilities/options"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://api.example.com/v1/reports/security/vulnerabilities/options';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/v1/reports/security/vulnerabilities/options"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.example.com/v1/reports/security/vulnerabilities/options")

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
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.example.com/v1/reports/security/vulnerabilities/options")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.example.com/v1/reports/security/vulnerabilities/options');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.example.com/v1/reports/security/vulnerabilities/options");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/v1/reports/security/vulnerabilities/options")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```