Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for sarif (0.26 sec)

  1. platforms/documentation/docs/src/snippets/codeQuality/codeQuality/groovy/build.gradle

    // tag::enable-checkstyle-sarif-report[]
    checkstyle {
        toolVersion = '10.3.3'
    }
    // end::enable-checkstyle-sarif-report[]
    
    // tag::enable-checkstyle-sarif-report[]
    // tag::customize-checkstyle-report[]
    tasks.withType(Checkstyle) {
        reports {
    // end::customize-checkstyle-report[]
            sarif.required = true
    // end::enable-checkstyle-sarif-report[]
    // tag::customize-checkstyle-report[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 14 14:22:49 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. .github/workflows/scorecard.yml

          # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
          # format to the repository Actions tab.
          - name: "Upload artifact"
            uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
            with:
              name: SARIF file
              path: results.sarif
              retention-days: 5
    
          # Upload the results to GitHub's code scanning dashboard.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 04 17:53:21 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginVersionIntegrationTest.groovy

        }
    
        def "can configure sarif reporting"() {
            given:
            Assume.assumeTrue(isSarifSupported())
            goodCode()
    
            when:
            buildFile << """
                checkstyleMain.reports {
                    sarif {
                        required = true
                        sarif.outputLocation = file("baz.sarif")
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/codeQuality/codeQuality/kotlin/build.gradle.kts

    // tag::enable-checkstyle-sarif-report[]
    checkstyle {
        toolVersion = "10.3.3"
    }
    // end::enable-checkstyle-sarif-report[]
    
    // tag::enable-checkstyle-sarif-report[]
    // tag::customize-checkstyle-report[]
    tasks.withType<Checkstyle>().configureEach {
        reports {
    // end::customize-checkstyle-report[]
            sarif.required = true
    // end::enable-checkstyle-sarif-report[]
    // tag::customize-checkstyle-report[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 14 14:22:49 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. .github/workflows/scorecards-analysis.yml

            with:
              name: SARIF file
              path: results.sarif
              retention-days: 5
    
          # Upload the results to GitHub's code scanning dashboard.
          - name: "Upload to code-scanning"
            uses: github/codeql-action/upload-sarif@896079047b4bb059ba6f150a5d87d47dde99e6e5 # v2.11.6
            with:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 21 23:56:23 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/core-plugins/checkstyle_plugin.adoc

    [[sec:enable_checkstyle_sarif]]
    == Generate SARIF report
    
    link:https://docs.oasis-open.org/sarif/sarif/v2.1.0/sarif-v2.1.0.html[SARIF] report is supported on Checkstyle versions 10.3.3 and newer. It is not enabled by default.
    
    .Enable SARIF Report
    ====
    include::sample[dir="snippets/codeQuality/codeQuality/kotlin",files="build.gradle.kts[tags=enable-checkstyle-sarif-report]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 16:44:32 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/test/groovy/org/gradle/api/plugins/quality/CheckstyleTest.groovy

                !reports.html.required.get()
                !reports.html.outputLocation.isPresent()
                reports.html.outputType == Report.OutputType.FILE
                !reports.sarif.required.get()
                !reports.sarif.outputLocation.isPresent()
                reports.sarif.outputType == Report.OutputType.FILE
                !ignoreFailures
                showViolations
                maxErrors == 0
                maxWarnings == Integer.MAX_VALUE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleReportsImpl.java

            add(CustomizableHtmlReportImpl.class, "html", task);
            add(TaskGeneratedSingleFileReport.class, "xml", task);
            add(TaskGeneratedSingleFileReport.class, "sarif", task);
        }
    
        @Override
        public CustomizableHtmlReport getHtml() {
            return withType(CustomizableHtmlReport.class).getByName("html");
        }
    
        @Override
        public SingleFileReport getXml() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/CheckstyleReports.java

         *
         * @return The checkstyle XML report
         */
        @Internal
        SingleFileReport getXml();
    
        /**
         * The checkstyle SARIF report
         * <p>
         * This report is NOT enabled by default.
         *
         * @return The checkstyle SARIF report
         * @since 8.1
         */
        @Internal
        @Incubating
        SingleFileReport getSarif();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. platforms/jvm/code-quality/src/test/groovy/org/gradle/api/plugins/quality/CheckstylePluginTest.groovy

            task.reports.html.outputLocation.asFile.get() == project.file("build/reports/checkstyle/custom.html")
            task.reports.sarif.outputLocation.asFile.get() == project.file("build/reports/checkstyle/custom.sarif")
            !task.ignoreFailures
        }
    
        def "adds checkstyle tasks to check lifecycle task"() {
            project.pluginManager.apply(JavaBasePlugin)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top