aquasecurity/trivy

feat(maven): add `mirrors` support for settings.xml files

已关闭

#9,989 创建于 2025年12月25日

 (3 条评论) (1 个反应) (1 位负责人)Go (371 个派生)batch import
help wantedkind/feature

仓库指标

星标
 (35,000 个星标)
PR 合并指标
 (平均合并 5天 2小时) (30 天内合并 53 个 PR)

描述

Description

We have already added repository retrieval from the profiles field. But Trivy should also check mirrors.

    <mirrors>
        <mirror>
            <id>mycompany-maven-central-mirror</id>
            <name>mycompany-maven-central-mirror</name>
            <url>https://mycompany.example.com/repository/maven-central-mirror</url>
            <mirrorOf>central</mirrorOf>
        </mirror>
    </mirrors>

贡献者指南