> ## Documentation Index
> Fetch the complete documentation index at: https://docs.leen.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AppSec V1 to V2

> Migration guide for AppSec connectors from V1 Issues to V2 Vulnerability Findings and Resources

| V1 ScopedIssue              | V2 Vulnerability Finding & Resource                 | Notes                               |
| --------------------------- | --------------------------------------------------- | ----------------------------------- |
|                             | **Resource Fields**                                 |                                     |
| `code_repo`                 | `name`                                              |                                     |
| `repo_url`                  | -                                                   | will be added to resource soon      |
| `repo_branch_name`          | `data.repo_branch_name`                             |                                     |
|                             | **Vulnerability Finding Fields**                    |                                     |
| `id`                        | `id`                                                | same UUID is reused                 |
| `project_file_path`         | `resource_related.affected_code.file_path`          |                                     |
| `vendor`                    | `product.vendor_name`                               |                                     |
| `vendor_id`                 | `vendor_attributes.id`                              |                                     |
| `name`                      | `title`                                             |                                     |
| `package_name`              | `resource_related.affected_package.name`            |                                     |
| `package_version`           | `resource_related.affected_package.version`         |                                     |
| `severity`                  | `severity`                                          |                                     |
| `platform`                  | `resource_related.affected_platform`                |                                     |
| `package_manager`           | `resource_related.affected_package.package_manager` |                                     |
| `publication_time`          | -                                                   | redundant; use first\_seen / CVE KB |
| `is_patchable`              | `has_fix`                                           |                                     |
| `type`                      | `type`                                              |                                     |
| `description`               | `description`                                       |                                     |
| `vulnerability_identifiers` | `vendor_attributes.vulnerability_identifiers`       |                                     |
| `cvss_score`                | -                                                   | available via CVE KB                |
| `state`                     | `state`                                             |                                     |
| `first_seen`                | `first_seen`                                        |                                     |
| `last_seen`                 | `last_seen`                                         |                                     |
| `kb_url`                    | -                                                   | vendor & KB URLs already covered    |
| `issue_url`                 | `vendor_attributes.url`                             |                                     |
| `remediation`               | `remediation`                                       |                                     |
| `vendor_data`               | `vendor_attributes.data`                            |                                     |
| `state_updated_at`          | `state_updated_at`                                  |                                     |
