# CveResolution

> Contains the CVE identifiers resolved for one security advisory.

[API reference](/docs/api/index.md) › [Foxy](/docs/extensions/foxy/reference/index.md) › [Audit](/docs/extensions/foxy/reference/audit/index.md) › CveResolution

| final readonly class | `Foxy\Audit\CveResolution` |
| --- | --- |
| Source | [`src/Audit/CveResolution.php`](https://github.com/php-forge/foxy/blob/main/src/Audit/CveResolution.php#L10) |

Contains the CVE identifiers resolved for one security advisory.

## Properties

| Property | Type | Description | Defined by |
| --- | --- | --- | --- |
| <span id="property-cves"></span>`$cves` readonly constructor | `list<string>` | Resolved CVE identifiers. | `CveResolution` |
| <span id="property-status"></span>`$status` readonly constructor | [`CveStatus`](/docs/extensions/foxy/reference/audit/cvestatus/index.md) | Outcome of the CVE lookup. | `CveResolution` |

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`__construct()`](#method-__construct) | Creates an immutable CVE resolution. | `CveResolution` |

## Method details

### __construct() <span id="method-__construct"></span>

```php
public function __construct(list<string> $cves, Foxy\Audit\CveStatus $status)
```

Creates an immutable CVE resolution.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$cves` | `list<string>` | Resolved CVE identifiers. |
| `$status` | [`CveStatus`](/docs/extensions/foxy/reference/audit/cvestatus/index.md) | Outcome of the CVE lookup. |