Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
creadur-rat-gradle — Apache RAT (릴리스 감사 도구) Gradle 플러그인 | Kitploit
도구/GitHubGitHub/eskatos/creadur-rat-gradle
Static AnalysisCode AnalysisConfiguration AuditingDevSecOpsSupply Chain Security
GitHubeskatos/creadur-rat-gradle

creadur-rat-gradle

Apache RAT (릴리스 감사 도구) Gradle 플러그인

저장소 보기
111231일 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Apache RAT (Release Audit Tool) Gradle 플러그인

CI Apache License 2

이 플러그인은 라이선스에 초점을 맞춘 Apache RAT 릴리스 감사 도구를 실행할 수 있게 해줍니다.

설치

build.gradle(.kts) 파일에 다음을 추가하세요:

root@kitploit:~
plugins {
    id("org.nosphere.apache.rat") version "0.8.1"
}

사용법

이 플러그인은 rat이라는 태스크를 등록하며, build.gradle(.kts) 파일에서 다음과 같이 구성할 수 있습니다:

Kotlin DSL
root@kitploit:~
tasks.rat {

    // Use the default RAT license header matchers, defaults to `true`
    addDefaultMatchers.set(false)

    // Add custom substring license header matchers
    substringMatcher("family", "category", "pattern-1", "pattern-2")

    // Declare approved license families, if used, any non-declared family won't be approved
    approvedLicense("MIT")

    // Input directory, defaults to '.'
    inputDir.set("some/path")

    // List of Gradle exclude directives, defaults to ['**/.gradle/**']
    excludes.add("**/build/**")

    // RatTask 0.5.0+ implements PatternFilterable
    exclude { it.file in configurations.someConf.files }

    // Rat excludes file, one directive per line
    excludeFile.set(layout.projectDirectory.file(".rat-excludes.txt"))

    // XML, TXT and HTML reports directory, defaults to 'build/reports/rat'
    reportDir.set(file("some/other/path"))

    // Custom XSL stylesheet for the HTML report
    stylesheet.set(file("custom/rat-html-stylesheet.xsl"))

    // Fail the build on rat errors, defaults to true
    failOnError.set(false)
}
Groovy DSL
root@kitploit:~
rat {

    // Input directory, defaults to '.'
    inputDir.set(file("some/path"))

    // List of Gradle exclude directives, defaults to ['**/.gradle/**']
    excludes.add("**/build/**")

    // Rat excludes file, one directive per line
    excludeFile.set(layout.projectDirectory.file(".rat-excludes.txt"))

    // XML, TXT and HTML reports directory, defaults to 'build/reports/rat'
    reportDir.set(file("some/other/path"))

    // Custom XSL stylesheet for the HTML report
    stylesheet.set(file("custom/rat-html-stylesheet.xsl"))

    // Fail the build on rat errors, defaults to true
    failOnError.set(false)

    // Prints the list of files with unapproved licences to the console, defaults to false
    verbose.set(true)
}

Gradle을 호출하여 rat 태스크를 실행할 수 있습니다:

root@kitploit:~
gradle rat

프로젝트에 check 태스크가 있으면 rat 태스크가 해당 태스크에 의존하도록 자동으로 등록됩니다.

Rat 감사가 실패하면 HTML 보고서의 클릭 가능한 URL이 출력됩니다:

root@kitploit:~
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rat'.
> Apache Rat audit failure - 35 unapproved licenses
    See file:///path/to/build/reports/rat/index.html

Apache Rat HTML 보고서

호환성 매트릭스

  • (1) 구성 캐시
  • (2) 빌드 캐시
도구 다운로드
플러그인최소 Java최소 Gradle최대 Gradle구성 캐시빌드 캐시
0.8.11.86.08.x🟢🟢
0.8.01.86.08.x🟡🟢
0.7.11.86.07.x🟡🟢
0.7.01.86.07.x🟡🟢
0.6.01.64.76.x🟡🟢
0.5.31.64.76.x🔴🟢
0.5.21.64.76.x🔴🟢
0.5.11.64.75.x🔴🟢
0.5.01.64.75.x🔴🟢
0.4.01.64.75.x🔴🟢
0.3.11.62.144.x🔴🟢
0.3.01.62.144.x🔴🟢
0.2.01.62.144.x🔴🟢
0.1.01.62.144.x🔴🟢