Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
creadur-rat-gradle — Apache RAT (रिलीज़ ऑडिट टूल) Gradle प्लगइन | Kitploit
उपकरण/GitHubGitHub/eskatos/creadur-rat-gradle
स्थैतिक विश्लेषणकोड विश्लेषणकॉन्फ़िगरेशन ऑडिटिंगDevSecOpsआपूर्ति श्रृंखला सुरक्षा
GitHubeskatos/creadur-rat-gradle

creadur-rat-gradle

Apache RAT (रिलीज़ ऑडिट टूल) Gradle प्लगइन

रिपॉजिटरी देखें
111231 दिन पहलेअभी तक समीक्षित नहीं

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

Apache RAT (रिलीज़ ऑडिट टूल) 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 Report

अनुकूलता मैट्रिक्स

प्लगइनन्यूनतम 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🔴
  • (1) कॉन्फ़िगरेशन कैश
  • (2) बिल्ड कैश
टूल डाउनलोड करें
🟢
0.3.01.62.144.x🔴🟢
0.2.01.62.144.x🔴🟢
0.1.01.62.144.x🔴🟢