# \DependencyTrackApi

All URIs are relative to *https://registry.example.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_dependency_track_status**](DependencyTrackApi.md#get_dependency_track_status) | **GET** /api/v1/dependency-track/status | Get Dependency-Track integration status
[**get_dt_portfolio_metrics**](DependencyTrackApi.md#get_dt_portfolio_metrics) | **GET** /api/v1/dependency-track/metrics/portfolio | Get portfolio metrics
[**get_dt_project**](DependencyTrackApi.md#get_dt_project) | **GET** /api/v1/dependency-track/projects/{project_uuid} | Get Dependency-Track project
[**get_dt_project_components**](DependencyTrackApi.md#get_dt_project_components) | **GET** /api/v1/dependency-track/projects/{project_uuid}/components | List project components
[**get_dt_project_findings**](DependencyTrackApi.md#get_dt_project_findings) | **GET** /api/v1/dependency-track/projects/{project_uuid}/findings | List project findings
[**get_dt_project_metrics**](DependencyTrackApi.md#get_dt_project_metrics) | **GET** /api/v1/dependency-track/projects/{project_uuid}/metrics | Get project metrics
[**get_dt_project_metrics_history**](DependencyTrackApi.md#get_dt_project_metrics_history) | **GET** /api/v1/dependency-track/projects/{project_uuid}/metrics/history | Get project metrics history
[**get_dt_project_violations**](DependencyTrackApi.md#get_dt_project_violations) | **GET** /api/v1/dependency-track/projects/{project_uuid}/violations | List project policy violations
[**list_dt_policies**](DependencyTrackApi.md#list_dt_policies) | **GET** /api/v1/dependency-track/policies | List Dependency-Track policies
[**list_dt_projects**](DependencyTrackApi.md#list_dt_projects) | **GET** /api/v1/dependency-track/projects | List Dependency-Track projects
[**update_dt_analysis**](DependencyTrackApi.md#update_dt_analysis) | **PUT** /api/v1/dependency-track/analysis | Update finding analysis



## get_dependency_track_status

> models::DtStatusResponse get_dependency_track_status()
Get Dependency-Track integration status

Returns the current status of the Dependency-Track integration including whether it is enabled and healthy.

### Parameters

This endpoint does not need any parameter.

### Return type

[**models::DtStatusResponse**](DtStatusResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_dt_portfolio_metrics

> models::DtPortfolioMetrics get_dt_portfolio_metrics()
Get portfolio metrics

Returns aggregate vulnerability and policy violation metrics across all Dependency-Track projects.

### Parameters

This endpoint does not need any parameter.

### Return type

[**models::DtPortfolioMetrics**](DtPortfolioMetrics.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_dt_project

> models::DtProject get_dt_project(project_uuid)
Get Dependency-Track project

Returns a single Dependency-Track project by UUID, including its associated findings.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**project_uuid** | **uuid::Uuid** | Dependency-Track project UUID | [required] |

### Return type

[**models::DtProject**](DtProject.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_dt_project_components

> Vec<models::DtComponentFull> get_dt_project_components(project_uuid)
List project components

Returns all components (dependencies) for the specified Dependency-Track project.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**project_uuid** | **uuid::Uuid** | Dependency-Track project UUID | [required] |

### Return type

[**Vec<models::DtComponentFull>**](DtComponentFull.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_dt_project_findings

> Vec<models::DtFinding> get_dt_project_findings(project_uuid)
List project findings

Returns all vulnerability findings for the specified Dependency-Track project.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**project_uuid** | **uuid::Uuid** | Dependency-Track project UUID | [required] |

### Return type

[**Vec<models::DtFinding>**](DtFinding.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_dt_project_metrics

> models::DtProjectMetrics get_dt_project_metrics(project_uuid)
Get project metrics

Returns the current vulnerability and policy violation metrics for the specified Dependency-Track project.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**project_uuid** | **uuid::Uuid** | Dependency-Track project UUID | [required] |

### Return type

[**models::DtProjectMetrics**](DtProjectMetrics.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_dt_project_metrics_history

> Vec<models::DtProjectMetrics> get_dt_project_metrics_history(project_uuid, days)
Get project metrics history

Returns historical vulnerability and policy violation metrics for the specified Dependency-Track project over the given number of days.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**project_uuid** | **uuid::Uuid** | Dependency-Track project UUID | [required] |
**days** | Option<**i32**> | Number of days of history to retrieve |  |[default to 30]

### Return type

[**Vec<models::DtProjectMetrics>**](DtProjectMetrics.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_dt_project_violations

> Vec<models::DtPolicyViolation> get_dt_project_violations(project_uuid)
List project policy violations

Returns all policy violations for the specified Dependency-Track project.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**project_uuid** | **uuid::Uuid** | Dependency-Track project UUID | [required] |

### Return type

[**Vec<models::DtPolicyViolation>**](DtPolicyViolation.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_dt_policies

> Vec<models::DtPolicyFull> list_dt_policies()
List Dependency-Track policies

Returns all policies configured in Dependency-Track, including their conditions and associated projects.

### Parameters

This endpoint does not need any parameter.

### Return type

[**Vec<models::DtPolicyFull>**](DtPolicyFull.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_dt_projects

> Vec<models::DtProject> list_dt_projects()
List Dependency-Track projects

Returns all projects tracked in the Dependency-Track integration.

### Parameters

This endpoint does not need any parameter.

### Return type

[**Vec<models::DtProject>**](DtProject.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## update_dt_analysis

> models::DtAnalysisResponse update_dt_analysis(update_dt_analysis_request)
Update finding analysis

Updates the analysis state, justification, and suppression status for a specific vulnerability finding in Dependency-Track.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**update_dt_analysis_request** | [**UpdateDtAnalysisRequest**](UpdateDtAnalysisRequest.md) |  | [required] |

### Return type

[**models::DtAnalysisResponse**](DtAnalysisResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

