aquasecurity/trivy

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

Closed

#9,989 opened on 2025年12月25日

GitHub で見る
 (3 comments) (1 reaction) (1 assignee)Go (35,000 stars) (371 forks)batch import
help wantedkind/feature

説明

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>

コントリビューターガイド